@media(max-width:760px){
 body>header:not(.auth-header),.renewal-shell-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px 48px;height:112px!important;padding:0!important;gap:0!important;align-items:stretch;position:sticky;top:0;background:#101012f7!important;border-bottom:1px solid #ffffff10;z-index:60;width:100%}
 body>header>.logo,.renewal-shell-header>.renewal-logo{grid-column:1;grid-row:1;align-self:center;justify-self:start;margin-left:20px;font-size:29px;line-height:1}
 body>header>.tools,.renewal-shell-header>.renewal-tools{grid-column:2;grid-row:1;align-self:center;justify-self:end;margin:0 20px 0 0;gap:17px}
 body>header>.tools .bell{display:none}
 body>header>nav,.renewal-shell-header>nav{grid-column:1/-1;grid-row:2;display:flex;align-items:stretch;flex-wrap:nowrap;gap:25px!important;width:100%;height:48px;max-width:none!important;min-width:0;margin:0;padding:0 20px;background:#151519;border-top:1px solid #ffffff08;overflow-x:auto;overflow-y:clip;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;font-size:12px}
 body>header>nav::-webkit-scrollbar,.renewal-shell-header>nav::-webkit-scrollbar{display:none}
 body>header>nav>a,body>header>nav>button,body>header>nav>span,.renewal-shell-header>nav>a,.renewal-shell-header>nav>details{flex:0 0 auto;position:relative;display:inline-flex;align-items:center;height:48px;min-height:44px;padding:0!important;color:#9696a3!important;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
 body>header>nav>span>button,.renewal-shell-header>nav>details>summary{display:flex;align-items:center;height:48px;font-size:12px;padding:0;border:0;background:none;color:#9696a3}
 body>header>nav>a[aria-current=page],body>header>nav>button[aria-current=page],.renewal-shell-header>nav>a[aria-current=page]{color:#fff!important}
 body>header>nav>a[aria-current=page]:after,body>header>nav>button[aria-current=page]:after,.renewal-shell-header>nav>a[aria-current=page]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#ff3049;border-radius:2px 2px 0 0}
 body>header>nav>span>div:not([hidden]),.renewal-shell-header>nav>.renewal-menu[open]>div{position:fixed!important;top:112px!important;left:0!important;right:0!important;max-height:50dvh;overflow:auto;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0!important;padding:15px 20px!important;border-bottom:1px solid #393941;background:#19191ff7!important;box-shadow:0 16px 30px #0005}
 body>header>nav>span>div>a,.renewal-shell-header>nav>.renewal-menu>div>a{display:block;color:#c7c7d2;font-size:12px;padding:12px;text-decoration:none;border-radius:4px}
 #searchPanel{top:120px;left:20px;right:20px;width:auto}
 .renewal-shell-header>.renewal-search{position:fixed;top:120px;left:20px;right:20px;width:auto}
 body.catalog-list-page #newSection{scroll-margin-top:128px}
}

/* Desktop dropdowns must escape the navigation row instead of being clipped by a horizontal scroller. */
@media(min-width:761px){
 body>header>nav,.renewal-shell-header>nav{overflow:visible!important}
 body>header>nav>span>div,.renewal-shell-header>nav>.renewal-menu>div{border:1px solid #ffffff14;border-radius:8px;box-shadow:0 14px 35px #0006;max-height:70dvh;overflow-y:auto}
 body>header>nav>span>div>a,.renewal-shell-header>nav>.renewal-menu>div>a{display:block;padding:10px 12px;line-height:1.5;border-radius:4px}
 body>header>nav>span>div>a:hover,.renewal-shell-header>nav>.renewal-menu>div>a:hover{background:#ffffff0b;color:#fff}
}

/* Shared dropdown panel: hidden always wins over presentation styles. */
header nav .av-menu{position:relative;display:inline-flex;align-items:center}
header nav .av-menu-panel[hidden]{display:none!important}
header nav .av-menu-panel:not([hidden]){display:flex!important;flex-direction:column;gap:3px;position:absolute;top:calc(100% + 10px);left:0;z-index:90;min-width:230px;max-width:min(320px,90vw);padding:9px!important;border:1px solid #ffffff16;border-radius:12px;background:#1b1b20f5;backdrop-filter:blur(20px);box-shadow:0 18px 48px #0008;max-height:65dvh;overflow:auto}
header nav .av-menu-panel>a{display:flex!important;align-items:center;min-height:43px;padding:11px 13px!important;border-radius:7px;color:#c9c9d1!important;font-size:13px;font-weight:500;line-height:1.6;white-space:normal!important;text-decoration:none;transition:background .15s,color .15s}
header nav .av-menu-panel>a:hover,header nav .av-menu-panel>a:focus-visible{background:#ffffff0a;color:#fff!important}
header nav .av-menu-trigger[aria-expanded=true]{color:#fff!important}
@media(max-width:760px){header nav .av-menu-panel:not([hidden]){position:fixed!important;top:112px!important;left:12px!important;right:12px!important;max-width:none;min-width:0;max-height:55dvh;border-radius:0 0 12px 12px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:12px!important}}

/* iOS WebKit: the open panel lives outside the horizontal touch scroller. */
.av-menu-trigger{touch-action:manipulation}
.av-mobile-panel[hidden]{display:none!important}
.av-mobile-panel:not([hidden]){position:fixed!important;left:12px!important;right:12px!important;z-index:90;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;max-width:none;padding:12px;border:1px solid #ffffff16;border-radius:0 0 12px 12px;background:#1b1b20f5;color:#eee;box-shadow:0 18px 48px #0008;backdrop-filter:blur(20px)}
.av-mobile-panel>a{display:flex;align-items:center;min-height:43px;padding:11px 13px;border-radius:7px;color:#c9c9d1!important;font-size:13px;font-weight:500;line-height:1.6;white-space:normal!important;text-decoration:none;touch-action:manipulation}
.av-mobile-panel>a:active,.av-mobile-panel>a:focus-visible{background:#ffffff0a;color:#fff!important}

/* Mobile glass navigation over the home hero. Keep the existing brand logo. */
@media(min-width:761px){header nav>.mobile-home-link{display:none!important}}
@media(max-width:760px){
 body>header:not(.auth-header),.renewal-shell-header{grid-template-rows:64px 56px;height:120px!important;border-bottom:0;background:#101012f7!important}
 body.hero-header-page:not(.watching)>header{position:absolute;top:0;left:0;background:linear-gradient(180deg,#08090ee8 0%,#08090e9c 65%,transparent 100%)!important}
 body>header>nav,.renewal-shell-header>nav{height:56px;padding:4px 16px 12px;gap:8px!important;background:transparent;border-top:0;align-items:center;scroll-padding-inline:16px}
 body>header>nav>a,body>header>nav>button,body>header>nav>span,.renewal-shell-header>nav>a,.renewal-shell-header>nav>details{height:40px;min-height:40px;padding:0 17px!important;border:1px solid #ffffff40;border-radius:999px;color:#f5f5f7!important;font-size:14px;font-weight:600;background:#10101230;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
 body>header>nav>span>button,.renewal-shell-header>nav>details>summary{height:38px;padding:0;font-size:14px;color:inherit;letter-spacing:-.2px}
 body>header>nav>a[aria-current=page],body>header>nav>button[aria-current=page],.renewal-shell-header>nav>a[aria-current=page]{background:#ff3049;border-color:#ff3049;color:#fff!important}
 body>header>nav>a[aria-current=page]:after,body>header>nav>button[aria-current=page]:after,.renewal-shell-header>nav>a[aria-current=page]:after{display:none}
 body>header>nav>.av-menu:has(>.av-menu-trigger[aria-expanded=true]){border-color:#ffffffa0;background:#ffffff1c}
 body>header>.tools,.renewal-shell-header>.renewal-tools{gap:16px;margin-right:18px}
 body>header .header-login,.renewal-shell-header .renewal-login{height:34px!important;padding:0 13px!important;border:1px solid #ffffff70!important;border-radius:9px!important;background:#ffffff09!important;color:#fff!important;font-size:12px!important}
 body.hero-header-page:not(.watching) .hero{height:clamp(580px,155vw,700px);min-height:580px;padding:170px 6% 88px;align-items:flex-end;background-position:right center}
 body.hero-header-page:not(.watching) .hero:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#08090e45 0%,transparent 35%,#10101220 50%,#101012b0 78%,#101012 100%)}
 body.hero-header-page:not(.watching) .hero-copy{margin:0;max-width:100%;z-index:1}
 body.hero-header-page:not(.watching) .hero h1{font-size:clamp(32px,9vw,48px)!important;line-height:1.25;letter-spacing:-1.8px;margin:16px 0 14px}
 body.hero-header-page:not(.watching) .hero p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:16px 0 22px}
 body.hero-header-page:not(.watching) .hero-bottom{bottom:46px;left:0;right:0;justify-content:center;z-index:1}
 body.hero-header-page:not(.watching) .hero-bottom>span,body.hero-header-page:not(.watching) .hero-bottom .round{display:none}
 .av-mobile-panel:not([hidden]){border-radius:16px;padding:12px;background:#18181ef7;box-shadow:0 22px 60px #0009}
 body.catalog-list-page #newSection{scroll-margin-top:136px}
}

/* Compact pill silhouettes with a 44px touch target. */
@media(max-width:760px){
 body>header:not(.auth-header),.renewal-shell-header{grid-template-rows:64px 48px;height:112px!important}
 body>header>nav,.renewal-shell-header>nav{height:48px;padding:0 16px 4px;gap:6px!important}
 body>header>nav>a,body>header>nav>button,body>header>nav>span,.renewal-shell-header>nav>a,.renewal-shell-header>nav>details{height:44px;min-height:44px;padding:0 12px!important;font-size:12px;border:0!important;background:transparent!important;backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate}
 body>header>nav>a:before,body>header>nav>button:before,body>header>nav>span:before,.renewal-shell-header>nav>a:before,.renewal-shell-header>nav>details:before{content:'';position:absolute;inset:6px 0;z-index:-1;border:1px solid #ffffff38;border-radius:999px;background:#10101230;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none}
 body>header>nav>span>button,.renewal-shell-header>nav>details>summary{height:44px;min-height:44px;font-size:12px;letter-spacing:-.1px}
 body>header>nav>span>button{padding:0 12px;margin:0 -12px}
 body>header>nav>a[aria-current=page]:before,body>header>nav>button[aria-current=page]:before,.renewal-shell-header>nav>a[aria-current=page]:before{background:#ff3049;border-color:#ff3049}
 body>header>nav>.av-menu:has(>.av-menu-trigger[aria-expanded=true]):before{border-color:#ffffff90;background:#ffffff18}
 body.catalog-list-page #newSection{scroll-margin-top:128px}
}
