body {
    min-height: 100vh;
    /* 保证至少撑满视口 */
    background-color: #0f1217;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #eef2ff;
    line-height: 1.5;
    padding: 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.air-1 {
    margin-top: 1rem;
}

#version{
    margin-left: 0px;
}

/* ----- 顶部栏 (全局) ----- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #1a1e26;
    border-radius: 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #2c2f3a;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #11161f;
    padding: 0.4rem 1rem 0.4rem 0.8rem;
    border-radius: 2rem;
    border: 1px solid #2f3542;
}

.avatar {
    width: 32px;
    height: 32px;
    background: #2c4f6e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    background: linear-gradient(145deg, #3e6a8c, #1f3e58);
}

.user-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: #e0edff;
}


/* 底部样式 — 很小一块，低调融入深色主题 */
.tech-thanks {
    margin-top: 3rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid #1d2029;
    background: rgba(18, 22, 30, 0.6);
    backdrop-filter: blur(2px);
    border-radius: 1rem;
    font-size: 0.7rem;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.thanks-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    row-gap: 0.4rem;
}

.thanks-label {
    color: #8aa9cc;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-size: 0.8rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}


.tech-tag-link {
    background: #1a212c;
    color: #b9d0f0;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-family: monospace;
    transition: all 0.1s;
    border: 1px solid #2e3a48;
    text-decoration: none;
}

.tech-tag-link:hover {
    background: #2c3f54;
    color: white;
    border-color: #6082a8;
}

.tech-tag {
    background: #1a212c;
    color: #b9d0f0;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-family: monospace;
    transition: all 0.1s;
    border: 1px solid #2e3a48;
}

.tech-tag:hover {
    background: #2c3f54;
    color: white;
    border-color: #6082a8;
}

.copyright-note {
    color: #5f7896;
    font-size: 0.65rem;
    margin-left: 0.5rem;
    letter-spacing: 0.2px;
    margin-top: 0.5rem;
}

/* 窄屏幕适配：换行不拥挤 */
@media (max-width: 600px) {
    .thanks-inner {
        flex-direction: column;
        gap: 0.4rem;
    }

    .tech-thanks {
        padding: 0.8rem 0.5rem;
    }
}

/* 通知弹窗样式 */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 360px;
    background: #1e2a36;
    border-left: 4px solid;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    transition: opacity 0.3s, transform 0.3s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 不同类型的左边框颜色 */
.notification-toast.success {
    border-left-color: #4caf50;
}

.notification-toast.error {
    border-left-color: #e2584b;
}

.notification-toast.warning {
    border-left-color: #ff9800;
}

.notification-toast.info {
    border-left-color: #2196f3;
}

.toast-icon {
    font-size: 24px;
    line-height: 1;
}

.success .toast-icon::before {
    content: "✓";
}

.error .toast-icon::before {
    content: "✗";
}

.warning .toast-icon::before {
    content: "⚠";
}

.info .toast-icon::before {
    content: "ℹ";
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #eef2ff;
}

.toast-message {
    font-size: 0.85rem;
    color: #cbd5e6;
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: #8aa9cc;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: white;
}

/* 模态对话框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container {
    background: #1a1e2a;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid #2f3545;
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2a2f3c;
}

.modal-header h3 {
    color: #eef2ff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #8aa9cc;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #e2584b;
}

.modal-body {
    padding: 1.5rem;
    color: #cbd5e6;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #2a2f3c;
}

.modal-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.85rem;
}

.modal-cancel {
    background: #2c3e50;
    color: #e0edff;
}

.modal-cancel:hover {
    background: #3e5a70;
}

.modal-confirm {
    background: #2c4f6e;
    color: white;
}

.modal-confirm:hover {
    background: #3e6a8c;
    transform: translateY(-1px);
}