/* VIP 页空态（fyui-vip-v3.css）
 * 改内容要换文件名（→ fyui-vip-v4.css），CDN 按 URL 缓存
 * 只在 VIP 页且未配置任何价格时加载
 */

/* 主题给 .vip-desc 写了 margin:-40px 0 40px，副标题会直接压在页面 H1 上 */
body.page-template-vip .vip-desc {
    margin: 0 0 4px !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 1.7 !important;
    color: #8e837a !important;
    font-size: 14px !important;
}

/* 标题区的分隔线正好卡在副标题和空态卡中间，去掉更干净 */
body.page-template-vip .article-header {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 14px !important;
}

.fy-ve {
    --ve-c1: #ff5f33;
    --ve-c2: #ff8a52;
    --ve-ink: #211b17;
    --ve-ink2: #514840;
    --ve-ink3: #8e837a;
    --ve-line: #eae4de;
    margin: 26px 0 8px;
    padding: 32px 28px 26px;
    /* 外层 .single-content 已经是暖色圆角卡，这里不再叠一层边框，避免卡中卡 */
    border: 0;
    border-radius: 16px;
    background:
        radial-gradient(120% 90% at 50% 0%, #fff3ec 0%, rgba(255, 255, 255, 0) 62%),
        #fffaf8;
    text-align: center;
    box-sizing: border-box;
}

.fy-ve *,
.fy-ve *::before,
.fy-ve *::after {
    box-sizing: border-box;
}

/* 主题 .single-content h3 带灰底 + 大外边距，必须压掉，否则标题上会出现一条灰条 */
.fy-ve .fy-ve-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    height: auto !important;
    overflow: visible !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--ve-ink) !important;
    letter-spacing: .01em;
    text-align: center !important;
}

.fy-ve-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ve-c1), var(--ve-c2));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 95, 51, .26);
}

.fy-ve-ico svg {
    display: block;
}

.fy-ve .fy-ve-desc {
    max-width: 460px;
    margin: 0 auto 20px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: var(--ve-ink2) !important;
    /* 主题给正文 p 设了固定高度 + overflow:hidden，会把两行文字裁掉 */
    height: auto !important;
    overflow: visible !important;
    text-align: center !important;
}

.fy-ve-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.fy-ve .fy-ve-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 8px 0 16px;
    border: 1px solid var(--ve-line);
    border-radius: 13px;
    background: #fff;
    color: var(--ve-ink);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
    -webkit-tap-highlight-color: transparent;
}

.fy-ve .fy-ve-btn:hover {
    border-color: #f6c4ae;
    background: #fffdfc;
    box-shadow: 0 8px 20px rgba(255, 95, 51, .1);
    transform: translateY(-1px);
}

.fy-ve .fy-ve-btn:active {
    transform: none;
}

.fy-ve-btn-k {
    font-size: 12px;
    color: var(--ve-ink3);
    letter-spacing: .02em;
    white-space: nowrap;
}

.fy-ve .fy-ve-btn b {
    padding: 5px 10px;
    border-radius: 8px;
    background: #fff4ee;
    color: #c9451c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    font-variant-numeric: tabular-nums;
}

.fy-ve-btn svg {
    flex: 0 0 auto;
    color: #d0a793;
    margin-right: 4px;
}

.fy-ve .fy-ve-btn.is-plain {
    cursor: default;
    padding: 0 16px;
    color: var(--ve-ink3);
}

.fy-ve .fy-ve-note {
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--ve-ink3);
    letter-spacing: .01em;
}

@media (max-width: 620px) {
    .fy-ve {
        margin: 18px 0 4px;
        padding: 26px 18px 22px;
        border-radius: 16px;
    }

    .fy-ve-ico {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .fy-ve .fy-ve-title {
        font-size: 17px;
    }

    .fy-ve .fy-ve-desc {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .fy-ve-actions {
        flex-direction: column;
        gap: 9px;
    }

    .fy-ve .fy-ve-btn {
        width: 100%;
        justify-content: flex-start;
    }
}
