/* ============================================================
   返回首页按钮（浮动在左下角）
   ============================================================ */
.nav-back-home {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px 14px 6px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    user-select: none;
    -webkit-user-select: none;
    opacity: 0.35;
    transition: opacity 0.3s ease, background 0.2s ease;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.nav-back-home:hover {
    opacity: 1;
    background: rgba(50, 50, 50, 0.95);
}
.nav-back-home svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   页面缩放控制器（浮动在右下角）
   ============================================================ */
.zoom-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    user-select: none;
    -webkit-user-select: none;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.zoom-controls:hover {
    opacity: 1;
}

.zoom-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
    line-height: 1;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.zoom-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

.zoom-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zoom-percent {
    min-width: 50px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 0 4px;
    line-height: 1;
}

.zoom-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 2px;
}
