/* 暗黑模式规则已迁入 dark-mode-unified.css（原 footer-popups.css） */
/**
 * 底部弹窗样式
 * 包含: 使用说明弹窗（容器 + 内部元素）
 * 更新日期: 2026-01-06
 */

/* ===== 弹窗容器样式 ===== */

/* 使用说明弹窗 */
.help-popup {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 350px;
    z-index: 9999;
}

.help-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== 弹窗通用样式 ===== */
.popup-close-btn-inline {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #999;
    font-size: 18px;
    line-height: 1;
    border: none;
}

.popup-close-btn-inline:hover {
    background: #e0e0e0;
    color: #666;
}

.popup-title-inline {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-arrow-inline {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 13px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

/* ===== 图标样式 ===== */
.help-icon {
    width: 20px;
    height: 20px;
}

/* ===== 使用说明弹窗内部 ===== */
.help-popup-content {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.help-section {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.help-section-title {
    color: #2196f3;
    font-weight: bold;
    margin-bottom: 5px;
}

.help-section-tips {
    padding: 10px;
    background: #e3f2fd;
    border-radius: 8px;
}









/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    /* 隐藏箭头（移动端居中后不需要） */
    .popup-arrow-inline {
        display: none;
    }
    
    /* 使用说明弹窗 - 移动端居中显示 */
    .help-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%) scale(0.95);
        width: 90%;
        max-width: 320px;
        opacity: 0;
        visibility: hidden;
        z-index: 9999;
    }
    
    .help-popup.show {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
}

