/* 活动状态弹窗 — 与活动规则/兑换规则弹窗统一 */
.status-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.status-modal-dialog {
    width: 100%;
    max-width: 600px;
    margin: 1.75rem auto;
}

.status-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.status-modal-header {
    background: linear-gradient(135deg, rgba(16, 154, 241, 0.05), rgba(34, 212, 206, 0.05));
    border-bottom: 1px solid rgba(16, 154, 241, 0.1);
    padding: 1rem 1.25rem;
}

.status-modal-title {
    margin: 0;
    color: #109af1;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.status-modal-body {
    padding: 1.35rem 1.25rem 0.75rem;
    text-align: center;
}

.status-modal-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.status-modal-icon.not-started { color: #f5a623; }
.status-modal-icon.ended { color: #7a96ad; }
.status-modal-icon.maintenance { color: #dc3545; }

.status-modal-message {
    margin: 0;
    color: #1a3a5c;
    font-size: 0.92rem;
    line-height: 1.75;
}

.status-modal-footer {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    justify-content: center;
}

.status-modal-btn {
    border: none;
    border-radius: 999px;
    padding: 0.65rem 2rem;
    min-width: 120px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, #109af1, #22d4ce);
    box-shadow: 0 4px 12px rgba(16, 154, 241, 0.22);
    transition: opacity 0.2s ease;
}

.status-modal-btn:active {
    opacity: 0.9;
}

/* 登录失效：与活动状态弹窗同一套 */
.ghdt-session-mask {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.ghdt-session-dialog {
    width: 100%;
    max-width: 420px;
}

.ghdt-session-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: center;
}

.ghdt-session-header {
    background: linear-gradient(135deg, rgba(16, 154, 241, 0.05), rgba(34, 212, 206, 0.05));
    border-bottom: 1px solid rgba(16, 154, 241, 0.1);
    padding: 1rem 1.25rem;
}

.ghdt-session-title {
    margin: 0;
    color: #109af1;
    font-size: 1.15rem;
    font-weight: 700;
}

.ghdt-session-body {
    padding: 1.35rem 1.35rem 0.35rem;
    color: #1a3a5c;
    font-size: 0.92rem;
    line-height: 1.75;
}

.ghdt-session-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 154, 241, 0.12), rgba(34, 212, 206, 0.2));
    color: #109af1;
}

.ghdt-session-body p {
    margin: 0;
}

.ghdt-session-hint {
    margin-top: 0.45rem !important;
    color: #7a96ad;
    font-size: 0.82rem;
}

.ghdt-session-footer {
    padding: 0.85rem 1.25rem 1.35rem;
}

.ghdt-session-btn {
    border: none;
    border-radius: 999px;
    padding: 0.65rem 2rem;
    min-width: 140px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, #109af1, #22d4ce);
    box-shadow: 0 4px 12px rgba(16, 154, 241, 0.22);
}

.ghdt-session-btn:active {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .status-modal-dialog {
        max-width: calc(100% - 2rem);
        margin: 1rem auto;
    }

    .status-modal-title {
        font-size: 1.1rem;
    }

    .status-modal-body {
        padding: 1.15rem 1rem 0.65rem;
    }
}

@media (max-width: 480px) {
    .status-modal-dialog {
        max-width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }
}
