/* 付费附件 · 前台面板 */
.pay-att-block { margin: 24px 0; clear: both; }
.payatt-wrap {
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.payatt-title {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    background: #f7f8fa;
    border-bottom: 1px solid #e6e8eb;
}
.payatt-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f1f3;
}
.payatt-card:last-child { border-bottom: none; }
.payatt-thumb {
    position: relative;
    width: 84px; height: 84px;
    flex: 0 0 84px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f1f3;
    display: flex; align-items: center; justify-content: center;
}
.payatt-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.payatt-lock {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px;
    color: #9aa0a6; font-size: 12px;
    background: rgba(240,241,243,.82);
    backdrop-filter: blur(2px);
}
.payatt-lock .ico { font-size: 22px; }
.payatt-file { font-size: 34px; }
.payatt-info { flex: 1 1 auto; min-width: 0; }
.payatt-name {
    font-weight: 600; font-size: 14px; color: #1f2329;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.payatt-meta { font-size: 12px; color: #8a9099; margin-top: 2px; }
.payatt-right {
    flex: 0 0 auto; text-align: right;
    display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.payatt-price { font-size: 16px; font-weight: 700; color: #e64340; }
.payatt-card.is-paid .payatt-price { color: #07c160; }
.payatt-buy {
    appearance: none; border: none;
    background: #07c160; color: #fff;
    font-size: 13px; padding: 7px 16px; border-radius: 8px;
    cursor: pointer; transition: .15s;
}
.payatt-buy:hover { background: #06ad56; }

/* 支付弹窗 */
.payatt-mask {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999;
}
.payatt-modal {
    position: relative;
    width: 340px; max-width: 92vw;
    background: #fff; border-radius: 14px; padding: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.payatt-modal h3 { margin: 0 0 4px; font-size: 16px; }
.payatt-modal .sub { font-size: 12px; color: #8a9099; margin-bottom: 14px; }
.payatt-chs { display: flex; flex-direction: column; gap: 10px; }
.payatt-ch {
    display: flex; align-items: center; justify-content: center;
    padding: 10px; border: 2px solid #e6e8eb;
    border-radius: 12px; cursor: pointer; transition: .15s;
}
.payatt-ch:hover { border-color: #07c160; background: #f4fbf7; }
.payatt-ch-img { max-width: 100%; height: auto; display: block; }
.payatt-ch-label { font-size: 13px; font-weight: 600; color: #333; }
.payatt-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.payatt-qr svg { width: 200px; height: 200px; }
.payatt-qr .tip { font-size: 12px; color: #8a9099; text-align: center; }
.payatt-close {
    position: absolute; top: 10px; right: 14px;
    font-size: 20px; color: #bbb; cursor: pointer; line-height: 1;
}
.payatt-status { font-size: 13px; color: #8a9099; margin-top: 8px; text-align: center; }
.payatt-loading { font-size: 12px; color: #8a9099; padding: 8px; text-align: center; }
