/* ============================================================
   float.css — 右侧浮动按钮 + 底部三标签栏
   来源：109014 旧站 z-fex.php 的内联样式
   ============================================================ */

/* ===== 右侧浮动按钮 ===== */
.float-buttons {
    position: fixed !important;
    right: 8px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2147483647 !important;
    pointer-events: auto;
    will-change: transform;
}

.float-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    line-height: 38px;
    text-align: center;
    background: #2ac16b;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    position: relative;
    z-index: 2147483647;
    color: #ffffff;
}

.float-btn:active {
    transform: scale(0.95);
}

/* ===== 底部固定标签栏 ===== */
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .1);
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 2147483647;
}

.bottom-tab-bar a {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

/* 底部栏占位，避免最后一块内容被挡住 */
body {
    padding-bottom: 46px;
}
