/* 创建团队弹框 */
.ct-overlay {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ct-overlay.show {
    display: flex;
}
.ct-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}
.ct-dialog {
    position: relative;
    width: min(100%, 440px);
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    color: #f5f5f7;
}
.ct-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8e8e93;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.ct-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.ct-header {
    margin-bottom: 18px;
    padding-right: 28px;
}
.ct-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #fff;
}
.ct-subtitle {
    margin: 0;
    font-size: 13px;
    color: #8e8e93;
}
.ct-warn {
    display: flex;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
    margin-bottom: 22px;
}
.ct-warn-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
}
.ct-warn-title {
    font-size: 13px;
    font-weight: 650;
    color: #fbbf24;
    margin-bottom: 4px;
}
.ct-warn-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #d1d1d6;
}
.ct-warn-text strong {
    color: #fff;
    font-weight: 650;
}
.ct-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ct-label {
    font-size: 13px;
    color: #d1d1d6;
}
.ct-req {
    color: #ff6b6b;
    margin-left: 2px;
}
.ct-counter {
    font-size: 12px;
    color: #8e8e93;
    font-variant-numeric: tabular-nums;
}
.ct-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ct-avatar-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 0;
    background: #2c2c2e;
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ct-avatar-btn:hover {
    background: #3a3a3c;
}
.ct-avatar-letter {
    font-size: 18px;
    font-weight: 650;
}
.ct-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ct-avatar-edit {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #3a3a3c;
    border: 2px solid #1c1c1e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ct-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #2c2c2e;
    color: #fff;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}
.ct-input::placeholder {
    color: #636366;
}
.ct-input:focus {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.ct-error {
    margin: 10px 0 0;
    font-size: 12px;
    color: #ff6b6b;
}
.ct-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}
.ct-btn {
    height: 44px;
    border-radius: 999px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.ct-btn-cancel {
    background: #2c2c2e;
    color: #fff;
}
.ct-btn-cancel:hover {
    background: #3a3a3c;
}
.ct-btn-confirm {
    background: #3a3a3c;
    color: #8e8e93;
}
.ct-btn-confirm.is-ready {
    background: #fff;
    color: #111;
}
.ct-btn-confirm.is-ready:hover {
    background: #e8e8ed;
}
.ct-btn-confirm:disabled {
    cursor: not-allowed;
    opacity: 1;
}
.ct-btn-confirm.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
