/*
Theme Name: Jejak Layar
Description: Tema blok katalog filem dan televisyen Malaysia.
Version: 0.2.25
Requires at least: 6.6
Text Domain: jejak-layar
*/

:root {
    --paper: #f8f5ef;
    --ink: #201a18;
    --teal: #155957;
    --shade: #392027;
    --rust: #832f40;
    --line: #d9d1c1;
    --quiet: #5a605d;
    --display: 'Bricolage Grotesque', 'Noto Sans', 'PingFang SC', 'Noto Sans Tamil', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
input, select, button { font: inherit; }
button { cursor: pointer; }
a { color: var(--teal); text-underline-offset: .23em; }
:where(a, input, button, select):focus-visible { outline: 3px solid #b7673f; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; }
.jl-wrap { width: min(1120px, 100% - 68px); margin-inline: auto; }
.jl-site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.jl-nav-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(72px, auto); align-items: center; column-gap: clamp(14px, 2vw, 26px); }
.jl-brand { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.jl-brand-image { display: block; width: clamp(150px, 17vw, 184px); height: auto; }
.jl-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jl-mobile-tools { display: none; }
.jl-nav-inner .jl-brand-image { width: clamp(148px, 15vw, 176px); }
.jl-nav-panel { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.jl-nav-panel[hidden], .jl-header-search[hidden] { display: none; }
.jl-main-nav, .jl-header-actions { display: flex; align-items: center; gap: .15rem; }
.jl-main-nav { flex: 1; justify-content: center; }
.jl-header-actions { gap: .4rem; }
.jl-main-nav a, .jl-header-actions a, .jl-menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .65rem; border-radius: 6px;
    color: var(--ink); font-size: .86rem; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.jl-header-actions a { justify-content: center; }
.jl-main-nav a:hover, .jl-header-actions a:hover, .jl-menu-toggle:hover, .jl-search-toggle:hover { background: #eee7dc; color: var(--rust); }
.jl-main-nav a[aria-current], .jl-header-actions a[aria-current], .jl-menu-toggle[aria-expanded="true"], .jl-search-toggle[aria-expanded="true"] {
    color: #732b39; background: #f1e3e5;
}
.jl-header-actions .jl-header-suggest { border: 1px solid #b67885; color: var(--rust); padding-inline: .85rem; }
.jl-header-actions .jl-header-suggest:hover { background: #f1e3e5; border-color: var(--rust); }
.jl-menu-toggle { display: none; gap: .55rem; border: 1px solid var(--line); background: #fffdf7; color: var(--shade); padding-inline: .8rem; }
.jl-menu-glyph { position: relative; width: 16px; height: 16px; flex: none; }
.jl-menu-glyph::before, .jl-menu-glyph::after {
    position: absolute; content: ""; inset: 5px 0 auto; height: 2px; border-radius: 2px; background: currentColor;
}
.jl-menu-glyph::after { top: 10px; }
.jl-menu-toggle[aria-expanded="true"] .jl-menu-glyph::before { top: 7px; transform: rotate(45deg); }
.jl-menu-toggle[aria-expanded="true"] .jl-menu-glyph::after { top: 7px; transform: rotate(-45deg); }
.jl-search-toggle {
    width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; padding: 0;
    border: 1px solid var(--line); border-radius: 6px; background: #fffdf7; color: var(--shade);
}
.jl-search-toggle:not([hidden]) { display: inline-flex; }
.jl-search-glyph { position: relative; width: 20px; height: 20px; }
.jl-search-glyph::before, .jl-search-glyph::after { position: absolute; content: ""; }
.jl-search-glyph::before { top: 1px; left: 1px; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; }
.jl-search-glyph::after { top: 12px; left: 12px; width: 8px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.jl-search-toggle[aria-expanded="true"] .jl-search-glyph::before,
.jl-search-toggle[aria-expanded="true"] .jl-search-glyph::after {
    top: 9px; left: 2px; width: 16px; height: 2px; border: 0; border-radius: 2px; background: currentColor; transform-origin: center;
}
.jl-search-toggle[aria-expanded="true"] .jl-search-glyph::before { transform: rotate(45deg); }
.jl-search-toggle[aria-expanded="true"] .jl-search-glyph::after { transform: rotate(-45deg); }
.jl-header-search { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: .8rem 0 1rem; }
.jl-mark {
    display: inline-block;
    position: relative;
    flex: none;
    width: .98em;
    height: .86em;
}
.jl-mark::before, .jl-mark::after {
    position: absolute;
    content: '';
    border: max(1px, .075em) solid currentColor;
    border-radius: .12em;
}
.jl-mark::before {
    inset: 0 25% 26% 0;
    clip-path: polygon(0 0, 100% 0, 100% 34%, 34% 34%, 34% 100%, 0 100%);
}
.jl-mark::after {
    inset: 26% 0 0 25%;
    box-shadow: inset 0 -.13em currentColor;
}
.jl-mark-link { display: inline-flex; align-items: center; gap: .5em; }
.jl-footer-inner nav { display: flex; gap: clamp(14px, 3vw, 38px); align-items: center; }
.jl-footer-inner nav a { color: var(--ink); text-decoration: none; font-size: .87rem; font-weight: 700; }
.jl-footer-inner nav a:hover { color: var(--teal); text-decoration: underline; }
.jl-preview { padding: .48rem 1rem; margin: 0; text-align: center; background: #e2eee6; color: #184c44; font-size: .8rem; }
.jl-home-hero { background: var(--shade); color: #fbf4e9; }
.jl-home-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); align-items: end; gap: clamp(30px, 7vw, 95px); padding-block: clamp(42px, 6.4vw, 82px); }
.jl-home-hero h1 { max-width: 720px; font-size: clamp(3.2rem, 7vw, 6.4rem); letter-spacing: -.068em; line-height: .97; margin: 0 0 21px; }
.jl-home-hero h1 em { font-style: normal; color: #f4c594; }
.jl-home-hero p { max-width: 430px; font-size: 1.07rem; margin: 0 0 26px; color: #f4e9db; }
.jl-search { display: flex; width: min(100%, 590px); gap: 5px; align-items: stretch; min-height: 55px; padding: 5px; border: 1px solid #c5cabe; border-radius: 5px; background: #fffcf5; }
.jl-search input { min-width: 0; flex: 1; padding: 8px 12px; border: 0; color: var(--ink); background: transparent; }
.jl-search input:focus-visible { outline-offset: -3px; }
.jl-header-search .jl-search { width: min(100%, 650px); margin-inline: auto; }
.jl-header-search-form input, .jl-header-search-form button { font-size: 1rem; }
.jl-search button, .jl-filter button, .jl-correction button, .jl-reader-form button { background: var(--rust); color: #fffaf0; border: 1px solid transparent; border-radius: 4px; padding: .6rem 1.05rem; font-weight: 750; }
.jl-search button:hover, .jl-filter button:hover, .jl-correction button:hover { background: var(--shade); }
.jl-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .8rem; color: #ede3d4; }
.jl-examples span { margin-right: 5px; }
.jl-examples a { color: #fbf4e9; border: 1px solid #8daaa0; border-radius: 4px; padding: .25em .65em; text-decoration: none; }
.jl-examples a:hover { background: #ffffff17; }
.jl-browse-rail { width: 100%; margin-bottom: 3px; border-top: 1px solid #80a198; }
.jl-browse-rail h2 { font-size: 1.05rem; margin: 16px 0 9px; color: #f4c594; }
.jl-browse-rail a { display: flex; align-items: center; justify-content: space-between; gap: .75em; border-bottom: 1px solid #80a198; padding: 12px 2px; font: 700 clamp(1.22rem, 3vw, 1.75rem)/1.15 var(--display); color: #fff8ec; text-decoration: none; }
.jl-browse-rail a:hover { color: #f4c594; }
@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
    .jl-browse-rail a[href$="/filem/"] { --jl-link-icon: url("assets/ikon-filem.svg"); }
    .jl-browse-rail a[href$="/drama-bersiri/"] { --jl-link-icon: url("assets/ikon-drama-bersiri.svg"); }
    .jl-browse-rail a[href$="/telefilem/"] { --jl-link-icon: url("assets/ikon-telefilem.svg"); }
    .jl-browse-rail a.jl-watch-browse, .jl-browse-chips a.jl-mark-link,
    :is(.jl-card-watch, .jl-watchlist-status) > a.jl-mark-link { --jl-link-icon: url("assets/ikon-boleh-ditonton.svg"); }

    .jl-browse-rail a:is([href$="/filem/"], [href$="/drama-bersiri/"], [href$="/telefilem/"], .jl-watch-browse) > .jl-mark,
    :is(.jl-card-watch, .jl-watchlist-status, .jl-browse-chips) > a.jl-mark-link > .jl-mark { display: none; }
    .jl-browse-rail a:is([href$="/filem/"], [href$="/drama-bersiri/"], [href$="/telefilem/"], .jl-watch-browse)::after,
    :is(.jl-card-watch, .jl-watchlist-status, .jl-browse-chips) > a.jl-mark-link::after {
        content: "";
        flex: none;
        width: 1.12em;
        height: 1.12em;
        background-color: currentColor;
        -webkit-mask: var(--jl-link-icon) center / contain no-repeat;
        mask: var(--jl-link-icon) center / contain no-repeat;
    }
}
.jl-section { margin-block: clamp(34px, 6vw, 70px); }
.jl-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.jl-section-title h2, .jl-section h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); margin: 0 0 12px; }
.jl-section-title h2 { margin: 0; }
.jl-section-title a { font-size: .9rem; font-weight: 700; }
.jl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jl-card { background: #fffdf7; border: 1px solid var(--line); border-top: 3px solid var(--rust); border-radius: 3px; padding: 18px 18px 21px; min-height: 108px; overflow-wrap: anywhere; }
.jl-card:nth-child(3n+2) { border-top-color: var(--teal); }
.jl-card:nth-child(3n) { border-top-color: #936443; }
.jl-label { margin: 0 0 8px; color: var(--rust); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jl-card h3 { margin: 0; line-height: 1.16; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.jl-card a { color: inherit; text-decoration: none; }
.jl-card a:hover { color: var(--teal); text-decoration: underline; }
.jl-page-head { background: #e6eee5; border-bottom: 1px solid #ccd9cc; padding-block: clamp(27px, 5.7vw, 63px); }
.jl-page-head h1 { margin: 0 0 12px; font-size: clamp(2.8rem, 7vw, 5.4rem); overflow-wrap: anywhere; }
.jl-page-head p { margin: 0 0 9px; }
.jl-page-head p:not(.jl-label) { font-size: 1.12rem; }
.jl-page-head .jl-search { margin-top: 20px; }
.jl-text-action { display: inline-block; margin-top: 9px; font-weight: 750; }
.jl-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.jl-filter input { width: 145px; }
.jl-matches { margin-bottom: 27px; }
.jl-filter input, .jl-correction :where(input, select) { min-height: 42px; border: 1px solid #bebaa9; border-radius: 4px; padding: .52rem .68rem; color: var(--ink); background: #fffcf5; }
.jl-catalogue-filter { display: block; padding: clamp(.85rem, 2.4vw, 1.65rem); margin-bottom: 1.75rem; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 4px; background: #fffdf7; }
.jl-catalogue-filter h2 { font-size: clamp(1.35rem, 2.45vw, 1.9rem); margin: 0; }
.jl-catalogue-filter > .jl-muted { margin: .25rem 0 .85rem; }
.jl-catalogue-filter-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: .6rem .8rem; }
.jl-catalogue-filter-fields label { display: grid; gap: .3rem; font-weight: 700; }
.jl-catalogue-filter-fields :is(select, input) { width: 100%; min-width: 0; min-height: 44px; padding: .45rem .65rem; border: 1px solid #bebaa9; border-radius: 4px; background: #fffcf5; color: var(--ink); font: inherit; font-weight: 400; }
.jl-catalogue-filter .jl-actions { margin-top: .65rem; }
.jl-catalogue-filter button { min-height: 44px; }
.jl-detail { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.jl-detail > div > section + section { margin-top: 32px; }
.jl-fields { margin-top: 0; }
.jl-fields > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; border-bottom: 1px solid var(--line); padding-block: 9px; }
.jl-fields dt { font-weight: 700; }
.jl-fields dd { margin: 0; }
.jl-verified { margin-left: .5em; padding: .1em .4em; border: 1px solid #9dbfad; border-radius: 3px; font-size: .8rem; }
.jl-source, .jl-correction { border: 1px solid var(--line); border-radius: 4px; padding: clamp(16px, 3vw, 30px); background: #fffcf5; overflow-wrap: anywhere; }
.jl-source h2 { font-size: 1.7rem; }
.jl-source ul, .jl-filmography { padding-inline-start: 1.2em; }
.jl-credits { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .5rem 0 1.15rem; }
.jl-credits :where(a, span) {
    display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .75rem;
    border: 1px solid var(--line); border-radius: 4px; overflow-wrap: anywhere;
}
.jl-credits a { background: #fffdf7; border-color: #9dbfad; font-weight: 700; }
.jl-credits a:hover { background: #e6eee5; }
.jl-credits span { color: var(--quiet); }
#pelakon-dan-kru, #karya { scroll-margin-top: 1rem; }
.jl-correction { grid-column: 1; scroll-margin-top: 20px; }
.jl-correction form { display: grid; gap: 7px; }
.jl-correction label { font-weight: 750; margin-top: 7px; }
.jl-correction button { margin-top: 8px; justify-self: start; }
.jl-status { border-left: 3px solid var(--teal); padding: 8px 12px; background: #e6eee5; }
.jl-site-footer { margin-top: 50px; border-top: 1px solid var(--line); padding-block: 30px; }
.jl-footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.jl-footer-inner p { color: var(--quiet); margin: 7px 0 0; font-size: .87rem; }

@media (max-width: 1080px) {
    .jl-nav-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(64px, auto); gap: 0; min-height: 64px; }
    .jl-header-bar { gap: 8px; }
    .jl-header-bar .jl-brand { flex: 0 1 auto; min-width: 0; }
    .jl-nav-inner .jl-brand-image { width: clamp(138px, 42vw, 166px); max-width: 100%; }
    .jl-mobile-tools { display: flex; align-items: center; gap: .35rem; }
    .jl-menu-toggle:not([hidden]) { display: inline-flex; }
    .jl-header-actions .jl-search-toggle:not([hidden]) { display: none; }
    .jl-nav-panel { grid-column: 1 / -1; display: grid; align-items: stretch; gap: .6rem; padding: .4rem 0 .85rem; }
    .jl-main-nav, .jl-header-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem .5rem; }
    .jl-main-nav { padding-top: .4rem; border-top: 1px solid var(--line); }
    .jl-header-actions { align-items: stretch; padding-top: .65rem; border-top: 1px solid var(--line); }
    .jl-main-nav a, .jl-header-actions a { white-space: normal; font-size: .91rem; }
    .jl-header-actions a { border: 1px solid var(--line); font-size: .86rem; text-align: center; }
    .jl-header-actions .jl-header-suggest { padding-inline: .5rem; }
}

@media (max-width: 740px) {
    .jl-wrap { width: calc(100% - 34px); }
    .jl-brand-image { width: clamp(138px, 41vw, 166px); }
    .jl-detail { grid-template-columns: 1fr; }
    .jl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jl-card { padding: 13px; min-height: 83px; }
    .jl-footer-inner { flex-wrap: wrap; }
}

.jl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.jl-home-hero .jl-browse-rail, .jl-home-hero .jl-browse-rail a { border-color: #a87c81; }
.jl-home-hero .jl-browse-rail .jl-watch-browse { color: #f4c594; }
@media (max-width: 740px) {
    .jl-home-grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 1.5rem;
        padding-block: clamp(1.75rem, 6vw, 2.75rem) 1.75rem;
    }

    .jl-home-hero h1 {
        margin-bottom: .65rem;
        font-size: clamp(2.125rem, 8.4vw, 3.8rem);
        letter-spacing: -.055em;
        line-height: 1.02;
    }

    .jl-home-hero p {
        margin-bottom: 1rem;
        font-size: .9375rem;
        line-height: 1.5;
    }

    .jl-home-hero .jl-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: stretch;
        gap: 3px;
        width: 100%;
        max-width: 590px;
        min-height: 0;
        padding: 4px;
        border-color: #d9c7bc;
        border-radius: 10px;
    }

    .jl-home-hero .jl-search input[type="search"] {
        width: 100%;
        padding: .45rem .5rem;
        font-size: 1rem;
        line-height: 1.25;
    }

    .jl-home-hero .jl-search input::placeholder {
        color: #655d59;
        font-size: clamp(.8rem, 3.4vw, .9375rem);
        letter-spacing: -.01em;
        opacity: 1;
    }

    .jl-home-hero .jl-search button {
        min-height: 44px;
        padding-inline: clamp(.6rem, 2.7vw, .85rem);
        border-radius: 6px;
        font-size: .9375rem;
        line-height: 1.25;
    }

    .jl-home-hero .jl-examples {
        gap: .25rem .45rem;
        margin-top: .4rem;
        font-size: .75rem;
    }

    .jl-home-hero .jl-examples span { margin-right: .15rem; }
    .jl-home-hero .jl-examples a {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0 .25rem;
        border: 0;
        text-decoration: underline;
        text-decoration-color: #b69a9c;
    }

    .jl-home-hero .jl-browse-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        margin: 0;
        border: 0;
    }

    .jl-home-hero .jl-browse-rail h2 {
        grid-column: 1 / -1;
        margin: 0 0 .2rem;
        color: #fbf4e9;
        font-size: 1rem;
    }

    .jl-home-hero .jl-browse-rail a {
        justify-content: flex-start;
        gap: .45rem;
        min-height: 48px;
        padding: .55rem .625rem;
        border: 1px solid #815963;
        border-radius: 9px;
        background: #4e3038;
        color: #fff8ec;
        font: 700 clamp(.875rem, 3.4vw, 1rem)/1.2 var(--display);
    }

    .jl-home-hero .jl-browse-rail a::after,
    .jl-home-hero .jl-browse-rail a > .jl-mark { order: -1; }
    .jl-home-hero .jl-browse-rail a:hover { background: #64404a; }

    .jl-home-hero .jl-browse-rail .jl-watch-browse {
        border-color: #f4c594;
        background: #f4c594;
        color: var(--shade);
    }

    .jl-home-hero .jl-browse-rail .jl-watch-browse:hover { background: #ffdbb4; }
    .jl-home-hero :where(a, button):focus-visible { outline-color: #ffd8ad; }
    .jl-home-hero .jl-search button:focus-visible { outline-offset: -4px; }
}
.jl-card.jl-card-title { padding: 0; border-top: 0; overflow: hidden; }
.jl-card-title .jl-card-copy { padding: 14px; }
.jl-card-rating, .jl-card-watch { margin: .45rem 0 0; font-size: .86rem; color: var(--teal); font-weight: 730; }
.jl-card-service { margin: .2rem 0 0; color: var(--quiet); font-size: .82rem; }
.jl-card-roles { color: var(--quiet); margin: .45rem 0 0; font-size: .9rem; font-weight: 650; }
.jl-person-intro { display: grid; align-items: center; gap: clamp(14px, 4vw, 48px); }
.jl-person-with-photo { grid-template-columns: minmax(88px, 186px) minmax(0, 1fr); }
.jl-person-head h1 { font-size: clamp(2.05rem, 6vw, 4.75rem); line-height: 1.03; }
.jl-person-head p.jl-person-roles { color: var(--teal); font-weight: 750; }
.jl-person-head p.jl-person-alias { color: var(--quiet); font-size: .95rem; }
.jl-person-bio { max-width: 56ch; margin-top: 1rem; line-height: 1.6; }
.jl-person-bio p:last-child { margin-bottom: 0; }
.jl-person-photo { margin: 0; }
.jl-person-photo img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
.jl-person-photo figcaption { margin-top: .4rem; color: var(--quiet); font-size: .76rem; overflow-wrap: anywhere; }
.jl-person-works .jl-card-title { display: grid; grid-template-columns: clamp(62px, 7vw, 92px) minmax(0, 1fr); align-items: center; }
.jl-person-works .jl-card-title .jl-poster { align-self: stretch; width: 100%; min-height: 100%; aspect-ratio: auto; }
.jl-person-works .jl-poster span { display: none; }
.jl-person-works .jl-card-copy { padding: .75rem; }
.jl-work-filters { gap: .5rem 1rem; }
.jl-work-role { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.jl-work-role select { min-height: 44px; padding: .45rem .65rem; border: 1px solid #bebaa9; border-radius: 4px;
    background: #fffcf5; color: var(--ink); font: inherit; font-weight: 400; }
.jl-work-filters button { min-height: 44px; }
.jl-work-filters a { font-weight: 700; }
.jl-verification { scroll-margin-top: 1rem; }
.jl-verification .jl-filter input { width: min(100%, 18rem); }
.jl-identity-badge, .jl-involvement { display: inline-block; margin: .15em .15em .15em 0; padding: .12em .48em;
    border: 1px solid #9dbfad; border-radius: 3px; background: #e6eee5; color: var(--teal); font-size: .82em; font-weight: 700; }
.jl-identity-badge .jl-mark { margin-inline-end: .35em; vertical-align: -.02em; }
.jl-involvement { border-color: #d5aeb0; background: #f5e6e4; color: var(--rust); }
.jl-release-status { color: var(--teal); font-weight: 720; }
.jl-upcoming-filters { margin-block: 1rem 1.5rem; }
.jl-upcoming-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .85rem;
    border: 1px solid #9dbfad; border-radius: 4px; font-weight: 700; text-decoration: none; }
.jl-upcoming-filters a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fffaf0; }
.jl-upcoming .jl-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.jl-upcoming .jl-card-title { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; }
.jl-upcoming .jl-card-title .jl-poster { align-self: stretch; aspect-ratio: auto; }
.jl-upcoming .jl-poster span { display: none; }
.jl-upcoming-save { margin-top: .65rem; font-size: .88rem; }
.jl-comments .wp-block-comment-template { padding-inline-start: 0; }
.jl-comments .comment { padding-block: .75rem; border-top: 1px solid var(--line); }
.jl-comments .wp-block-comment-content p { margin-block: .45rem; }
.jl-comments .wp-block-comment-author-name { font-weight: 700; }
.jl-comments .wp-block-comments-pagination a { margin-inline-end: 1rem; }
.jl-poster { aspect-ratio: 2 / 3; position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end;
    padding: clamp(.7rem, 2.2vw, 1.65rem); color: #fffcf5; background: #633940; border-radius: 3px; }
.jl-poster::before { content: ''; position: absolute; z-index: -1; width: 74%; height: 44%; inset: 14% auto auto 32%;
    border: 1px solid #fffdf78c; border-radius: 5px; transform: rotate(-13deg); box-shadow: -12px 12px 0 -1px #633940, -12px 12px #fffdf759; }
.jl-card:nth-child(3n+2) .jl-poster { background: #254c49; }
.jl-card:nth-child(3n+3) .jl-poster { background: #594751; }
.jl-poster span { font: 690 clamp(1.35rem, 3.8vw, 3.2rem)/1.02 var(--display); letter-spacing: -.055em; overflow-wrap: anywhere; }
.jl-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jl-card-title .jl-poster { aspect-ratio: 2 / 3; border-radius: 0; }
.jl-title-head { background: #f5ece7; }
.jl-title-grid { display: grid; }
.jl-title-grid h1 { line-height: 1.02; }
.jl-rating { color: var(--teal); }
.jl-filled-action { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .5rem .8rem; border-radius: 4px;
    background: var(--rust); color: #fffaf0; text-decoration: none; font-weight: 750; }
.jl-filled-action:hover { background: var(--shade); color: #fffaf0; }
.jl-watch-panel, .jl-review-panel { background: #fffdf7; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 4px;
    padding: clamp(.8rem, 2.5vw, 1.6rem); overflow-wrap: anywhere; scroll-margin-top: 1rem; }
.jl-trailer { scroll-margin-top: 1rem; }
.jl-trailer-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background: radial-gradient(ellipse at 65% 30%, #6c3945, var(--shade) 68%);
}
.jl-trailer-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jl-trailer-trigger {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    justify-items: start;
    padding: clamp(.65rem, 2vw, 1rem);
    isolation: isolate;
    text-decoration: none;
}
.jl-trailer-trigger:focus-visible { outline-color: #fffaf0; outline-offset: -5px; }
.jl-trailer-preview { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jl-trailer-play {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    min-height: 48px;
    padding: .55rem 1rem;
    border: 1px solid #e5bfaa;
    border-radius: 4px;
    background: var(--shade);
    color: #fffaf0;
    font-weight: 750;
}
.jl-trailer-trigger:hover .jl-trailer-play { background: var(--rust); }
.jl-play-glyph { width: .8em; height: .9em; background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.jl-trailer > p { margin: .35rem 0 0; font-size: .85rem; }
.jl-review-panel { border-top-color: var(--rust); }
.jl-watch-list, .jl-account-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.jl-watch-list li, .jl-account-list li { padding-block: .8rem; border-top: 1px solid var(--line); }
.jl-title-tools { display: flex; flex-wrap: wrap; align-items: start; gap: .5rem .65rem; margin-top: .8rem; }
.jl-title-watchlist .jl-actions { color: var(--teal); font-weight: 700; }
.jl-share { position: relative; }
.jl-share-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    min-height: 44px;
    padding: .35rem .75rem;
    border: 1px solid var(--teal);
    border-radius: 4px;
    background: transparent;
    color: var(--teal);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.jl-share-toggle:hover { background: #e8efeb; }
.jl-share-toggle[hidden] { display: none; }
.jl-share summary { list-style: none; }
.jl-share summary::-webkit-details-marker { display: none; }
.jl-share-panel {
    position: absolute;
    inset-block-start: calc(100% + .35rem);
    inset-inline-end: 0;
    z-index: 2;
    display: grid;
    gap: .45rem;
    width: min(27rem, calc(100vw - 2rem));
    padding: .75rem;
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 5px;
}
.jl-share-panel label { font-weight: 700; }
.jl-share-panel input {
    width: 100%;
    min-height: 44px;
    padding: .35rem .55rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    font: inherit;
}
.jl-share-panel .jl-share-status { margin: 0; font-size: .9rem; color: var(--teal); }
.jl-share-status:empty { position: absolute; }
@media (max-width: 900px) {
    .jl-share[open] { flex-basis: 100%; }
    .jl-share-panel { position: static; width: min(100%, 27rem); margin-top: .35rem; }
}
.jl-watchlist {
    margin: 1.65rem 0 2.25rem;
    padding: clamp(.85rem, 3vw, 1.5rem);
    border: 1px solid var(--line);
    border-top: 3px solid var(--teal);
    border-radius: 5px;
    background: #fffdf7;
}
.jl-watchlist h3 { margin: 0 0 .2rem; font-size: 1.28rem; overflow-wrap: anywhere; }
.jl-watchlist-items { margin: .65rem 0 0; }
.jl-watchlist-notices { margin-block: .8rem 1.2rem; padding: .75rem 1rem; border-inline-start: 4px solid var(--teal); background: #e6eee5; }
.jl-watchlist-notices h3 { margin: 0 0 .4rem; }
.jl-watchlist-notices .jl-account-list { margin: 0; }
.jl-watchlist-status { color: var(--quiet); font-size: .9rem; }
.jl-watchlist-status a { font-weight: 700; }
.jl-watchlist-form { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin: 0; }
.jl-watchlist-items .jl-watchlist-form { margin-top: .5rem; }
.jl-watchlist-button {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    min-height: 44px;
    padding: .35rem .75rem;
    border: 1px solid var(--rust);
    border-radius: 4px;
    background: transparent;
    color: var(--rust);
    font-weight: 700;
    text-decoration: none;
}
.jl-watchlist-button:hover { background: #f5e6e4; color: var(--rust); }
.jl-watchlist-remove { border-color: transparent; padding-inline: .25rem; text-decoration: underline; color: var(--quiet); }
.jl-watchlist-remove:hover { background: transparent; }
.jl-watch-list li { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; align-items: center; }
.jl-watch-list li[id] { scroll-margin-top: 1rem; }
.jl-watch-list p { margin: .15rem 0; }
.jl-muted { color: var(--quiet); font-size: .86rem; }
.jl-watch-panel summary, .jl-review-panel summary { color: var(--teal); font-weight: 740; cursor: pointer; padding-block: .35rem; }
.jl-watch-report { flex: 0 0 100%; min-width: 0; }
.jl-watch-report summary { display: flex; align-items: center; gap: .5rem; width: fit-content; min-height: 44px; font-size: .9rem; }
.jl-watch-report summary::-webkit-details-marker { display: none; }
.jl-watch-report[open] summary { text-decoration: underline; }
.jl-watch-report .jl-reader-form { margin-top: .3rem; }
.jl-review { padding-block: .6rem; border-top: 1px solid var(--line); }
.jl-review p { margin: .35rem 0 .6rem; }
.jl-reader-form { display: grid; align-items: start; gap: .7rem; margin-block: .85rem; }
.jl-reader-form label { display: grid; gap: .25rem; }
.jl-reader-form :is(input:not([type=radio], [type=checkbox], [type=hidden]), textarea, select) { width: 100%; min-width: 0; min-height: 44px;
    padding: .35rem .65rem; border: 1px solid #b4a69b; border-radius: 4px; background: #fffdf7; color: var(--ink); font: inherit; }
.jl-reader-form button { justify-self: start; min-height: 44px; }
.jl-reader-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.jl-stars { display: flex; flex-wrap: wrap; gap: .15rem .45rem; }
.jl-stars label, .jl-reader-form .jl-check, .jl-filter .jl-check { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; }
.jl-stars label { min-width: 44px; }
.jl-check input { width: auto; min-height: 0; }
.jl-page-links { margin-top: 1.2rem; }
.jl-content { max-width: 720px; }
.jl-content h1 { margin-top: 0; }

@media (max-width: 740px) {
    .jl-person-with-photo { grid-template-columns: clamp(88px, 23vw, 140px) minmax(0, 1fr); align-items: start; }
    .jl-person-works .jl-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
}

@media (max-width: 430px) {
    .jl-wrap { width: calc(100% - 28px); }
    .jl-title-grid .jl-actions { gap: .35rem .75rem; }
}

@media (max-width: 740px) {
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-section-title {
        align-items: center;
        flex-wrap: wrap;
        gap: .35rem .85rem;
        margin-bottom: .75rem;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-section-title h2 { font-size: 1.5rem; }
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-section-title a { font-size: .8125rem; }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
        gap: .65rem;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title {
        position: relative;
        display: grid;
        grid-template-columns: clamp(4.5rem, 22vw, 5.75rem) minmax(0, 1fr);
        align-items: center;
        gap: .75rem;
        padding: .5rem;
        border: 1px solid var(--line);
        border-radius: 12px;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title .jl-poster {
        align-self: start;
        padding: 0;
        border-radius: 7px;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-poster::before {
        inset: 33% auto auto 29%;
        width: 48%;
        height: 28%;
        box-shadow: -5px 5px 0 -1px #0004, -5px 5px #fffdf759;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-poster > span { display: none; }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-poster img {
        background: #30252a;
        object-fit: contain;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-copy { padding: .25rem .15rem; }
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-copy .jl-label { margin-bottom: .25rem; font-size: .6875rem; }
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title h3 { font-size: 1.1875rem; line-height: 1.12; }

    /* Make the poster and card surface open the title while keeping the watch link separate. */
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title h3 a::after {
        position: absolute;
        inset: 0;
        border-radius: 11px;
        content: "";
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title h3 a:focus-visible {
        outline-offset: 0;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title h3 a:focus-visible::after {
        outline: 2px solid var(--rust);
        outline-offset: -3px;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-rating {
        display: flex;
        align-items: center;
        gap: .35em;
        width: fit-content;
        margin-top: .4rem;
        padding: .2rem .5rem;
        border-radius: 5px;
        background: #faebd8;
        color: #573716;
        font-size: .8125rem;
        font-variant-numeric: tabular-nums;
        line-height: 1.35;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-rating::before {
        flex: none;
        width: .95em;
        height: .95em;
        background: #9b5f1c;
        clip-path: polygon(50% 0, 64% 33%, 100% 37%, 73% 62%, 80% 100%, 50% 81%, 20% 100%, 27% 62%, 0 37%, 36% 33%);
        content: "";
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-watch { margin-top: .4rem; }
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-watch a {
        position: relative;
        z-index: 1;
        gap: .42em;
        min-height: 44px;
        padding: .25rem .55rem;
        border-radius: 6px;
        background: #e6eee5;
        color: var(--teal);
        font-size: .8125rem;
        line-height: 1.25;
    }

    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-watch a::after,
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-watch .jl-mark { order: -1; }
}

/* Catalogue and featured works */
.jl-home-grid { padding-block: clamp(1.75rem, 4vw, 3.75rem); }
.jl-home-hero h1 { font-size: clamp(2.125rem, 6vw, 5rem); }
.jl-section-title a { flex-shrink: 0; }
.jl-discovery .jl-section-title a { white-space: nowrap; }
.jl-catalogue-head { padding-block: clamp(1.3rem, 2.4vw, 2.25rem); }
.jl-catalogue-head h1 { margin-bottom: .65rem; font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
.jl-catalogue-head .jl-search { margin-top: 0; }
.jl-catalogue-head .jl-search, .jl-header-search .jl-search, main.jl-content .jl-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    border-radius: 9px;
}
.jl-search input[type="search"] { width: 100%; min-width: 0; }
.jl-search button { min-height: 44px; }
.jl-browse-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-block: .75rem 0;
}
.jl-browse-chips a, .jl-active-filters a {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    min-height: 38px;
    padding: .3rem .65rem;
    border: 1px solid #a4bbb1;
    border-radius: 7px;
    background: #fffdf7;
    color: var(--teal);
    font-size: .875rem;
    font-weight: 690;
    line-height: 1.2;
    text-decoration: none;
}
.jl-browse-chips a[aria-current] { background: var(--teal); border-color: var(--teal); color: #fffcf5; }
.jl-browse-chips a.jl-mark-link::after, .jl-browse-chips a.jl-mark-link > .jl-mark { order: -1; }
.jl-browse-chips a:hover:not([aria-current]), .jl-active-filters a:hover { background: #e7eee7; }
.jl-catalogue { margin-top: clamp(.9rem, 2.5vw, 2rem); }
.jl-catalogue:not(.jl-people) { display: grid; gap: 1rem; }
.jl-results, .jl-catalogue-tools { min-width: 0; }
.jl-catalogue-details {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fffdf7;
    overflow: hidden;
}
.jl-catalogue-details summary {
    padding: .65rem .85rem;
    color: var(--teal);
    font-weight: 750;
    cursor: pointer;
}
.jl-catalogue-details summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; }
.jl-catalogue-details[open] summary { border-bottom: 1px solid var(--line); }
.jl-catalogue-details .jl-catalogue-filter { padding: .7rem .85rem; margin: 0; border: 0; }
.jl-catalogue-details .jl-catalogue-filter-fields { grid-template-columns: minmax(0, 1fr); }
.jl-catalogue-tools .jl-actions { gap: .15rem .5rem; }
.jl-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    list-style: none;
    padding: 0;
    margin: .55rem 0 0;
}
.jl-active-filters a { min-height: 34px; font-size: .8rem; }
.jl-active-filters li:last-child a { border-color: transparent; background: transparent; text-decoration: underline; }
.jl-results h2 { margin-block: 0 .65rem; font-size: clamp(1.3rem, 2.5vw, 2rem); }
.jl-results .jl-matches { margin-bottom: 1.25rem; }
.jl-results .jl-grid { gap: .6rem; }
.jl-card-person {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    min-height: 72px;
    padding: .65rem .75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.jl-card-person .jl-label { margin-bottom: .2rem; }
.jl-card-person h3 { font-size: 1.05rem; }
.jl-card-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 50%;
    background: #e6eee5;
    color: var(--teal);
    font-weight: 750;
}
.jl-card-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jl-discovery-grid .jl-card-service { margin-top: .3rem; }
.jl-discovery-grid .jl-card-watch a { gap: .4em; }
.jl-discovery-grid .jl-card-watch a::after, .jl-discovery-grid .jl-card-watch .jl-mark { order: -1; }
.jl-discovery-grid .jl-card-title { border: 1px solid var(--line); border-radius: 12px; }
.jl-discovery-grid .jl-card-title .jl-poster img { background: #30252a; object-fit: contain; }

@media (min-width: 900px) {
    .jl-catalogue:not(.jl-people) {
        grid-template-columns: 230px minmax(0, 1fr);
        align-items: start;
        column-gap: clamp(1rem, 3vw, 2rem);
    }
    .jl-catalogue .jl-results > .jl-grid, .jl-catalogue .jl-matches .jl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .jl-catalogue-tools { display: flex; flex-direction: column; }
    .jl-catalogue-details { order: 1; }
    .jl-active-filters { margin: 0 0 .55rem; }
}
@media (min-width: 741px) {
    .jl-discovery-grid .jl-card-title {
        display: grid;
        grid-template-columns: clamp(70px, 8vw, 105px) minmax(0, 1fr);
        align-items: center;
        gap: .7rem;
        padding: .6rem;
    }
    .jl-discovery-grid .jl-card-title .jl-poster {
        align-self: start;
        min-height: 0;
        aspect-ratio: 2 / 3;
        padding: 0;
        border-radius: 7px;
    }
    .jl-discovery-grid .jl-card-title .jl-poster > span { display: none; }
    .jl-discovery-grid .jl-card-copy { padding: 0 .15rem; }
    .jl-discovery-grid .jl-card-title h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
    .jl-discovery-grid .jl-card-rating, .jl-discovery-grid .jl-card-watch a {
        display: inline-flex;
        align-items: center;
        gap: .35em;
        padding: .18rem .42rem;
        border-radius: 5px;
        line-height: 1.3;
    }
    .jl-discovery-grid .jl-card-rating { background: #faebd8; color: #573716; }
    .jl-discovery-grid .jl-card-watch a { background: #e6eee5; color: var(--teal); }
}
@media (max-width: 740px) {
    .jl-home-hero h1 { font-size: clamp(2.125rem, 8.4vw, 3.8rem); }
    .jl-catalogue-head .jl-search input::placeholder { font-size: .84rem; }
    .jl-catalogue-head .jl-search button { padding-inline: .7rem; }
    .jl-browse-chips a { min-height: 36px; padding-inline: .55rem; font-size: .8125rem; }
    .jl-catalogue-tools .jl-catalogue-filter-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
    .jl-results .jl-grid:not(.jl-discovery-grid), .jl-people .jl-results > .jl-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
    :is(.jl-discovery, .jl-catalogue, .jl-person-works) .jl-card-title .jl-poster { min-height: 0; aspect-ratio: 2 / 3; }
    .jl-discovery .jl-section-title a { white-space: normal; }
}

/* Titles and viewing information */
.jl-title-head { padding-block: clamp(1.35rem, 3vw, 2.6rem); }
.jl-title-grid {
    grid-template-columns: clamp(120px, 16vw, 194px) minmax(0, 1fr) minmax(205px, .48fr);
    grid-template-areas: "poster intro summary" "poster actions summary";
    align-items: start;
    gap: .9rem clamp(.9rem, 2.4vw, 1.75rem);
}
.jl-title-has-video { grid-template-areas: "intro intro intro" "poster video summary" "actions actions actions"; }
.jl-title-intro { grid-area: intro; }
.jl-title-grid h1 { margin: .2rem 0 .55rem; font-size: clamp(2rem, 4.8vw, 4.1rem); }
.jl-title-intro p:not(.jl-label) { font-size: .98rem; line-height: 1.4; }
.jl-title-poster { grid-area: poster; min-width: 0; }
.jl-title-poster .jl-poster { width: 100%; padding: 0; border-radius: 8px; }
.jl-title-poster .jl-poster img { background: #30252a; object-fit: contain; }
.jl-poster-trigger { position: relative; }
.jl-poster-trigger:focus-visible { outline-color: var(--rust); }
.jl-poster-expand {
    position: absolute;
    inset: auto .35rem .35rem auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--shade);
    color: #fffaf0;
}
.jl-poster-expand::before {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 2px;
    content: "";
    clip-path: polygon(0 0, 38% 0, 38% 25%, 62% 25%, 62% 0, 100% 0, 100% 38%, 75% 38%, 75% 62%, 100% 62%, 100% 100%, 62% 100%, 62% 75%, 38% 75%, 38% 100%, 0 100%, 0 62%, 25% 62%, 25% 38%, 0 38%);
}
.jl-poster-trigger:hover .jl-poster-expand { background: var(--rust); }
.jl-poster-dialog {
    width: min(60rem, calc(100% - 1.5rem));
    max-width: none;
    max-height: calc(100% - 1.5rem);
    padding: 0;
    border: 1px solid #8a6870;
    border-radius: 12px;
    background: #24171b;
    color: #fffaf0;
}
.jl-poster-dialog:not([open]) { display: none; }
.jl-poster-dialog::backdrop { background: #140d10d9; }
html:has(.jl-poster-dialog[open]) { overflow: hidden; }
.jl-poster-dialog-content { padding: .55rem clamp(.55rem, 2vw, 1rem) .8rem; }
.jl-poster-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.jl-poster-dialog-bar h2 { margin: 0; font-size: 1.15rem; color: inherit; }
.jl-poster-dialog-bar button {
    min-height: 44px;
    padding: .3rem .75rem;
    border: 1px solid #f3d9b9;
    border-radius: 6px;
    background: #fffaf0;
    color: var(--shade);
    font-weight: 750;
}
.jl-poster-image img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 6.25rem);
    max-height: calc(100dvh - 6.25rem);
    width: auto;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}
.jl-poster-dialog p { margin: .5rem 0; }
.jl-poster-dialog a { color: #f8cea4; }
.jl-title-grid .jl-trailer { grid-area: video; min-width: 0; }
.jl-title-grid .jl-trailer h2 { margin: 0 0 .45rem; font-size: clamp(1.05rem, 2vw, 1.45rem); }
.jl-title-at-a-glance {
    grid-area: summary;
    padding: .85rem;
    border: 1px solid #d9c5bc;
    border-radius: 10px;
    background: #fffdf7;
}
.jl-title-at-a-glance .jl-watch-provider { display: flex; flex-wrap: wrap; gap: .15rem .65rem; align-items: baseline; }
.jl-title-at-a-glance .jl-watch-provider span { font-size: .82rem; }
.jl-title-review-links { margin-top: .5rem; font-size: .875rem; }
.jl-title-secondary { grid-area: actions; font-size: .875rem; }
.jl-title-secondary .jl-title-tools { margin-top: 0; }
.jl-title-credits-link { display: inline-flex; align-items: center; min-height: 44px; }
.jl-title-secondary .jl-share-toggle, .jl-title-secondary .jl-watchlist-button { font-size: .85rem; }
.jl-title-detail { grid-template-areas: "story options"; grid-template-columns: minmax(0, 1fr) minmax(210px, .54fr); }
.jl-title-story { grid-area: story; min-width: 0; }
.jl-title-watch { grid-area: options; min-width: 0; }
.jl-title-detail :is(.jl-watch-panel, .jl-review-panel) h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.jl-title-story > .jl-review-panel { padding: clamp(.85rem, 2vw, 1.4rem); }
.jl-title-story .jl-correction { margin-top: 1.25rem; }
#tempat-menonton, #ulasan, #beri-penilaian, #simpan-tajuk, #treler { scroll-margin-top: 1rem; }

@media (max-width: 740px) {
    .jl-title-grid {
        grid-template-columns: clamp(76px, 22vw, 102px) minmax(0, 1fr);
        grid-template-areas: "poster intro" "summary summary" "actions actions";
        gap: .65rem .85rem;
    }
    .jl-title-has-video { grid-template-areas: "poster intro" "summary summary" "video video" "actions actions"; }
    .jl-title-intro { margin-block: auto; }
    .jl-title-grid h1 { font-size: clamp(1.65rem, 7vw, 2.45rem); }
    .jl-title-at-a-glance p { margin-bottom: .45rem; }
    .jl-title-at-a-glance .jl-filled-action { display: flex; justify-content: center; width: 100%; }
    .jl-title-detail { grid-template-areas: "options" "story"; grid-template-columns: minmax(0, 1fr); }
}

/* Account, profiles and news */
.jl-content h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .65rem; overflow-wrap: anywhere; }
.jl-member-panel, .jl-verification {
    margin-block: 1rem;
    padding: clamp(.8rem, 3vw, 1.3rem);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fffdf7;
    scroll-margin-top: 1rem;
}
.jl-member-panel > :first-child, .jl-verification > :first-child, .jl-watchlist > h2 { margin-top: 0; }
.jl-member-panel > :last-child { margin-bottom: 0; }
.jl-account-nav { margin-bottom: 1rem; }
.jl-watchlist { margin-block: 1rem; border-radius: 10px; }
.jl-watchlist-items li { padding-block: .75rem; }
.jl-watchlist-items .jl-watchlist-button { font-size: .875rem; }
.jl-person-head { padding-block: clamp(1.2rem, 3.5vw, 2.25rem); }
.jl-person-works { margin-top: clamp(1.125rem, 3vw, 2rem); }
.jl-person-bio { margin-top: .6rem; }
.jl-upcoming-group { margin-top: 1rem; }
.jl-upcoming-group h2 { margin-bottom: .65rem; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.jl-news-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.jl-news-card { padding: .95rem; border: 1px solid var(--line); border-radius: 10px; }
.jl-news-card h3 { margin-top: .3rem; }
.jl-news-card p { margin: .45rem 0 0; font-size: .9rem; }
.jl-news-lead { grid-column: 1 / -1; }
.jl-news-lead h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
.jl-news-cover img, img.jl-news-cover { width: 100%; height: auto; border-radius: 8px; }
.jl-news-article > .wp-block-post-date { color: var(--quiet); margin-bottom: 1rem; }
.jl-news-article > .wp-block-post-content { font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.75; }
.jl-archive-list > li { border-bottom: 1px solid var(--line); padding-block: .8rem 1.1rem; }
.jl-archive-list .wp-block-post-title { margin-block: .25rem; }
.jl-footer-inner nav { flex-wrap: wrap; }

/* Search suggestions and catalogue controls */
.jl-suggestion-root { position: relative; }
.jl-header-search { position: relative; z-index: 4; }
.jl-suggestion-panel {
    position: absolute;
    z-index: 5;
    inset: calc(100% + 4px) 0 auto;
    max-height: min(320px, 45vh);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fffdf7;
    color: var(--ink);
    box-shadow: 0 10px 24px #39202726;
}
.jl-match-field .jl-suggestion-panel { position: static; margin-top: .35rem; box-shadow: none; }
.jl-suggestion-panel > .jl-suggestion-heading {
    margin: 0;
    padding: .55rem .75rem .3rem;
    color: var(--teal);
    font-size: .82rem;
    font-weight: 750;
}
.jl-suggestion-panel ul { margin: 0; padding: 0; list-style: none; }
.jl-suggestion-panel a {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 48px;
    padding: .4rem .75rem;
    border-top: 1px solid var(--line);
    color: var(--ink);
    line-height: 1.28;
    text-decoration: none;
}
.jl-suggestion-panel a:is(:hover, [aria-selected="true"]) { background: #e6eee5; color: var(--teal); }
.jl-suggestion-panel small { display: block; color: var(--quiet); margin-top: .15rem; overflow-wrap: anywhere; }
.jl-suggestion-panel strong { overflow-wrap: anywhere; }
.jl-suggestion-panel img { width: 32px; height: 43px; flex: none; border-radius: 3px; object-fit: cover; }
.jl-search-scopes { margin-bottom: .35rem; }
.jl-home-watch-options { margin: 0 0 .75rem; }
.jl-results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; margin-bottom: .65rem; }
.jl-results-heading > h2 { margin: 0; }
.jl-sort-form { display: flex; align-items: end; flex-wrap: wrap; gap: .35rem; font-size: .875rem; }
.jl-sort-form label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-weight: 700; }
.jl-sort-form :is(select, button) { min-height: 40px; padding: .3rem .5rem; border: 1px solid #a4bbb1; border-radius: 6px; background: #fffdf7; color: var(--ink); }
.jl-sort-form button { background: #e6eee5; color: var(--teal); font-weight: 700; }
.jl-watchlist-sort { margin-top: .6rem; }
.jl-watchlist-items li {
    display: grid;
    grid-template-columns: clamp(50px, 15vw, 76px) minmax(0, 1fr);
    align-items: start;
    gap: .7rem;
}
.jl-watchlist-items .jl-watchlist-art { padding: 0; border-radius: 6px; }
.jl-watchlist-items .jl-watchlist-art img { object-fit: contain; background: var(--shade); }
.jl-news-related ul { margin: .45rem 0; padding-inline-start: 1.25rem; }
