/* 文章置顶（zibll-toolkit）模态框样式 */

.zib-pt-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.zib-pt-overlay.zib-pt-show {
    opacity: 1;
}

.zib-pt-modal {
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(10px) scale(.96);
    transition: transform .2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}

.zib-pt-overlay.zib-pt-show .zib-pt-modal {
    transform: translateY(0) scale(1);
}

.zib-pt-header {
    background: linear-gradient(135deg, #f59f54, #ff6922);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding: 18px 20px 6px;
}

.zib-pt-sub {
    color: #999;
    font-size: 12px;
    text-align: center;
    padding: 0 20px 12px;
    line-height: 1.6;
}

.zib-pt-body {
    padding: 16px 20px;
    color: #333;
    font-size: 14px;
}

.zib-pt-tip {
    line-height: 1.7;
}

.zib-pt-reason {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

.zib-pt-reason:focus {
    border-color: #ff6922;
}

.zib-pt-buts {
    display: flex;
    padding: 12px 20px 20px;
    gap: 12px;
}

.zib-pt-buts .but {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 8px;
}

.zib-pt-cancel {
    background: #f2f3f5;
    color: #666;
}

.zib-pt-cancel:hover {
    background: #e9eaed;
}

.zib-pt-confirm {
    background: #ff6922;
    color: #fff;
}

.zib-pt-confirm:hover {
    background: #f0591a;
}
