/* 付费资讯列表 */
.paid-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.paid-page-head {
    margin-bottom: 24px;
}

.paid-page-head h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.paid-page-head p {
    margin: 0;
    color: #8a8f98;
    font-size: 14px;
}

.paid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.paid-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 35, 80, 0.08);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(230, 235, 245, 0.9);
}

.paid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 35, 80, 0.12);
}

.paid-card-cover {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: #eef2f7;
}

.paid-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.paid-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.paid-readtime {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.paid-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.paid-card-title-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.paid-card-title {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #1f2329;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
}

.paid-price {
    flex-shrink: 0;
    background: #fff4e8;
    color: #e89a2e;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.paid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #9aa1ab;
    font-size: 12px;
    margin-bottom: 10px;
}

.paid-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.paid-desc {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 62px;
}

.paid-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.paid-tag {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.4;
}

.paid-tag.tag-depth {
    background: #f3e8ff;
    color: #a855f7;
}

.paid-tag.tag-hot {
    background: #ffe4e8;
    color: #f43f5e;
}

.paid-tag.tag-new {
    background: #e0f2fe;
    color: #0284c7;
}

.paid-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.paid-btn-read {
    flex: 1;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s;
}

.paid-btn-read:hover {
    background: #2563eb;
}

.paid-btn-fav {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #ffe4ea;
    color: #f43f5e;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.paid-btn-fav.active {
    background: #fb7185;
    color: #fff;
}

.paid-empty {
    text-align: center;
    color: #999;
    padding: 60px 0;
}

.paid-pager {
    margin-top: 28px;
    text-align: center;
}

/* 付费弹窗 */
.paid-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.paid-modal-mask.show {
    display: flex;
}

.paid-modal {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: paidModalIn .2s ease;
}

@keyframes paidModalIn {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.paid-modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f5;
}

.paid-modal-hd h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.paid-modal-close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.paid-modal-bd {
    padding: 24px 24px 28px;
    text-align: center;
}

.paid-modal-qr {
    width: 220px;
    height: 220px;
    margin: 0 auto 16px;
    padding: 10px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
}

.paid-modal-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.paid-modal-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2329;
    margin: 0 0 8px;
    line-height: 1.4;
}

.paid-modal-desc {
    color: #8a8f98;
    font-size: 13px;
    margin: 0 0 12px;
}

.paid-modal-price {
    color: #e89a2e;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.paid-modal-price small {
    font-size: 14px;
    font-weight: 500;
}

.paid-modal-tip {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 18px;
}

.paid-modal-confirm {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.paid-modal-confirm:hover {
    background: #16a34a;
}

.paid-modal-confirm:disabled {
    opacity: .7;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .paid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .paid-grid {
        grid-template-columns: 1fr;
    }
    .paid-page-head h1 {
        font-size: 22px;
    }
}
