/* --- 萌新资源站防丢失弹窗样式 (前缀 mxx-) --- */
.mxx-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9), rgba(0, 0, 0, 0.8));
    z-index: 9999!important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mxx-overlay.mxx-active {
    opacity: 1;
    visibility: visible;
}

.mxx-modal {
    background: #131a2e;
    border: 1px solid #2c4a6a;
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.mxx-overlay.mxx-active .mxx-modal {
    transform: scale(1);
}

.mxx-close {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 20px;
    color: #4a90e2;
    cursor: pointer;
    transition: color 0.2s;
}
.mxx-close:hover { color: #fff; }

.mxx-title {
    font-size: 1.3rem;
    color: #00d4ff;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mxx-desc {
    color: #a0d0ff;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* PC端按键样式 */
.mxx-key-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.mxx-key {
    background: #1e3a5f;
    border: 1px solid #4a90e2;
    padding: 8px 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 2px 0 #0d2a4d;
}
.mxx-plus { color: #4a90e2; font-weight: bold; }

/* 移动端二维码容器 */
.mxx-qr-box {
    width: 180px;
    height: 180px;
    margin: 20px auto;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    border: 1px dashed #4a90e2;
}
.mxx-qr-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 按钮样式 */
.mxx-btn-home {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00d4ff, #4a90e2);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    margin-top: 10px;
}

.mxx-btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.mxx-btn-close {
    background: transparent;
    border: 1px solid #4a90e2;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
}




/* 下载按钮容器：独立占位+间距 */
.mxx-download-wrapper {
    margin-top: 15px;
    text-align: center; /* 文字居中更协调 */
   
  }
  
  /* 下载按钮样式：渐变背景+图标+悬停效果 */
  .mxx-btn-download {
    width: 100%;
    padding: 14px 20px;
    border-radius: 25px;
    background: linear-gradient(90deg, #00C6FF, #0072FF); /* 蓝紫渐变，比首页按钮更醒目 */
    color: white;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* 图标与文字间距 */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3); /* 悬浮阴影增强质感 */
    border: none;
  }
  
  .mxx-btn-download:hover {
    transform: translateY(-2px); /* 悬停上移，强化交互感 */
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.5);
  }
  
  /* 下载提示信息：小字号+浅灰，不抢主视觉 */
  .mxx-download-tip {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 6px;
  }
  
  .mxx-icon-download {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    vertical-align: text-bottom; /* 微调对齐 */
  
    /* 下面是一个白色的下载图标 Base64 编码 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 16L7 11H10V4H14V11H17L12 16Z'/%3E%3Cpath d='M20 18H4V16H20V18Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  