.guide-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.guide-modal-content {
    position: relative !important;
    width: 100%;
    max-width: 420px;
    background: #121212;
    border-radius: 14px;
    padding: 24px 18px 20px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.guide-close-btn-new {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: rgba(255,255,255,0.65) !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    -webkit-tap-highlight-color: transparent;
}

.guide-close-btn-new:hover {
    color: rgba(255,255,255,0.9) !important;
}

.guide-close-btn-new:active {
    transform: scale(0.92);
    opacity: 0.6;
}

.guide-header {
    text-align: center;
    margin-bottom: 18px;
    padding: 0 30px;
}

.guide-header h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
}

.guide-subtitle {
    font-size: 14px;
    color: #8C8C8C;
}

.guide-step {
    display: flex;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    background: #1A1A1A;
    border-radius: 10px;
}

.step-number {
    min-width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: #2A2A2A;
    border-radius: 6px;
    font-size: 14px;
}

.step-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.step-text p {
    font-size: 14px;
    color: #8C8C8C;
    margin: 0;
}

.dual-btns {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.guide-btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* 左侧注册按钮始终白色 */
.register-btn {
    background: #fff;
    color: #2A2A2A;
}

/* 右侧继续下载按钮：默认禁用态 */
#guideContinueBtn {
    background: #2A2A2A;
    color: #666;
    pointer-events: none;
}

/* 倒计时结束后的启用态 */
#guideContinueBtn.active {
    background: #fff;
    color: #2A2A2A;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .guide-modal-content {
        padding: 22px 16px 18px;
    }

    .guide-close-btn-new {
        top: 8px !important;
        right: 8px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
    }

    .guide-header {
        padding: 0 36px;
    }

    .guide-header h2 {
        font-size: 18px;
    }

    .guide-subtitle {
        font-size: 14px;
    }
}

