/* 全站统一底部导航 */
.app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #eef1f6;
    box-shadow: 0 -8px 24px rgba(20, 40, 80, .06);
    backdrop-filter: blur(12px);
}
.app-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    color: #9aa3b2;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
}
.app-nav .nav-ico {
    width: 44px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.app-nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.app-nav a:active .nav-ico { transform: scale(.92); }
.app-nav a.active { color: #2f8ff0; font-weight: 600; }
.app-nav a.active .nav-ico { background: #eaf2ff; }
@media (max-width: 360px) {
    .app-nav { padding-left: 3px; padding-right: 3px; }
    .app-nav a { font-size: 10.5px; }
    .app-nav .nav-ico { width: 40px; height: 30px; }
    .app-nav svg { width: 22px; height: 22px; }
}
