/* 帮助浮层容器 - 修改为半透明浅色底，更符合 Scratch 原生感 */
.help-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    /* 将深色暗影改为透明的灰白色，模拟原生弹窗的聚焦感 */
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(4px); 
    display: none; justify-content: center; align-items: center; 
    z-index: 9999;
}

.help-card {
    width: 90vw;
    max-width: 1000px;
    height: 85vh;
    background: #ffffff;
    
    /* 1. 整体外框 */
    border: 1px solid #c0c0c0; 
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 保证标题条能完美贴合圆角 */
}

/* 2. 新增：顶部标题条 (模仿窗口标题栏) */
.help-card-header {
    height: 40px;
    background: #4c97ff; /* 使用 Scratch 蓝，与内部标题呼应 */
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    /* 给顶部一点点微小的阴影区分 */
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.close-btn { 
    position: absolute; top: 15px; right: 20px; cursor: pointer; 
    /* 使用深灰色文字，更和谐 */
    color: #575757; 
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
}


    /* 统一的导航按钮类 */ 
  
    /* 通用基础类 */
    .nav-btn {
        position: fixed;
        top: 8px;
        height: 32px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        border-radius: 6px;
        cursor: pointer;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 12px;
        font-weight: bold;
        z-index: 999999;
        transition: background 0.2s;
        color: white; /* 统一使用白色文字，在彩色底色上最清晰 */
    }

    /* 倒计时专用 (蓝色底) */
    .btn-timer { background: #4c97ff; }

    /* 辅助功能 (蓝色底，与倒计时保持一致) */
    .btn-blue { background: #4c97ff; }
    .btn-blue:hover { background: #3373cc; }

    /* 核心操作 (红色底) */
    .btn-red { background: #ff6666; }
    .btn-red:hover { background: #ff4c4c; }


