/* Shared by the study theme and standalone service/video pages. */
.sp-mobile-nav {
    box-sizing:border-box; position:fixed; z-index:1020; bottom:0; left:50%; transform:translateX(-50%);
    display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); width:100%; max-width:480px;
    min-height:calc(61px + env(safe-area-inset-bottom)); padding:0 4px env(safe-area-inset-bottom);
    background:#fcfdff; border-top:1px solid #e7ecf3; box-shadow:0 -2px 12px #263b6410;
    font-family:var(--study-font,system-ui,-apple-system,"Microsoft YaHei",sans-serif); line-height:1.4;
}
.sp-mobile-nav > a,.sp-mobile-nav > .sp-nav-unavailable {
    display:flex; min-width:0; min-height:60px; flex-direction:column; align-items:center; justify-content:center;
    gap:3px; padding:6px 0; color:#929db5; font-size:11px; font-weight:500; text-decoration:none; white-space:nowrap;
}
.sp-mobile-nav svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.sp-mobile-nav i { font-size:23px; line-height:26px; }
.sp-mobile-nav > a[aria-current="page"] { color:var(--study-primary,#087bff); font-weight:700; }
.sp-mobile-nav > a:focus-visible { outline:2px solid var(--study-primary,#087bff); outline-offset:-3px; border-radius:8px; }
.sp-mobile-nav > .sp-nav-unavailable { opacity:.55; }
@media(max-width:340px) { .sp-mobile-nav > a,.sp-mobile-nav > .sp-nav-unavailable { font-size:10px; } }
