/* =========================================================
   SWF - Progressive / inviting search form
   Initial state: show only the title search field.
   ========================================================= */

.swf-form.swf-collapsible-search .swf-field-title {
    width: 100%;
    grid-column: 1 / -1;
    position: relative;
}
body.home {
    /* background-color: #f8f9fa; */
    /* background: radial-gradient(circle at 50% 50%, #e2eeff 0%, #f0f5ff 30%, #ffffff 80%); */
    /* background-repeat: no-repeat; */
    /* background: #fff; */
    background-attachment: fixed;
}

/*
 * Everything in the search grid except the title field
 * starts visually collapsed.
 */
.swf-form.swf-collapsible-search
.swf-form-grid > :not(.swf-field-title) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    margin-top: 0;
    margin-bottom: 0;
    transition:
        opacity 0.22s ease,
        transform 0.32s ease,
        max-height 0.38s ease,
        margin 0.32s ease,
        visibility 0s linear 0.38s;
    display: none;
}

.phoenix2026-brand .wp-block-site-logo, .phoenix2026-brand .wp-block-site-title {
   font-family: arial;
}


/*
 * Expanded state.
 */
.swf-form.swf-collapsible-search.is-expanded
.swf-form-grid > :not(.swf-field-title) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 160px;
    overflow: visible;
    /* background: orange; */
    color: #4b4b4b;
    transform: translateY(0);
    border: 0;
    font-weight: 900;
    transition:
        opacity 0.30s ease 0.05s,
        transform 0.32s ease,
        max-height 0.42s ease,
        margin 0.32s ease,
        visibility 0s;
}
.swf-form.swf-collapsible-search.is-expanded
.swf-form-grid .swf-button {
    background-color: #0581ff;
    color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* ---------------------------------------------------------
   Give the primary search field that simple YouTube /
   ChatGPT-like "come search here" appearance.
   --------------------------------------------------------- */

.swf-form.swf-collapsible-search
.swf-field-title input[type="search"] {
    width: 100%;
    /* width: 313px; */
    min-height: 25px;
    background: transparent;
    /* background: #fff; */
    padding-left: 35px;
    padding-right: 6px;
    color: #fff;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    border-radius: 999px;
    border-radius: 33px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid #ffffff;
    /* border: 2px solid #ff0707; */
    border-right: 0;
    box-shadow: inset 0 1px 2px #eee;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.swf-form.swf-collapsible-search
.swf-field-title input[type="search"]::placeholder {
  color: #e0ebff;
  opacity: 1; /* Ensures fallback visibility in Firefox */
}

/*
 * Very subtle attraction when the visitor interacts with it.
 */
.swf-form.swf-collapsible-search
.swf-field-title input[type="search"]:hover {
   // transform: translateY(-1px); //Disbaled au-17 to stop search glass being hidden when hovered
}


.swf-form.swf-collapsible-search
.swf-field-title input[type="search"]:focus {
    outline: none;
    transform: translateY(0);

    box-shadow:
        0 0 0 3px rgba(80, 120, 255, 0.10),
        0 6px 24px rgba(0, 0, 0, 0.08);
}


/*
 * Once expanded, add a little breathing room underneath
 * the primary title search.
 */
.swf-form.swf-collapsible-search.is-expanded
.swf-field-title {
    margin: 4px;
}


/* Respect users who prefer reduced animation. */
@media (prefers-reduced-motion: reduce) {

    .swf-form.swf-collapsible-search
    .swf-form-grid > :not(.swf-field-title),

    .swf-form.swf-collapsible-search
    .swf-field-title input[type="search"] {
        transition: none;
        transform: none;
    }
}


.wp-site-blocks {
    
    header.wp-block-template-part {
    display: block;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 3px 6px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
    /* background: #fa320a; */
    background-image: linear-gradient(90deg, #fa320a, #ff5530 50%, #fd1111);
}

  .wp-block-navigation .wp-block-navigation-item__label {
    font-size: 0.94rem;
    color: #fff;
    font-weight: 700;
} 
    .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
    stroke: #fff;
}


.wp-block-site-title :where(a) {
    color: #fff;
}

    .wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
        color: #fff;
    }
}


.swf-wrap {
    --swf-bg: #ffffff;
    --swf-soft: #f6f7f9;
    --swf-border: #cccccc;
    --swf-text: #172033;
    /* --swf-muted: #667085; */
    --swf-muted: #060606;
    --swf-accent: #243b73;
    --swf-accent: #243b73;
    --swf-accent-2: #314f99;
    color: var(--swf-text);
    /* margin: 1.5rem 0; */
    font-family: inherit;
    max-width: 1326px;
    margin: 0 auto;
    padding: 0 15px;
}

.movie-finder {flex-direction: column;align-items: center;justify-content: center;background: radial-gradient(circle at 50% 50%, #e2eeff 0%, #f0f5ff 30%, #ffffff 80%);background-repeat: no-repeat;/* background: #fff; */background-attachment: fixed;overflow: hidden;margin-bottom: 15px;margin-block-start: 0;overflow: visible;}

.home .swf-wrap {
    max-width: min(100%, var(--wp--style--global--wide-size, 1280px));
    margin: 0 auto;
    /* border-bottom: 1px solid #b3b2b2; */
    padding-bottom: 20px;
    margin-bottom: 25px;
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
}

.swf-wrap * {
    box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.swf-form.swf-collapsible-search.is-expanded .search-icon {/* display: none; */position: absolute;left: 7px;top: 15px;background: transparent;fill: #ffffff;border: 0;padding: 0;height: 26px;width: 26px;}
.swf-form.swf-collapsible-search.is-expanded .live-button {display: block;visibility: visible;z-index: 9;width: 52px;cursor: pointer;}

.swf-form,
.swf-empty-state,
.swf-results,
.swf-movie-card {
    /* background: var(--swf-bg); */
    /* New JN21 */
    /* border: 1px solid var(--swf-border); */
    /* border-radius: 18px; */
    /* box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06); */
}

.searchform-free-watch-link {
    display: flex;
    margin: 5px 0 7px 0;
}

.free-link {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    padding-bottom: 0px;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    span {
        background: #27262b;
        /* border: 1px solid rgba(22, 163, 74, 0.28); */
        border: 1px solid #ffffff4a;
        border-radius: 999px;
    }
}

@media (max-width: 720px) {
    .searchform-free-watch-link {
        flex-direction:column-reverse
    }
}

.free-link-searchform-container > .swf-form {
    flex-direction: row;
}
.swf-form {
    padding: 4px 0 4px 0;
    /* padding: clamp(0rem, 3vw, 0.4rem); */
    m); */
    /* padding-top: 5px; */
    margin-bottom: 0;
    /* padding-top: 0px; */
    margin-top: 0px;
    /* background: #f0f8ff; */
    border-radius: 35px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: space-around;
    margin-left: auto;
    /* margin-right: auto; */
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

/* June 27  */

form.swf-form {
.swf-form-grid-title {display: none;}


}


form.swf-form {
.swf-field.swf-field-title {
    gap: 0;
    position: relative;
    width: 100%;
    /* max-width: 584px; */
    padding: 0 20px;
    padding: 0 0px 0 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}





  /* The actual input field */
  .swf-field input {
    /* width: 100%; */
    padding: 0px 5px 0px 34px; /* Extra left padding to make room for the icon */
    font-size: 16px;
    border: 1px solid #ff5000;
    border-radius: 24px; /* Creates the pill shape */
    outline: none; /* Removes the harsh default blue browser outline */
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }


  /* The hover and focus glow effect */
    /* .swf-field input:focus */
  .swf-field input:hover, .swf-field select:hover  {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28)!important;
    /* border-color: rgba(223, 225, 229, 0)!important; */
  }

/* The hover and focus glow effect */
  .swf-field input:hover,
  .swf-field input:focus,
  .swf-field input:focus-visible,
  .swf-field input[autofocus],
    .swf-field.swf-field-media,
    .swf-field-region select
    {
    /* box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28); */
    /* border-color: rgba(223, 225, 229, 0); */
    border-radius: 29px;
  }
    
  /* Search icon styling */
  .search-icon, .live-button {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 50px;
    overflow: visible;
    background: #fffcfc;
    border: 2px solid #ffffff;
    /* border-left: 1px solid #ff0000; */
    color: #4b4b4b;
    transform: translateY(0);
    /* border: 0; */
    cursor: pointer;
    fill: #202020;
    font-weight: 900;
    transition: opacity 0.30s ease 0.05s, transform 0.32s ease, max-height 0.42s ease, margin 0.32s ease, visibility 0s;
    padding: 7px;
  }
    
/*
.swf-field.swf-field-title::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -3px;
    right: -3px;
    bottom: -2px;
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.39), rgba(79, 172, 254, 0.21), rgba(161, 140, 209, 0.99), rgba(0, 242, 254, 0.33), rgba(79, 172, 254, 0.22));
    background-size: 47% 19%;
    border-radius: 8px;
    filter: blur(24px);
    opacity: 0.85;
    z-index: 0;
    animation: flowColors 4s linear infinite, pulseWave 3.5s ease-in-out infinite alternate;
}

.swf-field.swf-field-title::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -7px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(90deg, #ffffff, rgba(143, 211, 244, 0.33), #ffffff);
    background-size: 2% 2%;
    border-radius: 0px;
    filter: blur(10px);
    opacity: 0.9;
    z-index: 1;
    animation: corePulse 2s ease-in-out infinite alternate;
}
*/

    
/*    
.swf-field input{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 18px;
    padding: 14px 20px 14px 45px;
    font-size: 16px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    outline: none;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border: 1px solid #959595;
    box-shadow: none;
}
    */

        @keyframes flowColors {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }

        @keyframes pulseWave {
            0% { transform: scaleX(0.95) scaleY(0.9); opacity: 0.6; filter: blur(20px); }
            50% { transform: scaleX(1.02) scaleY(1.1); opacity: 1; filter: blur(28px); }
            100% { transform: scaleX(0.98) scaleY(0.95); opacity: 0.8; filter: blur(24px); }
        }

        @keyframes corePulse {
            0% { opacity: 0.7; transform: scale(0.98); }
            100% { opacity: 1; transform: scale(1.02); }
        }


}



.swf-form-header {
    margin-bottom: 0.61rem;
}

.swf-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    /* color: var(--swf-accent); */
    font-family: arial;
    font-size: 1.25rem;
    font-weight: 900;
    /* letter-spacing: 0.06em; */
    text-transform: capitalize;
}

.swf-form h2,
.swf-results h3,
.swf-empty-state h3 {
    margin: 0.2rem 0 0;
    line-height: 1.15;
}

.swf-form h2 {font-weight: 900;font-family: arial;font-size: clamp(1.1375rem, 1.75rem + ((1vw - .2rem) * 0.392), 1rem);text-align: left;color: #454545;margin-top: 0;}

.swf-form-grid {
    /* display: grid; */
    /* grid-template-columns: minmax(220px, 0fr) minmax(90px, 130px); */
    gap: 0.285rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.swf-field {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}


/* New June 25 */
label.swf-field.swf-field-year {
display: none
}

.swf-field span {
    font-size: 0.9rem;
}


.swf-field select {
    min-height: 45px;
    width: 100%;
    border: 1px solid var(--swf-border);
    border-radius: 26px;
    padding: 0.065rem 0.375rem;
    color: var(--swf-text);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #c6c6c6;
}

.swf-button {
    min-height: 43px;
    border: 0;
    border-radius: 4px;
    /* padding: 0.37rem 1.02rem; */
    color: #fff;
    /* background: var(--swf-accent); */
    border: 1px solid #0079ff;
    /* border-radius: 28px; */
    /* padding: 0.7rem 1.1rem; */
    /* background: #fff; */
    background: transparent;
    /* color: var(--swf-text); */
    color: #0079ff;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    /* border: 1px solid; */
    font-size: 0.9rem;
    transition: transform 150ms ease, background 150ms ease;
    /* box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px; */
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; */
}

.swf-button:hover,
.swf-button:focus {
    background: var(--swf-accent-2);
    transform: translateY(-1px);
}

.swf-button[disabled] {
    cursor: wait;
    opacity: 0.72;
}

.swf-empty-state {
    padding: clamp(1.25rem, 4vw, 2rem);
    background: linear-gradient(135deg, #ffffff, #f7f9ff);
    display: none;
}

.swf-empty-state p {
    max-width: 720px;
    color: var(--swf-muted);
    margin-bottom: 0;
}


.single-swf_landing_page {
    .entry-content .searchform-free-watch-link {display: none;}

    .entry-content, .swf-landing-template-meta {
            margin-block-start: 10px;
            margin-bottom: 10px;
    }

.entry-content .swf-wrap {
    margin-top: 1rem;
    padding: 0;
}
}
.single-swf_landing_page .swf-results {
    padding: 0;


    .swf-provider-groups {
        background: none;
        border: 0;
        padding: 0 0 0 0;
        
    
        .swf-provider-group {
                /* background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(239, 246, 255, 0.96)); */
                border: 0;
        }
    }

    .swf-results-header, .swf-form, .swf-rating-divider {
        display: none
    }
}

.swf-results {
    padding: clamp(1rem, 3vw, 1.35rem);
}

.swf-results-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.swf-cache-note {
    align-self: flex-start;
    border-radius: 999px;
    background: var(--swf-soft);
    color: var(--swf-muted);
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.swf-movie-list {
    display: grid;
    gap: 1rem;
}


        /* Assigning each independent div to its respective grid area */

        h3.Media-title-one {
            /* display: inline-block; */
            display: flex;
            justify-content: flex-start;
            margin: 1px 0px 0px;
            font-weight: 900;
            /* font-family: arial; */
            line-height: 1.43;
            font-size: 17px;
            /* background: rgb(138, 43, 226); */
            /* background: linear-gradient(to right, #3b82f6 0%, #a855f7 50%, #ec4899 100%); */
            background: #101024;
            /* text-shadow: 0px -1px black; */
            color: rgb(255, 255, 255);
            border-radius: 5px;
            padding: 7px 4px 8px 6px;
            align-items: center;
            letter-spacing: -0.1px;
        }
h3.Media-title-one .inner {
    display: block;
        background: linear-gradient(90deg, #c0fecf 0, #1ed5a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.Media-region-one {
    display: inline;
}


        .swf-title-card-region-label {grid-area: r;}
        .swf-poster-wrap {grid-area: a;}
        .Media-title-one {grid-area: b;}
        .swf-movie-title-row {grid-area: c;}
        .swf-provider-groups { grid-area: d; }
        .swf-credit-snippet { grid-area: e; }
        .swf-more-like-section { grid-area: f; }
        .swf-overview {grid-area: g; }
        .swf-no-providers {grid-area: m; margin-bottom: 20px}
        .swf-top-block {grid-area: h;display: flex;justify-content: right;height: 32px;align-items: flex-start;}

.swf-movie-card {
    /* display: grid;
    grid-template-columns: 330px 1fr;
  padding: 1rem;box-shadow: none; */
    //
    grid-template-columns: 1fr;
    //
    display: grid;
    gap: 1rem;
    display: grid;
    width: 100%;
    /* max-width: 600px; */
    gap: 0px;
            
            /* Define the proportional widths of the two columns */
    column-gap: 17px;
    grid-template-columns: 0.8fr 1.2fr; 
            
            /* Define the fixed heights for each row */
    /* grid-template-rows: 21px 377px 129px 80px 40px; */ 
            
            /* Map the grid areas to the layout */
    grid-template-areas:
        "r r"
        "a h"
        "a b"
        "a c"
        "a g"
        "a e"
        "d d"
        "m m"
        "f f";
    padding: clamp(0rem, 3vw, .41rem);
    background: #d2e9ff;
    border-radius: 10px;
}


.home .swf-movie-card {
    /* border-bottom: 9px solid #ffffff; */
    padding-bottom: 31px;
    margin-bottom: 0px;
}

        /* Mobile Layout Adjustment */
        @media (max-width: 590px) {
            .swf-movie-card  {

        .Media-title-one {
            font-size: 19px;
            margin-bottom: 15px;
        }
                
                /* Make A and C equal width columns */
                
                
                
                
                grid-template-columns: 1fr 1fr; 
                
                /* Adjust heights for mobile viewing */
                /* grid-template-rows: 29px 250px 120px 80px 40px; */ 
                
                /* B now spans both columns across the top */
                grid-template-areas:
                    "b b"
                "r r"
                "a h"
                "a c"
                "g g"
                "e e"
                "d d"
        "m m"
                "f f";
                column-gap: 15px;
                
                
                
                
            }
        }

.swf-poster-wrap {
    width: 100%;
}

.swf-poster {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 2.7;
    object-fit: cover;
    border-radius: 14px;
    /* background: var(--swf-soft); */
}

.swf-poster-placeholder {
    display: grid;
    place-items: center;
    color: var(--swf-muted);
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}

.swf-movie-title-row {
    display: flex;
    align-items: flex-start;
    /* justify-content: flex-start; */
    gap: .32rem;
    flex-flow: column;
    margin-bottom: 3px;
}

.swf-movie-title-row .rate-genre-title {
    /* background: #292828; */
    /* padding: 4px 7px 0 8px; */
    border-radius: 7px;
    margin: 7px 0 3px 0;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

      h4 span {
        /* color: #ffff; */
    }
}

.swf-movie-card h4 {
    margin: 0;
    font-size: clamp(1.321rem, 2vw, 1.05rem);
    line-height: 1.2;
    font-weight: 900;
    font-family: sans-serif,arial;
    /* color: #fff; */
    letter-spacing: -0.01em;
}
.rate-genre {
    display: flex;

    .swf-rating, .swf-badge-row {
        /* color: #fff; */
        margin: 0 8px 0 0px;
    }

    .swf-badge-arrow, .swf-media-badge {
        display: none
    }

    .swf-genre-badge {
        /* color: #fff; */
        text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    }
}

h4.stream-platforms {
    margin-top: 25px;
    font-family: arial;
    font-size: 1.045rem;
    font-weight: 900;
    /* border-bottom: 3px solid; */
    padding-bottom: 0px;
    display: inline-block;
    /* width: max-content; */
    color: #000;
    letter-spacing: -0.025em;
    /* text-align: center; */
}

.intro_platforms {
    display: none;
    margin: -5px 0 11px 0;
    font-size: 0.98rem;
    font-style: italic;
}

body.swf-frontpage-dark-mode-two, body.swf-frontpage-dark-mode {
  .swf-movie-card h4 {
color: #f6ba40; font-size: 121%;
  }
}

.swf-movie-card h4 span {
    color: var(--swf-muted);
    font-weight: 600;
}

.swf-rating {
    color: var(--swf-muted);
    font-size: 0.76rem;
    margin: 0.3rem 6px 0px 0px;
}

.swf-overview {
    color: var(--swf-muted);
    margin: 9px 0 8px 0;
    font-size: 1.09rem;
    line-height: 1.092;
}

.swf-provider-groups {
    display: grid;
    gap: 0.45rem;
    /* background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(239, 246, 255, 0.96)); */
    border-radius: 15px;
    /* padding: 0 15px 15px 15px; */
    /* border: 1px solid rgba(37, 99, 235, 0.12); */
    margin-top: 15px;
}

.swf-modal-dialog.swf-results-modal-dialog .swf-provider-groups {
    /* padding: 0; */
}

.swf-provider-group {
    border: 1px solid var(--swf-border);
    border: 1px solid #dadce0;
    border-radius: 14px;
    background-color: #fff1c3;
    padding: .85rem;
    margin-bottom: 15px;
    /* background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(239, 246, 255, 0.96)); */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    display: flex;
    flex-direction: column;
}

.swf-provider-group h5 {
    margin: 0 0 0.7rem;
    font-size: 1.01295rem;
    /* font-family: arial; */
    letter-spacing: -.01rem;
    font-weight: 900;
    /* color: #ff1493; */
    color: #fff;
    /* background: #333030; */
    background: linear-gradient(to right, #000000 0%, #503667 50%, #5d4ead 100%);
    display: inline-flex;
    padding: 8px 12px 10px 17px;
    border-radius: 15px;
    /* width: max-content; */
}

.swf-provider-grid {
    display: grid;
    /* display: inline-table; */
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.65rem;
}

.swf-provider-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 64px;
    border: 1px solid var(--swf-border);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 13px;
    background: var(--swf-soft);
    background: #c1f0ff;
    padding: 0.55rem;
}

.swf-provider-chip img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    object-fit: cover;
    background: #fff;
}

.swf-provider-meta {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.swf-provider-meta strong,
.swf-provider-meta span,
.swf-provider-meta a {
    overflow-wrap: anywhere;
}

.swf-provider-meta strong {
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.051em;
}

.swf-provider-meta span,
.swf-provider-meta a {
    color: var(--swf-muted);
    font-size: 0.82rem;
}

.swf-provider-meta a:hover,
.swf-source-link a:hover {
    color: var(--swf-accent);
}

.swf-no-providers {
    display: grid;
    gap: 0.3rem;
    border-radius: 14px;
    background: #fff8e6;
    border: 1px solid #f5dc9a;
    padding: 0.9rem;
    margin-top: 20px;

    strong {
        font-weight: 900
    }
}

.swf-no-providers span,
.swf-v1-note,
.swf-source-link,
.swf-attribution {
    color: var(--swf-muted);
    font-size: 0.88rem;
}

.swf-v1-note {
    margin: 0 0 10px 0;
    width: 100%;
    display: none;
}

.swf-source-link {
    margin-bottom: 0;
}

.swf-attribution {
    border-top: 1px solid var(--swf-border);
    margin: 7px 2px 0 4px;
    /* padding-top: 0.85rem; */
    padding: 10px 15px 14px  16px;
    background: #fff;
    border-radius: 12px;
}

.swf-notice {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin: 1rem 0;
    border: 1px solid var(--swf-border);
    background: var(--swf-soft);
}

.swf-notice-error {
    background: #fff1f0;
    border-color: #ffccc7;
}

.swf-notice-warning {
    background: #fff8e6;
    border-color: #f5dc9a;
}

.swf-notice-info {
    background: #eef6ff;
    border-color: #bfdbfe;
}

@media (max-width: 800px) {
    .swf-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .swf-field-title {
        grid-column: 1 / -1;
    }

    .swf-button {
        grid-column: 1 / -1;
    }

    .swf-movie-card {
        grid-template-columns: 205px 1fr;
    }
}

@media (max-width: 560px) {
    .swf-form-grid,
    .swf-movie-card,
    .swf-results-header {
        /* grid-template-columns: 1fr; */
        /* display: grid; */
    }

    .swf-poster-wrap {
        max-width: 339px;
    }

    .swf-cache-note {
        justify-self: start;
    }
}

.swf-popular {
    /* background: rgb(243, 243, 249); */
    background: aquamarine;
    background: #b1ffad;
    /* background: linear-gradient(135deg, #ffffff, #f8faff); */
    /* border: 1px solid var(--swf-border); */
    border-radius: 18px;
    /* box-shadow: 0 10px 30px rgba(16, 24, 40, 0.045); */
    margin: 0 0 1.25rem;
    /* padding: clamp(0.91rem, 3vw, .25rem); */
    padding: 0;
    height: fit-content;
}

.swf-popular-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    margin-bottom: 0px;
    width: 100%;
    /* background: #e8eeff; */
    padding: 3px 0 0px 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.swf-popular h3 {
    margin: 0 0 0;
    line-height: 1.2;
    font-size: .99rem;
    font-family: arial;
    font-weight: 700;
    padding: 7px 15px;
    /* letter-spacing: -.01em; */
    /* background: #f0f0f0; */
    background-color: rgb(255 229 0 / 54%);
    border-radius: 5px;
    color: #ffffff;
    --d: 19px; /* the depth */
    border-radius: 0 var(--d);
    corner-shape: bevel;
    border-right:  var(--d) solid #0004;
    border-bottom: var(--d) solid #0008;
    background: #fa320a;
    position: relative;
    left: -16px;
}
    
.swf-header-interior {
    display: flex;
    gap: 1.02rem;
    align-items: center;
    width: 100%;
    /* justify-content: space-between; */
}

.swf-popular-header p {
    color: var(--swf-muted);
    margin: 0 0 0;
    font-size: .927rem;
    letter-spacing: 0.01em;
}

.swf-popular-list {
    display: flex;
    flex-wrap: wrap;
    gap: .496rem;
}

.swf-popular-pill {
    display: grid;
    gap: 0.15rem;
    min-width: min(100%, 210px);
    border: 1px solid var(--swf-border);
    border-radius: 999px;
    background: #fff;
    color: var(--swf-text);
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.swf-popular-pill:hover,
.swf-popular-pill:focus {
    border-color: var(--swf-accent);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
    color: var(--swf-text);
    transform: translateY(-1px);
}

.swf-popular-pill strong {
    font-size: 0.92rem;
    line-height: 1.2;
}

.swf-popular-pill span {
    /* color: var(--swf-muted); */
    font-size: 0.78rem;
}

.swf-wrap-popular-only .swf-popular {
    margin-bottom: 0;
}

@media (max-width: 560px) {
    .swf-popular-list {
        display: grid;
    }

    .swf-popular-pill {
        border-radius: 14px;
    }
}

/* V3 expanded media-search layout */
.swf-form-grid-v3 {
    /* grid-template-columns: minmax(130px, 170px) minmax(220px, 1fr) minmax(150px, 210px) minmax(90px, 130px) auto; */
    /* grid-template-columns: minmax(155px, 160px) minmax(157px, 1fr) minmax(112px, 119px) minmax(59px, 57px) auto; */
    /* max-width: 335px; */
}


.swf-form-grid.swf-form-grid-v3 {

.swf-field.swf-field-media, .swf-field.swf-field-region, .live-button {display: none;}

}

.swf-wrap.swf-search-focus-root {

.swf-form-grid.swf-form-grid-v3 {/* grid-template-columns: minmax(130px, 170px) minmax(220px, 1fr) minmax(150px, 210px) minmax(90px, 130px) auto; *//* grid-template-columns: minmax(121px, 336px) minmax(216px, 1fr) minmax(125px, 125px) minmax(81px, 62px) auto; *//* grid-template-columns: minmax(225px, 198px) minmax(93px, 1fr) minmax(111px, 119px) minmax(76px, 62px) auto; */max-width: 500px;
.swf-field.swf-field-media, .swf-field.swf-field-region, .swf-button {display: grid;align-content: center;}

}

}

.swf-field.swf-field-media {
    max-width: 150px
}

.swf-field.swf-field-region {
    min-width: 150px
}

.swf-field-media select,
.swf-field-region select {
    cursor: pointer;
}

.swf-media-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    /* background: var(--swf-soft); */
    /* color: var(--swf-accent); */
    color: #716d6d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0;
    padding: 0.35rem 0 0.35rem 0.55rem;
    padding-left: 0;
    text-transform: uppercase;
}

.swf-provider-chip-link {
    color: var(--swf-text);
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.swf-provider-chip-link:hover,
.swf-provider-chip-link:focus {
    border-color: var(--swf-accent);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
    color: var(--swf-text);
    transform: translateY(-1px);
}

.swf-popular-filter {
    font-weight: 700;
}

.swf-popular-pill-static {
    cursor: default;
}

.swf-popular-pill-static:hover,
.swf-popular-pill-static:focus {
    border-color: var(--swf-border);
    box-shadow: none;
    transform: none;
}

@media (max-width: 780px) {
    .swf-form-grid-v3 {
        grid-template-columns: 1fr 1fr;
        /* gap: .75rem; */
    }

    .swf-form-grid-v3 .swf-field-title {
        grid-column: 1 / -1;
    }

    .swf-form-grid-v3 .swf-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .swf-form-grid-v3 {
        /* grid-template-columns: 1fr; */
    }
}

/* V4 Platform Value Engine */
.swf-value-box {
    border: 1px solid var(--swf-border);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    margin: 0.95rem 0 0;
    /* padding: 0.95rem; */
}

.swf-value-topline {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
}

.swf-value-score {display: grid;place-items: center;width: 63px;height: 52px;border-radius: 18px;background: var(--swf-accent);background: #50cf06;color: #fff;line-height: 1;}

.swf-value-score strong {
    font-size: 1.45rem;
}

.swf-value-score span {
    font-size: 0.75rem;
    opacity: 0.88;
}

.swf-value-summary h5 {
    margin: 0.15rem 0 0;
    font-size: 1.02rem;
    line-height: 1.2;
}

.swf-value-summary p {
    color: var(--swf-muted);
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
}

.swf-value-path {
    align-self: start;
    border-radius: 999px;
    background: var(--swf-soft);
    color: var(--swf-accent);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    white-space: nowrap;
}

.swf-value-meter {
    height: 8px;
    border-radius: 999px;
    background: var(--swf-soft);
    margin: 0.85rem 0 0;
    overflow: hidden;
    background: #8a8686;
}

.swf-value-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--swf-accent);
    background: #62c70b;
}

.swf-value-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
}

.swf-value-highlights li {
    border: 1px solid var(--swf-border);
    border-radius: 999px;
    background: #fff;
    color: var(--swf-muted);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.32rem 0.55rem;
}

.swf-watchlists {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.swf-watchlist {
    border-top: 1px solid var(--swf-border);
    padding-top: 0.85rem;
}

.swf-watchlist h6 {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
}

.swf-watchlist h6 a {
    color: var(--swf-accent);
    text-decoration: none;
}

.swf-watchlist h6 a:hover,
.swf-watchlist h6 a:focus {
    text-decoration: underline;
}

.swf-related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.55rem;
}

.swf-related-title {
    display: flex;
    align-items: center;
    /* gap: 0.35rem; */
    gap: 0;
    min-height: 58px;
    border: 1px solid var(--swf-border);
    border-radius: 12px;
    background: #fff;
    padding: 0.45rem;
}

.swf-related-title img {
    width: 50px;
    height: 74px;
    object-fit: cover;
    border-radius: 7px;
    margin-right: 9px;
    background: var(--swf-soft);
    flex: 0 0 auto;
}

.swf-related-title strong {
    display: block;
    font-size: 0.76982rem;
    font-weight: 700;
    line-height: 1.2;
}

.swf-related-title span {
    /* color: var(--swf-muted); */
    /* display: block; */
    font-size: 0.75rem;
    margin-top: 0.1rem;
}

@media (max-width: 640px) {
    .swf-value-topline {
        /* grid-template-columns: 1fr; */
        display: flex;
    }

    .swf-value-score {
        width: 73px;
        height: 64px;
        padding: 8px;
    }

    .swf-value-path {
        justify-self: start;
    }
}

/* V4.1 Platform Value Engine lightbox */
.swf-provider-chip-button {
    /* width: 100%; */
    color: var(--swf-text);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
    height: 100%;
}

.swf-provider-chip-button:hover,
.swf-provider-chip-button:focus {
    border-color: var(--swf-accent);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
    color: var(--swf-text);
    transform: translateY(-1px);
}

.swf-provider-meta em {
    color: var(--swf-accent);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
}

.swf-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: clamp(1rem, 4vw, 2rem);

    .swf-modal-secondary {
        background-color: blue
    }
}

.swf-modal-preopen {
    display: grid;
    place-items: center;
}

.swf-modal.is-open {
    display: grid;
    place-items: center;
}

.swf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(3px);
    opacity: 1;
    transition: opacity 180ms ease, background-color 180ms ease, backdrop-filter 180ms ease;
}

.swf-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(86vh, 900px);
    overflow: auto;
    /* border: 1px solid rgb(255 255 255 / 39%); */
    border-radius: 22px;
    background: #fff;
    /* box-shadow: 0 30px 80px rgb(255 255 255 / 32%); */
    /* padding: clamp(0rem, 3vw, .41rem); */
    outline: none;
    /* padding: 15px 15px; */
    
    
    
    
        .swf-movie-card {
        margin-top: 4px;
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }
    .swf-movie-card:last-of-type {margin-bottom: 0}

        .swf-movie-card:first-of-type {margin-top: 10px}
}
.swf-modal-dialog.swf-value-excellent {

.swf-value-highlights li {
    background-color: #cccc
}
.swf-modal-close {
    margin-left: 0;
    margin-bottom: 20px
}
    
.swf-kicker {
    margin-left: 0;
    /* border-bottom: 2px solid; */
}
.swf-watchlist h6 {
    background: #2b292b;
    letter-spacing: 0;
    color: #fff;
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    text-transform: none;
    font-size: 22px
}
    .swf-related-title-button {
        border: 1px solid
    }
    .swf-modal-actions {
        .swf-modal-provider-link {
        background-color: #397bff;
        color: #fff;
        padding: 0 15px;
        border: 0;
        border-radius: 9999px;
        }
        .swf-modal-secondary {
        display: none}
        margin-top: 0;
        margin-top: 1px;
    }
}

.swf-modal-dialog.swf-value-strong {
    .swf-modal-provider-link {
        background: #0045ff;
        color: #fff;
        padding: 0 15px;
        border-radius: 15px;
        border: none;
    }

    .swf-modal-secondary {display: none}
    .swf-modal-actions {margin-top: 15px}
}

.swf-modal-close {
    z-index: 9999;
    right: 2%;
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid var(--swf-border);
    border: 0;
    border-radius: 999px;
    /* background: #fff; */
    background: blue;
    /* color: var(--swf-text); */
    color: #ffffff;
    cursor: pointer;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 28px;
    margin-top: -9px;
    margin-right: -11px;
    box-shadow: rgb(0 21 194) -8px 6px 25px;
    /* box-shadow: rgb(3 41 250 / 51%) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
}

.single .swf-modal-close {display: none}

.swf-modal-dialog.swf-person-dialog {
    padding: 9px
}

.swf-modal-dialog.swf-confirm-dialog {
    .swf-modal-close {
    display: none}
    display: revert;
}

.swf-modal-close:hover,
.swf-modal-close:focus {
   /* border-color: var(--swf-accent);
    color: var(--swf-accent); */
    color: #000;
    border-color: #000;
    background-color: #fff
}

.swf-modal-provider-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-right: 3rem;
    margin-bottom: 1rem;
}

.swf-modal-provider-head img {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    object-fit: cover;
    background: var(--swf-soft);
    flex: 0 0 auto;
}

.swf-modal-provider-head h5 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.swf-modal-provider-head p,
.swf-modal-note {
    color: var(--swf-muted);
    margin: 0.3rem 0 0;
}

.swf-value-box-modal {
    margin-top: 0;
}

.swf-watchlists-modal {
    margin-top: 1rem;
}

.swf-modal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-top: 1px solid var(--swf-border);
    margin-top: 0rem;
    /* padding-top: 1rem; */
    /* padding-bottom: 1rem; */
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    .swf-button {
        /* background-color: blue; */
        font-weight: 800;
        font-size: 21px;
    }
}

.swf-modal-provider-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.swf-modal-secondary {
    min-height: 44px;
    /* border: 1px solid var(--swf-border); */
    border: 0;
    border-radius: 5px;
    /* padding: 0.7rem 1.1rem; */
    /* background: #fff; */
    background: #000;
    /* color: var(--swf-text); */
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    /* margin-bottom: 15px; */
    padding-bottom: 9px;
}

.swf-modal-secondary:hover,
.swf-modal-secondary:focus,
.swf-button:hover{
    /* margin-bottom: 15px; */
    /* border-color: var(--swf-accent); */
    /* color: var(--swf-accent); */
    color: #fff;
    background: #000;
}

body.swf-modal-is-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .swf-modal {
        padding: 0.75rem;
    }

    .swf-modal-dialog {
        max-height: 90vh;
        border-radius: 18px;
    }

    .swf-modal-provider-head {
        align-items: flex-start;
        padding-right: 2.5rem;
    }

    .swf-modal-provider-head img {
        width: 44px;
        height: 44px;
    }
}

/* Watch Alerts */
.swf-alert-form {
    margin-top: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
    padding: 1rem;
}

.swf-alert-copy h5 {
    margin: 0.15rem 0 0.25rem;
    font-size: 1.05rem;
}

.swf-alert-copy p,
.swf-alert-privacy {
    margin: 0.25rem 0 0;
    color: var(--swf-muted);
    font-size: 0.92rem;
}

.swf-alert-fields {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
    margin-top: 0.85rem;
}

.swf-alert-fields label {
    display: grid;
    gap: 0.35rem;
    font-weight: 800;
    color: var(--swf-text);
}

.swf-alert-fields label span {
    font-size: 0.84rem;
    color: var(--swf-muted);
}

.swf-alert-fields input,
.swf-alert-fields select {
    min-height: 44px;
    width: 100%;
    border: 1px solid var(--swf-border);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    color: var(--swf-text);
    font: inherit;
}

.swf-alert-button {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    background: var(--swf-accent);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.swf-alert-button:hover,
.swf-alert-button:focus {
    filter: brightness(0.96);
}

.swf-alert-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.swf-alert-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 780px) {
    .swf-alert-fields {
        grid-template-columns: 1fr;
    }
}

/* V6 SEO landing pages */
.swf-seo-freshness-note {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    color: #334155;
    font-size: 0.95rem;
}
.swf-landing-links {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}
.swf-landing-links h3 {
    margin-top: 0;
}
.swf-landing-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}
.swf-landing-link-card {
    display: block;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    text-decoration: none;
    background: #f8fafc;
    color: inherit;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.swf-landing-link-card:hover,
.swf-landing-link-card:focus {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}
.swf-landing-link-card strong,
.swf-landing-link-card span {
    display: block;
}
.swf-landing-link-card span {
    margin-top: 0.4rem;
    font-size: 0.88rem;
    color: #64748b;
}

/* V6.1 popular-search thumbnails */
.swf-popular-pill-has-thumb,
.swf-popular-pill-no-thumb {
    align-items: center;
    border-radius: 18px;
    grid-template-columns: 125px minmax(0, 1fr);
    min-width: min(100%, 260px);
    /* padding: 0.5rem 0.75rem 0.5rem 0.5rem; */
    padding: 0;
}

.swf-popular-thumb {
    align-items: center;
    background: linear-gradient(135deg, var(--swf-soft), #ffffff);
    /* border: 1px solid var(--swf-border); */
    /* border-radius: 6px; */
    display: inline-flex;
    height: 125px;
    justify-content: center;
    overflow: hidden;
    width: 115px;
}

.swf-popular-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.swf-popular-thumb-placeholder {
    color: var(--swf-accent);
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.swf-popular-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.swf-popular-copy strong {
        font-size: 1.1rem;
        /* font-family: arial; */
        font-weight: 700;
        letter-spacing: -0.01em;
}

.swf-popular-copy strong,
.swf-popular-copy span {
    overflow-wrap: anywhere;
}

body.swf-frontpage-dark-mode-two .swf-popular-pill .release-date, body.swf-frontpage-dark-mode .swf-popular-pill .release-date {
    color: #ed9814;
}



span.release-date {
    color: #243b73;
    font-size: .69rem;
    font-weight: 500;
}

@media (max-width: 560px) {
    .swf-popular-pill-has-thumb,
    .swf-popular-pill-no-thumb {
        grid-template-columns: 128px minmax(0, 1fr);
        min-width: 0;
    }
}

/* V6.2 search-results lightbox, scroll locking, and search focus mode */
html.swf-modal-is-open,
body.swf-modal-is-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.swf-results-modal-dialog {
    width: min(820px, 100%);
    max-height: min(88vh, 920px);
    padding-bottom: 0;
    background: transparent;
}


/* =========================================================
   1. Modern Standards (Firefox & Modern Chromium/Safari)
   Scoped to the specific modal container
   ========================================================= */
.swf-modal-dialog.swf-results-modal-dialog {
  overflow-y: auto; /* Required for the scrollbar to appear */
  scrollbar-color: #ff6600 transparent;
  scrollbar-width: thin;
}

/* Hover/Active states for standard browsers */
.swf-modal-dialog.swf-results-modal-dialog:hover {
  scrollbar-color: #0070f3 transparent;
}

.swf-modal-dialog.swf-results-modal-dialog:active {
  scrollbar-color: #0051b3 transparent;
}


/* =========================================================
   2. WebKit Standards (Chrome, Edge, Safari, Opera)
   Scoped pseudo-elements for track, thumb, and arrow buttons
   ========================================================= */

/* The entire scrollbar area for this modal */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* Scrollbar Track (Fully Transparent) */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-track {
  background: transparent;
}

/* The Draggable Scrollbar Thumb */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-thumb {
  background-color: #ff6600; /* Orange */
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Thumb Hover & Active (Blue) */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-thumb:hover {
  background-color: #0070f3; /* Bright Blue */
}

.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-thumb:active {
  background-color: #0051b3; /* Darker Blue */
}

/* =========================================================
   Scrollbar Up/Down Arrow Buttons
   ========================================================= */

/* Default button state (Orange) */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-button:single-button {
  background-color: #ff6600;
  display: block;
  border-style: solid;
  height: 16px;
  width: 12px;
}

/* Up Arrow indicator */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-width: 0 4px 6px 4px;
  border-color: transparent transparent #ffffff transparent; /* White arrow */
}

/* Down Arrow indicator */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-button:single-button:vertical:increment {
  border-width: 6px 4px 0 4px;
  border-color: #ffffff transparent transparent transparent; /* White arrow */
}

/* Button Hover State (Blue) */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-button:single-button:hover {
  background-color: #0070f3;
}

/* Button Active / Clicked State (Darker Blue) */
.swf-modal-dialog.swf-results-modal-dialog::-webkit-scrollbar-button:single-button:active {
  background-color: #0051b3;
}


.swf-results-modal-head {
    margin: 0 0rem 1rem 0;
    display: flex;
    background: #fff;
    color: #000000;
    padding: 3px 11px;
    border-radius: 20px;
}

.swf-results-modal-head h3 {
    margin: 0.2rem 0 0;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.15;
}

.swf-results-modal-head p {
    color: var(--swf-muted);
    margin: 0.45rem 0 0;
}

.swf-results-modal-body .swf-results {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.swf-results-modal-body .swf-results-header {
    display: none;
}

.swf-results-modal-actions {
    position: sticky;
    bottom: -2px;
    padding-bottom: 0px;
    left: 50%;
    /* bottom: -.3rem; */
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), #fff 45%);
    z-index: 2;
    width: max-content;
}

body.swf-search-focus-active::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999980;
    /* background: rgba(10, 31, 68, 0.18); */
    /* backdrop-filter: blur(4px); */
    pointer-events: none;
}

.swf-wrap.swf-search-focus-root .swf-form {
    position: relative;
    z-index: 999981;
    border-color: rgba(37, 99, 235, 0.65);
    /* box-shadow: 0 22px 60px rgba(37, 99, 235, 0.24); */
    display: flex;
    /* align-content: space-around; */
    justify-content: center;
    flex-wrap: wrap;
    /* width: fit-content; */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.swf-wrap.swf-search-focus-root .swf-field input,
.swf-wrap.swf-search-focus-root .swf-field select,
.swf-wrap.swf-search-focus-root .swf-button {
    /* border-color: rgb(235 100 37 / 82%); */
    /* box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); */
    /* max-width: none; */
    /* font-weight: 600; */
}

.swf-wrap.swf-search-focus-root .swf-button {
    /* outline: 2px solid rgba(59, 130, 246, 0.34); */
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .swf-results-modal-dialog {
        max-height: 89vh;
        top: 15px;
    }

    .swf-results-modal-head {
        margin-right: 2.75rem;
    }

    .swf-results-modal-body .swf-movie-card {
        /* grid-template-columns: 162px 1fr; */
        grid-template-columns: 30% 1fr;
        padding-top: 16px;
    }

    .swf-results-modal-body .swf-poster-wrap {
        max-width: 226px;
    }
}

/* V6.3 dual discovery panel layout */
.swf-discovery-panels {
    display: grid;
    gap: 2.15rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* margin: 0 0 1.25rem; */
    margin: 0 0 0 0;
}

.swf-discovery-panels .swf-popular {
    margin-bottom: 0;
    min-width: 0;
}


.swf-discovery-panels .swf-popular-list {
  /*  max-height: 430px;
    overflow-y: auto;
    */
  /* padding-right: 0.25rem; */
  padding: 10px 5px 6px 5px;
  background: #b1ffad;
  border-radius: 14px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.swf-recent-releases {
    /* background: linear-gradient(135deg, #fffdf7, #f5fbff); */
}

/*
.swf-recent-pill strong::before {
    content: "★ ";
    color: var(--swf-accent-2);
}
*/
@media (max-width: 860px) {
    .swf-discovery-panels {
        grid-template-columns: 1fr;


   .swf-popular {
    /* margin: 0 12px; */
    }
    }
}

/* V6.3 front-page-only dark mode */
body.swf-frontpage-dark-mode {
    .movie-finder {
    background: #060914;
    }
}

body.swf-frontpage-dark-mode .swf-wrap {
    --swf-bg: #0f172a;
    --swf-soft: #111827;
    --swf-border: rgba(148, 163, 184, 0.24);
    --swf-text: #e5eefc;
    --swf-muted: #aab8cf;
    --swf-accent: #93c5fd;
    --swf-accent-2: #60a5fa;
    color: var(--swf-text);
}

body.swf-frontpage-dark-mode .swf-form,
body.swf-frontpage-dark-mode .swf-empty-state,
body.swf-frontpage-dark-mode .swf-results,
body.swf-frontpage-dark-mode .swf-movie-card,
body.swf-frontpage-dark-mode .swf-popular,
body.swf-frontpage-dark-mode .swf-modal-dialog {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.96));
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

body.swf-frontpage-dark-mode .swf-field input,
body.swf-frontpage-dark-mode .swf-field select,
body.swf-frontpage-dark-mode .swf-alert-form input,
body.swf-frontpage-dark-mode .swf-popular-pill,
body.swf-frontpage-dark-mode .swf-provider-chip,
body.swf-frontpage-dark-mode .swf-alert-box,
body.swf-frontpage-dark-mode .swf-no-providers,
body.swf-frontpage-dark-mode .swf-value-box,
body.swf-frontpage-dark-mode .swf-watchlist,
body.swf-frontpage-dark-mode .swf-related-card,
body.swf-frontpage-dark-mode .swf-landing-link-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.24);
    color: var(--swf-text);
}

body.swf-frontpage-dark-mode .swf-field input::placeholder,
body.swf-frontpage-dark-mode .swf-overview,
body.swf-frontpage-dark-mode .swf-popular-header p,
body.swf-frontpage-dark-mode .swf-popular-pill span,
body.swf-frontpage-dark-mode .swf-cache-note,
body.swf-frontpage-dark-mode .swf-rating,
body.swf-frontpage-dark-mode .swf-v1-note,
body.swf-frontpage-dark-mode .swf-source-link,
body.swf-frontpage-dark-mode .swf-results-modal-head p {
    color: var(--swf-muted);
}

body.swf-frontpage-dark-mode .swf-button,
body.swf-frontpage-dark-mode .swf-button-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
}

body.swf-frontpage-dark-mode .swf-popular-thumb {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(124, 58, 237, 0.18));
    border-color: rgba(147, 197, 253, 0.28);
}

body.swf-frontpage-dark-mode .swf-modal-actions,
body.swf-frontpage-dark-mode .swf-results-modal-actions {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), #0f172a 46%);
}

body.swf-frontpage-dark-mode .swf-modal-backdrop {
    background: rgba(2, 6, 23, 0.82);
}

/* V6.3 cinematic search loader */
.swf-cinema-loading-active {
    overflow: hidden;
}

.swf-cinema-loader {
    align-items: center;
    background: radial-gradient(circle at center, rgba(30, 64, 175, 0.44), rgba(2, 6, 23, 0.94) 62%);
    color: #f8fafc;
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 1000000;
}

.swf-cinema-frame {
    align-items: center;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
    border: 2px solid rgba(226, 232, 240, 0.42);
    border-radius: 999px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 12px rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    max-width: min(82vw, 360px);
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 360px;
}

.swf-cinema-frame::before,
.swf-cinema-frame::after {
    border: 1px solid rgba(226, 232, 240, 0.25);
    border-radius: inherit;
    content: "";
    inset: 22px;
    position: absolute;
}

.swf-cinema-frame::after {
    inset: 45px;
}

.swf-cinema-reel {
    animation: swfCinemaSpin 1.4s linear infinite;
    border: 2px dashed rgba(147, 197, 253, 0.64);
    border-radius: 999px;
    height: 86%;
    left: 7%;
    opacity: 0.38;
    position: absolute;
    top: 7%;
    width: 86%;
}

.swf-cinema-reel span {
    background: rgba(226, 232, 240, 0.45);
    border-radius: 999px;
    height: 9px;
    left: 50%;
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
    width: 9px;
}

.swf-cinema-reel span:nth-child(2) { left: auto; right: 12px; top: 50%; transform: translateY(-50%); }
.swf-cinema-reel span:nth-child(3) { bottom: 12px; top: auto; }
.swf-cinema-reel span:nth-child(4) { left: 12px; right: auto; top: 50%; transform: translateY(-50%); }

.swf-cinema-count {
    color: #f8fafc;
    font-size: clamp(5rem, 18vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    position: relative;
    text-shadow: 0 0 32px rgba(96, 165, 250, 0.55);
    z-index: 2;
}

.swf-cinema-sweep {
    animation: swfCinemaSweep 2.1s linear infinite;
    background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.18), transparent);
    height: 150%;
    left: 50%;
    position: absolute;
    top: -25%;
    transform-origin: bottom center;
    width: 4px;
}

.swf-cinema-frame p {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    z-index: 2;
}

@keyframes swfCinemaSpin {
    to { transform: rotate(360deg); }
}

@keyframes swfCinemaSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.swf-mini-tag {
    display: inline-block;
    margin: 0.2rem 0 0;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    font-style: normal;
    font-weight: 600;
    width: fit-content;
}

/* V6.3.1 Darkmode Two: screenshot-inspired variation */
body.swf-frontpage-dark-mode-two {
    .movie-finder {
   /* background: #03050b; */
     background-image: linear-gradient(225deg, #000f3e 48.66%, #082ea8);
    color: #f6f7fb;
    
    
    
    .swf-confirm-dialog p strong {
        color: #fff
    }

        .swf-provider-group {
            background: transparent
        } 
    }
}
body.swf-frontpage-dark-mode-two .swf-wrap {
    /* background: radial-gradient(circle at top, rgba(19,26,56,0.55), rgba(3,5,11,0.98) 55%); */
    background: transparent;
    padding: 1.25rem 1.25rem 1.4rem;
    border-radius: 22px;
    /* border: 1px solid rgba(255,255,255,0.06); */
    /* box-shadow: 0 22px 60px rgba(0,0,0,0.45); */
}
.swf-frontpage-dark-mode-two {
header.wp-block-template-part {
    background: rgba(49,68,127,.2);
    background-image: linear-gradient(225deg, #000f3e 48.66%, #082ea8);


.wp-block-navigation-item__content, .wp-block-site-title {
    color: #fff;
    font-weight: 800;
}
}

}

body.swf-frontpage-dark-mode-two .swf-form,
body.swf-frontpage-dark-mode-two .swf-empty-state,
body.swf-frontpage-dark-mode-two .swf-results,
body.swf-frontpage-dark-mode-two .swf-movie-card,
body.swf-frontpage-dark-mode-two .swf-popular,
body.swf-frontpage-dark-mode-two .swf-modal-dialog {
    background: linear-gradient(180deg, rgba(11,13,24,0.97), rgba(7,9,18,0.97));
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 18px 50px rgba(0,0,0,0.38);
    color: #f8fafc;
}
body.swf-frontpage-dark-mode-two .swf-form {
    border-radius: 24px;
    border: 1px solid rgb(255 255 255 / 57%);
}
body.swf-frontpage-dark-mode-two .swf-form-grid {
    gap: 1rem;
}
body.swf-frontpage-dark-mode-two .swf-field label,
body.swf-frontpage-dark-mode-two .swf-popular-header h3,
body.swf-frontpage-dark-mode-two .swf-results-modal-head h3,
body.swf-frontpage-dark-mode-two .swf-title,
body.swf-frontpage-dark-mode-two .swf-modal-title {
    color: #ffffff;
}
body.swf-frontpage-dark-mode-two .swf-field input,
body.swf-frontpage-dark-mode-two .swf-field select,
body.swf-frontpage-dark-mode-two .swf-alert-form input {
    background: #f5f7fb;
    color: #0f172a;
    border: none;
    border-radius: 999px;
    min-height: 50px;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,0.06);
    font-size: 1.2rem;
    font-weight: 800;
}
body.swf-frontpage-dark-mode-two .swf-field input::placeholder {
    color: #667085;
}
body.swf-frontpage-dark-mode-two .swf-field select {
    padding-right: 0.6rem;
}
body.swf-frontpage-dark-mode-two .swf-button,
body.swf-frontpage-dark-mode-two .swf-button-primary,
body.swf-frontpage-dark-mode-two .swf-search-button {
    background: linear-gradient(135deg, #f6b94f, #f59e0b);
    color: #121826;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(245,158,11,0.28);
}
body.swf-frontpage-dark-mode-two .swf-button:hover,
body.swf-frontpage-dark-mode-two .swf-button-primary:hover,
body.swf-frontpage-dark-mode-two .swf-search-button:hover {
    filter: brightness(1.04);
}
body.swf-frontpage-dark-mode-two .swf-popular {
    position: relative;
    overflow: hidden;
}
body.swf-frontpage-dark-mode-two .swf-popular:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #f97316, #22c55e);
    opacity: 0.85;
}
body.swf-frontpage-dark-mode-two .swf-kicker {
    color: #f59e0b;
}
body.swf-frontpage-dark-mode-two .swf-popular-pill,
body.swf-frontpage-dark-mode-two .swf-provider-chip,
body.swf-frontpage-dark-mode-two .swf-alert-box,
body.swf-frontpage-dark-mode-two .swf-no-providers,
body.swf-frontpage-dark-mode-two .swf-value-box,
body.swf-frontpage-dark-mode-two .swf-watchlist,
body.swf-frontpage-dark-mode-two .swf-related-card,
body.swf-frontpage-dark-mode-two .swf-landing-link-card {
    background: rgba(255,255,255,0.03);
    /* border: 1px solid rgba(255,255,255,0.08); */
    border: 1px solid rgb(255 255 255 / 57%);
    color: #f8fafc;
}
body.swf-frontpage-dark-mode-two .swf-popular-thumb {
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(0,0,0,0.35);
}
body.swf-frontpage-dark-mode-two .swf-popular-thumb-placeholder {
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #ffffff;
}
body.swf-frontpage-dark-mode-two .swf-popular-header p,
body.swf-frontpage-dark-mode-two .swf-popular-pill span,
body.swf-frontpage-dark-mode-two .swf-overview,
body.swf-frontpage-dark-mode-two .swf-cache-note,
body.swf-frontpage-dark-mode-two .swf-rating,
body.swf-frontpage-dark-mode-two .swf-v1-note,
body.swf-frontpage-dark-mode-two .swf-source-link,
body.swf-frontpage-dark-mode-two .swf-results-modal-head p {
    /* color: #c7cedb; */
    color: #fff;
}
body.swf-frontpage-dark-mode-two .swf-provider-chip {
    /* border-radius: 999px; */
}
body.swf-frontpage-dark-mode-two .swf-discovery-panels {
    gap: 1.15rem;
}
body.swf-frontpage-dark-mode-two .swf-modal-actions,
body.swf-frontpage-dark-mode-two .swf-results-modal-actions {
    border-top-color: rgba(255,255,255,0.08);
}
body.swf-frontpage-dark-mode-two .swf-modal-backdrop {
    background: rgba(2,4,8,0.82);
}
body.swf-frontpage-dark-mode-two .swf-mini-tag {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

/* V6.4 discovery click + autocomplete polish */
.swf-popular-pill.swf-discovery-trigger,
.swf-related-title-button {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgb(255, 255, 255);
    border-radius: 0.8rem;
    border: 0.1rem solid rgb(236, 236, 238);
    border: 1px solid var(--swf-border);
    /* border: 1px solid #ebebeb; */
    /* box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; */
    /* box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px; */
    font: inherit;
    text-align: left;
    cursor: pointer;
    width: 100%;
    overflow: hidden;
    padding-right: 10px;
}

.swf-popular-pill.swf-discovery-trigger:hover,
.swf-popular-pill.swf-discovery-trigger:focus-visible,
.swf-related-title-button:hover,
.swf-related-title-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    outline: 2px solid rgba(59, 130, 246, 0.32);
    outline-offset: 2px;
}

.swf-popular-overview {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    line-height: 1.25;
    font-weight: 400;
    opacity: 0.78;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swf-popular-pill .swf-popular-overview {
    /* color: inherit; */
    color: #4f4747;
}


.swf-modal-dialog.swf-human-verification-dialog {
    padding: 15px
}

.swf-confirm-dialog {
    max-width: 460px;
}
.swf-modal.swf-discovery-confirm-modal.is-open .swf-modal-dialog.swf-confirm-dialog{
    /* border: 17px solid rgb(14 11 11 / 39%); */
    /* border-radius: 22px; */
    /* background: #0000007a; */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    /* padding: clamp(0rem, 3vw, 1.41rem); */
    width: 370px;
    padding: 16px;

    .swf-modal-actions {
        margin-top: 15px;

        .swf-modal-secondary {
            background: #fff;
            border: 1px solid #0079ff;
            color: #0079ff
        }
    }
}

.swf-confirm-dialog h5 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.25rem;
}

.swf-confirm-dialog p {
    margin: 0 0 1rem;
    color: #000000;
    line-height: 1.4;
    font-size: 1.14rem;
    font-weight: 900;
    font-family: arial;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    strong {
        font-weight: 900;
        color: #ff2300;
    }
}

.swf-autocomplete-box {
    display: none;
    position: absolute;
    z-index: 10005;
    left: 0;
    right: 0;
    top: calc(100% + 0.4rem);
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    padding: 0.45rem;
    max-height: 320px;
    overflow-y: auto;
}

.swf-field-title {
    position: relative;
}

.swf-autocomplete-box.is-open {
    display: block;
}

.swf-autocomplete-item {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    width: 100%;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    padding: 0.55rem;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    color: #0f172a;
}

.swf-autocomplete-item:hover,
.swf-autocomplete-item:focus-visible {
    background: rgba(59, 130, 246, 0.08);
    outline: none;
}

.swf-autocomplete-item img,
.swf-autocomplete-letter {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 auto;
    background: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #334155;
}

.swf-autocomplete-item strong,
.swf-autocomplete-item em {
    display: block;
}

.swf-autocomplete-item em {
    margin-top: 0.1rem;
    font-style: normal;
    font-size: 0.78rem;
    color: #64748b;
    text-transform: capitalize;
}

.swf-autocomplete-empty {
    padding: 0.7rem 0.8rem;
    color: #64748b;
    font-size: 0.9rem;
}

.swf-related-title-button em {
    display: block;
    font-style: normal;
    font-size: 0.75rem;
    margin-top: 0.15rem;
    color: #2563eb;
    font-weight: 700;
}

body.swf-frontpage-dark-mode .swf-autocomplete-box,
body.swf-frontpage-dark-mode-two .swf-autocomplete-box {
    background: #101827;
    border-color: rgba(255,255,255,0.09);
    box-shadow: 0 22px 55px rgba(0,0,0,0.45);
}

body.swf-frontpage-dark-mode .swf-autocomplete-item,
body.swf-frontpage-dark-mode-two .swf-autocomplete-item {
    color: #f8fafc;
}

body.swf-frontpage-dark-mode .swf-autocomplete-item:hover,
body.swf-frontpage-dark-mode-two .swf-autocomplete-item:hover {
    background: rgba(255,255,255,0.08);
}

body.swf-frontpage-dark-mode .swf-autocomplete-item em,
body.swf-frontpage-dark-mode .swf-autocomplete-empty,
body.swf-frontpage-dark-mode-two .swf-autocomplete-item em,
body.swf-frontpage-dark-mode-two .swf-autocomplete-empty {
    color: #cbd5e1;
}

body.swf-frontpage-dark-mode .swf-confirm-dialog p,
body.swf-frontpage-dark-mode-two .swf-confirm-dialog p {
    color: #cbd5e1;

    strong {
        color: #f6ba40;
        font-size: 121%;
    }
}


/* V6.4.1 smoother cinema-to-results transition and block-theme-safe output support */
.swf-results-modal.swf-modal-preopen {
    display: grid;
    place-items: center;
}
.swf-results-modal.swf-modal-preopen .swf-modal-backdrop {
    background: radial-gradient(circle at center, rgba(30, 64, 175, 0.36), rgba(2, 6, 23, 0.88) 64%);
}
.swf-results-modal.swf-modal-preopen .swf-modal-dialog,
.swf-results-modal.is-open .swf-modal-dialog {
    animation: swfResultsModalIn 180ms ease-out both;
}
@keyframes swfResultsModalIn {
    from {
        opacity: 0.92;
        transform: translateY(8px) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* V6.4.2 stability and cast snippet polish */
.swf-value-modal {
    z-index: 1000003;
}
.swf-value-modal .swf-modal-backdrop {
    background: rgba(2, 6, 23, 0.78);
}
.swf-value-modal .swf-modal-dialog {
    max-height: min(88vh, 900px);
    overscroll-behavior: contain;
    padding: 15px 15px;
}

.platform-value-head {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.swf-watchlists.swf-watchlists-modal {
    margin-bottom: 15px
}
.swf-results-modal.is-open {
    z-index: 999999;
}
.swf-credit-snippet {
    display: flex;
    flex-wrap: wrap;
    /* gap: 0.45rem 0.8rem; */
    margin: 0;
    color: var(--swf-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}
.swf-credit-snippet span {
    /* display: inline-flex; */
    gap: 0.25rem;
    align-items: baseline;
}
.swf-credit-snippet strong {
    color: var(--swf-text);
    margin-right: 6px;
}
body.swf-frontpage-dark-mode .swf-credit-snippet,
body.swf-frontpage-dark-mode-two .swf-credit-snippet {
    color: #cbd5e1;
}
body.swf-frontpage-dark-mode .swf-credit-snippet strong,
body.swf-frontpage-dark-mode-two .swf-credit-snippet strong {
    color: #f8fafc;
}

/* V6.5 discovery expansion */
.swf-badge-row {
    display: flex;
    align-items: center;
    gap: 0.045rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}
.swf-badge-arrow {
    color: #8ea0b8;
    font-weight: 800;
}
.swf-genre-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.22rem 0.158rem;
    /* border: 1px solid rgba(37, 99, 235, 0.22); */
    /* background: rgba(37, 99, 235, 0.1); */
    border: 0;
    background: none;
    color: #050f0b;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: 0.03em; */
}
button.swf-genre-badge {
    cursor: pointer;
}
.swf-genre-badge-active:hover,
.swf-genre-badge-active:focus {
    background: rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}
.swf-genre-badge-muted {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
}
.swf-title-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    /* margin-left: auto; */

    button {
            border-bottom: 2px solid #3b3b3b;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    }
}

.swf-title-actions .swf-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.05em;
    height: 2.05em;
    line-height: 1;
    flex: 0 0 auto;
}
span.link01 {
    display: none;
}

.swf-title-actions .swf-action-icon svg, .swf-fav-button svg {
    display: block;
    width: 1.4em;
    height: 2em;
    fill: #000000;
}

.swf-fav-button,
.swf-share-button,
.swf-favorites-toggle,
.swf-person-link,
.swf-genre-card,
.swf-person-work,
.swf-favorite-item {
    font: inherit;
}

.swf-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    /* border: 1px solid rgb(255 116 116 / 12%); */
    border: 0;
    /* background: #62e131; */
    background: #ffff00;
    color: #fff;
    border-radius: 999px;
    padding: 0.24rem 0.147rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.82rem;
}

.swf-fav-button {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        /* border: 1px solid rgb(255 116 116 / 12%); */
        border: 0;
        /* background: #62e131; */
        background: #ff0000;
        border-radius: 999px;
        color: #fff;
        padding: 0.24rem 0.47rem;
        cursor: pointer;
        font-weight: 700;
        font-size: 0.82rem;

    svg {fill: #fff}
}
.swf-share-button .link01, .swf-fav-button .link01 {
  display: none  
}

.swf-fav-button.is-favorited .link01 {
  display: block;
  color: #fff;
}
.swf-fav-button.is-favorited {
    color: #be123c;
    border-color: rgba(190, 18, 60, 0.22);
    background: rgba(255, 228, 230, 0.7);
    background: #1e90ff;
}
.swf-form-header {
    /* display: flex; */
    justify-content: center;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0px 0 4px 0;
    /* display: none; */

    .form-head-title {display: none}
}

.swf-form-header p {
    margin: 0;
    
    

    .swf-favorites-toggle {
        display: none;
    }
    .swf-favorites-toggle.clicked {
        display: inline-flex;
        margin-right: 12px;
    }
}

.swf-favorites-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: .98rem;
    font-weight: 900;
    border: 1px solid rgba(15, 23, 42, 0.12);
    /* border: 0; */
    background: #fff;
    color: #172033;
    border-radius: 999px;
    padding: 0.55rem 0.78rem;
    cursor: pointer;
    /* box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); */
    white-space: nowrap;
}
.swf-favorites-toggle span {
    color: #e11d48;
}
.swf-favorites-toggle em {
    display: inline-grid;
    place-items: center;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #172033;
    color: #fff;
    font-size: 0.75rem;
    font-style: normal;
}
.swf-credit-snippet .swf-person-link {
    border: 0;
    background: transparent;
    padding: 0;
    margin-left: 0px;
    /* margin: 0; */
    /* color: #2563eb; */
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.swf-credit-comma {
    color: #64748b;
}
.swf-genre-modal-dialog,
.swf-person-dialog,
.swf-favorites-dialog {
    max-width: 780px;
}

.swf-modal-dialog.swf-genre-modal-dialog, .swf-favorites-dialog  {
    padding: 5px;

    .genre-close-header, .close-head-fav {
        display: flex;
        
        
        .swf-modal-close {
            margin: 0
        }

        .swf-results-modal-head {
            margin: 0 0 0 15px;
        
            
            p {display: none}

            h3 {
                margin:0;
                font-size: 1.4rem;
                font-weight: 900;
                padding: 5px
            }
        }
    }
}

.swf-genre-grid,
.swf-person-work-grid,
.swf-favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(161px, 1fr));
    gap: 0.485rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.swf-genre-card,
.swf-person-work,
.swf-favorite-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-align: left;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #fff;
    padding: 0.35rem;
    cursor: pointer;
    color: #172033;
    min-height: 92px;
}
.swf-genre-card:hover,
.swf-person-work:hover,
.swf-favorite-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.swf-genre-card img,
.swf-person-work img,
.swf-favorite-item img,
.swf-person-work .swf-autocomplete-letter,
.swf-favorite-item .swf-autocomplete-letter {
    width: 60px;
    height: 81px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}
.swf-genre-card strong,
.swf-person-work strong,
.swf-favorite-item strong {
    display: block;
    line-height: 1.2;
    font-size: 0.92rem;
}

.swf-person-work strong {
    font-size: 1rem
}
.swf-genre-card em,
.swf-person-work em,
.swf-favorite-item em {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.8rem;
    font-style: normal;
}
.swf-person-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.swf-person-profile {
    width: 143px;
    height: 204px;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 auto;
    background: #e2e8f0;
}
.swf-person-profile-placeholder {
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0f172a);
}
.swf-person-head h5,
.swf-favorites-dialog h5 {
    margin: 0.15rem 0 0.35rem;
    font-size: 1.35rem;
    font-family: sans-serif, arial;
}
.swf-person-head p {
    margin: 0;
    color: #526070;
    font-size: 1.1rem;
    font-family: arial,sans-serif;
}
.swf-person-loading {
    padding: 2rem;
    text-align: center;
}
body.swf-frontpage-dark-mode .swf-genre-badge-active,
body.swf-frontpage-dark-mode .swf-fav-button,
body.swf-frontpage-dark-mode .swf-share-button,
body.swf-frontpage-dark-mode .swf-favorites-toggle,
body.swf-frontpage-dark-mode .swf-genre-card,
body.swf-frontpage-dark-mode .swf-person-work,
body.swf-frontpage-dark-mode .swf-favorite-item {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    color: #f8fafc;
}
body.swf-frontpage-dark-mode .swf-person-head p,
body.swf-frontpage-dark-mode .swf-genre-card em,
body.swf-frontpage-dark-mode .swf-person-work em,
body.swf-frontpage-dark-mode .swf-favorite-item em {
    color: #c7cedb;
}
body.swf-frontpage-dark-mode .swf-genre-badge-muted {
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
}
@media (max-width: 720px) {
    .swf-form-header,
    .swf-movie-title-row {
        flex-direction: column;
        align-items: stretch;
    }

    .swf-form-header {
        margin-bottom: 0;
        align-items: center;
        text-align: center;
    }

    .swf-form {
        width: auto;
        
        

        .swf-form-grid-v3 {
            max-width: none;
        }
    }
    .swf-title-actions {
        justify-content: flex-start;
        margin-left: 0;
    }
    .swf-favorites-toggle {
        width: fit-content;
    }
}

/* V6.5.2 Cast & creator trail pagination */
.swf-person-credit-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.swf-person-credit-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.swf-person-pager-count {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

body.swf-frontpage-dark-mode .swf-person-credit-nav {
    border-top-color: rgba(255,255,255,0.12);
}

body.swf-frontpage-dark-mode .swf-person-pager-count {
    color: #cbd5e1;
}

@media (max-width: 560px) {
    .swf-person-credit-nav {
        align-items: stretch;
        flex-direction: column;
    }

    .swf-person-credit-buttons {
        justify-content: stretch;
    }

    .swf-person-credit-buttons > button {
        flex: 1 1 auto;
    }
}

/* V6.6.0 trailer, more-like, and compact discovery paging */
.swf-trailer-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    /* border: 1px solid rgb(245 11 11 / 45%); */
    border: 0;
    /* background: linear-gradient(135deg, rgb(245 11 11 / 72%), rgb(251 36 36)); */
    background: #62e131;
    color: #fff;
    border-radius: 999px;
    padding: 0.24rem 0.247rem;
    font-size: 0.84rem;
    font-weight: 750;
    cursor: pointer;
}

.swf-trailer-button:hover,
.swf-trailer-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.18);
}

.swf-trailer-dialog {
    width: min(920px, calc(100vw - 2rem));
    padding: clamp(0rem, 3vw, .41rem);
}

.swf-trailer-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #020617;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    margin-bottom: 5px;
}

.swf-trailer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.swf-more-like-section {
    margin-top: 0rem;
    padding: .95rem .5rem 0.95rem .5rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border: 1px solid #ccc;
    border-radius: 18px;
    /* background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(239, 246, 255, 0.96)); */
    /* margin: 15px; */
    margin-top: 6px;
    background-color: #fff0bf;
}

.swf-more-like-head {
    margin-bottom: 0.75rem;
}

.swf-more-like-head h5 {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
}

.swf-more-like-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.swf-discovery-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    margin: 14px 0;
    padding-top: 0.75rem;
    /* border-top: 1px solid rgba(148, 163, 184, 0.22); */
}

.swf-discovery-pager span {
    min-width: 4.2rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.swf-discovery-pager button {
    padding: 0.45rem 0.75rem;
    /* border-radius: 999px; */
    font-size: 0.82rem;
    margin-bottom: 0px;
    background: #000;
    color: #fff;
}

.swf-discovery-pager-hidden {
    display: none;
}

.swf-paged-hidden {
    display: none !important;
}

body.swf-frontpage-dark-mode .swf-more-like-section,
body.swf-frontpage-dark-mode .swf-trailer-button {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    color: #fde68a;
}

 body.swf-frontpage-dark-mode .swf-trailer-button, body.swf-frontpage-dark-mode-two .swf-trailer-button {
    background: rgb(255 0 0);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
     font-size: 110%
}

 body.swf-frontpage-dark-mode .swf-value-highlights li,  body.swf-frontpage-dark-mode-two .swf-value-highlights li {
     background: transparent;
     border: 1px solid
 }

body.swf-frontpage-dark-mode .swf-discovery-pager {
    border-top-color: rgba(255,255,255,0.12);
}

body.swf-frontpage-dark-mode .swf-discovery-pager span {
    color: #cbd5e1;
}

@media (max-width: 560px) {
    .swf-discovery-pager {
        align-items: stretch;
    }

    .swf-discovery-pager button {
        /* flex: 1 1 auto; */
    }
}


/* v6.7.1 Where to Watch covers */
.swf-seo-cover {
    margin: 0 0 1.5rem;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.04);
}
.swf-seo-cover img {
    display: block;
    width: 100%;
    max-width: 780px;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}
.swf-seo-cover figcaption {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: inherit;
    opacity: 0.76;
}
body.swf-frontpage-dark-mode .swf-seo-cover,
body.swf-frontpage-dark-mode-two .swf-seo-cover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}


/* v6.7.2 Where to Watch template and front-page previews */
.swf-landing-template-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 10px 0 1.5rem;
    font-size: 0.9rem;
    opacity: 0.82;
    align-items: center;
}
.swf-landing-template-meta .wp-block-post-terms a {
    text-decoration: none;
    color: #ff4949;
}
.swf-landing-previews {
    margin: 2.25rem 0;
}
.swf-landing-previews-title {
    margin: 0 0 1rem;
}
.swf-landing-preview-grid {
    display: grid;
    gap: 1rem;
}
.swf-landing-preview-columns-1 { grid-template-columns: 1fr; }
.swf-landing-preview-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swf-landing-preview-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swf-landing-preview-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.swf-landing-preview-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.025);
}
.swf-landing-preview-image {
    display: block;
    flex: 0 0 38%;
    max-width: 150px;
    background: rgba(15, 23, 42, 0.08);
}
.swf-landing-preview-image img,
.swf-landing-preview-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
}
.swf-landing-preview-body {
    min-width: 0;
    padding: 0.85rem;
}
.swf-landing-preview-type {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0.7;
    text-transform: uppercase;
}
.swf-landing-preview-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    line-height: 1.25;
}
.swf-landing-preview-body h3 a {
    color: inherit;
    text-decoration: none;
}
.swf-landing-preview-body p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    opacity: 0.8;
}
@media (max-width: 900px) {
    .swf-landing-preview-columns-3,
    .swf-landing-preview-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .swf-landing-preview-columns-2,
    .swf-landing-preview-columns-3,
    .swf-landing-preview-columns-4 { grid-template-columns: 1fr; }
}


/*
Post settingd
*/

.wp-singular {

    .entry-content .swf-form {
        display: none;
    }
}


.swf-discovery-confirm-thumb {
    /* margin: 0.85rem auto 0; */
    max-width: 239px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
    background: rgba(15, 23, 42, 0.08);
    margin-left: auto;
    margin-right: auto;
}

.swf-discovery-confirm-thumb img {
    display: block;
    width: 100%;
    height: auto;
}


/* V6.8 Free to Watch discovery */
.swf-discovery-panels {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
}
.swf-discovery-panels-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swf-free-region-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--swf-muted);
    
    
    
    
    
    
    

    span {display: none}
}
.swf-free-region-label select {
    min-height: 30px;
    /* border: 1px solid var(--swf-border); */
    border-radius: 5px;
    padding: 0.03rem 0.5rem;
    background: #0000007a;
    /* background: #b34343; */
    /* color: var(--swf-text); */
    color: #fff;
    font-size: 12px;
    width: 110px;
    font-weight: 700;
    /* border: 1px solid #bababa; */
    /* border: 1px solid #c6c6c6; */
    /* box-shadow: inset 0 1px 2px #eee; */
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.swf-free-region-label select:hover {
    border: 1px solid #f21111; 
}
.swf-free-pill .swf-free-meta {
    display: block;
    margin-top: 0.28rem;
    font-weight: 500;
    color: var(--swf-accent);
    font-size: .69rem;
}
body.swf-frontpage-dark-mode .swf-free-titles,
body.swf-frontpage-dark-mode-two .swf-free-titles {
    background: rgba(255, 255, 255, 0.04);
}
body.swf-frontpage-dark-mode .swf-free-region-label select,
body.swf-frontpage-dark-mode-two .swf-free-region-label select {
    background: rgba(15, 23, 42, 0.86);
    border-color: rgba(255, 255, 255, 0.14);
    color: inherit;
}
@media (max-width: 1080px) {
    .swf-discovery-panels-count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 860px) {
    .swf-discovery-panels-count-3 {
        grid-template-columns: 1fr;
    }
}


/* V6.8.5 region switchers */
.swf-title-card-region-label {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0;
}
.swf-title-card-region-label select {
    max-width: min(100%, 320px);
}



/* V6.10.0 social sharing + low-overhead trailer modal */
button.swf-social-share-button {
    place-items: center;
    min-width: 2.15rem;
    height: 2.15rem;
    padding: 0 .45rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font: inherit;
    font-size: 1.76rem;
    font-weight: 850;
    line-height: 0;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
    border-bottom: 2px solid #3b3b3b;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.swf-social-share-button:hover,
.swf-social-share-button:focus-visible {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 7px 18px rgba(15,23,42,.18);
    outline: none;
}
.swf-social-share-whatsapp {
     background: #168c4c; 
        svg {
        fill: #fff
    }
}
.swf-social-share-facebook  { 
    background: #1769c2;
}
.swf-social-share-x { 
    background: #111;
    svg {
        fill: #fff
    }
}
.swf-social-share-reddit {
    background: #ff2807;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
     
        svg {
        fill: #fff
    }
}

/* Backdrop blur is attractive but can make video playback visibly heavier on
   older GPUs. Keep the visual overlay while removing that cost for trailers. */
.swf-trailer-modal .swf-modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity 120ms ease, background-color 120ms ease;
}
.swf-trailer-modal .swf-trailer-dialog {
    contain: layout paint;

    .swf-results-modal-head {
        h3 {
            font-weight: 900;
            font-size: 1.4rem;
            margin: 0;
            letter-spacing: -.01em;
            }
        p {
            font-size: 0.96rem;
        margin: 0.35rem;
            }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        align-content: baseline;
        align-content: center;
        padding: 9px 0 2px 5px;
        margin: 0 0 0 0;
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    }
}

.close-head-trailer {
    display: flex;
    /* margin-right: 15px; */
    flex-direction: row-reverse;
    justify-content: space-evenly;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    .close-trailer {
    /* margin-right: 12px; */
} 
    
    

    .swf-modal-close {
        margin: 0
    }
}
@media (prefers-reduced-motion: reduce) {
    .swf-social-share-button { transition: none; }
    .swf-social-share-button:hover,
    .swf-social-share-button:focus-visible { transform: none; }
}

/* =========================================================
   V6.11 Discovery region refresh feedback
   ========================================================= */
.swf-free-region-label {
    position: relative;
}

.swf-free-region-label.is-refreshing select {
    pointer-events: none;
}

.swf-region-change-loader {
    position: absolute;
    inset: -3px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-width: calc(100% + 6px);
    min-height: calc(100% + 6px);
    padding: 0.1rem 0.55rem;
    border: 1px solid var(--swf-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--swf-text);
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.12);
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.swf-region-change-spinner {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border: 2px solid rgba(100, 116, 139, 0.28);
    border-top-color: #ff5000;
    border-radius: 50%;
    animation: swf-region-spinner 0.72s linear infinite;
}

@keyframes swf-region-spinner {
    to {
        transform: rotate(360deg);
    }
}

body.swf-frontpage-dark-mode .swf-region-change-loader,
body.swf-frontpage-dark-mode-two .swf-region-change-loader {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(255, 255, 255, 0.18);
    color: #eef4ff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}

/*
 * After the new region has loaded, sweep a soft highlight through both
 * discovery panels. It is an overlay, so each panel returns to its exact
 * original background rather than being forced to white afterward.
 */
.swf-free-titles.swf-region-refreshed,
.swf-recent-releases.swf-region-refreshed {
    position: relative;
    isolation: isolate;
}

.swf-free-titles.swf-region-refreshed::after,
.swf-recent-releases.swf-region-refreshed::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(226, 232, 240, 0) 0%,
        rgba(226, 232, 240, 0.18) 22%,
        rgba(203, 213, 225, 0.72) 48%,
        rgba(248, 250, 252, 0.48) 62%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateY(-105%);
    animation: swf-region-refresh-wave 1.55s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

body.swf-frontpage-dark-mode .swf-free-titles.swf-region-refreshed::after,
body.swf-frontpage-dark-mode .swf-recent-releases.swf-region-refreshed::after,
body.swf-frontpage-dark-mode-two .swf-free-titles.swf-region-refreshed::after,
body.swf-frontpage-dark-mode-two .swf-recent-releases.swf-region-refreshed::after {
    background: linear-gradient(
        to bottom,
        rgba(148, 163, 184, 0) 0%,
        rgba(148, 163, 184, 0.08) 22%,
        rgba(148, 163, 184, 0.28) 48%,
        rgba(226, 232, 240, 0.12) 62%,
        rgba(148, 163, 184, 0) 100%
    );
}

@keyframes swf-region-refresh-wave {
    0% {
        opacity: 0;
        transform: translateY(-105%);
    }
    12% {
        opacity: 1;
    }
    82% {
        opacity: 0.92;
    }
    100% {
        opacity: 0;
        transform: translateY(105%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .swf-region-change-spinner {
        animation: none;
        border-top-color: rgba(100, 116, 139, 0.65);
    }

    .swf-free-titles.swf-region-refreshed::after,
    .swf-recent-releases.swf-region-refreshed::after {
        animation: swf-region-refresh-fade 0.45s ease-out forwards;
        transform: none;
    }
}

@keyframes swf-region-refresh-fade {
    from { opacity: 0.42; }
    to { opacity: 0; }
}

/* Override the existing region-label rule that intentionally hides its normal text span. */
.swf-free-region-label > .swf-region-change-loader {
    display: inline-flex;
}
.swf-free-region-label .swf-region-change-loader > .swf-region-change-spinner,
.swf-free-region-label .swf-region-change-loader > .swf-region-change-copy {
    display: inline-block;
}

/* =========================================================
   V6.12 Search guidance, dimensional headers + New Releases
   ========================================================= */

/* Give discovery-panel header blocks a subtle raised, tactile surface. */
.swf-header-interior {
    position: relative;
    isolation: isolate;
    /* padding: 0.58rem 0.72rem; */
    padding: 0 0;
    /* border: 1px solid rgba(15, 23, 42, 0.10); */
    border-top-right-radius: 18px;
    /* border-radius: 12px; */
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)); */
    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 3px 0 rgba(15, 23, 42, 0.07),
        0 9px 18px rgba(15, 23, 42, 0.09); */
    /* transform: perspective(900px) rotateX(1.2deg) translateY(-2px); */
    transform-origin: center bottom;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    transform: perspective(900px) rotateX(0deg) translateY(-4px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 4px 0 rgba(15, 23, 42, 0.07),
        0 13px 25px rgba(15, 23, 42, 0.12);
}

.swf-header-interior::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 7%;
    right: 7%;
    bottom: -7px;
    height: 11px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.12);
    filter: blur(7px);
    opacity: 0.52;
    pointer-events: none;
}

.swf-header-interior:hover,
.swf-header-interior:focus-within {
    transform: perspective(900px) rotateX(0deg) translateY(-4px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 4px 0 rgba(15, 23, 42, 0.07),
        0 13px 25px rgba(15, 23, 42, 0.12);
}

body.swf-frontpage-dark-mode .swf-header-interior,
body.swf-frontpage-dark-mode-two .swf-header-interior {
    border-color: rgba(255, 255, 255, 0.13);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 3px 0 rgba(0, 0, 0, 0.28),
        0 10px 20px rgba(0, 0, 0, 0.26);
}

body.swf-frontpage-dark-mode .swf-header-interior::after,
body.swf-frontpage-dark-mode-two .swf-header-interior::after {
    background: rgba(0, 0, 0, 0.48);
}

/* New Releases horizontal carousel: intentionally manual, never auto-advances. */
.swf-release-carousel {
    position: relative;
    margin: 0 0 2rem;
    min-width: 0;
}

.carousel-header-section {
    display: flex;
}

.swf-release-carousel-head {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -5px;
    padding: 0px 19px 7px 18px;
    background: #040567;
    border: 1px solid #dadce0;
    border-bottom: 0;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    z-index: 10;
    color: #fff;
}

.swf-release-carousel-head h2 {
    margin: 0;
    color: var(--swf-text);
    color: #fff;
    font-size: clamp(1.1rem, 2vw, .09rem);
    line-height: 1.15;
    font-weight: 700;
    /* letter-spacing: -0.025em; */
}

.swf-release-carousel-viewport {
    position: relative;
    min-width: 0;
    padding: 10px 0 8px 14px;
    background: #040567;
    border-radius: 9px;
    border: 1px solid #dadce0;
}

/* The fixed right-edge fade intentionally hints that more posters are off-screen. */
.swf-release-carousel-viewport::after {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    right: -1px;
    bottom: 0px;
    width: clamp(46px, 8vw, 108px);
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.94) 82%, #fff 100%);
}

.swf-release-carousel-track {
     display: flex;
     align-items: flex-start;
     gap: clamp(0.8rem, 1.4vw, 1.2rem);
     width: 100%;
     padding: 0.15rem clamp(66px, 9vw, 120px) 0 0;
     overflow-x: auto;
     overflow-y: hidden;
     scroll-snap-type: x proximity;
     scroll-padding-inline: 0;
     overscroll-behavior-inline: contain;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: thin;
     scrollbar-color: rgb(255 202 37 / 83%) #11eb8c29;
     /* display: flex;
    flex-direction: row;
    width: 100%;
    height: 60px;
    border-radius: 12px; 
    overflow-x: scroll; 
    overflow-y: hidden; 
    cursor: pointer; 
    user-select: none; 
    align-items: center;
    padding: 0 20px; 
    gap: 12px; */
     /* scrollbar-width: none; */
     /* touch-action: pan-y; */
     /* overscroll-behavior: contain; */
     /* -webkit-user-drag: none; */
     /* border: 0; */
}

.swf-release-carousel-track::-webkit-scrollbar {
    height: 8px;
}

.swf-release-carousel-track::-webkit-scrollbar-track {
    background: transparent;
}

.swf-release-carousel-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.30);
}

.swf-release-carousel-track:focus-visible {
    outline: 2px solid var(--swf-accent);
    outline-offset: 5px;
    border-radius: 12px;
}

button.swf-release-carousel-card {
     appearance: none;
     display: grid;
     flex: 0 0 clamp(158px, 14vw, 161px);
     min-width: 0;
     gap: 0.68rem;
     margin: 0;
     padding: 0;
     border: 0;
     border-radius: 12px;
     background: transparent;
     color: var(--swf-text);
     font: inherit;
     text-align: left;
     cursor: pointer;
     scroll-snap-align: start;
     transition: transform 160ms ease;
     /*  padding: 3px 10px 4px 8px;
    border-radius: 34px;
    background: var(--cpf-card-bg);
    color: var(--cpf-text);
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    width: auto;
    border-radius: 8px;
    background: #f6f6f6;
    justify-content: center;
    align-items: center;
    transition: all .4s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    transition: background .3s, color .3s; */
}

button.swf-release-carousel-card:hover,
button.swf-release-carousel-card:focus-visible {
    transform: translateY(-3px);
}

button.swf-release-carousel-card:focus-visible {
    outline: 2px solid var(--swf-accent);
    outline-offset: 4px;
}

.swf-release-carousel-poster {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--swf-soft), #fff);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12);
}

.swf-release-carousel-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swf-release-carousel-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--swf-accent);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    background: var(--swf-soft);
}

.swf-release-carousel-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.swf-release-carousel-copy strong {
    display: -webkit-box;
    overflow: hidden;
    /* color: var(--swf-text); */
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.swf-release-carousel-copy span {
    /* color: var(--swf-muted); */
    font-size: 0.88rem;
    line-height: 1.3;
    color: #d5d6ef;
}

body.swf-frontpage-dark-mode .swf-release-carousel-viewport::after,
body.swf-frontpage-dark-mode-two .swf-release-carousel-viewport::after {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.92) 82%, #0f172a 100%);
}

body.swf-frontpage-dark-mode .swf-release-carousel-poster,
body.swf-frontpage-dark-mode-two .swf-release-carousel-poster {
    background: #111827;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.34);
}

@media (max-width: 640px) {
    .swf-header-interior {
        transform: perspective(800px) rotateX(0.8deg) translateY(-1px);
        /* padding: 0.52rem 0.62rem; */
        padding: 0 9px;
    }

    .swf-release-carousel {
        margin-top: 1.25rem;
        margin-bottom: 1.65rem;
        margin-right: -15px;
    }

    .swf-release-carousel-viewport {
        border-bottom-right-radius: 0
    }

    .swf-release-carousel-head h2 {
        /* font-size: clamp(1.45rem, 7vw, 1.29rem); */
    }

    button.swf-release-carousel-card {
        flex-basis: min(58vw, 151px);
        gap: 0.62rem;
    }

    .swf-release-carousel-track {
        gap: 0.9rem;
        padding-right: 70px;
        scrollbar-color: rgb(119 116 116 / 48%) #11eb8c29;
    }

    .swf-release-carousel-viewport::after {
        width: 62px;
    }

    .swf-release-carousel-copy strong {
        font-size: 1rem;
    }

    .swf-release-carousel-copy span {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .swf-header-interior,
    .swf-header-interior:hover,
    .swf-header-interior:focus-within,
    button.swf-release-carousel-card,
    button.swf-release-carousel-card:hover,
    button.swf-release-carousel-card:focus-visible {
        transform: none;
        transition: none;
    }

    .swf-release-carousel-track {
        scroll-behavior: auto;
    }
}


/* =========================================================
   V6.13.0 star ratings, Free-to-Watch jump cue, genre cloud
   ========================================================= */
.swf-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    gap: 0;
    width: max-content;
    max-width: 100%;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    background: #474242;
    border-radius: 8px;
    padding: 4px;
}
.swf-star-rating-icon {
    display: inline-flex;
    width: 1.08em;
    height: 1.08em;
    flex: 0 0 1.08em;
    color: #f5c518;
}
.swf-star-rating-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    /* fill: currentColor; */
    /* fill: #f5c518; */
    /* fill: #ffcf23; */
    /* stroke: #9ab400; */
    fill: yellow;
}
.swf-star-rating-value {
    color: inherit;
    font-variant-numeric: tabular-nums;
    color: #ebebeb;
}
.swf-star-rating-na {
    opacity: 0.66;
}
.swf-rating .swf-star-rating {
    font-size: 1.15em;
}
.swf-free-meta .swf-star-rating,
.swf-popular-meta-line .swf-star-rating {
    font-size: 1em;
    background-color: rgb(81 79 79);
    /* background-color: forestgreen; */
    padding: 3px 7px 3px 4px;
    border-radius: 10px;
}
.swf-genre-card .swf-star-rating {
    margin-top: 0.32rem;
    font-size: 0.82rem;
    color: #475569;
}
body.swf-frontpage-dark-mode .swf-genre-card .swf-star-rating,
body.swf-frontpage-dark-mode-two .swf-genre-card .swf-star-rating {
    color: #e5e7eb;
}
.swf-meta-separator {
    opacity: 0.58;
}

.swf-free-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0 0 0px;
    padding: 0.42rem 0.72rem 0.92rem 0.72rem;
    /* border: 1px solid rgba(22, 163, 74, 0.28); */
    /* border-radius: 999px; */
    background: rgba(240, 253, 244, 0.92);
    color: #ffd310;
    background: linear-gradient(90deg, #fff9dd 0, #ffd310);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.1;
    height: fit-content;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.swf-free-jump-link::before {
    content: "↓";
    font-size: 0.95em;
}
.swf-free-jump-link:hover,
.swf-free-jump-link:focus-visible {
  //  transform: translateY(-1px);
  /*  border-color: rgba(22, 163, 74, 0.55);
    //background: #dcfce7;
    outline: 2px solid rgba(34, 197, 94, 0.22);
    outline-offset: 2px; */
}
#free-to-watch {
    scroll-margin-top: 1.25rem;
}
#free-to-watch.swf-free-jump-arrived {
    animation: swf-free-jump-pulse 1.9s ease-out both;
}
@keyframes swf-free-jump-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); border-color: var(--swf-border); }
    25% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.68); background-color: rgba(240, 253, 244, 0.72); }
    58% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0.06); border-color: rgba(34, 197, 94, 0.36); background-color: rgba(241, 245, 249, 0.5); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); border-color: var(--swf-border); background-color: transparent; }
}
body.swf-frontpage-dark-mode #free-to-watch.swf-free-jump-arrived,
body.swf-frontpage-dark-mode-two #free-to-watch.swf-free-jump-arrived {
    animation-name: swf-free-jump-pulse-dark;
}
@keyframes swf-free-jump-pulse-dark {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
    35% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.16); border-color: rgba(74, 222, 128, 0.62); background-color: rgba(22, 101, 52, 0.17); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.swf-release-carousel-head {
    flex: 0 0 auto;
    /* width: 100%; */
    /* max-width: 100%; */
    box-sizing: border-box;
    gap: 0.8rem;
}

.swf-genre-cloud {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 12px;
    margin-bottom: 6px;
}
.swf-genre-cloud-scroll {
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
    gap: 0.38rem;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.08rem 0.08rem 0.28rem;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.38) transparent;
}
.swf-genre-cloud-scroll::-webkit-scrollbar {
    height: 5px;
}
.swf-genre-cloud-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.swf-genre-cloud-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.34);
}
.swf-genre-cloud-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    padding: 0.428rem 0.52rem;
    border: 1px solid rgba(100, 116, 139, 0.22);
    border-radius: 999px;
    border-radius: 6px;
    /* background: #d7ebff; */
    background: rgba(0,0,0,0.05);
    color: #334155;
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
    /* background: #020c6a; */
}
.swf-genre-cloud-tag small {
    /* display: inline-grid; */
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    font-size: 0.62rem;
    font-weight: 850;
    display: none;
}
.swf-genre-cloud-tag:hover,
.swf-genre-cloud-tag:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.4);
    background: #eff6ff;
    outline: none;
}
.swf-genre-cloud-modal .swf-genre-modal-dialog {
    max-width: 900px;
}
.swf-genre-cloud-modal [data-swf-genre-cloud-content] {
    max-height: min(68vh, 720px);
    overflow: auto;
    padding: 0 0.25rem;
}
.swf-genre-cloud-loading {
    min-height: 6rem;
    display: grid;
    place-items: center;
}
body.swf-frontpage-dark-mode .swf-genre-cloud-tag,
body.swf-frontpage-dark-mode-two .swf-genre-cloud-tag {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.14);
    color: #e5e7eb;
}
body.swf-frontpage-dark-mode .swf-genre-cloud-tag small,
body.swf-frontpage-dark-mode-two .swf-genre-cloud-tag small {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
    .swf-release-carousel-head {
        align-items: center;
        gap: 0.55rem;
        padding-right: 12px;
    }
    .swf-genre-cloud-scroll {
        justify-content: flex-start;
    }
    .swf-genre-cloud-tag {
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .swf-free-jump-link,
    .swf-genre-cloud-tag {
        transition: none;
    }
    #free-to-watch.swf-free-jump-arrived,
    body.swf-frontpage-dark-mode #free-to-watch.swf-free-jump-arrived,
    body.swf-frontpage-dark-mode-two #free-to-watch.swf-free-jump-arrived {
        animation: swf-free-jump-static 0.65s ease-out both;
    }
}
@keyframes swf-free-jump-static {
    from { outline: 3px solid rgba(34, 197, 94, 0.35); outline-offset: 3px; }
    to { outline-color: transparent; outline-offset: 0; }
}


/* =========================================================
   V6.14.1 Seamless infinite New Releases carousel
   ========================================================= */
.swf-release-carousel-track[data-swf-carousel-scroller] {
    overflow-x: scroll;
    scrollbar-gutter: stable;
}

.swf-release-carousel-track[data-swf-carousel-scroller].is-auto-scrolling {
    scroll-snap-type: none;
}

/* Infinite mode duplicates one title sequence on either side of the real
   sequence and silently wraps by exactly one sequence width. Keep snapping
   disabled even while hover-paused; re-enabling it on mouseenter was the
   source of the visible jerk in v6.14.0. A native scrollbar cannot represent
   a circular position without its thumb jumping at each wrap, so it is hidden
   only while infinite autoplay is active. Mouse/touch dragging remains fully
   available on the track itself. */
.swf-release-carousel-track[data-swf-carousel-scroller].is-infinite-carousel {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.swf-release-carousel-track[data-swf-carousel-scroller].is-infinite-carousel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.swf-release-carousel-track [data-swf-carousel-clone="1"] {
    scroll-snap-align: none;
}

@media (hover: hover) and (pointer: fine) {
    .swf-release-carousel-track[data-swf-carousel-scroller] {
        cursor: grab;
    }

    .swf-release-carousel-track[data-swf-carousel-scroller] button.swf-release-carousel-card {
        -webkit-user-select: none;
        user-select: none;
    }

    .swf-release-carousel-track[data-swf-carousel-scroller].is-pointer-down,
    .swf-release-carousel-track[data-swf-carousel-scroller].is-dragging,
    .swf-release-carousel-track[data-swf-carousel-scroller].is-pointer-down button.swf-release-carousel-card,
    .swf-release-carousel-track[data-swf-carousel-scroller].is-dragging button.swf-release-carousel-card {
        cursor: grabbing;
    }

    .swf-release-carousel-track[data-swf-carousel-scroller].is-dragging button.swf-release-carousel-card {
        pointer-events: none;
    }
}

.swf-release-carousel-track[data-swf-carousel-scroller] img {
    -webkit-user-drag: none;
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .swf-release-carousel-track[data-swf-carousel-scroller].is-auto-scrolling {
        scroll-snap-type: x proximity;
    }
}

/* v7 Media Ranker -------------------------------------------------------- */
.searchform-free-watch-link {
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

.free-link-searchform-container {
    display: flex;
    width: 100%;
    background-color: #000c;
    border-radius: 9999px;
    padding: 0 5px 0 7px;
    border: 1px solid #cccc;
    margin: 0 0 16px 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.swf-ranker-front-hero {
    --swf-ranker-hero-color: #102536;
    position: relative;
    isolation: isolate;
    flex: 0 0 100%;
    width: 100%;
    min-height: 300px;
    margin: 0 0 12px;
    overflow: hidden;
    border-radius: 18px;
    background-color: var(--swf-ranker-hero-color);
    background-image: var(--swf-ranker-hero-mobile);
    background-position: center;
    background-size: cover;
    box-shadow: 0 16px 38px rgba(0,0,0,.14);
}

.swf-ranker-front-hero.has-backdrop:hover .swf-ranker-front-hero-title {color: #fff}
.swf-ranker-front-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    /* background: linear-gradient(90deg, rgba(0,15,28,.84) 0%, rgba(0,15,28,.54) 42%, rgba(0,15,28,.16) 72%, rgba(0,15,28,.28) 100%); */
    background: linear-gradient(90deg, rgb(59 57 0 / 84%) 0%, rgba(0, 15, 28, .54) 42%, rgba(0, 15, 28, .16) 72%, rgb(149 138 0 / 28%) 100%);
    pointer-events: none;
}
.swf-ranker-front-hero-link {
    position: relative;
    z-index: 4;
    display: flex;
    min-height: 300px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: clamp(24px, 5vw, 72px);
    color: #fff;
    text-decoration: none;
}
.swf-ranker-front-hero-link:hover,
.swf-ranker-front-hero-link:focus { color: #fff; text-decoration: none; }
.swf-ranker-front-hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(0,0,0,.22);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}
.swf-ranker-front-hero-title {
    max-width: min(950px, 92%);
    color: #ffe600;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 850;
    line-height: 1.02;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,.52);
}
.swf-ranker-front-hero.poster-fallback {
    background-image: none;
}
.swf-ranker-front-hero.poster-fallback::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    background-image: var(--swf-ranker-hero-mobile);
    background-position: center;
    background-size: cover;
    filter: blur(30px) saturate(.9);
    opacity: .5;
    transform: scale(1.12);
}
.swf-ranker-front-hero-poster {
    position: absolute;
    inset: 0 auto 0 50%;
    z-index: 1;
    width: min(62%, 720px);
    transform: translateX(-50%);
    background-image: var(--swf-ranker-hero-mobile);
    background-position: center 28%;
    background-size: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.swf-ranker-listicle { margin-top: clamp(28px, 4vw, 54px); }
.swf-ranker-entry { margin: 0 0 clamp(48px, 7vw, 86px); scroll-margin-top: 30px; }
.swf-ranker-entry-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}
.swf-ranker-entry-number {
    display: inline-flex;
    min-width: 1.35em;
    align-items: center;
    justify-content: center;
    background: #ff0000;
    color: #fff;
    font-weight: 900;
    border-radius: 50%;
    height: 55px;
    width: 55px;
}
.swf-ranker-entry-intro,
.swf-ranker-entry-conclusion {
    max-width: 900px;
    font-size: 1.08em;
    line-height: 1.72;
}
.swf-ranker-entry-intro { margin-bottom: 20px; }
.swf-ranker-entry-conclusion {
    margin-top: 20px;
    padding: 16px 18px;
    border-left: 4px solid rgba(22,163,74,.52);
    background: rgba(22,163,74,.055);
    border-radius: 0 10px 10px 0;
}
.swf-ranker-movie-list .swf-movie-card > .swf-top-block .swf-modal-close { display: none; }
.swf-ranker-template-meta {opacity: .72;font-size: .9em;margin: 5px 0;}

@media (min-width: 800px) {
    .swf-ranker-front-hero.has-backdrop {
        background-image: var(--swf-ranker-hero-desktop);
        background-position: 0px -96px;
    }
    .swf-ranker-front-hero.poster-fallback::before,
    .swf-ranker-front-hero-poster { background-image: var(--swf-ranker-hero-desktop); }
}
@media (min-width: 800px) and (min-resolution: 1.5dppx) {
    .swf-ranker-front-hero.has-backdrop {
        background-image: var(--swf-ranker-hero-retina);
    }
}

@media (max-width: 720px) {
    .searchform-free-watch-link { flex-direction: column; }
    .searchform-free-watch-link .swf-ranker-front-hero { order: 0; min-height: 220px; border-radius: 14px; }
    .searchform-free-watch-link .swf-form {order: 1;margin-top: 10px;}
    .searchform-free-watch-link .free-link {order: 2;margin: 15px 2px;align-self: center;}
    .swf-ranker-front-hero-link { min-height: 220px; padding: 22px; }
    .swf-ranker-front-hero-title { max-width: 100%; font-size: clamp(28px, 9vw, 42px); }
    .swf-ranker-front-hero-poster { width: 84%; }

    .free-link-searchform-container {
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        margin: 5px 0 -1px 0;
        /* background: transparent; */
        border: none;
    }
}
.swf-ranker-tmdb-attribution {
    margin-top: -28px;
    color: #6b7280;
    font-size: 12px;
}


/* =========================================================
   V7.1.0 Ranker sharing, discovery jumps, and drag genre cloud
   ========================================================= */

/* The three discovery shortcuts now travel with the search-form container.
   Their href values are absolute home-page URLs so they continue to work
   when the Movie Finder is rendered on posts, pages, Rankers, or taxonomies. */
.swf-discovery-jump-links {
    display: flex;
    /* flex: 0 1 auto; */
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.4rem;
    min-width: 0;
    /* width: 100%; */
}
.swf-discovery-jump-links .free-link {
    flex: 0 0 auto;
}
#free-to-watch,
#popular-searches,
#recent-releases {
    scroll-margin-top: 1.25rem;
}
#popular-searches.swf-free-jump-arrived,
#recent-releases.swf-free-jump-arrived {
    animation: swf-free-jump-pulse 1.9s ease-out both;
}
body.swf-frontpage-dark-mode #popular-searches.swf-free-jump-arrived,
body.swf-frontpage-dark-mode #recent-releases.swf-free-jump-arrived,
body.swf-frontpage-dark-mode-two #popular-searches.swf-free-jump-arrived,
body.swf-frontpage-dark-mode-two #recent-releases.swf-free-jump-arrived {
    animation-name: swf-free-jump-pulse-dark;
}

/* Keep the genre cloud compact and modern: native scrolling remains for
   touch/keyboard users, while desktop users gain mouse click-and-drag. */
.swf-genre-cloud-scroll[data-swf-genre-cloud-scroll="1"] {
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}
.swf-genre-cloud-scroll[data-swf-genre-cloud-scroll="1"]::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.swf-genre-cloud-scroll[data-swf-genre-cloud-scroll="1"].is-pointer-down,
.swf-genre-cloud-scroll[data-swf-genre-cloud-scroll="1"].is-dragging {
    cursor: grabbing;
    user-select: none;
}
.swf-genre-cloud-scroll[data-swf-genre-cloud-scroll="1"].is-dragging .swf-genre-cloud-tag {
    pointer-events: none;
}

/* Ranker pages reuse the established Where-to-Watch action strip immediately
   beneath the H1. Leave the individual item share controls untouched. */
.swf-ranker-template .swf-landing-share-actions {
    margin-top: 0.65rem;
    margin-bottom: 0rem;
}

@media (max-width: 720px) {
    .swf-discovery-jump-links {
        justify-content: center;
        width: 100%;
    }
    .free-link-searchform-container .swf-discovery-jump-links {
        order: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    #popular-searches.swf-free-jump-arrived,
    #recent-releases.swf-free-jump-arrived,
    body.swf-frontpage-dark-mode #popular-searches.swf-free-jump-arrived,
    body.swf-frontpage-dark-mode #recent-releases.swf-free-jump-arrived,
    body.swf-frontpage-dark-mode-two #popular-searches.swf-free-jump-arrived,
    body.swf-frontpage-dark-mode-two #recent-releases.swf-free-jump-arrived {
        animation: swf-free-jump-static 0.65s ease-out both;
    }
}
.single-swf_ranker .swf-landing-share-actions {
    margin-top: 0.65rem;
    margin-bottom: 1rem;
}

/* =========================================================
   V7.2.0 Smart modal close, local Ranker imagery, responsive finder row
   ========================================================= */

/* Results modals start with the close control at the top of the media card.
   The bottom fallback is fixed to the viewport and fades in only after every
   visible top close control has left the scrollable dialog viewport. */
.swf-results-modal .swf-results-modal-actions {
    position: sticky;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1000002;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    background: transparent;
    border-top: 0;
}
.swf-results-modal .swf-results-modal-actions.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 0s;
}
.swf-results-modal .swf-results-modal-actions .swf-modal-secondary {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
/* A results modal must always have its primary top close control available,
   even on singular WordPress templates where older custom CSS hid it. */
.single .swf-results-modal .swf-results-modal-body .swf-modal-close {
    display: inline-grid;
}

/* Media Ranker story artwork: this is rendered from the locally cached hero
   variants belonging to the currently selected Ranker cover item. */
.swf-ranker-story-cover {
    width: 100%;
    margin: clamp(16px, 2.5vw, 30px) 0 clamp(24px, 4vw, 44px);
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .12);
}
.swf-ranker-story-cover picture,
.swf-ranker-story-cover img {
    display: block;
    width: 100%;
}
.swf-ranker-story-cover img {
    aspect-ratio: 16 / 7;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

/* The discovery shortcuts keep their intrinsic width while the Finder form
   consumes every remaining pixel. This replaces the old hard-coded 769px
   search width with a genuinely fluid desktop layout. */
@media (min-width: 1181px) {
    .free-link-searchform-container {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        gap: clamp(.55rem, 1vw, 1rem);
        width: 100%;
    }
    .free-link-searchform-container > .swf-discovery-jump-links {
        flex: 0 0 auto;
        width: auto;
        max-width: max-content;
        min-width: 0;
    }
    .free-link-searchform-container > .swf-form {
        flex: 1 1 320px;
        width: auto !important;
        min-width: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    .free-link-searchform-container > .swf-form .swf-form-grid,
    .free-link-searchform-container > .swf-form .swf-field-title,
    .free-link-searchform-container > .swf-form input[name="swf_title"] {
        width: 100%;
        min-width: 0;
    }
}

/* Between tablet and wide desktop there may not be enough room for all three
   shortcuts plus a useful search field. Wrap the form to a second fluid row
   instead of squeezing it or overflowing the container. */
@media (min-width: 721px) and (max-width: 1180px) {
    .free-link-searchform-container {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        gap: .65rem;
        width: 100%;
        border-radius: 28px;
        padding: .55rem .7rem;
    }
    .free-link-searchform-container > .swf-discovery-jump-links {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .free-link-searchform-container > .swf-discovery-jump-links::-webkit-scrollbar {
        display: none;
    }
    .free-link-searchform-container > .swf-form {
        flex: 1 1 100%;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .free-link-searchform-container > .swf-form {
        width: 100% !important;
        min-width: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    .free-link-searchform-container > .swf-discovery-jump-links {
        max-width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .free-link-searchform-container > .swf-discovery-jump-links::-webkit-scrollbar {
        display: none;
    }
    .swf-ranker-story-cover {
        border-radius: 14px;
    }
    .swf-ranker-story-cover img {
        aspect-ratio: 16 / 9;
        max-height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .swf-results-modal .swf-results-modal-actions,
    .swf-results-modal .swf-results-modal-actions.is-visible {
        transition: none;
    }
}

/* V7.3 Platform Value learned-provider library */
.swf-related-library-note {
    margin: .15rem 0 .75rem;
    font-size: .82rem;
    line-height: 1.45;
    opacity: .78;
}
