.tony-unlock {
    margin: 28px 0 8px;
    padding: 34px 24px 30px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f7fb 100%);
    text-align: center;
}

.tony-unlock-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #eef3ff;
    color: #4b74ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tony-unlock-icon .layui-icon {
    font-size: 30px;
}

.tony-unlock-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #24292f;
}

.tony-unlock-desc {
    margin: 0 auto 18px;
    max-width: 520px;
    color: #6b7280;
    line-height: 1.8;
}

.tony-unlock-btn {
    height: 42px;
    line-height: 42px;
    padding: 0 26px;
    border-radius: 21px;
    background: #4b74ff;
}

.tony-unlock-btn[disabled] {
    opacity: .65;
    cursor: not-allowed;
}

.tony-unlock-hint {
    margin: 14px 0 0;
    color: #9aa3af;
    font-size: 12px;
}

.tony-unlock-hint.is-error {
    color: #f56c6c;
}

.tony-encrypted-content {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #e6e9ef;
}

.tony-unlock-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, .55);
}

.tony-unlock-modal[hidden] {
    display: none;
}

.tony-unlock-dialog {
    position: relative;
    width: 380px;
    max-width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 26px 24px 24px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
    text-align: center;
}

.tony-unlock-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #9aa3af;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.tony-unlock-dialog-title {
    margin: 0 0 18px;
    font-size: 20px;
    color: #24292f;
}

.tony-unlock-qr {
    width: 210px;
    height: 210px;
    margin: 0 auto 10px;
    object-fit: contain;
    display: block;
}

.tony-unlock-account {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 13px;
}

.tony-unlock-steps {
    margin: 0 auto 14px;
    padding-left: 20px;
    text-align: left;
    color: #4b5563;
    line-height: 1.9;
}

.tony-unlock-code {
    margin: 8px 0 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f3f6ff;
    color: #2f4fd8;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 6px;
    font-family: Menlo, Consolas, monospace;
    user-select: all;
}

.tony-unlock-status {
    margin: 0;
    min-height: 20px;
    color: #6b7280;
    font-size: 13px;
}

.tony-unlock-status.is-success {
    color: #16a34a;
}

.tony-unlock-status.is-error {
    color: #ef4444;
}

@media (max-width: 480px) {
    .tony-unlock {
        padding: 26px 16px 24px;
    }

    .tony-unlock-qr {
        width: 180px;
        height: 180px;
    }

    .tony-unlock-code {
        font-size: 22px;
        letter-spacing: 4px;
    }
}
