/* 报告详情页 · 解锁蒙层（design-foundations §6.8 / §4.1 brand） */

#report-unlock-paywall {
    position: absolute;
    /* left / width 由脚本对齐报告章节白卡片 */
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    padding: 48px 24px 64px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(248, 250, 252, 0.92) 40%,
        rgba(248, 250, 252, 0.96) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

#report-unlock-paywall.report-unlock-visible {
    display: flex;
}

.report-unlock-paywall-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border: 1px dashed #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 32px 24px;
    text-align: center;
    box-shadow:
        0 10px 40px -12px rgba(15, 23, 42, 0.18),
        0 1px 2px rgba(15, 23, 42, 0.06);
}

.report-unlock-paywall-icon {
    font-size: 2rem;
    line-height: 1;
}

.report-unlock-paywall-title {
    margin: 12px 0 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.report-unlock-paywall-desc {
    margin: 8px 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.report-unlock-paywall-btn {
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #1e3a8a;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.15s;
}

.report-unlock-paywall-btn:hover {
    opacity: 0.95;
}

.report-unlock-paywall-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.report-unlock-paywall-hint {
    margin: 12px 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

#coin-recharge-qr-modal {
    z-index: 80;
}

/* 报告解锁支付弹窗（对齐小程序 pay-modal） */
.report-pay-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0 1.5rem;
}

.report-pay-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
}

.report-pay-price-original {
    font-size: 0.875rem;
    color: #c9cdd4;
    text-decoration: line-through;
}

.report-pay-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff8c00;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.report-pay-desc {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #86909c;
}

.report-pay-coupon-section {
    border-top: 1px solid #f2f3f5;
    border-bottom: 1px solid #f2f3f5;
    padding: 0.75rem 0;
}

.report-pay-coupon-section-title {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

.report-pay-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-pay-coupon-empty {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
}

.report-pay-coupon-option {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s;
}

.report-pay-coupon-option:hover {
    background: #f8fafc;
}

.report-pay-coupon-option--none {
    align-items: center;
}

.report-pay-coupon-radio {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    accent-color: #1e3a8a;
    cursor: pointer;
}

.report-pay-coupon-option--none .report-pay-coupon-radio {
    margin-top: 0;
}

.report-pay-coupon-option-main {
    min-width: 0;
    flex: 1;
}

.report-pay-coupon-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.report-pay-coupon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-top: 1px solid #f2f3f5;
    border-bottom: 1px solid #f2f3f5;
    cursor: pointer;
}

.report-pay-coupon-row--empty {
    cursor: default;
}

.report-pay-coupon-row--empty .report-pay-coupon-title {
    color: #94a3b8;
    font-weight: 500;
}

.report-pay-coupon-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.report-pay-coupon-check-wrap {
    display: flex;
    flex-shrink: 0;
}

.report-pay-coupon-check {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #1e3a8a;
    cursor: pointer;
}

.report-pay-coupon-texts {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.report-pay-coupon-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2329;
}

.report-pay-coupon-amount {
    margin-top: 0.125rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff7d00;
}

.report-pay-coupon-expires {
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    color: #64748b;
}

.report-pay-coupon-countdown {
    margin-top: 0.125rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
    font-variant-numeric: tabular-nums;
}

.report-pay-coupon-tag {
    flex-shrink: 0;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    background: #fff7e8;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #ff7d00;
}

.report-pay-methods {
    border-top: 1px solid #f2f3f5;
}

.report-pay-method-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
}

.report-pay-method-left {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.report-pay-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    background: #07c160;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
}

.report-pay-method-name {
    font-size: 0.875rem;
    color: #1f2329;
}

.report-pay-method-radio {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid #1e3a8a;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #ffffff;
    background: #1e3a8a;
}

.report-pay-submit-btn {
    margin-top: 1rem;
}

.report-pay-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.report-pay-error {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #dc2626;
    text-align: center;
}

.report-pay-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0.25rem auto 1rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.report-pay-success-desc {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #475569;
    text-align: center;
}
