/*
 * Luganda Movies 4.0 frontend shell.
 * The presentation is app-like; all content, access, storage and payment data
 * still comes from the Luganda Movies Core plugin.
 */
:root {
    --lmf-mb-cyan: #19c8ef;
    --lmf-mb-green: #2bf09a;
    --lmf-mb-accent: linear-gradient(120deg, var(--lmf-mb-cyan), var(--lmf-mb-green));
    --lmf-mb-bg: #080b0d;
    --lmf-mb-panel: #101518;
    --lmf-mb-soft: #171d20;
    --lmf-mb-line: rgba(255, 255, 255, 0.09);
    --lmf-mb-muted: #98a2a9;
    --lmf-mb-sidebar: 246px;
    --lmf-mb-topbar: 72px;
}

html {
    background: var(--lmf-mb-bg);
}

body.lmf-moviebox-layout {
    background:
        radial-gradient(circle at 82% 7%, rgba(43, 240, 154, 0.055), transparent 23rem),
        var(--lmf-mb-bg);
    color: #f7f9fa;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

.lmf-moviebox-layout button,
.lmf-moviebox-layout input {
    font-family: inherit;
}

.lmf-moviebox-layout svg {
    display: block;
}

/* Fixed desktop application shell. */
.lmf-mb-topbar {
    background: rgba(11, 15, 17, 0.94);
    border-bottom: 1px solid var(--lmf-mb-line);
    height: var(--lmf-mb-topbar);
    z-index: 400;
}

.lmf-mb-topbar-inner {
    align-items: center;
    display: flex;
    gap: 13px;
    height: 100%;
    padding: 0 18px;
}

.lmf-mb-topbar .lmf-menu-open {
    display: inline-flex;
    flex: 0 0 42px;
}

.lmf-mb-brand {
    gap: 9px;
    min-width: 202px;
}

.lmf-mb-brand .lmf-brand-mark {
    background: var(--lmf-mb-accent);
    border-radius: 10px;
    color: #04130f;
    height: 38px;
    width: 38px;
}

.lmf-mb-brand .lmf-brand-mark svg {
    fill: currentColor;
    height: 20px;
    stroke-width: 0;
    width: 20px;
}

.lmf-mb-brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lmf-mb-brand-name strong {
    background: var(--lmf-mb-accent);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

/* Native WordPress custom logo: always contained inside the app header. */
.lmf-logo-frame {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    height: 48px;
    justify-content: flex-start;
    max-width: 190px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.lmf-logo-frame .lmf-logo {
    display: block;
    height: auto !important;
    max-height: 44px;
    max-width: 190px;
    object-fit: contain;
    object-position: left center;
    width: auto !important;
}

.lmf-mb-topbar .lmf-has-custom-logo {
    flex: 0 1 202px;
    max-width: 202px;
    min-width: 0;
    overflow: hidden;
    width: 202px;
}

.lmf-mb-search {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    max-width: 720px;
    min-width: 250px;
}

.lmf-mb-search:focus-within {
    border-color: rgba(43, 240, 154, 0.48);
    box-shadow: 0 0 0 3px rgba(43, 240, 154, 0.08);
}

.lmf-mb-search input[type="search"] {
    font-size: 13px;
    height: 46px;
}

.lmf-mb-actions {
    flex: 0 0 auto;
    margin-left: auto;
}

body.home .lmf-mb-topbar {
    backdrop-filter: blur(7px);
    background: linear-gradient(180deg, rgba(8, 11, 13, 0.78), rgba(8, 11, 13, 0.42));
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    -webkit-backdrop-filter: blur(7px);
}

.lmf-mb-actions .lmf-search-open {
    display: none;
}

.lmf-mb-subscribe,
.lmf-mb-account {
    border-radius: 12px;
    min-height: 44px;
    padding-inline: 15px;
}

.lmf-mb-subscribe {
    background: var(--lmf-mb-accent);
    color: #03110d !important;
}

.lmf-mb-account {
    background: #151b25;
}

body.admin-bar .lmf-mb-sidebar {
    top: 32px;
}

.lmf-mb-sidebar {
    background: linear-gradient(180deg, #0d1114, #090d0f 72%);
    border-right: 1px solid var(--lmf-mb-line);
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    overflow-y: auto;
    padding: calc(var(--lmf-mb-topbar) + 21px) 14px 18px;
    position: fixed;
    top: 0;
    transform: translateX(0);
    transition: transform 0.25s ease;
    width: var(--lmf-mb-sidebar);
    z-index: 300;
}

.lmf-mb-sidebar {
    scrollbar-width: none;
}

.lmf-mb-sidebar::-webkit-scrollbar {
    display: none;
}

.lmf-mb-language {
    align-items: center;
    border-bottom: 1px solid var(--lmf-mb-line);
    color: #d3d8dc;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    letter-spacing: 0.01em;
    padding: 4px 10px 17px;
}

.lmf-mb-language svg {
    color: #a5afb5;
    height: 20px;
    width: 20px;
}

.lmf-mb-language small {
    color: #69747a;
    font-size: 8px;
    margin-left: auto;
}

.lmf-mb-sidebar-nav {
    display: grid;
    gap: 5px;
    padding: 18px 0;
}

.lmf-mb-sidebar-nav a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #aeb6bb;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 9px;
    line-height: 1;
    min-height: 43px;
    padding: 9px 11px;
    text-decoration: none;
    transition: 0.18s ease;
}

.lmf-mb-sidebar-nav a svg {
    height: 19px;
    width: 19px;
}

.lmf-mb-sidebar-nav a:hover,
.lmf-mb-sidebar-nav a.is-active {
    background: rgba(43, 240, 154, 0.08);
    border-color: rgba(43, 240, 154, 0.1);
    color: var(--lmf-mb-green);
}

.lmf-mb-sidebar-offer {
    background:
        radial-gradient(circle at 95% 0, rgba(43, 240, 154, 0.16), transparent 45%),
        #141b1d;
    border: 1px solid rgba(43, 240, 154, 0.15);
    border-radius: 13px;
    margin-top: auto;
    padding: 16px;
}

.lmf-mb-sidebar-offer > span {
    color: var(--lmf-mb-cyan);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.lmf-mb-sidebar-offer strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    margin-top: 6px;
}

.lmf-mb-sidebar-offer p {
    color: var(--lmf-mb-muted);
    font-size: 11px;
    line-height: 1.55;
    margin: 8px 0 12px;
}

.lmf-mb-sidebar-offer a {
    align-items: center;
    color: var(--lmf-mb-green);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 5px;
    text-decoration: none;
}

.lmf-mb-sidebar-offer a svg {
    height: 14px;
    width: 14px;
}

.lmf-site-frame,
.lmf-mb-footer {
    margin-left: var(--lmf-mb-sidebar);
    transition: margin-left 0.25s ease;
}

body.lmf-sidebar-collapsed .lmf-mb-sidebar {
    transform: translateX(-100%);
}

body.lmf-sidebar-collapsed .lmf-site-frame,
body.lmf-sidebar-collapsed .lmf-mb-footer {
    margin-left: 0;
}

/* Home: large desktop feature plus a separate compact mobile feature. */
.lmf-mb-home {
    padding: calc(var(--lmf-mb-topbar) + 12px) 0 26px;
}

.lmf-mb-home-inner {
    margin: 0 auto;
    max-width: 1720px;
    padding: 0 18px;
}

.lmf-mb-hero {
    background: #111719;
    border: 0;
    border-radius: 0;
    height: clamp(360px, 31vw, 480px);
    overflow: hidden;
    position: relative;
}

.lmf-mb-hero-stage,
.lmf-mb-hero-slide {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.lmf-mb-hero-slide {
    background: #12181b;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.lmf-mb-hero-slide::before {
    background-image: var(--lmf-feature-image, linear-gradient(125deg, #14252a, #0b1514));
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    position: absolute;
    transform: scale(1.01);
}

.lmf-mb-hero-slide::after {
    background:
        linear-gradient(90deg, rgba(5, 8, 10, 0.96) 0%, rgba(5, 8, 10, 0.76) 38%, rgba(5, 8, 10, 0.15) 76%),
        linear-gradient(0deg, rgba(5, 8, 10, 0.97), transparent 55%);
    content: "";
    inset: 0;
    position: absolute;
}

.lmf-mb-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.lmf-mb-hero-link {
    inset: 0;
    position: absolute;
    z-index: 2;
}

.lmf-mb-hero-copy {
    bottom: 27px;
    left: 28px;
    max-width: 500px;
    position: absolute;
    z-index: 3;
}

.lmf-mb-hero-kicker {
    color: var(--lmf-mb-green);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: none;
}

.lmf-mb-hero-copy h1,
.lmf-mb-hero-copy h2 {
    font-size: clamp(24px, 2vw, 30px);
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 0 0 6px;
    text-shadow: 0 3px 28px rgba(0, 0, 0, 0.5);
}

.lmf-mb-hero-meta {
    align-items: center;
    color: #b9c1c6;
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 9px;
}

.lmf-mb-hero-meta svg {
    color: var(--lmf-mb-green);
    height: 14px;
    width: 14px;
}

.lmf-mb-hero-meta span + span::before {
    color: #606a70;
    content: "•";
    margin-right: 10px;
}

.lmf-mb-hero-copy p {
    color: #b8c1c6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: none;
    font-size: 10px;
    line-height: 1.5;
    margin: 10px 0 13px;
    max-width: 450px;
    overflow: hidden;
}

.lmf-mb-hero-actions {
    display: none;
    gap: 9px;
}

.lmf-mb-hero-actions a {
    align-items: center;
    background: var(--lmf-mb-accent);
    border-radius: 10px;
    color: #03110d;
    display: inline-flex;
    font-size: 9px;
    font-weight: 900;
    gap: 7px;
    min-height: 34px;
    padding: 8px 12px;
    text-decoration: none;
}

.lmf-mb-hero-actions a.is-secondary {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid var(--lmf-mb-line);
    color: #fff;
}

.lmf-mb-hero-actions svg {
    fill: currentColor;
    height: 15px;
    stroke-width: 0;
    width: 15px;
}

.lmf-mb-hero-arrow {
    align-items: center;
    background: rgba(5, 8, 10, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    top: 45%;
    width: 42px;
    z-index: 8;
}

.lmf-mb-hero-arrow.is-prev {
    left: 18px;
}

.lmf-mb-hero-arrow.is-next {
    right: 18px;
}

.lmf-mb-hero-arrow svg {
    height: 21px;
    width: 21px;
}

.lmf-mb-hero-dots {
    align-items: center;
    bottom: 18px;
    display: flex;
    gap: 8px;
    position: absolute;
    right: 30px;
    z-index: 8;
}

.lmf-mb-hero-dots button,
.lmf-mb-mobile-dots button {
    background: rgba(255, 255, 255, 0.38);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 7px;
    padding: 0;
    transition: 0.2s;
    width: 7px;
}

.lmf-mb-hero-dots button.is-active,
.lmf-mb-mobile-dots button.is-active {
    background: #fff;
    width: 25px;
}

.lmf-mb-mobile-feature {
    display: none;
}

.lmf-mb-empty-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(43, 240, 154, 0.21), transparent 25rem),
        linear-gradient(120deg, #122128, #0a1012);
    border: 1px solid rgba(43, 240, 154, 0.13);
    border-radius: 16px;
    padding: 80px clamp(28px, 6vw, 78px);
}

.lmf-mb-empty-hero span {
    color: var(--lmf-mb-green);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lmf-mb-empty-hero h1,
.lmf-mb-empty-hero h2 {
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: -0.045em;
    margin: 9px 0;
}

/* Dense streaming rows and collections. */
.lmf-mb-section {
    margin-bottom: 26px;
}

.lmf-mb-section:first-of-type {
    padding-top: 18px;
}

.lmf-mb-section .lmf-section-heading {
    margin-bottom: 10px;
}

.lmf-mb-section .lmf-section-heading > div > span {
    color: var(--lmf-mb-green);
    display: none;
    font-size: 8px;
}

.lmf-mb-section .lmf-section-heading h2 {
    font-size: clamp(17px, 1.4vw, 21px);
    margin-top: 3px;
}

.lmf-mb-section .lmf-section-heading > a {
    color: #aeb7bc;
    font-size: 10px;
}

.lmf-mb-section .lmf-section-heading > a:hover {
    color: var(--lmf-mb-green);
}

.lmf-mb-card-grid,
.lmf-mb-catalog-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.lmf-mb-card .lmf-poster {
    aspect-ratio: 2 / 2.82;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px 8px 0 0;
}

.lmf-mb-card {
    background: #202326;
    border-radius: 8px;
    overflow: hidden;
}

.lmf-mb-card .lmf-card-copy {
    background: #202326;
    min-height: 33px;
    padding: 6px 7px;
}

.lmf-mb-card .lmf-card-copy strong {
    font-size: 10px;
}

.lmf-mb-card .lmf-card-copy small {
    color: #879198;
    display: none;
    font-size: 7px;
}

.lmf-premium-crown {
    align-items: center;
    background: #f7d78e;
    border-radius: 5px;
    bottom: 7px;
    color: #201804;
    display: flex;
    height: 20px;
    justify-content: center;
    position: absolute;
    right: 7px;
    width: 20px;
}

.lmf-premium-crown svg {
    fill: currentColor;
    height: 12px;
    width: 12px;
}

.lmf-mb-card:hover .lmf-premium-crown {
    opacity: 0;
}

.lmf-mb-catalog {
    padding-top: calc(var(--lmf-mb-topbar) + 32px);
}

.lmf-mb-catalog-inner {
    max-width: 1600px;
}

.lmf-mb-catalog-head {
    align-items: end;
    display: flex;
    gap: 22px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.lmf-mb-catalog-head > div > span {
    color: var(--lmf-mb-green);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.lmf-mb-catalog-head h1 {
    font-size: clamp(25px, 2.6vw, 34px);
    letter-spacing: -0.045em;
    margin: 5px 0 8px;
}

.lmf-mb-catalog-head p {
    color: var(--lmf-mb-muted);
    font-size: 11px;
    margin: 0;
}

.lmf-mb-catalog-head nav {
    background: #12181b;
    border: 1px solid var(--lmf-mb-line);
    border-radius: 10px;
    display: flex;
    padding: 4px;
}

.lmf-mb-catalog-head nav a {
    border-radius: 7px;
    color: #9da7ad;
    font-size: 9px;
    font-weight: 850;
    padding: 8px 10px;
    text-decoration: none;
}

.lmf-mb-catalog-head nav a.is-active {
    background: var(--lmf-mb-accent);
    color: #03110d;
}

.lmf-mb-catalog .lmf-pagination {
    padding-inline: 0;
}

/* Page details, watch view and series inherit the shared app shell. */
.lmf-moviebox-layout .lmf-page:not(.lmf-mb-catalog),
.lmf-moviebox-layout .lmf-single,
.lmf-moviebox-layout .lmf-watch-page {
    padding-top: calc(var(--lmf-mb-topbar) + 28px);
}

.lmf-moviebox-layout .lmf-page-hero h1,
.lmf-moviebox-layout .lmf-series-copy h1 {
    letter-spacing: -0.045em;
}

.lmf-moviebox-layout .lmf-detail-kicker,
.lmf-moviebox-layout .lmf-page-hero > span {
    color: var(--lmf-mb-green);
}

.lmf-moviebox-layout .lmf-player-area .lmf-player {
    border-radius: 13px;
    overflow: hidden;
}

.lmf-moviebox-layout .lmf-watch-description,
.lmf-moviebox-layout .lmf-standard-content {
    background: #101619;
    border-color: var(--lmf-mb-line);
}

/* Watch page: open layout, edge-filling player and compact poster recommendations. */
.lmf-moviebox-layout .lmf-watch-page {
    padding: var(--lmf-mb-topbar) 0 50px;
}

.lmf-moviebox-layout .lmf-watch-container {
    max-width: none;
    padding-inline: 0;
}

.lmf-moviebox-layout .lmf-watch-layout {
    gap: 16px;
}

.lmf-moviebox-layout .lmf-watch-page .lmf-player-area {
    margin: 0 0 12px;
    overflow: hidden;
    width: 100%;
}

.lmf-moviebox-layout .lmf-watch-page .lmf-player {
    border: 0;
    border-radius: 0;
    max-width: none;
    padding: 0;
    width: 100%;
}

.lmf-moviebox-layout .lmf-watch-page .lmf-video-wrap,
.lmf-moviebox-layout .lmf-watch-page .lmf-player-locked,
.lmf-moviebox-layout .lmf-watch-page .lmf-player-empty {
    aspect-ratio: 16 / 9;
    min-height: 0;
    width: 100%;
}

.lmf-moviebox-layout .lmf-watch-page .lmf-video-wrap video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lmf-moviebox-layout .lmf-watch-heading {
    margin-inline: 18px;
}

.lmf-moviebox-layout .lmf-watch-description {
    margin-inline: 18px;
}

.lmf-moviebox-layout .lmf-watch-rail {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 16px 0 0;
}

.lmf-moviebox-layout .lmf-watch-rail-posters-only {
    padding-top: 0;
}

.lmf-moviebox-layout .lmf-watch-rail .lmf-watch-list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lmf-moviebox-layout .lmf-watch-rail .lmf-mb-card {
    border-radius: 7px;
}

.lmf-moviebox-layout .lmf-watch-rail .lmf-poster {
    aspect-ratio: 2 / 3;
    border-radius: 7px 7px 0 0;
}

.lmf-moviebox-layout .lmf-watch-rail .lmf-card-copy {
    min-height: 31px;
    padding: 6px;
}

.lmf-moviebox-layout .lmf-watch-rail .lmf-card-copy strong {
    font-size: 9px;
}

.lmf-watch-related {
    margin-top: 22px;
    padding-inline: 18px;
}

.lmf-watch-related .lmf-section-heading {
    margin-bottom: 11px;
}

.lmf-watch-related .lmf-section-heading h2 {
    font-size: 20px;
}

.lmf-watch-related-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* Related Movies is always shown below the desktop player/rail area.
   Desktop: exactly up to 2 rows x 7 posters (14 titles). */
.lmf-moviebox-layout .lmf-watch-related {
    clear: both;
    display: block !important;
    width: 100%;
}

@media (max-width: 960px) {
    .lmf-moviebox-layout .lmf-watch-rail {
        max-width: none;
        width: 100%;
    }
}

/* Footer mirrors the wide desktop application. */
.lmf-mb-footer {
    background: #0b0f11;
    border-top: 1px solid var(--lmf-mb-line);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    padding: 42px 24px 20px;
}

.lmf-mb-footer-inner {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.5fr repeat(3, minmax(120px, 1fr));
    margin: 0 auto;
    max-width: 1280px;
}

.lmf-mb-footer section {
    display: flex;
    flex-direction: column;
}

.lmf-mb-footer section h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 14px;
}

.lmf-mb-footer section > a,
.lmf-mb-footer section > span {
    color: #b9c0c4;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    padding: 2px 0;
    text-decoration: none;
}

.lmf-mb-footer section > a:hover {
    color: var(--lmf-mb-green);
}

.lmf-mb-footer-brand p {
    color: #b4bcc1;
    font-size: 15px;
    line-height: 1.75;
    max-width: 560px;
}

.lmf-mb-footer .lmf-mb-brand-name {
    font-size: 22px;
    font-weight: 800;
}

.lmf-mb-footer .lmf-has-custom-logo {
    max-width: 240px;
    min-width: 0;
    width: auto;
}

.lmf-mb-footer .lmf-logo-frame {
    height: 54px;
    max-width: 240px;
}

.lmf-mb-footer .lmf-logo {
    max-height: 50px;
    max-width: 240px;
}

.lmf-mb-footer .lmf-mb-footer-cta {
    align-items: center;
    color: var(--lmf-mb-green);
    display: inline-flex;
    flex-direction: row;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
}

.lmf-mb-footer-cta svg {
    height: 16px;
    width: 16px;
}

.lmf-mb-footer-bottom {
    border-top: 1px solid var(--lmf-mb-line);
    color: #626d72;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    line-height: 1.7;
    margin: 30px auto 0;
    max-width: 1280px;
    padding-top: 18px;
}

/* Custom auth and subscription routes remain clean, centered and independent. */
body.lmf-auth-route .lmf-mb-sidebar,
body.lmf-membership-checkout .lmf-mb-sidebar,
body.lmf-membership-payment .lmf-mb-sidebar {
    display: none;
}

body.lmf-auth-route .lmf-site-frame,
body.lmf-auth-route .lmf-mb-footer,
body.lmf-membership-checkout .lmf-site-frame,
body.lmf-membership-checkout .lmf-mb-footer,
body.lmf-membership-payment .lmf-site-frame,
body.lmf-membership-payment .lmf-mb-footer {
    margin-left: 0;
}

body.lmf-auth-route .lmf-mb-topbar .lmf-menu-open,
body.lmf-membership-checkout .lmf-mb-topbar .lmf-menu-open,
body.lmf-membership-payment .lmf-mb-topbar .lmf-menu-open {
    visibility: hidden;
}

body.lmf-auth-route .lmf-page,
body.lmf-membership-checkout .lmf-page,
body.lmf-membership-payment .lmf-page {
    min-height: 100vh;
    padding-top: calc(var(--lmf-mb-topbar) + 22px);
}

/* Keyboard visibility. */
.lmf-moviebox-layout a:focus-visible,
.lmf-moviebox-layout button:focus-visible,
.lmf-moviebox-layout input:focus-visible {
    outline: 2px solid var(--lmf-mb-green);
    outline-offset: 3px;
}

@media (max-width: 1280px) and (min-width: 1101px) {
    :root {
        --lmf-mb-sidebar: 220px;
    }

    .lmf-mb-brand {
        min-width: 180px;
    }

    .lmf-mb-topbar .lmf-has-custom-logo {
        flex-basis: 180px;
        max-width: 180px;
        width: 180px;
    }

    .lmf-mb-topbar .lmf-logo-frame,
    .lmf-mb-topbar .lmf-logo {
        max-width: 170px;
    }

    .lmf-mb-search {
        max-width: 610px;
    }
}

@media (min-width: 1101px) {
    body.home .lmf-mb-home {
        padding-top: 0;
    }
}

/* Mobile and tablet application shell. */
@media (max-width: 1100px) {
    /* Mobile/tablet: hide the desktop poster rail completely.
       Mobile keeps only the Related Movies section below the player. */
    .lmf-moviebox-layout .lmf-watch-rail-posters-only {
        display: none !important;
    }

    :root {
        --lmf-mb-topbar: 58px;
    }

    body.lmf-moviebox-layout {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    body.admin-bar .lmf-mb-sidebar {
        top: calc(var(--lmf-mb-topbar) + 46px);
    }

    .lmf-mb-topbar-inner {
        gap: 7px;
        padding: 0 10px;
    }

    .lmf-mb-topbar .lmf-menu-open {
        flex-basis: 36px;
        height: 36px;
        width: 36px;
    }

    .lmf-mb-brand {
        min-width: 0;
    }

    .lmf-mb-topbar .lmf-has-custom-logo {
        flex: 0 1 140px;
        max-width: 140px;
        width: auto;
    }

    .lmf-mb-topbar .lmf-logo-frame {
        display: flex !important;
        height: 40px;
        max-width: 140px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .lmf-mb-topbar .lmf-logo {
        display: block !important;
        max-height: 34px;
        max-width: 140px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .lmf-mb-brand .lmf-brand-mark {
        height: 34px;
        width: 34px;
    }

    .lmf-mb-brand-name {
        font-size: 14px;
    }

    .lmf-mb-search {
        display: none;
    }

    .lmf-mb-actions {
        gap: 4px;
        margin-left: auto;
    }

    .lmf-mb-actions .lmf-search-open {
        display: flex;
    }

    .lmf-mb-subscribe,
    .lmf-mb-account {
        min-height: 37px;
        padding: 8px 10px;
    }

    .lmf-mb-subscribe span,
    .lmf-mb-account span {
        display: none;
    }

    .lmf-mb-sidebar {
        box-shadow: 22px 0 60px rgba(0, 0, 0, 0.55);
        padding-top: 16px;
        top: var(--lmf-mb-topbar);
        transform: translateX(-105%);
        width: min(82vw, 286px);
        z-index: 520;
    }

    /* Keep MovieBox-sized text while removing excess vertical menu space. */
    .lmf-mb-sidebar-nav {
        gap: 1px;
        padding: 8px 0 6px;
    }

    .lmf-mb-sidebar-nav a {
        min-height: 39px;
        padding: 7px 10px;
    }

    .lmf-mb-sidebar-offer {
        border-radius: 11px;
        margin-top: 8px;
        padding: 12px 14px;
    }

    .lmf-mb-sidebar-offer strong {
        margin-top: 4px;
    }

    .lmf-mb-sidebar-offer p {
        line-height: 1.45;
        margin: 6px 0 8px;
    }

    body.lmf-menu-active {
        overflow: hidden;
    }

    body.lmf-menu-active .lmf-mb-sidebar {
        transform: translateX(0);
    }

    body.lmf-menu-active .lmf-backdrop,
    body.lmf-search-active .lmf-backdrop {
        display: block;
        z-index: 510;
    }

    .lmf-search-panel {
        top: var(--lmf-mb-topbar);
        z-index: 530;
    }

    .lmf-site-frame,
    .lmf-mb-footer,
    body.lmf-sidebar-collapsed .lmf-site-frame,
    body.lmf-sidebar-collapsed .lmf-mb-footer {
        margin-left: 0;
    }

    .lmf-mb-home {
        padding: calc(var(--lmf-mb-topbar) + 10px) 0 14px;
    }

    .lmf-mb-home-inner {
        padding: 0 10px;
    }

    .lmf-watch-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Mobile/tablet: exactly up to 2 rows x 3 posters (6 titles). */
    .lmf-watch-related-grid > .lmf-mb-card:nth-child(n+7) {
        display: none;
    }

    .lmf-mb-hero {
        display: none;
    }

    .lmf-mb-mobile-feature {
        background: #101619;
        border: 1px solid var(--lmf-mb-line);
        border-radius: 12px;
        display: block;
        overflow: hidden;
        position: relative;
    }

    .lmf-mb-mobile-stage {
        aspect-ratio: 16 / 9;
        position: relative;
    }

    .lmf-mb-mobile-slide {
        inset: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        transition: opacity 0.45s ease;
    }

    .lmf-mb-mobile-slide::before {
        background-image: var(--lmf-feature-image, linear-gradient(125deg, #14252a, #0b1514));
        background-position: center;
        background-size: cover;
        content: "";
        inset: 0;
        position: absolute;
    }

    .lmf-mb-mobile-slide::after {
        background: linear-gradient(0deg, rgba(4, 7, 9, 0.97), rgba(4, 7, 9, 0.05) 72%);
        content: "";
        inset: 0;
        position: absolute;
    }

    .lmf-mb-mobile-slide.is-active {
        opacity: 1;
        pointer-events: auto;
        z-index: 2;
    }

    .lmf-mb-mobile-slide > a {
        align-items: flex-start;
        bottom: 0;
        display: flex;
        flex-direction: column;
        inset-inline: 0;
        padding: 45px 16px 18px;
        position: absolute;
        text-decoration: none;
        z-index: 3;
    }

    .lmf-mb-mobile-slide > a > span {
        color: var(--lmf-mb-green);
        font-size: 7px;
        font-weight: 950;
        letter-spacing: 0.13em;
    }

    .lmf-mb-mobile-slide strong {
        font-size: clamp(20px, 6vw, 30px);
        letter-spacing: -0.04em;
        margin-top: 4px;
        max-width: 78%;
    }

    .lmf-mb-mobile-slide small {
        color: #bbc3c7;
        font-size: 8px;
        margin-top: 5px;
    }

    .lmf-mb-mobile-slide b {
        align-items: center;
        background: var(--lmf-mb-accent);
        border-radius: 50%;
        bottom: 17px;
        color: #03110d;
        display: flex;
        height: 37px;
        justify-content: center;
        position: absolute;
        right: 15px;
        width: 37px;
    }

    .lmf-mb-mobile-slide b svg {
        fill: currentColor;
        height: 17px;
        stroke-width: 0;
        width: 17px;
    }

    .lmf-mb-mobile-dots {
        bottom: 8px;
        display: flex;
        gap: 5px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        z-index: 5;
    }

    .lmf-mb-mobile-dots button {
        height: 4px;
        width: 4px;
    }

    .lmf-mb-mobile-dots button.is-active {
        width: 15px;
    }

    .lmf-mb-section {
        margin-bottom: 19px;
    }

    .lmf-mb-section:first-of-type {
        padding-top: 15px;
    }

    .lmf-mb-section .lmf-section-heading h2 {
        font-size: 15px;
    }

    .lmf-mb-card-grid {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
    }

    .lmf-mb-catalog {
        padding-top: calc(var(--lmf-mb-topbar) + 20px);
    }

    .lmf-mb-catalog-inner {
        padding-inline: 11px;
    }

    .lmf-mb-catalog-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 18px;
    }

    .lmf-mb-catalog-head h1 {
        font-size: 24px;
    }

    .lmf-mb-catalog-head p {
        font-size: 10px;
    }

    .lmf-mb-catalog-grid {
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lmf-mb-card .lmf-card-copy strong {
        font-size: 9px;
    }

    .lmf-mb-card .lmf-card-copy small {
        font-size: 7px;
    }

    .lmf-mb-card .lmf-language,
    .lmf-mb-card .lmf-type {
        font-size: 6px;
        padding: 3px 4px;
    }

    .lmf-premium-crown {
        height: 18px;
        width: 18px;
    }

    .lmf-premium-crown svg {
        height: 10px;
        width: 10px;
    }

    .lmf-moviebox-layout .lmf-page:not(.lmf-mb-catalog),
    .lmf-moviebox-layout .lmf-single {
        padding-top: calc(var(--lmf-mb-topbar) + 17px);
    }

    .lmf-moviebox-layout .lmf-watch-page {
        padding: var(--lmf-mb-topbar) 0 30px;
    }

    .lmf-moviebox-layout .lmf-watch-container {
        padding-inline: 0;
    }

    .lmf-moviebox-layout .lmf-watch-layout {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }

    .lmf-moviebox-layout .lmf-watch-page .lmf-player-area {
        margin: 0 0 12px;
    }

    .lmf-moviebox-layout .lmf-player-area .lmf-player {
        border-radius: 0;
    }

    .lmf-moviebox-layout .lmf-watch-heading,
    .lmf-moviebox-layout .lmf-watch-description {
        margin-inline: 12px;
    }

    .lmf-moviebox-layout .lmf-watch-rail {
        padding: 0 12px;
        position: static;
    }

    .lmf-moviebox-layout .lmf-watch-related {
        margin-top: 20px;
        padding-inline: 12px;
    }

    .lmf-moviebox-layout .lmf-watch-related.lmf-mb-section:first-of-type {
        padding-top: 0;
    }

    .lmf-moviebox-layout .lmf-watch-page .lmf-video-wrap,
    .lmf-moviebox-layout .lmf-watch-page .lmf-player-locked,
    .lmf-moviebox-layout .lmf-watch-page .lmf-player-empty {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .lmf-mb-footer {
        display: none;
    }

    .lmf-mb-bottomnav {
        background: rgba(7, 12, 14, 0.97);
        border-top: 1px solid rgba(43, 240, 154, 0.13);
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: calc(60px + env(safe-area-inset-bottom));
        left: 0;
        padding: 7px 5px calc(6px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 600;
    }

    .lmf-mb-bottomnav a {
        align-items: center;
        color: #909ba1;
        display: flex;
        flex-direction: column;
        font-size: 8px;
        font-weight: 750;
        gap: 3px;
        justify-content: center;
        text-decoration: none;
    }

    .lmf-mb-bottomnav a svg {
        height: 19px;
        width: 19px;
    }

    .lmf-mb-bottomnav a.is-active {
        color: var(--lmf-mb-green);
    }

    body.lmf-auth-route .lmf-mb-bottomnav,
    body.lmf-membership-checkout .lmf-mb-bottomnav,
    body.lmf-membership-payment .lmf-mb-bottomnav {
        display: none;
    }

    body.lmf-auth-route,
    body.lmf-membership-checkout,
    body.lmf-membership-payment {
        padding-bottom: 0;
    }
}

@media (max-width: 520px) {
    .lmf-mb-topbar-inner {
        padding-inline: 7px;
    }

    .lmf-mb-brand-name {
        font-size: 13px;
    }

    .lmf-mb-mobile-slide > a {
        padding-inline: 13px;
    }

    .lmf-mb-catalog-head nav {
        width: 100%;
    }

    .lmf-mb-catalog-head nav a {
        flex: 1;
        text-align: center;
    }

    .lmf-moviebox-layout .lmf-watch-container {
        padding-inline: 0;
    }
}

@media (max-width: 390px) {
    .lmf-mb-brand-name {
        display: none;
    }

    .lmf-mb-topbar .lmf-has-custom-logo,
    .lmf-mb-topbar .lmf-logo-frame,
    .lmf-mb-topbar .lmf-logo {
        max-width: 112px;
    }

    .lmf-mb-topbar .lmf-has-custom-logo > .lmf-logo-frame {
        display: flex !important;
    }

    .lmf-mb-card-grid,
    .lmf-mb-catalog-grid {
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lmf-mb-hero-slide,
    .lmf-mb-mobile-slide,
    .lmf-mb-sidebar,
    .lmf-site-frame,
    .lmf-mb-footer {
        transition: none;
    }
}

/* v4.0.13 — compact app-style watch details, no credits container */
.lmf-moviebox-layout .lmf-watch-heading {
    margin-inline: 18px;
    padding: 0 0 12px;
}

.lmf-moviebox-layout .lmf-watch-heading h1 {
    font-size: clamp(26px, 2.15vw, 36px);
    line-height: 1.08;
    margin: 6px 0 12px;
}

.lmf-moviebox-layout .lmf-watch-toolbar {
    gap: 12px;
}

.lmf-moviebox-layout .lmf-watch-meta {
    gap: 7px;
}

.lmf-moviebox-layout .lmf-watch-actions .lmf-watch-action {
    min-height: 44px;
    padding: 9px 18px;
}

/* Remove the large box around translator / genre details. */
.lmf-moviebox-layout .lmf-watch-description {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0 18px;
    padding: 12px 0 0;
}

.lmf-moviebox-layout .lmf-watch-credits {
    align-items: center;
    border-bottom: 1px solid var(--lmf-mb-line);
    display: flex;
    gap: 18px 34px;
    padding: 0 0 13px;
}

.lmf-moviebox-layout .lmf-watch-credits div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.lmf-moviebox-layout .lmf-watch-credits span {
    font-size: 8px;
    letter-spacing: .08em;
}

.lmf-moviebox-layout .lmf-watch-credits strong {
    font-size: 13px;
    line-height: 1.2;
}

.lmf-moviebox-layout .lmf-watch-description .lmf-description {
    margin-top: 11px;
}

@media (max-width: 782px) {
    .lmf-moviebox-layout .lmf-watch-heading {
        margin-inline: 12px;
        padding: 0 0 10px;
    }

    .lmf-moviebox-layout .lmf-detail-kicker {
        display: inline-block;
        font-size: 8px;
        letter-spacing: .08em;
        margin-bottom: 1px;
    }

    .lmf-moviebox-layout .lmf-watch-heading h1 {
        font-size: 24px;
        line-height: 1.08;
        margin: 5px 0 10px;
    }

    .lmf-moviebox-layout .lmf-watch-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .lmf-moviebox-layout .lmf-watch-meta {
        font-size: 10px;
        gap: 6px;
        min-height: 18px;
    }

    .lmf-moviebox-layout .lmf-watch-meta strong {
        font-size: 11px;
    }

    .lmf-moviebox-layout .lmf-watch-meta span::before {
        margin-right: 6px;
    }

    .lmf-moviebox-layout .lmf-watch-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 0;
        width: 100%;
    }

    .lmf-moviebox-layout .lmf-watch-actions .lmf-watch-action,
    .lmf-moviebox-layout .lmf-watch-actions > * {
        justify-content: center;
        min-height: 42px;
        width: 100%;
    }

    .lmf-moviebox-layout .lmf-watch-description {
        margin: 0 12px;
        padding: 10px 0 0;
    }

    .lmf-moviebox-layout .lmf-watch-credits {
        align-items: flex-start;
        display: grid;
        gap: 9px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 11px;
    }

    .lmf-moviebox-layout .lmf-watch-credits div {
        align-items: flex-start;
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .lmf-moviebox-layout .lmf-watch-credits span {
        font-size: 7px;
    }

    .lmf-moviebox-layout .lmf-watch-credits strong {
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .lmf-moviebox-layout .lmf-watch-description .lmf-description {
        font-size: 11px;
        line-height: 1.55;
        margin-top: 9px;
    }
}

/* v4.0.14 — remove movie kicker and tighten the handoff into Related Movies */
.lmf-moviebox-layout .lmf-watch-heading h1 {
    margin-top: 0;
}

/* Keep the credits line close to Related Movies instead of leaving a large empty band. */
.lmf-moviebox-layout .lmf-watch-description {
    padding-bottom: 0;
}

.lmf-moviebox-layout .lmf-watch-description .lmf-description:empty,
.lmf-moviebox-layout .lmf-watch-description .lmf-description > p:empty {
    display: none;
}

.lmf-moviebox-layout .lmf-watch-related {
    margin-top: 6px;
    padding-top: 0 !important;
}

.lmf-moviebox-layout .lmf-watch-related .lmf-section-heading {
    margin-top: 0;
}

@media (max-width: 782px) {
    .lmf-moviebox-layout .lmf-watch-heading h1 {
        margin-top: 0;
    }

    .lmf-moviebox-layout .lmf-watch-related {
        margin-top: 5px;
        padding-top: 0 !important;
    }
}

/* v4.0.15 — desktop content finishes cleanly on the footer/sidebar boundary. */
@media (min-width: 1101px) {
    /* Remove the unused band below the final poster/content row on every public screen. */
    .lmf-moviebox-layout .lmf-site-frame > .lmf-main,
    .lmf-moviebox-layout .lmf-mb-home,
    .lmf-moviebox-layout .lmf-mb-catalog,
    .lmf-moviebox-layout .lmf-watch-page,
    .lmf-moviebox-layout .lmf-single,
    .lmf-moviebox-layout .lmf-page {
        padding-bottom: 0 !important;
    }

    /* The final section itself must not create a second gap before the footer line. */
    .lmf-moviebox-layout .lmf-mb-home-inner > .lmf-mb-section:last-child,
    .lmf-moviebox-layout .lmf-watch-container > .lmf-watch-related:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-home-section:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-season:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-related:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-standard-content:last-child {
        margin-bottom: 0 !important;
    }

    /* Catalog/archive pages: keep the final movie/series/episode row tight to the footer. */
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-mb-catalog-grid:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-grid:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-pagination:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Keep the footer divider anchored to exactly the same edge as the desktop navigation. */
    .lmf-moviebox-layout .lmf-mb-footer {
        margin-left: var(--lmf-mb-sidebar);
    }

    .lmf-moviebox-layout.lmf-sidebar-collapsed .lmf-mb-footer {
        margin-left: 0;
    }
}

/* v4.0.16 — slightly shorter desktop feature; true edge-to-edge mobile browsing. */
@media (min-width: 1101px) {
    /* Reduce the desktop featured area without changing its layout or controls. */
    .lmf-moviebox-layout .lmf-mb-hero {
        height: clamp(330px, 27vw, 420px);
    }
}

@media (max-width: 782px) {
    /* Home feature uses the whole phone width — no outer card/container look. */
    .lmf-moviebox-layout .lmf-mb-home-inner {
        max-width: none;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-feature {
        border: 0 !important;
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100%;
    }

    /* Poster sections run across the available width with only a tiny app-style edge gutter. */
    .lmf-moviebox-layout .lmf-mb-home-inner > .lmf-mb-section {
        padding-left: 4px;
        padding-right: 4px;
    }

    .lmf-moviebox-layout .lmf-mb-card-grid,
    .lmf-moviebox-layout .lmf-mb-catalog-grid,
    .lmf-moviebox-layout .lmf-watch-related-grid {
        gap: 5px;
        width: 100%;
    }

    /* Movies / Series / Episodes / taxonomy screens: remove the desktop-style outer container. */
    .lmf-moviebox-layout .lmf-mb-catalog-inner {
        max-width: none;
        padding-left: 4px !important;
        padding-right: 4px !important;
        width: 100%;
    }

    .lmf-moviebox-layout .lmf-mb-catalog-head {
        padding-left: 2px;
        padding-right: 2px;
    }

    /* Related Movies on watch pages also reaches the phone edges. */
    .lmf-moviebox-layout .lmf-watch-related {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 4px !important;
        padding-right: 4px !important;
        width: auto;
    }

    .lmf-moviebox-layout .lmf-watch-related .lmf-section-heading {
        padding-left: 2px;
        padding-right: 2px;
    }
}

/* v4.0.17 — tighter sidebar navigation rhythm on desktop and mobile. */
.lmf-moviebox-layout .lmf-mb-sidebar-nav {
    gap: 0;
    padding-top: 10px;
    padding-bottom: 8px;
}
.lmf-moviebox-layout .lmf-mb-sidebar-nav a {
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.lmf-moviebox-layout .lmf-mb-sidebar-offer {
    margin-top: 6px;
}
@media (max-width: 1100px) {
    .lmf-moviebox-layout .lmf-mb-sidebar-nav {
        gap: 0;
        padding: 6px 0 5px;
    }
    .lmf-moviebox-layout .lmf-mb-sidebar-nav a {
        min-height: 34px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .lmf-moviebox-layout .lmf-mb-sidebar-offer {
        margin-top: 5px;
    }
}


/* v4.0.18 — mobile hero continues behind the transparent top menu; content ends at bottom navigation. */
@media (max-width: 782px) {
    /* On the home screen the featured artwork starts at the very top and shows through the menu. */
    body.home.lmf-moviebox-layout .lmf-mb-topbar {
        background: linear-gradient(180deg, rgba(4, 8, 10, .66) 0%, rgba(4, 8, 10, .28) 62%, rgba(4, 8, 10, 0) 100%) !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.home.lmf-moviebox-layout .lmf-mb-home {
        padding-top: 0 !important;
    }

    /* Keep the mobile featured image truly edge-to-edge behind the fixed top bar. */
    body.home.lmf-moviebox-layout .lmf-mb-mobile-feature,
    body.home.lmf-moviebox-layout .lmf-mb-mobile-stage {
        margin-top: 0 !important;
    }

    /* Remove only the extra blank band before the fixed bottom navigation.
       The body navigation clearance remains, so the final card lands exactly at the nav line. */
    .lmf-moviebox-layout .lmf-mb-home,
    .lmf-moviebox-layout .lmf-mb-catalog,
    .lmf-moviebox-layout .lmf-watch-page,
    .lmf-moviebox-layout .lmf-single,
    .lmf-moviebox-layout .lmf-page {
        padding-bottom: 0 !important;
    }

    .lmf-moviebox-layout .lmf-mb-home-inner > .lmf-mb-section:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-mb-catalog-grid:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-grid:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-pagination:last-child,
    .lmf-moviebox-layout .lmf-watch-container > .lmf-watch-related:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-home-section:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-season:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-related:last-child,
    .lmf-moviebox-layout .lmf-container > .lmf-standard-content:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* v4.0.19 — MovieBox-inspired MOBILE shell only. Desktop remains untouched. */
@media (max-width: 782px) {
    :root {
        --lmf-mb-topbar: 64px;
    }

    /* Stronger glass header: artwork still continues behind it, but controls stay easy to read. */
    body.home.lmf-moviebox-layout .lmf-mb-topbar,
    .lmf-moviebox-layout .lmf-mb-topbar {
        background: linear-gradient(180deg, rgba(31, 31, 29, .82) 0%, rgba(26, 27, 26, .72) 100%) !important;
        border-bottom: 1px solid rgba(255,255,255,.12) !important;
        box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
        backdrop-filter: blur(10px) saturate(115%) !important;
        -webkit-backdrop-filter: blur(10px) saturate(115%) !important;
    }

    .lmf-mb-topbar-inner {
        gap: 7px;
        padding: 0 10px;
    }

    .lmf-mb-topbar .lmf-menu-open,
    .lmf-mb-actions .lmf-search-open {
        color: #fff;
        height: 40px;
        width: 40px;
    }

    .lmf-mb-topbar .lmf-menu-open svg,
    .lmf-mb-actions .lmf-search-open svg {
        height: 24px;
        width: 24px;
    }

    .lmf-mb-topbar .lmf-has-custom-logo {
        flex-basis: 145px;
        max-width: 145px;
    }

    .lmf-mb-topbar .lmf-logo-frame {
        height: 44px;
        max-width: 145px;
    }

    .lmf-mb-topbar .lmf-logo {
        max-height: 38px;
        max-width: 145px;
    }

    .lmf-mb-subscribe,
    .lmf-mb-account {
        border-radius: 15px;
        min-height: 42px;
        min-width: 44px;
        padding: 0 11px;
    }

    .lmf-mb-subscribe {
        box-shadow: 0 5px 16px rgba(21, 219, 179, .16);
    }

    .lmf-mb-account {
        background: rgba(29, 34, 40, .82);
        border-color: rgba(255,255,255,.13);
    }

    /* v4.0.20 — Mobile featured art reduced substantially; desktop untouched. */
    body.home.lmf-moviebox-layout .lmf-mb-home {
        padding-top: 0 !important;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-feature {
        background: #080b0d;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-stage {
        aspect-ratio: auto;
        height: clamp(280px, 44vh, 340px);
        min-height: 280px;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide::before {
        background-position: center 24%;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide::after {
        background:
            linear-gradient(180deg, rgba(4,7,9,.08) 0%, rgba(4,7,9,.02) 33%, rgba(4,7,9,.38) 67%, #080b0d 100%),
            linear-gradient(90deg, rgba(4,7,9,.18), transparent 55%);
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide > a {
        padding: 54px 24px 26px;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide > a > span {
        font-size: 9px;
        letter-spacing: .12em;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide strong {
        font-size: clamp(27px, 7vw, 36px);
        line-height: 1.02;
        max-width: 74%;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide small {
        font-size: 11px;
        margin-top: 7px;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide b {
        bottom: 27px;
        height: 56px;
        right: 24px;
        width: 56px;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-dots {
        bottom: 15px;
    }

    /* MovieBox-style floating glass bottom navigation, using only existing Luganda Movies destinations. */
    body.lmf-moviebox-layout {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .lmf-mb-bottomnav {
        background: rgba(28, 29, 31, .90);
        border: 1px solid rgba(255,255,255,.10);
        border-bottom: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 30px rgba(0,0,0,.28);
        height: calc(72px + env(safe-area-inset-bottom));
        left: 0;
        padding: 8px 8px calc(7px + env(safe-area-inset-bottom));
        right: 0;
        backdrop-filter: blur(14px) saturate(120%);
        -webkit-backdrop-filter: blur(14px) saturate(120%);
    }

    .lmf-mb-bottomnav a {
        color: #a4aaad;
        font-size: 9px;
        font-weight: 800;
        gap: 4px;
    }

    .lmf-mb-bottomnav a svg {
        height: 24px;
        width: 24px;
    }

    .lmf-mb-bottomnav a.is-active {
        color: var(--lmf-mb-green);
    }

    /* Final row lands exactly at the navigation line, with no decorative empty band. */
    .lmf-moviebox-layout .lmf-mb-home-inner > .lmf-mb-section:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-mb-catalog-grid:last-child,
    .lmf-moviebox-layout .lmf-mb-catalog-inner > .lmf-grid:last-child,
    .lmf-moviebox-layout .lmf-watch-container > .lmf-watch-related:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 390px) {
    .lmf-mb-topbar .lmf-has-custom-logo,
    .lmf-mb-topbar .lmf-logo-frame,
    .lmf-mb-topbar .lmf-logo {
        max-width: 124px;
    }

    .lmf-mb-subscribe,
    .lmf-mb-account {
        min-width: 40px;
        padding-inline: 9px;
    }
}


/* v4.0.34 — Free Videos marketing destination. */
.lmf-free-videos-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(41, 216, 200, .24);
    border-radius: 12px;
    color: #27d8c7;
    background: rgba(39, 216, 199, .08);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.lmf-free-videos-top svg { width: 17px; height: 17px; }
.lmf-free-videos-top:hover { background: rgba(39, 216, 199, .14); color: #35ead7; }
.lmf-free-videos-page .lmf-mb-catalog-head { margin-bottom: 18px; }

@media (max-width: 767px) {
    .lmf-free-videos-top { display: none; }
    .lmf-mb-bottomnav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lmf-mb-bottomnav a { min-width: 0; padding-left: 3px; padding-right: 3px; }
    .lmf-mb-bottomnav a span { font-size: 10px; }
}


/* v4.0.35 — Compact featured banner on desktop and mobile. */
@media (min-width: 1101px) {
    .lmf-moviebox-layout .lmf-mb-hero {
        height: clamp(250px, 22vw, 330px) !important;
        min-height: 0 !important;
    }

    .lmf-moviebox-layout .lmf-mb-hero-copy {
        bottom: 18px;
        left: 24px;
    }

    .lmf-moviebox-layout .lmf-mb-hero-copy h1,
    .lmf-moviebox-layout .lmf-mb-hero-copy h2 {
        font-size: clamp(22px, 1.7vw, 27px);
    }

    .lmf-moviebox-layout .lmf-mb-hero-arrow {
        height: 38px;
        width: 38px;
    }

    .lmf-moviebox-layout .lmf-mb-hero-dots {
        bottom: 13px;
        right: 24px;
    }
}

@media (min-width: 783px) and (max-width: 1100px) {
    .lmf-moviebox-layout .lmf-mb-hero {
        height: clamp(240px, 31vw, 310px) !important;
        min-height: 0 !important;
    }
}

@media (max-width: 782px) {
    .lmf-moviebox-layout .lmf-mb-mobile-stage {
        aspect-ratio: auto !important;
        height: clamp(205px, 35vh, 255px) !important;
        min-height: 205px !important;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide > a {
        padding: 46px 18px 20px;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide strong {
        font-size: clamp(22px, 6vw, 29px);
        max-width: 76%;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-slide b {
        bottom: 20px;
        height: 48px;
        right: 18px;
        width: 48px;
    }

    .lmf-moviebox-layout .lmf-mb-mobile-dots {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .lmf-moviebox-layout .lmf-mb-mobile-stage {
        height: clamp(190px, 31vh, 225px) !important;
        min-height: 190px !important;
    }
}


/* v4.0.39 — YouTube-style compact single-line watch metadata/actions */
.lmf-moviebox-layout .lmf-watch-heading-youtube {
    margin-inline: 18px;
    padding: 0 0 10px;
}
.lmf-moviebox-layout .lmf-watch-heading-youtube h1 {
    font-size: clamp(24px, 2vw, 32px);
    margin: 4px 0 10px;
}
.lmf-moviebox-layout .lmf-watch-inlinebar {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    min-width: 0;
    overflow-x: auto;
    padding: 1px 0 3px;
    scrollbar-width: none;
    white-space: nowrap;
}
.lmf-moviebox-layout .lmf-watch-inlinebar::-webkit-scrollbar { display: none; }
.lmf-moviebox-layout .lmf-inline-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #c7d0d8;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0;
    min-height: 0;
    padding: 0;
}
.lmf-moviebox-layout .lmf-inline-item span { display: none; }
.lmf-moviebox-layout .lmf-inline-item strong {
    color: #c7d0d8;
    font-size: 13px;
    font-weight: 700;
}
.lmf-moviebox-layout .lmf-inline-vj strong { color: var(--lmf-brand); font-weight: 900; }
.lmf-moviebox-layout .lmf-inline-genres { max-width: 260px; }
.lmf-moviebox-layout .lmf-inline-genres strong {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lmf-moviebox-layout .lmf-inline-actions {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 12px;
    margin-left: 2px;
}
/* Download remains the only filled action button. */
.lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action {
    border-radius: 999px;
    gap: 6px;
    min-height: 36px;
    padding: 7px 13px;
    width: auto;
}
.lmf-moviebox-layout .lmf-inline-actions .lmf-share-action {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #d5dce2 !important;
    min-height: 0;
    padding: 0 !important;
}
.lmf-moviebox-layout .lmf-inline-actions .lmf-share-action:hover { color: #fff !important; }
.lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action svg { height: 17px; width: 17px; }
.lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span { font-size: 12px; font-weight: 900; }
@media (max-width: 782px) {
    .lmf-moviebox-layout .lmf-watch-heading-youtube {
        margin-inline: 10px;
        padding-bottom: 8px;
    }
    .lmf-moviebox-layout .lmf-watch-heading-youtube h1 {
        font-size: 20px;
        margin: 3px 0 8px;
    }
    .lmf-moviebox-layout .lmf-watch-inlinebar {
        gap: 11px;
        margin-right: -10px;
        padding-right: 10px;
    }
    .lmf-moviebox-layout .lmf-inline-item { padding: 0; }
    .lmf-moviebox-layout .lmf-inline-item strong { font-size: 11px; }
    .lmf-moviebox-layout .lmf-inline-genres { max-width: 150px; }
    .lmf-moviebox-layout .lmf-inline-genres strong { max-width: 120px; }
    .lmf-moviebox-layout .lmf-inline-actions { gap: 10px; width: auto; }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action { min-height: 32px; padding: 6px 10px; width: auto; }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action { min-height: 0; padding: 0 !important; }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action svg { height: 15px; width: 15px; }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span { font-size: 10px; }
}
.lmf-moviebox-layout .lmf-watch-description-compact {
    margin: 0 18px;
    padding-top: 7px;
}
.lmf-moviebox-layout .lmf-watch-description-compact .lmf-description {
    margin-top: 0;
}
@media (max-width: 782px) {
    .lmf-moviebox-layout .lmf-watch-heading-youtube {
        margin-inline: 10px;
        padding-bottom: 8px;
    }
    .lmf-moviebox-layout .lmf-watch-heading-youtube h1 {
        font-size: 20px;
        margin: 3px 0 8px;
    }
    .lmf-moviebox-layout .lmf-watch-inlinebar {
        gap: 6px;
        margin-right: -10px;
        padding-right: 10px;
    }
    .lmf-moviebox-layout .lmf-inline-item {
        min-height: 32px;
        padding: 6px 9px;
    }
    .lmf-moviebox-layout .lmf-inline-item span { font-size: 9px; }
    .lmf-moviebox-layout .lmf-inline-item strong { font-size: 10px; }
    .lmf-moviebox-layout .lmf-inline-genres { max-width: 170px; }
    .lmf-moviebox-layout .lmf-inline-genres strong { max-width: 105px; }
    .lmf-moviebox-layout .lmf-inline-actions {
        display: inline-flex;
        gap: 6px;
        width: auto;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action,
    .lmf-moviebox-layout .lmf-inline-actions > * {
        min-height: 32px;
        padding: 6px 9px;
        width: auto;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action svg {
        height: 15px;
        width: 15px;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span { font-size: 10px; }
    .lmf-moviebox-layout .lmf-watch-description-compact {
        margin-inline: 10px;
        padding-top: 5px;
    }
}


/* v4.0.41 — mobile watch row fit: keep VJ, genre/series, runtime and actions visible */
@media (max-width: 782px) {
    .lmf-moviebox-layout .lmf-watch-inlinebar {
        gap: 8px !important;
        margin-right: 0 !important;
        overflow-x: visible !important;
        padding-right: 0 !important;
        width: 100%;
    }
    .lmf-moviebox-layout .lmf-inline-mobile-hide {
        display: none !important;
    }
    .lmf-moviebox-layout .lmf-inline-item strong {
        font-size: 11px !important;
        line-height: 1.2;
    }
    .lmf-moviebox-layout .lmf-inline-vj,
    .lmf-moviebox-layout .lmf-inline-genres {
        min-width: 0;
    }
    .lmf-moviebox-layout .lmf-inline-genres {
        max-width: 88px !important;
    }
    .lmf-moviebox-layout .lmf-inline-genres strong {
        display: block;
        max-width: 88px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .lmf-moviebox-layout .lmf-inline-actions {
        gap: 7px !important;
        margin-left: auto !important;
        min-width: 0;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action {
        min-height: 32px !important;
        padding: 6px 9px !important;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span {
        font-size: 10px !important;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-width: 24px !important;
        width: 24px !important;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action span {
        display: none !important;
    }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action svg {
        height: 17px !important;
        width: 17px !important;
    }
}
@media (max-width: 390px) {
    .lmf-moviebox-layout .lmf-watch-inlinebar { gap: 6px !important; }
    .lmf-moviebox-layout .lmf-inline-item strong { font-size: 10px !important; }
    .lmf-moviebox-layout .lmf-inline-genres,
    .lmf-moviebox-layout .lmf-inline-genres strong { max-width: 70px !important; }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action { padding: 5px 7px !important; }
    .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span { font-size: 9px !important; }
}

/* v4.0.42 — compact mobile watch row; no sideways overflow; Share label visible */
@media (max-width: 782px) {
  .lmf-moviebox-layout .lmf-watch-heading-youtube { overflow: hidden; }
  .lmf-moviebox-layout .lmf-watch-inlinebar {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,.9fr) auto auto auto !important;
    align-items: center !important;
    column-gap: 8px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .lmf-moviebox-layout .lmf-inline-item { min-width: 0 !important; padding: 0 !important; }
  .lmf-moviebox-layout .lmf-inline-item strong { font-size: 10.5px !important; white-space: nowrap; }
  .lmf-moviebox-layout .lmf-inline-vj strong,
  .lmf-moviebox-layout .lmf-inline-genres strong { overflow:hidden; text-overflow:ellipsis; max-width:100% !important; }
  .lmf-moviebox-layout .lmf-inline-genres { max-width:none !important; }
  .lmf-moviebox-layout .lmf-inline-actions { display: contents !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action {
    min-height: 30px !important; padding: 5px 8px !important; gap: 4px !important; white-space: nowrap !important;
  }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action svg { width:14px !important; height:14px !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span { font-size:9px !important; white-space:nowrap !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action {
    width:auto !important; min-width:0 !important; padding:4px 0 !important; gap:3px !important;
  }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action span { display:inline !important; font-size:9px !important; }
}
@media (max-width: 390px) {
  .lmf-moviebox-layout .lmf-watch-inlinebar { column-gap:6px !important; }
  .lmf-moviebox-layout .lmf-inline-item strong { font-size:9.5px !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action { padding:5px 6px !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span,
  .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action span { font-size:8.5px !important; }
}


/* v4.0.43 — hard mobile watch-page width fix: no horizontal page drift */
@media (max-width: 782px) {
  html, body.lmf-moviebox-layout {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .lmf-moviebox-layout .lmf-site-frame,
  .lmf-moviebox-layout .lmf-main,
  .lmf-moviebox-layout .lmf-watch-page,
  .lmf-moviebox-layout .lmf-watch-container,
  .lmf-moviebox-layout .lmf-watch-layout,
  .lmf-moviebox-layout .lmf-watch-primary,
  .lmf-moviebox-layout .lmf-player-area,
  .lmf-moviebox-layout .lmf-watch-heading-youtube,
  .lmf-moviebox-layout .lmf-watch-related {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .lmf-moviebox-layout .lmf-watch-page,
  .lmf-moviebox-layout .lmf-watch-container,
  .lmf-moviebox-layout .lmf-watch-layout,
  .lmf-moviebox-layout .lmf-watch-primary {
    overflow-x: hidden !important;
  }

  .lmf-moviebox-layout .lmf-watch-heading-youtube {
    margin: 0 !important;
    padding: 0 18px 9px !important;
    overflow: hidden !important;
  }

  .lmf-moviebox-layout .lmf-watch-heading-youtube h1 {
    margin: 8px 0 10px !important;
  }

  .lmf-moviebox-layout .lmf-watch-inlinebar {
    display: grid !important;
    grid-template-columns: minmax(0,.78fr) minmax(0,.62fr) auto minmax(92px,auto) auto !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .lmf-moviebox-layout .lmf-inline-item,
  .lmf-moviebox-layout .lmf-inline-actions,
  .lmf-moviebox-layout .lmf-inline-actions > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .lmf-moviebox-layout .lmf-inline-vj strong,
  .lmf-moviebox-layout .lmf-inline-genres strong,
  .lmf-moviebox-layout .lmf-inline-item strong {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 10.5px !important;
  }

  .lmf-moviebox-layout .lmf-inline-actions {
    display: contents !important;
  }

  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action {
    min-height: 30px !important;
    min-width: 0 !important;
    padding: 5px 7px !important;
    gap: 4px !important;
    max-width: 118px !important;
    overflow: hidden !important;
  }

  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span {
    display: block !important;
    max-width: 82px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 9.5px !important;
  }

  .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action {
    display: inline-flex !important;
    width: auto !important;
    max-width: 58px !important;
    min-width: 0 !important;
    padding: 4px 0 !important;
    gap: 3px !important;
    overflow: visible !important;
  }

  .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action span {
    display: inline !important;
    max-width: none !important;
    overflow: visible !important;
    font-size: 9.5px !important;
  }

  .lmf-moviebox-layout .lmf-watch-related {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  .lmf-moviebox-layout .lmf-watch-related .lmf-section-heading {
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    width: 100% !important;
  }
}

@media (max-width: 390px) {
  .lmf-moviebox-layout .lmf-watch-heading-youtube { padding-left: 14px !important; padding-right: 14px !important; }
  .lmf-moviebox-layout .lmf-watch-inlinebar {
    grid-template-columns: minmax(0,.72fr) minmax(0,.55fr) auto minmax(84px,auto) auto !important;
    gap: 4px !important;
  }
  .lmf-moviebox-layout .lmf-inline-item strong { font-size: 9.5px !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action { max-width: 105px !important; padding: 5px 6px !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-watch-action span { max-width: 72px !important; font-size: 9px !important; }
  .lmf-moviebox-layout .lmf-inline-actions .lmf-share-action span { font-size: 9px !important; }
}

/* ==========================================================
   Luganda Movies 4.0.58 — stable Tesoflix catalogue geometry
   Built on the last stable dark theme. No white page wrappers.
   ========================================================== */
body.lmf-moviebox-layout,
.lmf-moviebox-layout .lmf-site-frame,
.lmf-moviebox-layout .lmf-main,
.lmf-moviebox-layout .lmf-mb-home,
.lmf-moviebox-layout .lmf-mb-catalog,
.lmf-moviebox-layout .lmf-mb-catalog-inner{
  background:#071011!important;
  color:#f4f7f7!important;
}

/* Catalogue begins immediately below the fixed header, like Tesoflix. */
.lmf-moviebox-layout .lmf-tesoflix-catalog{
  padding-top:var(--lmf-mb-topbar)!important;
  padding-bottom:0!important;
  min-height:0!important;
}
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 12px!important;
}
.lmf-moviebox-layout .lmf-centered-catalog-title{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 12px!important;
  padding:12px 0 0!important;
  text-align:center!important;
}
.lmf-moviebox-layout .lmf-centered-catalog-title>div{
  width:100%!important;
}
.lmf-moviebox-layout .lmf-centered-catalog-title h1{
  color:#fff!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:clamp(22px,2.2vw,31px)!important;
  line-height:1.08!important;
}

/* Poster walls use the full content width, never a boxed inner container. */
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-grid,
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-tfx-load-grid,
.lmf-moviebox-layout .lmf-mb-home .lmf-mb-card-grid,
.lmf-moviebox-layout .lmf-mb-home .lmf-card-row{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.lmf-moviebox-layout .lmf-mb-home-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:12px!important;
  padding-right:12px!important;
}
.lmf-moviebox-layout .lmf-mb-home-inner>.lmf-mb-section{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Empty states stay dark and compact instead of creating a pale page-sized panel. */
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-empty{
  grid-column:1/-1!important;
  width:100%!important;
  min-height:150px!important;
  margin:0!important;
  padding:36px 16px!important;
  background:#0e1517!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:12px!important;
  color:#fff!important;
  text-align:center!important;
}
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-empty h2{
  color:#fff!important;
  margin:0!important;
}

/* Loader never reserves a giant blank block. */
.lmf-moviebox-layout .lmf-infinite-status{
  min-height:32px!important;
  margin:0!important;
  padding:9px 0 3px!important;
}
.lmf-moviebox-layout .lmf-infinite-sentinel{margin:0!important;padding:0!important;height:1px!important;}

@media (min-width:1101px){
  .lmf-moviebox-layout .lmf-site-frame{margin-left:var(--lmf-mb-sidebar)!important;}
  body.lmf-sidebar-collapsed.lmf-moviebox-layout .lmf-site-frame{margin-left:0!important;}
  .lmf-moviebox-layout .lmf-mb-home{padding-top:var(--lmf-mb-topbar)!important;}
  .lmf-moviebox-layout .lmf-mb-home-inner{padding-left:0!important;padding-right:0!important;}
  .lmf-moviebox-layout .lmf-mb-home-inner>.lmf-mb-section{padding-left:0!important;padding-right:0!important;}
  .lmf-moviebox-layout .lmf-mb-section .lmf-section-heading{padding-left:0!important;padding-right:0!important;}
}

@media (max-width:1100px){
  .lmf-moviebox-layout .lmf-tesoflix-catalog{padding-top:var(--lmf-mb-topbar)!important;}
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-inner,
  .lmf-moviebox-layout .lmf-mb-home-inner{padding-left:8px!important;padding-right:8px!important;}
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-grid,
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-tfx-load-grid,
  .lmf-moviebox-layout .lmf-mb-home .lmf-mb-card-grid,
  .lmf-moviebox-layout .lmf-mb-home .lmf-card-row{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .lmf-moviebox-layout .lmf-centered-catalog-title{padding-top:9px!important;margin-bottom:9px!important;}
}

/* ==========================================================
   Luganda Movies 4.0.59 — Tesoflix-style Up Next rail
   Compact landscape recommendations beside the player.
   ========================================================== */
@media (min-width: 992px) {
  .lmf-moviebox-layout .lmf-watch-layout {
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 14px !important;
    align-items: start !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail.lmf-watch-rail-list {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: static !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-head {
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-head strong {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-head a {
    color: #2de0b4 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-item {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: start !important;
    min-width: 0 !important;
    padding: 0 4px 0 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-thumb {
    display: block !important;
    width: 112px !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    background: #15191a !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-empty {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    color: #7f898c !important;
    font-weight: 800 !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-meta {
    display: block !important;
    min-width: 0 !important;
    padding-top: 2px !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-meta strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 850 !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-meta small {
    display: block !important;
    margin-top: 5px !important;
    color: #899497 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }
}
@media (min-width: 1280px) {
  .lmf-moviebox-layout .lmf-watch-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-item {
    grid-template-columns: 126px minmax(0, 1fr) !important;
  }
  .lmf-moviebox-layout .lmf-watch-rail-list .lmf-watch-rail-thumb {
    width: 126px !important;
  }
}
@media (max-width: 991px) {
  .lmf-moviebox-layout .lmf-watch-rail.lmf-watch-rail-list {
    display: none !important;
  }
}


/* ==========================================================
   Luganda Movies 4.0.61 — all catalogue pages match homepage
   Same dark canvas, heading rhythm and full-width poster wall.
   ========================================================== */
.lmf-moviebox-layout .lmf-tesoflix-catalog,
.lmf-moviebox-layout .lmf-frontlike-catalog{
  background:#071011!important;
  color:#f4f7f7!important;
  padding-top:var(--lmf-mb-topbar)!important;
  padding-bottom:0!important;
  min-height:0!important;
}
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-inner,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:12px 12px 0!important;
  background:#071011!important;
}
/* Catalogue headings now use exactly the homepage section rhythm. */
.lmf-moviebox-layout .lmf-catalog-section-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  margin:0 0 10px!important;
  padding:0!important;
  text-align:left!important;
}
.lmf-moviebox-layout .lmf-catalog-section-heading>div{width:auto!important;}
.lmf-moviebox-layout .lmf-catalog-section-heading h1,
.lmf-moviebox-layout .lmf-catalog-section-heading h2{
  color:#fff!important;
  font-size:clamp(17px,1.4vw,21px)!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
/* Full-width poster rows, same geometry as homepage Popular Movies. */
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-grid,
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-tfx-load-grid,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-grid,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-grid{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
/* Keep empty catalogues compact like a normal homepage section. */
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-empty,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-empty{
  grid-column:1/-1!important;
  min-height:120px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:24px 14px!important;
  background:#0e1517!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:10px!important;
  color:#fff!important;
}
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-empty h2,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-empty h2{margin:0!important;color:#fff!important;font-size:18px!important;}
/* Do not let the footer create a fake tall page under a short row. */
.lmf-moviebox-layout .lmf-tesoflix-catalog + .lmf-footer,
.lmf-moviebox-layout .lmf-frontlike-catalog + .lmf-footer{margin-top:0!important;}

@media (min-width:1101px){
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-inner,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-inner{
    padding-left:0!important;
    padding-right:0!important;
  }
}
@media (max-width:1100px){
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-inner,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-inner{
    padding:8px 8px 0!important;
  }
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-grid,
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-tfx-load-grid,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-grid,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .lmf-moviebox-layout .lmf-catalog-section-heading{margin-bottom:8px!important;}
}


/* v4.1.0 — precise Tesoflix mobile hero sizing and safe poster fallback. */
@media (max-width:782px){
  .lmf-moviebox-layout .lmf-mb-mobile-stage{height:235px!important;min-height:235px!important;max-height:235px!important;}
}
@media (max-width:480px){
  .lmf-moviebox-layout .lmf-mb-mobile-stage{height:225px!important;min-height:225px!important;max-height:225px!important;}
}
.lmf-moviebox-layout .lmf-mb-hero-slide.is-poster-fallback,
.lmf-moviebox-layout .lmf-mb-mobile-slide.is-poster-fallback{
  background-size:auto 115%!important;
  background-repeat:no-repeat!important;
  background-position:78% center!important;
  background-color:#091112!important;
}
@media(max-width:782px){
  .lmf-moviebox-layout .lmf-mb-mobile-slide.is-poster-fallback{background-size:auto 125%!important;background-position:70% center!important;}
}

.lmf-free-videos-top.is-active{color:var(--lmf-mb-green)!important;background:rgba(43,240,154,.10)!important;border-color:rgba(43,240,154,.18)!important;}

/* v4.1.1 — catalogue page titles centered immediately below the sticky header. */
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-catalog-section-heading,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-catalog-section-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0 0 9px!important;
  padding:7px 0 0!important;
  text-align:center!important;
}
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-catalog-section-heading>div,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-catalog-section-heading>div{
  width:100%!important;
  text-align:center!important;
}
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-catalog-section-heading h1,
.lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-catalog-section-heading h2,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-catalog-section-heading h1,
.lmf-moviebox-layout .lmf-frontlike-catalog .lmf-catalog-section-heading h2{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}
@media(max-width:760px){
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-catalog-section-heading,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-catalog-section-heading{
    padding-top:6px!important;
    margin-bottom:8px!important;
  }
}


/* v4.1.2 — Tesoflix mobile full-bleed hero + single-gutter poster wall.
   The homepage wrapper supplies the only card gutter. Sections must not add a
   second inset, and the featured banner deliberately breaks out to viewport edges. */
@media (max-width: 782px) {
  .lmf-moviebox-layout .lmf-mb-home-inner {
    width: 100% !important;
    max-width: none !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* Full-width featured artwork exactly like Tesoflix mobile. */
  .lmf-moviebox-layout .lmf-mb-mobile-feature {
    width: calc(100% + 16px) !important;
    max-width: none !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  .lmf-moviebox-layout .lmf-mb-mobile-stage,
  .lmf-moviebox-layout .lmf-mb-mobile-slide {
    width: 100% !important;
    border-radius: 0 !important;
  }

  /* One edge gutter only: no section-within-wrapper container effect. */
  .lmf-moviebox-layout .lmf-mb-home-inner > .lmf-mb-section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .lmf-moviebox-layout .lmf-mb-section .lmf-section-heading {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .lmf-moviebox-layout .lmf-mb-card-grid,
  .lmf-moviebox-layout .lmf-mb-home .lmf-card-row {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  /* Catalogue pages use the same single 8px phone gutter. */
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-inner,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-inner {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-mb-catalog-grid,
  .lmf-moviebox-layout .lmf-tesoflix-catalog .lmf-tfx-load-grid,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-mb-catalog-grid,
  .lmf-moviebox-layout .lmf-frontlike-catalog .lmf-grid {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 7px !important;
  }
}


/* v4.5.0 — compact SEO discovery card + VJ hub (loaded asset) */
.lmf-content .lmf-seo-intro{margin:18px 0 20px!important;padding:16px 18px!important;border:1px solid rgba(72,226,194,.16)!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(49,226,192,.07),rgba(255,255,255,.025))!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;box-shadow:0 10px 34px rgba(0,0,0,.12)!important}
.lmf-content .lmf-seo-intro-copy{min-width:0!important;max-width:900px!important}
.lmf-content .lmf-seo-eyebrow,.lmf-vj-kicker{display:inline-flex!important;margin:0 0 6px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#43e7c6!important}
.lmf-content .lmf-seo-intro h2{margin:0 0 6px!important;font-size:clamp(17px,1.55vw,22px)!important;line-height:1.24!important;font-weight:800!important;letter-spacing:-.02em!important;color:#fff!important}
.lmf-content .lmf-seo-intro p{margin:0!important;max-width:820px!important;font-size:12.5px!important;line-height:1.6!important;color:rgba(229,239,239,.76)!important}
.lmf-content .lmf-seo-intro-links{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:7px!important;max-width:360px!important}
.lmf-content .lmf-seo-intro-links a{display:inline-flex!important;align-items:center!important;min-height:31px!important;padding:7px 10px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:999px!important;background:rgba(255,255,255,.045)!important;color:#dce9e8!important;font-size:10.5px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;transition:background .18s ease,border-color .18s ease,transform .18s ease!important}
.lmf-content .lmf-seo-intro-links a:hover{background:rgba(57,226,193,.1)!important;border-color:rgba(57,226,193,.34)!important;color:#fff!important;transform:translateY(-1px)!important}

.lmf-vj-hub{margin:0 0 22px;padding:16px 18px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:rgba(255,255,255,.022)}
.lmf-vj-hub-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.lmf-vj-hub-head h2{margin:0 0 4px;font-size:18px;line-height:1.25;color:#fff}
.lmf-vj-hub-head p{margin:0;max-width:780px;font-size:11.5px;line-height:1.55;color:rgba(229,239,239,.68)}
.lmf-vj-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.lmf-vj-card{min-width:0;display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.032);color:#ecf5f4;text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.lmf-vj-card:hover{background:rgba(52,231,194,.07);border-color:rgba(52,231,194,.27);transform:translateY(-1px)}
.lmf-vj-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:rgba(52,231,194,.11);border:1px solid rgba(52,231,194,.22);font-size:11px;font-weight:900;color:#55edce}
.lmf-vj-meta{min-width:0;display:flex;flex-direction:column;gap:2px}
.lmf-vj-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.2;color:#f7fbfb}
.lmf-vj-meta small{font-size:9px;color:rgba(220,235,234,.52)}
.lmf-vj-arrow{margin-left:auto;font-size:16px;color:rgba(79,232,202,.65)}
@media(max-width:1180px){.lmf-vj-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
 .lmf-content .lmf-seo-intro{margin:12px 0 15px!important;padding:13px!important;display:block!important;border-radius:14px!important}
 .lmf-content .lmf-seo-intro h2{font-size:15.5px!important;margin-bottom:5px!important}
 .lmf-content .lmf-seo-intro p{font-size:11px!important;line-height:1.5!important}
 .lmf-content .lmf-seo-intro-links{justify-content:flex-start!important;max-width:none!important;margin-top:10px!important;gap:5px!important}
 .lmf-content .lmf-seo-intro-links a{min-height:28px!important;padding:6px 8px!important;font-size:9.5px!important}
 .lmf-vj-hub{padding:13px;margin-bottom:16px;border-radius:14px}
 .lmf-vj-hub-head h2{font-size:15.5px}.lmf-vj-hub-head p{font-size:10.5px}
 .lmf-vj-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .lmf-vj-card{padding:8px}.lmf-vj-avatar{flex-basis:27px;width:27px;height:27px}.lmf-vj-meta strong{font-size:10px}.lmf-vj-meta small{font-size:8.5px}
}
\n\n/* v4.6.0 — premium compact SEO discovery strip; fixes selector mismatch on homepage */\n.lmf-seo-intro{box-sizing:border-box!important;width:100%!important;margin:14px 0 10px!important;padding:12px 14px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(41,224,188,.055),rgba(255,255,255,.018))!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;box-shadow:none!important}\n.lmf-seo-intro-copy{min-width:0!important;max-width:780px!important}\n.lmf-seo-eyebrow{display:block!important;margin:0 0 3px!important;color:#42e4c3!important;font-size:8.5px!important;font-weight:900!important;letter-spacing:.13em!important;line-height:1.2!important;text-transform:uppercase!important}\n.lmf-seo-intro h2{margin:0 0 3px!important;padding:0!important;color:#f7fbfb!important;font-size:15px!important;font-weight:800!important;letter-spacing:-.01em!important;line-height:1.25!important}\n.lmf-seo-intro p{margin:0!important;padding:0!important;max-width:760px!important;color:rgba(225,237,235,.68)!important;font-size:10.5px!important;font-weight:400!important;line-height:1.48!important}\n.lmf-seo-intro-links{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:5px!important;margin:0!important;padding:0!important;max-width:390px!important}\n.lmf-seo-intro-links a,.lmf-seo-intro-links a:link,.lmf-seo-intro-links a:visited{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:27px!important;margin:0!important;padding:5px 9px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:999px!important;background:rgba(255,255,255,.035)!important;color:rgba(238,247,246,.84)!important;font-size:9.5px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;text-underline-offset:0!important;white-space:nowrap!important}\n.lmf-seo-intro-links a:hover{border-color:rgba(58,228,195,.24)!important;background:rgba(58,228,195,.07)!important;color:#fff!important}\n\n.lmf-vj-hub{box-sizing:border-box!important;width:100%!important;margin:0 0 18px!important;padding:11px 12px!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:14px!important;background:rgba(255,255,255,.014)!important;box-shadow:none!important;overflow:hidden!important}\n.lmf-vj-hub-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 8px!important;padding:0!important}\n.lmf-vj-kicker{display:block!important;margin:0 0 2px!important;color:#42e4c3!important;font-size:8px!important;font-weight:900!important;letter-spacing:.13em!important;line-height:1.2!important;text-transform:uppercase!important}\n.lmf-vj-hub-head h2{margin:0!important;padding:0!important;color:#f7fbfb!important;font-size:13px!important;font-weight:800!important;line-height:1.25!important}\n.lmf-vj-hub-head p{margin:2px 0 0!important;padding:0!important;color:rgba(225,237,235,.55)!important;font-size:9.5px!important;line-height:1.35!important}\n.lmf-vj-grid{display:flex!important;grid-template-columns:none!important;gap:6px!important;width:100%!important;margin:0!important;padding:0 0 2px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;scroll-snap-type:x proximity!important}\n.lmf-vj-card,.lmf-vj-card:link,.lmf-vj-card:visited{box-sizing:border-box!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;min-width:150px!important;max-width:190px!important;gap:7px!important;margin:0!important;padding:7px 9px!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:11px!important;background:rgba(255,255,255,.025)!important;color:#ecf5f4!important;text-decoration:none!important;scroll-snap-align:start!important}\n.lmf-vj-card:hover{border-color:rgba(57,228,194,.22)!important;background:rgba(57,228,194,.055)!important}\n.lmf-vj-avatar{display:grid!important;place-items:center!important;flex:0 0 26px!important;width:26px!important;height:26px!important;border:1px solid rgba(55,228,194,.18)!important;border-radius:50%!important;background:rgba(55,228,194,.09)!important;color:#53e8ca!important;font-size:9px!important;font-weight:900!important}\n.lmf-vj-meta{display:flex!important;min-width:0!important;flex-direction:column!important;gap:1px!important}\n.lmf-vj-meta strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#f4f8f8!important;font-size:9.5px!important;font-weight:800!important;line-height:1.2!important;text-transform:none!important}\n.lmf-vj-meta small{display:block!important;color:rgba(220,235,234,.46)!important;font-size:8px!important;line-height:1.2!important}\n.lmf-vj-arrow{margin-left:auto!important;color:rgba(77,230,200,.55)!important;font-size:13px!important;line-height:1!important}\n\n@media(max-width:760px){\n .lmf-seo-intro{margin:10px 0 8px!important;padding:10px 11px!important;display:block!important;border-radius:12px!important}\n .lmf-seo-intro h2{font-size:13px!important}\n .lmf-seo-intro p{font-size:9.5px!important;line-height:1.43!important}\n .lmf-seo-intro-links{justify-content:flex-start!important;max-width:none!important;margin-top:8px!important;gap:4px!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:2px!important}\n .lmf-seo-intro-links a,.lmf-seo-intro-links a:link,.lmf-seo-intro-links a:visited{flex:0 0 auto!important;min-height:25px!important;padding:5px 8px!important;font-size:8.5px!important}\n .lmf-vj-hub{margin-bottom:13px!important;padding:10px!important;border-radius:12px!important}\n .lmf-vj-hub-head h2{font-size:12px!important}.lmf-vj-hub-head p{font-size:8.7px!important}\n .lmf-vj-card,.lmf-vj-card:link,.lmf-vj-card:visited{min-width:132px!important;padding:6px 8px!important}.lmf-vj-avatar{flex-basis:24px!important;width:24px!important;height:24px!important}.lmf-vj-meta strong{font-size:9px!important}.lmf-vj-meta small{font-size:7.5px!important}\n}\n