/* common.css - 手机版公共样式 */
/* 版本号 v1.0 */

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #161b22;
    border-top: 1px solid #30363d;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    text-decoration: none;
    color: #8b949e;
    font-size: 11px;
}
.nav-item.active { color: #58a6ff; }
.nav-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Toast */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    display: none;
}
.toast.show { display: block; }