/* Shared white/red shell. No competing dark header or overlay rules. */
:root{color-scheme:light;--wpc-bg:#fff;--wpc-surface:#fff;--wpc-soft:#f6f7f9;--wpc-ink:#161b26;--wpc-muted:#606b7b;--wpc-line:#e2e6ed;--header-height:104px}
.wpc-movie-shell{background:#fff;color:var(--wpc-ink)}
.movie-header{position:sticky;top:0;z-index:30;width:100%;background:#fff;border-bottom:1px solid var(--wpc-line);flex:none}
.wpc-header-static .movie-header{position:relative;top:0}
.movie-header__inner{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:var(--header-height);max-width:var(--wpc-site-width,1280px);margin:auto;padding:16px clamp(16px,3vw,40px)}
.movie-header__menu{justify-self:start}.movie-header__actions{justify-self:end;display:flex;align-items:center;gap:8px}
.movie-header__brand,.movie-drawer__logo{color:var(--wpc-ink);font-family:var(--wpc-sans);font-weight:800;letter-spacing:-.04em;line-height:1.25;text-decoration:none;overflow-wrap:anywhere;min-width:0}
.movie-header__brand{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;justify-self:center;font-size:26px;text-align:center;max-width:min(100%,400px)}
.movie-header .custom-logo-link{justify-self:center}.movie-header .custom-logo{max-width:200px;max-height:64px;width:auto}
.movie-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;padding:0;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--wpc-ink);cursor:pointer;text-decoration:none}
.movie-icon-button:hover{background:var(--wpc-soft);border-color:var(--wpc-line)}
.movie-icon-button svg,.movie-search__field>.icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.movie-header :focus-visible,.movie-drawer :focus-visible,.movie-search :focus-visible{outline:2px solid var(--wpc-link);outline-offset:3px}
.movie-menu-backdrop{position:fixed;inset:0;z-index:40;background:rgb(15 23 42 / 40%);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.movie-menu-backdrop.is-open{opacity:1;visibility:visible}
.movie-drawer{position:fixed;inset:0 auto 0 0;z-index:41;display:flex;flex-direction:column;width:min(380px,calc(100vw - 24px));height:100%;height:100dvh;padding:24px;background:#fff;color:var(--wpc-ink);border-right:1px solid var(--wpc-line);box-shadow:12px 0 48px rgb(15 23 42 / 12%);transform:translateX(-105%);visibility:hidden;transition:transform .22s ease,visibility .22s;overflow:hidden}
.movie-drawer.is-open{transform:translateX(0);visibility:visible}
.movie-drawer__top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:24px;border-bottom:1px solid var(--wpc-line)}
.movie-drawer__logo{font-size:23px;max-width:calc(100% - 56px)}
.movie-drawer__nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-top:20px}
.movie-drawer__nav ul,.movie-drawer__nav .nav-list{display:block;list-style:none;padding:0;margin:0}
.movie-drawer__nav li,.movie-drawer__nav .nav-list>li{display:block;position:relative;margin:4px 0}
.movie-drawer__nav a,.movie-drawer__nav .nav-list a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 14px;color:var(--wpc-ink);background:transparent;border:0;border-radius:10px;text-decoration:none;font-size:15px;font-weight:650;overflow-wrap:anywhere}
.movie-drawer__nav a:hover{background:var(--wpc-soft);color:var(--wpc-link)}
.movie-drawer__nav .current-menu-item>a,.movie-drawer__nav .current-menu-ancestor>a{background:#fef2f2;color:var(--wpc-link)}
.movie-drawer__nav .icon{width:20px;height:20px}
.movie-drawer__nav .sub-menu{position:static;display:block;width:auto;margin:4px 0 12px 22px;padding:0 0 0 12px;border:0;border-left:1px solid var(--wpc-line);border-radius:0;box-shadow:none;background:transparent}
.movie-drawer__nav .sub-menu a{font-size:14px;min-height:44px}
.movie-drawer__nav>a{margin-top:20px;border:1px solid var(--wpc-line)}
.movie-drawer__foot{overflow-wrap:anywhere;flex:none;padding-top:16px;margin:16px 0 0;border-top:1px solid var(--wpc-line);font-size:12px;color:var(--wpc-muted)}
.movie-search{width:min(600px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:24px;margin:auto;border:1px solid var(--wpc-line);border-radius:18px;background:#fff;color:var(--wpc-ink);box-shadow:0 24px 80px rgb(15 23 42 / 20%);overflow:auto}
.movie-search::backdrop{background:rgb(15 23 42 / 45%);backdrop-filter:blur(4px)}
.movie-search__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.movie-search__head h2{font:800 21px/1.3 var(--wpc-sans);letter-spacing:-.025em;margin:0}
.movie-search__form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;margin:0}
.movie-search__field{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #b9c1cd;border-radius:10px;min-width:0;color:var(--wpc-muted)}
.movie-search__field:focus-within{border-color:var(--wpc-link);box-shadow:0 0 0 3px #fee2e2}
.movie-search .movie-search__input{flex:1;width:100%;min-width:0;min-height:52px;padding:12px 0;border:0;border-radius:0;background:transparent;color:var(--wpc-ink);font-size:16px;outline:none}
.movie-search__input::placeholder{color:var(--wpc-muted)}
.movie-search__submit{padding:12px 20px;min-height:52px;background:var(--wpc-accent);color:#fff;border:0;border-radius:10px;font-weight:750;cursor:pointer}
.movie-search__submit:hover{background:var(--wpc-accent);filter:brightness(.92)}
.movie-search__hint{font-size:13px;color:var(--wpc-muted);margin:14px 0 0}
html{scrollbar-gutter:stable}.movie-ui-open{overflow:hidden}
.movie-noscript{background:#fff;padding:16px}.movie-noscript ul{list-style:none}.movie-noscript a{display:inline-block;padding:8px}
.site-footer{background:#fff;color:var(--wpc-ink);border-top:1px solid var(--wpc-line)}
.site-footer .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;padding-block:24px;border:0}
.site-footer .wpc-footer-bottom-menu{display:flex;flex-wrap:wrap;gap:4px 20px;margin:0;padding:0;list-style:none}
.site-footer .wpc-footer-bottom-menu a{display:flex;align-items:center;min-height:44px;color:var(--wpc-muted);font-size:13px;text-decoration:none}
.site-footer .wpc-footer-bottom-menu a:hover{color:var(--wpc-link)}
.wpc-footer-copyright{font-size:13px;color:var(--wpc-muted)}
.admin-bar:not(.wpc-header-static) .movie-header{top:32px}.admin-bar .movie-drawer{top:32px;height:calc(100dvh - 32px)}
@media(max-width:1023px){html{scrollbar-gutter:auto}}
@media(max-width:782px){.admin-bar:not(.wpc-header-static) .movie-header{top:46px}.admin-bar .movie-drawer{top:46px;height:calc(100dvh - 46px)}}
@media(max-width:600px){:root{--header-height:88px}.movie-header__inner{grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:16px 12px}.movie-header__brand{font-size:clamp(14px,4.8vw,22px)}.movie-header__actions{gap:2px}.movie-header .custom-logo{max-width:100%;max-height:52px}.movie-drawer{padding:20px}.movie-drawer__logo{font-size:21px}.movie-search{padding:20px}.movie-search__form{grid-template-columns:minmax(0,1fr)}.movie-search__head{margin-bottom:16px}.site-footer .footer-bottom{align-items:flex-start;flex-direction:column;gap:8px}.site-footer .wpc-footer-bottom-menu{gap:0 16px}.admin-bar:not(.wpc-header-static) .movie-header{position:relative;top:0}}
@media(prefers-reduced-motion:reduce){.movie-drawer,.movie-menu-backdrop{transition:none}}
