/* ==================== 赞助页 ==================== */
.sponsor-page {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.sponsor-heading {
    margin: 8px 0 20px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.sponsor-qrs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 14px;
}

.sponsor-card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--white-5);
    border: 1px solid var(--white-10);
}

.sponsor-qr-label {
    font-size: 13px;
    color: var(--white-50);
}

.sponsor-qr {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
}

.sponsor-tip {
    margin: 0;
    font-size: 13px;
    color: var(--white-50);
}

.sponsor-subtitle {
    margin: 30px 0 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.sponsor-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--white-5);
    border: 1px solid var(--white-10);
}

.sponsor-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}

.sponsor-amount {
    color: #f6ad55;
    font-weight: 600;
}

.sponsor-method {
    flex-shrink: 0;
    padding: 2px 10px;
    border-radius: 10px;
    background: var(--white-10);
    font-size: 12px;
    color: var(--white-50);
}

/* ==================== 文章底部赞助框 ==================== */
.post-sponsor {
    width: 100%;
    max-width: 900px;
    margin: 34px auto 6px;
    padding: 20px;
    text-align: center;
    border-radius: 14px;
    background: var(--white-5);
    border: 1px solid var(--white-10);
}

.post-sponsor-title {
    margin: 0 0 14px;
    font-size: 14px;
    color: #fff;
    opacity: 0.9;
}

.post-sponsor-qrs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.post-sponsor-item {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.post-sponsor-item figcaption {
    font-size: 12px;
    color: var(--white-50);
}

.post-sponsor-qr {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0;
    object-fit: contain;
    padding: 6px;
    background: #fff;
    border-radius: 10px;
}

.post-sponsor-tip {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--white-50);
}

.post-sponsor-actions {
    margin: 10px 0 0;
    font-size: 13px;
}

.post-sponsor-actions a {
    color: #60a5fa;
    text-decoration: none;
}

.post-sponsor-actions a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sponsor-qr {
        width: 130px;
        height: 130px;
    }

    .sponsor-card {
        padding: 10px 12px;
    }

    .post-sponsor-qrs {
        gap: 10px;
    }

    .post-sponsor-qr {
        width: 112px;
        height: 112px;
    }

    .post-sponsor {
        margin-top: 26px;
        padding: 16px 10px;
    }
}
