:root{--mobile-accent:var(--color-primary,#e62323);--mobile-paper:#0b1a33;--mobile-ink:#eef2fa;--mobile-muted:#9fb0cc;--mobile-line:#1f3358;--mobile-soft:#13264a;--mobile-on-accent:#fff;--mobile-error:#ff7a7a;--mobile-accent-soft:#e6232326;--mobile-accent-glow:#e6232359;--mobile-shadow:0 12px 32px #0006;--mobile-inner:inset 0 1px 0 #ffffff12;--mobile-radius:12px;--nh-nav-h:63px}
:root{--mobile-menu-paper:#141417;--mobile-menu-ink:#e8e8ec}
#uc-menu-panel .uc-offcanvas-bar,#uc-menu-panel .uc-offcanvas-header{background:var(--mobile-menu-paper)!important;color:var(--mobile-menu-ink)}
#uc-menu-panel .uc-offcanvas-bar a,#uc-menu-panel .uc-offcanvas-close{color:var(--mobile-menu-ink)!important}
#uc-menu-panel .uc-offcanvas-bar a:hover,#uc-menu-panel .uc-offcanvas-bar a:focus-visible{color:var(--mobile-accent)!important}
#uc-menu-panel .uc-logo img{filter:brightness(0) invert(1)}
.nh-bottom-banner{position:fixed;left:0;right:0;bottom:calc(78px + env(safe-area-inset-bottom,0px));height:64px;z-index:9989;background:var(--mobile-soft);border-top:1px solid var(--mobile-line);display:flex;justify-content:center;align-items:center}
.nh-bottom-banner picture{display:block;width:min(100%,1000px);height:100%}.nh-bottom-banner img{display:block;width:100%;height:100%;object-fit:contain}
body.nh-mobile-menu-visible .nh-bottom-banner img{height:100%}
body.nh-banner-visible{padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))}
@media(orientation:landscape) and (max-height:600px){.nh-bottom-banner{bottom:calc(60px + env(safe-area-inset-bottom,0px));height:44px}body.nh-banner-visible{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}body.nh-banner-visible main.h-full{padding-bottom:118px}}
/* News Hunt app only; retain the footer's privacy and terms links. */
.section:has(#most-read-swiper),.footer-copyright>p,footer>div.container>span{display:none!important}
.nh-mobile-menu{position:fixed;inset:auto 0 0;z-index:9990;display:flex;border-top:1px solid var(--mobile-line);background:var(--mobile-paper);padding:7px 0 calc(7px + env(safe-area-inset-bottom,0px));font-family:var(--font-family-primary,Arial,sans-serif)}
.nh-mobile-menu a{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:48px;text-decoration:none;color:var(--mobile-muted);font-size:12px;letter-spacing:0}
.nh-mobile-menu svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7}
.nh-mobile-menu a[aria-current=page]{color:var(--mobile-accent);font-weight:700}
.nh-mobile-menu a[aria-current=page]::before{content:"";width:22px;height:3px;border-radius:3px;background:var(--mobile-accent)}
.nh-mobile-menu a:focus-visible{outline:2px solid var(--mobile-accent);outline-offset:-3px}
body.nh-mobile-menu-visible{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
body.nh-mobile-menu-visible main.h-full{padding-bottom:85px}
.nh-phone-status{box-sizing:border-box;position:fixed;inset:0 0 auto;z-index:10001;height:calc(34px + env(safe-area-inset-top,0px));padding:calc(7px + env(safe-area-inset-top,0px)) 20px 7px;background:var(--mobile-paper);color:var(--mobile-ink);display:flex;justify-content:space-between;align-items:center;font:700 13px Arial,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.nh-phone-power{display:flex;gap:6px;align-items:center}
.nh-phone-power svg{width:26px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
body.nh-phone-status-visible{padding-top:calc(34px + env(safe-area-inset-top,0px))}
@media(max-width:767px){body.nh-mobile-menu-visible img,body.nh-mobile-menu-visible video{max-width:100%;height:auto}body.nh-mobile-menu-visible main{min-width:0;overflow-wrap:anywhere}}
/* Sideways phone: keep the app bars slim so the page keeps its height. */
@media(orientation:landscape) and (max-height:600px){
:root{--nh-nav-h:45px}
.nh-mobile-menu{padding:3px 0 calc(3px + env(safe-area-inset-bottom,0px))}
.nh-mobile-menu a{min-height:38px;gap:2px;font-size:11px}
.nh-mobile-menu svg{width:17px;height:17px}
body.nh-mobile-menu-visible{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}
body.nh-mobile-menu-visible main.h-full{padding-bottom:66px}
}
body.nh-mobile-menu-visible.nh-banner-visible{padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))}
body.nh-banner-visible summary,body.nh-banner-visible input,body.nh-banner-visible select,body.nh-banner-visible button{scroll-margin-bottom:170px;scroll-margin-top:45px}
@media(orientation:landscape) and (max-height:600px){body.nh-mobile-menu-visible.nh-banner-visible{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}body.nh-banner-visible summary,body.nh-banner-visible input,body.nh-banner-visible select,body.nh-banner-visible button{scroll-margin-bottom:125px}}.nh-mini-player{position:fixed;left:10px;right:10px;bottom:calc(150px + env(safe-area-inset-bottom,0px));z-index:9992;display:flex;align-items:center;gap:10px;background:var(--mobile-paper);border:1px solid var(--mobile-line);border-radius:var(--mobile-radius);padding:8px 12px;font-family:var(--font-family-primary,Arial,sans-serif);box-shadow:var(--mobile-shadow)}
.nh-mini-player button{flex:none;width:38px;height:38px;border-radius:50%;border:0;background:var(--mobile-accent);color:var(--mobile-on-accent);font-size:15px;line-height:1;cursor:pointer}
.nh-mini-player span{font-size:13px;font-weight:700;color:var(--mobile-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.nh-mini-visible.nh-banner-visible{padding-bottom:calc(206px + env(safe-area-inset-bottom,0px))}
@media(orientation:landscape) and (max-height:600px){.nh-mini-player{bottom:calc(112px + env(safe-area-inset-bottom,0px))}body.nh-mini-visible.nh-banner-visible{padding-bottom:calc(168px + env(safe-area-inset-bottom,0px))}}

.nh-side-toggle{position:fixed;z-index:10002;top:calc(38px + env(safe-area-inset-top,0px));right:10px;width:38px;height:34px;border:0;border-radius:8px;background:var(--mobile-ink);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;cursor:pointer}
.nh-side-toggle span{display:block;width:18px;height:2px;background:var(--mobile-paper)}
.nh-side-shade{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .2s}
.nh-side-panel{position:fixed;z-index:10001;top:0;bottom:0;left:0;width:min(78vw,300px);padding:calc(56px + env(safe-area-inset-top,0px)) 0 20px;background:var(--mobile-paper);color:var(--mobile-ink);transform:translateX(-100%);transition:transform .25s;overflow-y:auto;font-family:Arial,system-ui,sans-serif;box-shadow:4px 0 18px rgba(0,0,0,.3)}
.nh-side-panel strong{display:block;padding:0 20px 12px;font-size:18px}
.nh-side-panel a{display:block;padding:14px 20px;color:inherit;text-decoration:none;font-size:16px;border-top:1px solid rgba(127,127,127,.25)}
.nh-side-panel a[aria-current=page]{font-weight:700}
body.nh-side-open .nh-side-panel{transform:none}
body.nh-side-open .nh-side-shade{opacity:1;pointer-events:auto}

.member-signout{display:block;margin:20px 0;padding:12px;border:1px solid var(--mobile-line);border-radius:6px;background:var(--mobile-soft);color:var(--mobile-ink);font:inherit;cursor:pointer}
