/*
 * 付费阅读插件样式
 */

/* --- 会员状态 --- */
.pr-membership-status {
    margin-bottom: 40px;
}

.pr-membership-status h2 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 16px;
}

.pr-status-card {
    border: 2px solid #ae99ca;
    border-radius: 12px;
    padding: 20px 24px;
    background: #f8f6fa;
}

.pr-status-label {
    font-size: 15px;
    color: #0c0c0c;
    margin: 6px 0;
    line-height: 1.6;
}

.pr-status-active {
    color: #9ACA9E;
    font-weight: 600;
}

/* --- 会员购买页 --- */
.pr-membership-page h2 {
    font-size: 15px;
    text-align: center;
    color: #0c0c0c;
    font-weight: 400;
    margin-bottom: 30px;
}

.pr-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pr-plan-card {
    position: relative;
    border: 2px solid #dddddd;
    border-radius: 12px;
    padding: 30px 25px;
    background: #ffffff;
    text-align: center;
}

.pr-plan-featured {
    border-color: #ae99ca;
}

.pr-plan-badge {
    display: inline-block;
    background: #ae99ca;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.pr-plan-name {
    font-size: 20px;
    color: #0c0c0c;
    font-weight: 600;
    margin: 0 0 10px;
}

.pr-plan-price {
    font-size: 48px;
    font-weight: bold;
    color: #ae99ca;
    margin: 0 0 20px;
    line-height: 1.2;
}

.pr-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.pr-plan-features li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: #0c0c0c;
    font-size: 14px;
    line-height: 1.5;
}

.pr-plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: #ae99ca;
    border-radius: 50%;
}

.pr-plan-btn {
    width: 100%;
}

.pr-plan-notice {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .pr-plan-price {
        font-size: 36px;
    }
}

@media (min-width: 769px) and (max-width: 921px) {
    .pr-plan-price {
        font-size: 42px;
    }
}

/* --- 付费提示窗口 --- */
.pr-paywall {
    position: relative;
    margin: 24px 0;
    padding: 32px 24px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.pr-paywall-overlay {
    display: none;
}

.pr-paywall-content {
    position: relative;
    z-index: 1;
}

.pr-paywall-title {
    font-size: 16px;
    color: #0c0c0c;
    margin: 0 0 10px;
}

.pr-paywall-price {
    font-size: 20px;
    font-weight: bold;
    color: #ae99ca;
    margin: 0 0 20px;
}

.pr-paywall-hint {
    font-size: 13px;
    color: #999;
    margin: 16px 0 0;
}

.pr-paywall-hint a {
    color: #ae99ca;
    text-decoration: underline;
}

/* --- 主题按钮（全局样式） --- */
.theme-button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #ae99ca;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    transition: background 0.2s;
    font-family: 'Work Sans', sans-serif;
}

.theme-button:hover {
    background: #8667b0;
    color: #ffffff;
}

/* --- 按钮样式 --- */
.pr-paywall-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pr-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    transition: background 0.2s;
}

.pr-btn-pay {
    background: #ae99ca;
    color: #fff;
}

.pr-btn-pay:hover {
    background: #8667b0;
    color: #fff;
}

.pr-btn-membership {
    background: #fff;
    color: #ae99ca;
    border: 1px solid #ae99ca;
}

.pr-btn-membership:hover {
    background: #f5f0fa;
    color: #8667b0;
}

.pr-btn-login,
.pr-btn-register {
    background: #ae99ca;
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
}

.pr-btn-login:hover,
.pr-btn-register:hover {
    background: #8667b0;
    color: #fff;
}

/* --- 付费标签（文章列表） --- */
.pr-paid-badge {
    display: inline-block !important;
    background: #ae99ca !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    border-radius: 3px !important;
    vertical-align: middle !important;
    margin-left: 4px !important;
    text-decoration: none !important;
}

/* --- 已购文章列表 --- */
.pr-my-purchases {
    max-width: 800px;
    margin: 0 auto;
}

.pr-my-purchases h3 {
    font-size: 22px;
    color: #0c0c0c;
    margin-bottom: 20px;
}

.pr-purchases-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pr-purchase-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.pr-purchase-item:last-child {
    border-bottom: none;
}

.pr-purchase-link {
    color: #0c0c0c;
    text-decoration: none;
    font-weight: 500;
}

.pr-purchase-link:hover {
    color: #ae99ca;
}

.pr-purchase-meta {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}

/* --- 会员信息 --- */
.pr-membership-info {
    max-width: 600px;
    margin: 0 auto;
}

.pr-membership-info h3 {
    font-size: 22px;
    color: #0c0c0c;
    margin-bottom: 20px;
}

.pr-membership-active,
.pr-membership-none {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.pr-membership-active p,
.pr-membership-none p {
    margin: 8px 0;
    font-size: 15px;
    color: #666;
}

.pr-status-active {
    color: #9ACA9E;
    font-weight: 600;
}
