/* ===== 知识付费 H5/PC 自适应样式 ===== */
:root {
    --primary: #ff6b35;
    --primary-dark: #e85a26;
    --bg: #f5f6f8;
    --card: #fff;
    --text: #232529;
    --muted: #8a8f99;
    --border: #eceef1;
    --radius: 12px;
    --weixin: #07c160;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: var(--bg); color: var(--text);
    padding-bottom: 62px; /* 底部导航高度 */
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 14px; }

/* 顶栏 */
.topbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; align-items: center; gap: 14px; height: 54px; }
.logo { font-weight: 700; font-size: 18px; color: var(--primary); white-space: nowrap; }
.search { flex: 1; display: flex; }
.search input {
    flex: 1; border: 1px solid var(--border); border-right: 0; border-radius: 18px 0 0 18px;
    padding: 7px 14px; font-size: 13px; outline: none; background: var(--bg); min-width: 0;
}
.search button {
    border: 0; background: var(--primary); color: #fff; padding: 0 16px;
    border-radius: 0 18px 18px 0; font-size: 13px; cursor: pointer;
}
.btn-mini {
    white-space: nowrap; font-size: 12px; color: var(--primary);
    border: 1px solid var(--primary); border-radius: 14px; padding: 4px 10px;
}
.notice { background: #fff7f2; color: #b45309; font-size: 12px; padding: 8px 14px; margin-top: 10px; border-radius: 8px; }

/* 轮播 */
.banner-swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-top: 12px; border-radius: var(--radius); }
.banner-item { flex: 0 0 100%; scroll-snap-align: center; }
.banner-item img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 768px) { .banner-item img { height: 300px; } }

/* 分类 chips */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; -webkit-overflow-scrolling: touch; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 区块标题 */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 12px; }
.section-head h2 { font-size: 17px; }
.muted { color: var(--muted); font-size: 13px; }

/* 课程卡片 */
.course-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .15s; }
.course-card:active { transform: scale(.985); }
.cover { position: relative; }
.cover img { width: 100%; height: 160px; object-fit: cover; }
@media (min-width: 768px) { .cover img { height: 190px; } }
.score-badge {
    position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #ffd54f;
    font-size: 12px; border-radius: 10px; padding: 2px 8px;
}
.course-card .info { padding: 12px; }
.course-card h3 { font-size: 15px; line-height: 1.4; height: 42px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.course-card .sub { color: var(--muted); font-size: 12px; margin: 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.course-card .row { display: flex; align-items: baseline; gap: 8px; }
.price { color: var(--primary); font-weight: 700; font-size: 16px; }
.price.big { font-size: 22px; }
.origin { color: #b8bcc4; font-size: 12px; text-decoration: line-through; }
.sales { margin-left: auto; color: var(--muted); font-size: 12px; }
.tag-hot { background: #ffece5; color: var(--primary); font-size: 11px; border-radius: 4px; padding: 1px 6px; }

/* 面板 */
.panel { background: var(--card); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.panel-title { font-size: 16px; margin-bottom: 12px; }
.rich-text { font-size: 14px; line-height: 1.8; color: #444; word-break: break-word; }

/* 课程详情 */
.detail-head { display: flex; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 16px; margin-top: 12px; }
.detail-cover { flex: 0 0 34%; max-width: 300px; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 16/9; }
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { font-size: 18px; line-height: 1.4; margin-bottom: 6px; }
.detail-info .sub { color: var(--muted); font-size: 13px; }
.detail-info .meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; margin: 10px 0; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 8px 0; }
.teacher { color: #555; font-size: 13px; margin-top: 8px; }
@media (max-width: 640px) { .detail-head { flex-direction: column; } .detail-cover { max-width: 100%; } }

/* 章节/课时 */
.chapter { margin-bottom: 14px; }
.chapter h3 { font-size: 14px; background: #fafbfc; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.lesson-list { list-style: none; }
.lesson-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 6px; border-bottom: 1px solid var(--border); font-size: 14px; }
.lesson-link.cur { color: var(--primary); font-weight: 600; }
.l-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-meta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.l-meta em { font-style: normal; color: var(--muted); font-size: 12px; }
.tag-free { background: #e8f7ef; color: #0a8f4c; font-size: 11px; border-radius: 4px; padding: 1px 6px; font-style: normal; }
.tag-lock { font-style: normal; }

/* 评价 */
.review-list { list-style: none; }
.review-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.r-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.stars { color: #ffb400; font-size: 13px; }
.review-form { margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 14px; }

/* 底部购买栏 */
.buy-bar {
    position: fixed; left: 0; right: 0; bottom: 62px; z-index: 60;
    background: #fff; border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { .buy-bar { bottom: 0; } }
.buy-price { flex: 1; color: var(--primary); font-weight: 700; font-size: 20px; }
.buy-price del { color: #b8bcc4; font-size: 13px; font-weight: 400; margin-left: 6px; }
.btn-buy { flex: 0 0 45%; max-width: 260px; text-align: center; }
main.container { padding-bottom: 90px; }

/* 学习页 */
.learn-head h1 { font-size: 18px; margin-bottom: 6px; }
.tip { border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 10px 0; }
.tip-free { background: #e8f7ef; color: #0a8f4c; }
.tip-ok { background: #e8f7ef; color: #0a8f4c; }
.tip-err { background: #fdecec; color: #c0392b; }
.netdisk-box { background: #f8f9fb; border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin: 12px 0; }
.netdisk-box h3 { font-size: 15px; margin-bottom: 6px; }
.nd-row { display: flex; gap: 8px; margin: 10px 0; }
.nd-row input { flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13px; background: #fff; min-width: 0; }
.lock-box, .buy-prompt, .qr-placeholder { text-align: center; padding: 30px 16px; }
.buy-prompt { background: linear-gradient(135deg, #fff3ec, #ffe9de); border-radius: 10px; margin-top: 16px; }
.buy-prompt p { margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.qr-box {
    width: 180px; height: 180px; margin: 12px auto; border: 2px dashed #cbd2dc; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px;
}

/* 按钮 */
.btn { display: inline-block; border: 0; border-radius: 22px; padding: 10px 22px; font-size: 14px; cursor: pointer; text-align: center; transition: opacity .15s; }
.btn:active { opacity: .8; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-wechat { background: var(--weixin); color: #fff; }
.btn-block { display: block; width: 100%; margin-top: 12px; }
.btn-sm { padding: 4px 12px; font-size: 12px; border-radius: 14px; }

/* 表单 */
.form-item { margin-bottom: 14px; }
.form-item label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.form-item input, .form-item select, .form-item textarea {
    width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
    font-size: 14px; outline: none; background: #fff; font-family: inherit;
}
.form-item input:focus, .form-item textarea:focus { border-color: var(--primary); }
.sms-row { display: flex; gap: 8px; }
.sms-row input { flex: 1; }
.sms-row .btn { white-space: nowrap; }
.auth-box { max-width: 400px; margin: 40px auto; background: var(--card); border-radius: var(--radius); padding: 26px 20px; }
.auth-box h2 { margin-bottom: 6px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 20px 0 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.coupon-opt { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; }

/* 个人中心 */
.uc-head { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #ff6b35, #ff8f5e); border-radius: var(--radius); padding: 20px 16px; color: #fff; margin-top: 12px; }
.uc-head .avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.uc-head h2 { font-size: 17px; }
.uc-head .muted { color: rgba(255,255,255,.8); }
.btn-mini-out { border: 1px solid rgba(255,255,255,.7); color: #fff; font-size: 12px; border-radius: 14px; padding: 4px 10px; margin-left: auto; }
.uc-stats { display: flex; background: var(--card); border-radius: var(--radius); padding: 14px 0; margin: 12px 0; }
.uc-stats div { flex: 1; text-align: center; }
.uc-stats b { font-size: 20px; display: block; }
.uc-stats span { color: var(--muted); font-size: 12px; }
.uc-links { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.uc-links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 15px; }
.uc-links i { margin-left: auto; color: #c4c8d0; font-style: normal; }

/* 订单 */
.order-list { list-style: none; }
.order-item { background: var(--card); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.oi-top { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 12px; }
.oi-status.s0 { color: #e67e22; } .oi-status.s1 { color: #0a8f4c; } .oi-status.s2 { color: #999; }
.oi-body { display: flex; gap: 10px; }
.oi-body img { width: 90px; height: 60px; object-fit: cover; border-radius: 6px; }
.oi-body h4 { font-size: 14px; margin-bottom: 4px; }
.oi-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.pay-order h3 { margin: 8px 0; }
.pay-amount { margin: 10px 0; font-size: 14px; }
.pay-amount b { color: var(--primary); font-size: 24px; }
.order-course { display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.order-course img { width: 130px; height: 80px; object-fit: cover; border-radius: 8px; }
.order-course h3 { font-size: 15px; margin: 4px 0; }

/* 其他 */
.flash { border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }
.flash-ok { background: #e8f7ef; color: #0a8f4c; }
.flash-err { background: #fdecec; color: #c0392b; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; font-size: 14px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 18px 0; flex-wrap: wrap; }
.pg { padding: 5px 12px; background: #fff; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.pg.cur { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 26px 0 90px; }
.icp { margin-top: 4px; }

/* 底部标签栏（H5） */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--border);
    display: flex; padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { flex: 1; text-align: center; padding: 7px 0 5px; font-size: 11px; color: var(--muted); }
.tabbar a.active, .tabbar a:hover { color: var(--primary); }
.tabbar .ico { display: block; font-size: 20px; }
@media (min-width: 768px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* =========================================================
   主题系统：三套界面模板（warm 活力橙 / pro 专业蓝 / lux 尊贵紫）
   通过 html 根元素 class 切换，颜色/圆角/顶栏/卡片风格均不同
   ========================================================= */

/* —— 主题一：warm 活力橙（默认）：暖色渐变顶栏、胶囊按钮、热情转化风 —— */
html.t-warm {
    --primary: #ff6b35; --primary-dark: #e85a26;
    --bg: #f5f6f8; --topbar-bg: linear-gradient(135deg, #fff, #fff6f1);
    --topbar-text: var(--text); --radius: 12px; --radius-btn: 22px;
    --card-shadow: 0 1px 4px rgba(0,0,0,.05); --card-border: transparent;
    --price-color: #ff6b35; --vip-color: #1f1b16; --vip-bg: linear-gradient(135deg, #2b2118, #4a3524);
    --btn-primary-bg: linear-gradient(135deg, #ff6b35, #e85a26);
}
html.t-warm .topbar { background: var(--topbar-bg); }
html.t-warm .logo { color: #ff6b35; }

/* —— 主题二：pro 专业蓝：白净直角、描边卡片、职场严谨风 —— */
html.t-pro {
    --primary: #2563eb; --primary-dark: #1d4ed8;
    --bg: #eef2f7; --topbar-bg: #ffffff;
    --topbar-text: #1e293b; --radius: 6px; --radius-btn: 6px;
    --card-shadow: none; --card-border: #e2e8f0;
    --price-color: #2563eb; --vip-color: #fff; --vip-bg: linear-gradient(135deg, #1e3a8a, #2563eb);
    --btn-primary-bg: #2563eb;
    --border: #e2e8f0;
}
html.t-pro .topbar { background: #fff; border-bottom: 2px solid #2563eb; }
html.t-pro .logo { color: #2563eb; font-weight: 800; }
html.t-pro .panel, html.t-pro .course-card, html.t-pro .auth-box,
html.t-pro .order-item, html.t-pro .uc-links, html.t-pro .uc-stats,
html.t-pro .chapter h3 {
    box-shadow: none; border: 1px solid #e2e8f0;
}
html.t-pro .course-card:hover { border-color: #2563eb; }
html.t-pro .btn { border-radius: 6px; }
html.t-pro .chip { border-radius: 6px; }
html.t-pro .btn-primary { background: #2563eb; }
html.t-pro .btn-primary:active { background: #1d4ed8; }
html.t-pro .section-head h2 { border-left: 4px solid #2563eb; padding-left: 10px; }
html.t-pro .panel-title { border-left: 4px solid #2563eb; padding-left: 10px; }
html.t-pro .score-badge { background: rgba(37,99,235,.85); color: #fff; }
html.t-pro .uc-head { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
html.t-pro .banner-item img { border-radius: 6px; }

/* —— 主题三：lux 尊贵紫：深色渐变顶栏、金色点缀、大圆角高级感 —— */
html.t-lux {
    --primary: #8b5cf6; --primary-dark: #7c3aed;
    --bg: #f6f3fb; --topbar-bg: linear-gradient(135deg, #241a3e, #4c2e8f);
    --topbar-text: #fff; --radius: 16px; --radius-btn: 26px;
    --card-shadow: 0 6px 18px rgba(76,46,143,.10); --card-border: transparent;
    --price-color: #b8860b; --vip-color: #fff; --vip-bg: linear-gradient(135deg, #241a3e, #6d4bb8);
    --btn-primary-bg: linear-gradient(135deg, #8b5cf6, #6d28d9);
    --border: #ece5f8;
    --gold: #d4af37;
}
html.t-lux .topbar { background: var(--topbar-bg); border-bottom: 0; }
html.t-lux .logo { color: #fff; }
html.t-lux .topbar .search input { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
html.t-lux .topbar .search input::placeholder { color: rgba(255,255,255,.55); }
html.t-lux .topbar .search button { background: #d4af37; }
html.t-lux .btn-mini { color: #fff; border-color: rgba(255,255,255,.5); }
html.t-lux .price, html.t-lux .buy-price { color: #b8860b; }
html.t-lux .price.big { color: #b8860b; }
html.t-lux .score-badge { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; }
html.t-lux .btn-primary { background: var(--btn-primary-bg); }
html.t-lux .banner-item img { border-radius: 16px; }
html.t-lux .uc-head { background: linear-gradient(135deg, #241a3e, #6d4bb8); }
html.t-lux .tabbar a.active, html.t-lux .tabbar a:hover { color: #8b5cf6; }

/* 主题差异公共：按钮形状与卡片观感 */
.btn { border-radius: var(--radius-btn, 22px); }
.panel, .course-card, .auth-box, .order-item, .uc-links, .uc-stats {
    border-radius: var(--radius, 12px);
    box-shadow: var(--card-shadow, 0 1px 4px rgba(0,0,0,.05));
    border: 1px solid var(--card-border, transparent);
}
.course-card .info h3 { color: var(--topbar-text, var(--text)); }
html.t-lux .course-card .info h3 { color: #241a3e; }

/* ===== 主题切换器 ===== */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.theme-switch { position: relative; }
.ts-btn { background: transparent; border: 0; font-size: 17px; cursor: pointer; padding: 2px; }
.ts-menu {
    display: none; position: absolute; right: 0; top: 34px; z-index: 90;
    background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.15);
    padding: 10px; width: 190px; border: 1px solid var(--border);
}
.theme-switch.open .ts-menu { display: block; }
.ts-menu p { font-size: 12px; color: var(--muted); margin: 2px 4px 8px; }
.ts-menu button {
    display: flex; align-items: center; gap: 8px; width: 100%;
    background: transparent; border: 0; padding: 9px 8px; border-radius: 8px;
    font-size: 13px; cursor: pointer; color: var(--text); text-align: left;
}
.ts-menu button:hover { background: #f5f6f8; }
.ts-menu small { margin-left: auto; color: var(--muted); font-size: 11px; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.d-warm { background: linear-gradient(135deg, #ff6b35, #e85a26); }
.d-pro  { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.d-lux  { background: linear-gradient(135deg, #8b5cf6, #d4af37); }
html.t-lux .ts-menu, html.t-lux .ts-menu button { color: #232529; }

/* 顶栏会员入口 */
.vip-entry {
    font-size: 12px; font-weight: 600; white-space: nowrap;
    background: linear-gradient(135deg, #2b2118, #55402a); color: #f3d9a4;
    border-radius: 14px; padding: 5px 11px;
}
html.t-pro .vip-entry { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; }
html.t-lux .vip-entry { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; }
.vip-entry.is-vip { outline: 1px solid rgba(212,175,55,.7); }

/* 全站免费日横幅 */
.free-day-bar {
    background: linear-gradient(135deg, #ff3d00, #ff6b35); color: #fff;
    text-align: center; font-size: 13px; padding: 9px 14px; letter-spacing: .5px;
}
.free-day-bar b { font-size: 15px; }

/* ===== VIP 会员页 ===== */
.vip-hero {
    margin-top: 12px; border-radius: var(--radius, 12px); padding: 30px 18px;
    background: var(--vip-bg, linear-gradient(135deg, #2b2118, #4a3524));
    color: var(--vip-color, #fff); text-align: center;
}
.vip-crown { font-size: 44px; margin-bottom: 6px; }
.vip-hero h1 { font-size: 20px; margin-bottom: 8px; }
.vip-hero p { font-size: 13px; opacity: .85; }
.vip-status {
    display: inline-block; margin-top: 14px; font-size: 13px;
    background: rgba(255,255,255,.16); border-radius: 16px; padding: 6px 16px;
}
.vip-status.is-vip { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; font-weight: 600; }

.vip-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
@media (min-width: 768px) { .vip-benefits { grid-template-columns: repeat(4, 1fr); } }
.vb-item { background: var(--card, #fff); border-radius: var(--radius, 12px); padding: 14px 10px; text-align: center; box-shadow: var(--card-shadow); border: 1px solid var(--card-border, transparent); }
.vb-ico { font-size: 24px; }
.vb-item p { font-size: 14px; font-weight: 600; margin: 6px 0 2px; }
.vb-item small { color: var(--muted); font-size: 11px; }

.plan-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0; }
@media (min-width: 768px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card {
    position: relative; background: var(--card, #fff); border-radius: var(--radius, 12px);
    padding: 22px 18px; text-align: center; box-shadow: var(--card-shadow);
    border: 2px solid var(--border); transition: border-color .15s;
}
.plan-card:hover { border-color: var(--primary); }
.plan-hot { border-color: var(--primary); transform: translateY(-2px); }
@media (min-width: 768px) { .plan-hot { transform: scale(1.03); } }
.plan-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #ff3d00, #ff6b35); color: #fff;
    font-size: 12px; border-radius: 12px; padding: 3px 12px; white-space: nowrap;
}
.plan-card h3 { font-size: 17px; margin-bottom: 10px; }
.plan-price b { font-size: 36px; color: var(--price-color, var(--primary)); font-weight: 800; }
.plan-price i { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 2px; }
.plan-price del { display: block; color: #b8bcc4; font-size: 12px; }
.plan-day { color: var(--muted); font-size: 12px; margin: 8px 0 12px; }
.plan-features { list-style: none; text-align: left; font-size: 13px; color: #555; margin-bottom: 16px; }
.plan-features li { padding: 4px 0; }
.vip-faq p { font-size: 13px; line-height: 1.8; margin-bottom: 10px; color: #444; }

/* 个人中心 VIP 卡片 */
.vip-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border-radius: var(--radius, 12px); padding: 16px; margin: 12px 0;
    background: linear-gradient(135deg, #3a3a3a, #555); color: #fff;
}
.vip-card.active { background: linear-gradient(135deg, #2b2118, #6d5322); }
html.t-pro .vip-card { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
html.t-lux .vip-card { background: linear-gradient(135deg, #241a3e, #6d4bb8); }
.vip-card-title { display: block; font-size: 16px; font-weight: 700; }
.vip-card-sub { display: block; font-size: 12px; opacity: .8; margin-top: 4px; }
.vip-crown-sm { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; font-size: 11px; border-radius: 10px; padding: 2px 8px; vertical-align: middle; }

/* VIP 风格按钮（会员开通入口） */
.btn-vip {
    background: linear-gradient(135deg, #2b2118, #55402a); color: #f3d9a4;
}
html.t-pro .btn-vip { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; }
html.t-lux .btn-vip { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; }

/* 详情页双按钮 */
.buy-actions { flex: 0 0 60%; max-width: 340px; display: flex; gap: 8px; }
.buy-actions .btn { flex: 1; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
.buy-bar .vip-flag { font-size: 15px; }
@media (max-width: 480px) { .buy-actions { flex-direction: column; gap: 6px; } .buy-actions .btn { padding: 8px; } }

/* 会员订单封面 */
.oi-vip-cover {
    width: 90px; height: 60px; border-radius: 8px; flex-shrink: 0;
    background: linear-gradient(135deg, #2b2118, #55402a); color: #f3d9a4;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
}

/* 学习页 VIP 提示 */
.tip-vip { background: #f7f1e3; color: #8a6d1a; }
