/* ========== 团队邀请页 ========== */
.team-invite-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 70% 55% at 50% 42%, rgba(48, 72, 110, 0.28) 0%, transparent 62%),
        #0a0a0c;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ti-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 22px 28px;
}

.ti-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.ti-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ti-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ti-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 48px;
}

.ti-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.ti-loading {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.ti-title {
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.ti-desc {
    margin: 0 0 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.48);
}

.ti-team-name {
    margin: 0 0 36px;
    font-size: 20px;
    font-weight: 650;
    color: #fff;
    word-break: break-word;
}

.ti-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}

.ti-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.12s ease;
}

.ti-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ti-btn-accept {
    background: #2f9fe0;
    color: #fff;
}

.ti-btn-accept:hover:not(:disabled) {
    background: #3aadef;
}

.ti-btn-ignore {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.ti-btn-ignore:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
}

.ti-btn:active:not(:disabled) {
    transform: scale(0.985);
}

.ti-btn-link {
    text-decoration: none;
    max-width: 320px;
    margin: 28px auto 0;
}

.ti-status {
    margin: 22px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.ti-error .ti-desc {
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .ti-title {
        font-size: 28px;
    }
    .ti-team-name {
        font-size: 18px;
        margin-bottom: 28px;
    }
}
