/* v2.9.20.286 — SVG navigation and compact avatar, retaining existing SeansMatch hamburger. */
.cmh-header-ux-ready .cmh-ux-nav-link{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;vertical-align:middle;white-space:nowrap;touch-action:manipulation}
.cmh-header-ux-ready .cmh-ux-nav-svg{display:block;flex:0 0 15px;width:15px;height:15px;color:#ff7b9b;pointer-events:none;vertical-align:middle}
.cmh-header-ux-ready .cmh-ux-nav-link:hover .cmh-ux-nav-svg,.cmh-header-ux-ready .cmh-ux-nav-link:focus-visible .cmh-ux-nav-svg{color:#fff}
.cmh-ux-avatar-trigger{display:inline-flex;position:relative;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:3px;border:2px solid rgba(255,107,150,.62);border-radius:50%;background:#24232e;color:#fff;cursor:pointer;box-shadow:0 0 0 2px rgba(255,49,95,.08);touch-action:manipulation;transition:border-color .15s,background .15s,box-shadow .15s}
.cmh-ux-avatar-trigger>svg{width:25px;height:25px;flex:none}
.cmh-ux-avatar-trigger>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center;background:#24232e}
.cmh-ux-avatar-trigger:hover,.cmh-ux-avatar-trigger[aria-expanded="true"]{background:#302434;border-color:#ff315f;box-shadow:0 0 0 3px rgba(255,49,95,.18)}
.cmh-ux-avatar-trigger:focus-visible,.cmh-header-ux-ready .cmh-ux-nav-link:focus-visible{outline:3px solid #ffc4d4!important;outline-offset:3px}
.cmh-ux-avatar-dot{position:absolute;right:0;bottom:0;width:10px;height:10px;border:2px solid #0a0b13;border-radius:50%;background:#ff315f}
/* Hide only the old links once the new interactive avatar exists. JS disabled => original links stay. */
html body .cmh-unified-header.cmh-header-ux-ready .cmh-unified-actions>.cmh-unified-login,
html body .cmh-unified-header.cmh-header-ux-ready .cmh-unified-actions>.cmh-unified-register,
html body .cinematch-header.cmh-header-ux-ready .cmh-home-topactions>.cmh-home-login,
html body .cinematch-header.cmh-header-ux-ready .cmh-home-topactions>.cmh-home-register{display:none!important}
/* Desktop homepage: preserve search, eight sections and separate avatar. */
@media(min-width:861px){
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready{grid-template-columns:auto minmax(0,1fr) auto 44px!important;gap:clamp(8px,1vw,18px)!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-topnav{grid-column:2!important;justify-self:center;gap:clamp(5px,.55vw,10px)!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready .cmh-home-topnav>a{font-size:clamp(11px,.85vw,14px)!important;letter-spacing:-.015em!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-topactions{grid-column:3!important;min-width:0!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-ux-avatar-trigger{grid-column:4!important;grid-row:1!important;justify-self:end;align-self:center;z-index:20}
 html body:not(.cmh-home-wp-page) .cmh-unified-header.cmh-header-ux-ready>.cmh-unified-topnav{gap:clamp(5px,.7vw,12px)!important;overflow:visible!important}
 html body:not(.cmh-home-wp-page) .cmh-unified-header.cmh-header-ux-ready>.cmh-unified-topnav>a{font-size:clamp(11px,.84vw,14px)!important}
 html body:not(.cmh-home-wp-page) .cmh-unified-header.cmh-header-ux-ready>.cmh-ux-avatar-trigger{grid-column:4/6!important;grid-row:1!important;justify-self:end!important;align-self:center!important;z-index:20}
}
/* Mobile: do NOT replace or remove the site's original hamburger. */
@media(max-width:860px){
 html body .cmh-app-header.cmh-unified-header.cmh-header-ux-ready{grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:0 8px!important}
 html body .cmh-unified-header.cmh-header-ux-ready>.cmh-app-logo{grid-column:1!important;grid-row:1!important}
 html body .cmh-unified-header.cmh-header-ux-ready>.cmh-ux-avatar-trigger{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;z-index:100505!important}
 html body .cmh-unified-header.cmh-header-ux-ready>.cmh-mobile-menu-toggle{grid-column:3!important;grid-row:1!important;z-index:100505!important}
 html body .cmh-unified-header.cmh-header-ux-ready>.cmh-mobile-menu:not([hidden]){grid-column:1/-1!important;grid-row:2!important}
 html body .cmh-header-ux-ready .cmh-ux-nav-link{min-height:46px!important;padding:10px 8px!important;font-size:13px!important;gap:7px!important}
 html body .cmh-header-ux-ready .cmh-ux-nav-svg{width:17px;height:17px;flex-basis:17px}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready{grid-template-columns:auto minmax(0,1fr) 44px 44px!important;grid-template-rows:auto auto!important;gap:0 7px!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-app-logo{grid-column:1!important;grid-row:1!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-topactions{grid-column:2!important;grid-row:1!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-ux-avatar-trigger{grid-column:3!important;grid-row:1!important;justify-self:end!important;z-index:100505!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-mobile-menu-toggle{grid-column:4!important;grid-row:1!important;z-index:100505!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-mobile-menu:not([hidden]){grid-column:1/-1!important;grid-row:2!important}
 html body .cmh-header-ux-ready .cmh-mobile-menu-nav,html body.cmh-home-wp-page .cmh-header-ux-ready .cmh-home-mobile-menu-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 html body .cmh-header-ux-ready .cmh-mobile-menu-nav a,html body.cmh-home-wp-page .cmh-header-ux-ready .cmh-home-mobile-menu-nav a{display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;min-height:46px!important;gap:7px!important}
 /* Account is accessible from the avatar at all sizes; don't duplicate auth links inside the hamburger. */
 html body .cmh-unified-header.cmh-header-ux-ready .cmh-mobile-menu-account,
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready .cmh-home-mobile-menu-account{display:none!important}
}
/* On narrow phones, show the entire film search on a second row rather than squeeze it. */
@media(max-width:480px){
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready{grid-template-columns:minmax(0,1fr) 44px 44px!important;grid-template-rows:auto auto auto!important;gap:5px 7px!important;padding-bottom:10px!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-app-logo{grid-column:1!important;grid-row:1!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-ux-avatar-trigger{grid-column:2!important;grid-row:1!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-mobile-menu-toggle{grid-column:3!important;grid-row:1!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-topactions{grid-column:1/-1!important;grid-row:2!important;max-width:100%!important}
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-home-mobile-menu:not([hidden]){grid-column:1/-1!important;grid-row:3!important}
}
/* Account menu is portaled as one footer element; place relative to the avatar using JS. */
#cmh-avatar-menu[hidden],#cmh-avatar-auth[hidden],#cmh-avatar-auth .cmh-avatar-auth-panel[hidden]{display:none!important}
#cmh-avatar-menu.cmh-avatar-menu{position:fixed;z-index:2147481000;width:min(285px,calc(100vw - 24px));overflow-y:auto;padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#151722;color:#fff;box-shadow:0 24px 50px rgba(0,0,0,.55)}
#cmh-avatar-menu a{display:flex;flex-direction:column;gap:3px;padding:11px 12px;border-radius:10px;color:#f9f9fb!important;font:700 14px/1.3 system-ui,sans-serif;text-decoration:none!important;touch-action:manipulation}
#cmh-avatar-menu a small{font-size:12px;color:#a4adbe}
#cmh-avatar-menu a:hover,#cmh-avatar-menu a:focus-visible{background:#302330;color:#fff!important;outline:none}
#cmh-avatar-menu .cmh-avatar-menu-logout{border-top:1px solid #44404b;color:#ff93ae!important;margin-top:5px;padding-top:14px}
body.cmh-avatar-modal-open{overflow:hidden!important}
#cmh-avatar-auth{position:fixed!important;inset:0!important;z-index:2147481001!important;display:grid;place-items:center;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box}
#cmh-avatar-auth .cmh-avatar-auth-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.75);backdrop-filter:blur(5px)}
#cmh-avatar-auth .cmh-avatar-auth-dialog{position:relative;box-sizing:border-box;width:min(490px,100%);max-height:min(94dvh,820px);overflow-y:auto;overscroll-behavior:contain;padding:25px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:#161923;color:#f7f8fb;box-shadow:0 30px 80px rgba(0,0,0,.6);font:14px/1.5 system-ui,sans-serif}
#cmh-avatar-auth .cmh-avatar-auth-top{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:16px}
#cmh-avatar-auth .cmh-avatar-auth-top small{color:#ff9db7;font-size:11px;font-weight:850;letter-spacing:.12em}
#cmh-avatar-auth .cmh-avatar-auth-top h2{font:800 25px/1.2 system-ui,sans-serif!important;color:#fff!important;margin:6px 0 0!important}
#cmh-avatar-auth .cmh-avatar-auth-close{width:44px;height:44px;min-height:44px;border:1px solid #444a5c;border-radius:12px;background:#222634;color:#fff;font-size:30px;line-height:1;cursor:pointer}
#cmh-avatar-auth .cmh-avatar-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:17px;padding:4px;border-radius:12px;background:#252936}
#cmh-avatar-auth .cmh-avatar-auth-tabs button{min-height:44px;border:0;border-radius:9px;background:transparent;color:#d4d5de;font:800 14px system-ui,sans-serif;cursor:pointer}
#cmh-avatar-auth .cmh-avatar-auth-tabs button[aria-selected="true"]{background:#ff315f;color:#fff;box-shadow:0 4px 15px #0005}
#cmh-avatar-auth .cmh-avatar-auth-description{margin:0 0 14px;color:#bec2d0}
#cmh-avatar-auth .cmh-avatar-auth-form{display:grid;grid-template-columns:1fr;gap:12px}
#cmh-avatar-auth .cmh-avatar-auth-form label{display:flex;flex-direction:column;gap:5px;color:#e0e2ed;font-size:13px;font-weight:750;min-width:0}
#cmh-avatar-auth .cmh-avatar-auth-form input:not([type="checkbox"]):not([type="file"]),#cmh-avatar-auth .cmh-avatar-auth-form select,#cmh-avatar-auth .cmh-avatar-auth-form textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 11px;border:1px solid #4b5061;border-radius:10px;background:#0e111b;color:#fff;font:400 16px/1.3 system-ui,sans-serif}
#cmh-avatar-auth .cmh-avatar-auth-form textarea{min-height:66px;resize:vertical}
#cmh-avatar-auth .cmh-avatar-auth-form input[type="file"]{max-width:100%;font-size:13px}
#cmh-avatar-auth .cmh-avatar-auth-form input:focus-visible,#cmh-avatar-auth .cmh-avatar-auth-form select:focus-visible,#cmh-avatar-auth .cmh-avatar-auth-form textarea:focus-visible,#cmh-avatar-auth .cmh-avatar-auth-close:focus-visible,#cmh-avatar-auth .cmh-avatar-auth-tabs button:focus-visible,#cmh-avatar-auth a:focus-visible{outline:3px solid #ff9fbd;outline-offset:2px}
#cmh-avatar-auth .cmh-avatar-auth-form .cmh-avatar-auth-check{flex-direction:row;align-items:center;gap:8px;font-size:13px;line-height:1.45}
#cmh-avatar-auth .cmh-avatar-auth-check input{width:18px;height:18px;accent-color:#ff315f;flex:0 0 18px}
#cmh-avatar-auth .cmh-avatar-auth-primary{min-height:46px;padding:9px 18px;border:0;border-radius:12px;background:#ff315f;color:#fff;font:800 15px system-ui,sans-serif;cursor:pointer}
#cmh-avatar-auth .cmh-avatar-auth-primary:hover{background:#ff527b}
#cmh-avatar-auth .cmh-avatar-auth-alternative{font-size:13px;color:#c1c4d0;margin:12px 0 0}
#cmh-avatar-auth a{color:#ff9ab3;text-decoration:underline;text-underline-offset:2px}
@media(max-width:480px){#cmh-avatar-auth .cmh-avatar-auth-dialog{padding:18px 15px;max-height:calc(100dvh - 24px);border-radius:16px}#cmh-avatar-auth .cmh-avatar-auth-top h2{font-size:22px!important}}

/* 286: grid integration with pre-existing 1250px collapsing rule. */
@media(min-width:861px){
 html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header.cmh-header-ux-ready:not(.cmh-nav-collapsed){
   grid-template-columns:auto minmax(0,1fr) auto 44px!important;grid-template-rows:auto!important;column-gap:clamp(8px,1vw,16px)!important;
 }
 html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header.cmh-header-ux-ready:not(.cmh-nav-collapsed)>.cmh-app-logo{grid-area:1 / 1!important}
 html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header.cmh-header-ux-ready:not(.cmh-nav-collapsed)>.cmh-unified-topnav{grid-area:1 / 2!important;padding-right:0!important}
 html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header.cmh-header-ux-ready:not(.cmh-nav-collapsed)>.cmh-unified-actions{grid-area:1 / 3!important;display:flex!important;width:auto!important}
 html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header.cmh-header-ux-ready:not(.cmh-nav-collapsed)>.cmh-ux-avatar-trigger{grid-area:1 / 4!important;justify-self:end!important}
 html body .cmh-app-header.cmh-unified-header.cmh-nav-collapsed.cmh-header-ux-ready,
 html body.cmh-home-wp-page .cinematch-header.cmh-nav-collapsed.cmh-header-ux-ready{
   grid-template-columns:auto minmax(0,1fr) 44px 44px!important;grid-template-rows:auto!important;gap:9px!important;
 }
 html body .cmh-unified-header.cmh-nav-collapsed.cmh-header-ux-ready>.cmh-unified-actions,
 html body.cmh-home-wp-page .cinematch-header.cmh-nav-collapsed.cmh-header-ux-ready>.cmh-home-topactions{grid-area:1 / 2!important}
 html body .cmh-unified-header.cmh-nav-collapsed.cmh-header-ux-ready>.cmh-ux-avatar-trigger,
 html body.cmh-home-wp-page .cinematch-header.cmh-nav-collapsed.cmh-header-ux-ready>.cmh-ux-avatar-trigger{grid-area:1 / 3!important;z-index:1010!important}
 html body .cmh-unified-header.cmh-nav-collapsed.cmh-header-ux-ready>.cmh-mobile-menu-toggle,
 html body.cmh-home-wp-page .cinematch-header.cmh-nav-collapsed.cmh-header-ux-ready>.cmh-home-mobile-menu-toggle{grid-area:1 / 4!important}
}
@media(max-width:480px){
 html body.cmh-home-wp-page .cinematch-header.cmh-header-ux-ready>.cmh-app-logo{font-size:clamp(21px,6vw,27px)!important;min-width:0!important}
 html body .cmh-unified-header.cmh-header-ux-ready>.cmh-app-logo{font-size:clamp(20px,6vw,25px)!important;min-width:0!important}
}
