/* SP NEWS Android TWA-only mobile navigation. Ordinary browser sessions are unchanged. */
html.spnews-android-app{--spn-app-surface:#fff;--spn-app-ink:#1b2638;--spn-app-border:#e8ecf2;--spn-app-muted:#64748b;--spn-app-red:#ea1010}
html.spnews-android-app[data-spnews-theme="dark"]{--spn-app-surface:#192436;--spn-app-ink:#f0f4fa;--spn-app-border:#364357;--spn-app-muted:#bac6d9}
.spnews-android-nav{display:none}
@media(max-width:900px){
 html.spnews-android-app body{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))!important}
 html.spnews-android-app .spnews-android-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:2147482000;box-sizing:border-box;min-height:calc(70px + env(safe-area-inset-bottom,0px));padding:7px 10px calc(7px + env(safe-area-inset-bottom,0px));background:var(--spn-app-surface);border-top:1px solid var(--spn-app-border);box-shadow:0 -8px 26px rgba(12,22,40,.10);direction:rtl}
 html.spnews-android-app .spnews-android-nav__item{box-sizing:border-box;appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;width:100%;margin:0;padding:4px 2px;border:0;border-radius:12px;background:transparent;color:var(--spn-app-muted);text-decoration:none;font-size:11px;font-weight:600;line-height:1.3;font-family:inherit;cursor:pointer;white-space:nowrap}
 html.spnews-android-app .spnews-android-nav__item svg{height:23px;width:23px;flex:none}
 html.spnews-android-app .spnews-android-nav__item.is-active{color:var(--spn-app-red);background:rgba(234,16,16,.07)}
 html.spnews-android-app .spnews-android-nav__item:focus-visible{outline:2px solid var(--spn-app-red);outline-offset:1px}
 html.spnews-android-app #spnews-notify-launcher{bottom:calc(87px + env(safe-area-inset-bottom,0px))!important}
 /* Keep the existing scroll-to-top button above the app bar, opposite notifications. */
 html.spnews-android-app .spnews-back-to-top{bottom:calc(87px + env(safe-area-inset-bottom,0px))!important;right:14px!important}
 html.spnews-notify-lock.spnews-android-app .spnews-android-nav{visibility:hidden}
}
.spnews-android-search[hidden]{display:none!important}
html.spnews-android-app .spnews-android-search{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:flex-end;justify-content:center;font-family:inherit}
html.spnews-android-app .spnews-android-search__backdrop{position:absolute;inset:0;background:rgba(12,18,27,.65)}
html.spnews-android-app .spnews-android-search__sheet{position:relative;box-sizing:border-box;width:100%;max-width:680px;padding:24px 20px calc(28px + env(safe-area-inset-bottom,0px));background:var(--spn-app-surface);color:var(--spn-app-ink);border-radius:22px 22px 0 0;box-shadow:0 -12px 35px rgba(0,0,0,.2)}
html.spnews-android-app .spnews-android-search__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
html.spnews-android-app .spnews-android-search__heading h2{margin:0;color:inherit;font-size:20px;font-weight:700}
html.spnews-android-app .spnews-android-search__heading .spnews-android-search__close{box-sizing:border-box;appearance:none;display:flex;align-items:center;justify-content:center;flex:0 0 40px;min-width:40px;min-height:40px;width:40px;height:40px;margin:0;padding:0;border:1px solid var(--spn-app-border);border-radius:50%;background:transparent;color:inherit;line-height:0;text-align:center;box-shadow:none;transform:none;cursor:pointer}
html.spnews-android-app .spnews-android-search__heading .spnews-android-search__close svg{display:block;position:static;flex:none;width:18px;height:18px;margin:0;padding:0;transform:none}
html.spnews-android-app .spnews-android-search__heading .spnews-android-search__close:focus-visible{outline:2px solid var(--spn-app-red);outline-offset:3px}
html.spnews-android-app .spnews-android-search label{display:block;margin-bottom:9px;font-size:14px;font-weight:600}
html.spnews-android-app .spnews-android-search__form{display:flex;gap:9px}
html.spnews-android-app .spnews-android-search__form input{min-width:0;flex:1;height:46px;padding:0 12px;border:1px solid var(--spn-app-border);border-radius:10px;background:var(--spn-app-surface);color:var(--spn-app-ink);font:inherit}
html.spnews-android-app .spnews-android-search__form button{min-width:70px;border:0;border-radius:10px;background:var(--spn-app-red);color:#fff;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
html.spnews-android-app.spnews-android-search-open{overflow:hidden}
