﻿/* 智数量策 · 订阅账号与点数 */
.member-page { padding: 2px 0 28px; }
.member-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
.member-sub { margin:6px 0 0; font-size:13px; }
.member-head-actions { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.member-role-tag { display:inline-flex; align-items:center; padding:6px 12px; border-radius:999px; background:#eef5ff; color:#1677ff; font-size:13px; font-weight:600; }
.member-stat-grid { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:12px; margin:0 0 16px; }
.member-stat { background:#fff; border:1px solid #e8eef5; border-radius:14px; padding:14px 16px; box-shadow:0 4px 14px rgba(15,23,42,.04); }
.member-stat span { display:block; color:#64748b; font-size:13px; margin-bottom:7px; }
.member-stat b { font-size:24px; color:#0f172a; line-height:1; }
.member-stat b.up { color:#1677ff; }
.member-stat b.warn { color:#dc2626; }
.member-account-line { display:flex; align-items:center; flex-wrap:wrap; gap:18px; background:#fff; border:1px solid #e8eef5; border-radius:12px; padding:11px 16px; margin-bottom:14px; font-size:14px; color:#475569; }
.member-tabs { background:transparent; }
.member-toolbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 12px; }
.member-table { border-radius:12px; overflow:hidden; }
.member-table .el-table__header th { background:#f8fafc !important; color:#475569; }
.plan-section { margin:4px 0 22px; }
.plan-section-title { font-size:16px; color:#0f172a; margin:0 0 12px; font-weight:700; }
.plan-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
.plan-grid-points { grid-template-columns:repeat(5, minmax(0,1fr)); }
.member-plan-card { background:#fff; border:1px solid #e5eaf1; border-radius:16px; overflow:hidden; box-shadow:0 5px 18px rgba(15,23,42,.05); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.member-plan-card:hover { transform:translateY(-3px); border-color:#bfdbfe; box-shadow:0 14px 30px rgba(22,119,255,.14); }
.plan-card-top { min-height:76px; padding:14px 18px; background:linear-gradient(135deg,#1677ff,#0b4ea2); color:#fff; display:flex; flex-direction:column; justify-content:center; gap:4px; }
.plan-card-top-label { font-size:12px; opacity:.8; letter-spacing:.04em; }
.plan-card-top-name { font-size:19px; font-weight:700; }
.cat-plugin .plan-card-top { background:linear-gradient(135deg,#0f172a,#1e3a5f); }
.points-card .plan-card-top { background:linear-gradient(135deg,#0f766e,#115e59); }
.points-top { align-items:center; flex-direction:row; gap:7px; }
.points-top b { font-size:28px; line-height:1; }
.points-top span { font-size:13px; opacity:.85; }
.plan-card-body { padding:16px 18px 18px; display:flex; flex-direction:column; min-height:240px; }
.plan-badge { align-self:flex-start; font-size:12px; color:#1677ff; background:#eff6ff; border:1px solid #dbeafe; border-radius:999px; padding:2px 9px; margin-bottom:8px; }
.plan-card-body h3 { margin:0 0 7px; color:#0f172a; font-size:15px; line-height:1.35; }
.plan-card-body p { margin:0 0 9px; color:#64748b; font-size:12.5px; line-height:1.55; min-height:38px; }
.plan-feature { display:flex; flex-direction:column; gap:4px; color:#475569; font-size:12.5px; margin-bottom:10px; }
.plan-price { color:#1677ff; font-size:14px; margin-top:auto; }
.plan-price b { font-size:24px; margin-left:3px; }
.plan-actions { display:flex; gap:8px; margin-top:11px; }
.plan-actions .el-button { flex:1; margin:0; }
.wallet-section { background:#fff; border:1px solid #e8eef5; border-radius:14px; padding:12px 14px 14px; margin-bottom:14px; }
.wallet-head { display:flex; align-items:baseline; gap:12px; padding:2px 2px 10px; }
.wallet-head b { font-size:15px; color:#0f172a; }
.plan-detail-list { display:flex; flex-direction:column; gap:6px; margin:14px 0; color:#475569; }
.plan-detail-price { padding-top:12px; border-top:1px solid #eef2f7; color:#0f172a; }
.order-result { text-align:center; padding:8px 0 4px; }
.order-no { font-size:20px; font-weight:700; color:#1677ff; letter-spacing:.03em; margin-bottom:16px; }
.order-result p { margin:8px 0; font-size:14px; color:#334155; }
.pay-note { margin:16px 0 10px; padding:12px 14px; background:#fff7ed; border:1px solid #fed7aa; border-radius:10px; color:#9a3412; font-size:13px; line-height:1.65; text-align:left; }
@media (max-width:1300px){ .plan-grid-points{grid-template-columns:repeat(4,minmax(0,1fr));} }
@media (max-width:1000px){ .member-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.plan-grid,.plan-grid-points{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:640px){ .member-head{flex-direction:column}.member-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.plan-grid,.plan-grid-points{grid-template-columns:1fr;} }

.ai-billing-note { margin:0 0 12px; padding:9px 13px; border:1px solid #fed7aa; background:#fff7ed; color:#9a3412; border-radius:10px; font-size:13px; line-height:1.6; }

.redeem-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; background:#fff; border:1px solid #e8eef5; border-radius:12px; padding:10px 14px; margin:0 0 12px; color:#475569; font-size:14px; }
.redeem-bar > span { font-weight:600; color:#0f172a; }

/* ===== 订阅账号与点数（对齐原站商品页）===== */
.member-summary-grid { display:grid; gap:12px; }
.member-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: #fff; border: 1px solid #e8eef5; border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px;
}
.member-hero-copy h1 { margin: 0 0 7px; font-size: 28px; line-height: 1.2; color: #0f172a; letter-spacing: -.02em; }
.member-hero-copy p { margin: 0; color: #64748b; font-size: 13.5px; }
.member-hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.member-summary-four { grid-template-columns: repeat(4, minmax(0,1fr)) !important; margin-bottom: 12px !important; }
.member-summary-box { background:#fff; border:1px solid #e5eaf1; border-radius:14px; padding:15px 18px; min-height:118px; }
.member-summary-box .summary-label { color:#64748b; font-size:13px; margin-bottom:10px; }
.member-summary-box .summary-value { font-size:24px; line-height:1.1; font-weight:700; color:#0f172a; margin-bottom:10px; }
.member-summary-box .summary-note { color:#64748b; font-size:12.5px; line-height:1.65; }
.member-summary-box.status { border-color:#f3c46b; background:#fffdf8; }
.member-summary-box.points { border-color:#93c5fd; background:#f8fbff; }
.member-summary-box.frozen { background:#fff; }
.member-products-card { background:#fff; border:1px solid #e8eef5; border-radius:14px; padding:16px 18px 18px; margin-bottom:12px; }
.products-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
.products-head h3 { margin:0 0 6px; font-size:18px; color:#0f172a; }
.products-head p { margin:0; color:#64748b; font-size:13px; }
.product-filter { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.product-filter button { border:1px solid #e5eaf1; background:#fff; color:#475569; border-radius:999px; padding:7px 13px; font-size:13px; cursor:pointer; transition:all .16s ease; }
.product-filter button span { color:#64748b; margin-left:3px; }
.product-filter button:hover { border-color:#93c5fd; color:#1677ff; }
.product-filter button.active { background:#1677ff; border-color:#1677ff; color:#fff; }
.product-filter button.active span { color:#dbeafe; }
.product-grid { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:14px; }
.product-card { border:1px solid #e5eaf1; border-radius:10px; overflow:hidden; background:#fff; display:flex; flex-direction:column; min-height:410px; box-shadow:0 4px 14px rgba(15,23,42,.035); transition:transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(15,23,42,.12); }
.product-banner { padding:18px 14px 16px; text-align:center; color:#fff; min-height:88px; display:flex; flex-direction:column; justify-content:center; gap:5px; }
.product-banner-kicker { font-size:12px; opacity:.8; letter-spacing:.04em; }
.product-banner-title { font-size:20px; font-weight:700; line-height:1.2; }
.product-body { padding:13px 14px 14px; display:flex; flex-direction:column; flex:1; }
.product-badges { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.product-badge { background:#eff6ff; border:1px solid #dbeafe; color:#1677ff; border-radius:999px; padding:2px 9px; font-size:12px; }
.product-cat { color:#64748b; font-size:12px; }
.product-body h4 { margin:0 0 8px; color:#0f172a; font-size:15px; line-height:1.4; }
.product-body p { margin:0 0 10px; color:#64748b; font-size:12.5px; line-height:1.65; min-height:62px; }
.product-price { color:#1677ff; font-size:14px; margin:auto 0 10px; }
.product-price b { font-size:26px; margin-left:3px; }
.product-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; }
.product-tags span { background:#f8fafc; border:1px solid #eef2f7; border-radius:999px; padding:2px 7px; color:#64748b; font-size:11.5px; }
.product-qty { display:flex; align-items:center; justify-content:space-between; gap:8px; color:#475569; font-size:12.5px; margin-bottom:10px; }
.product-actions { display:flex; gap:8px; margin-top:auto; }
.product-actions .el-button { flex:1; margin:0; }
.tone-1 .product-banner { background:linear-gradient(135deg,#312e81,#7c3aed); }
.tone-2 .product-banner { background:linear-gradient(135deg,#7f1d1d,#dc2626); }
.tone-3 .product-banner { background:linear-gradient(135deg,#0e7490,#155e75); }
.tone-4 .product-banner { background:linear-gradient(135deg,#1e3a8a,#2563eb); }
.tone-5 .product-banner { background:linear-gradient(135deg,#0f766e,#0891b2); }
.tone-6 .product-banner { background:linear-gradient(135deg,#047857,#059669); }
.tone-7 .product-banner { background:linear-gradient(135deg,#92400e,#ca8a04); }
.tone-8 .product-banner { background:linear-gradient(135deg,#115e59,#0f766e); }
.tone-9 .product-banner { background:linear-gradient(135deg,#134e4a,#166534); }
.tone-10 .product-banner { background:linear-gradient(135deg,#111827,#020617); }
.member-bottom-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.member-info-card { background:#fff; border:1px solid #e8eef5; border-radius:14px; padding:16px 18px; }
.info-card-title { color:#0f172a; font-size:15px; font-weight:700; margin-bottom:10px; }
.overview-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid #f1f5f9; color:#475569; font-size:13.5px; }
.overview-row:last-child { border-bottom:0; }
.overview-row b { color:#0f172a; font-size:14px; }
.purchase-notes { margin:0; padding-left:18px; color:#475569; font-size:13px; line-height:1.75; }
.purchase-notes li { margin-bottom:7px; }
.purchase-notes a { color:#2563eb; text-decoration:none; }
.notes-actions { display:flex; gap:8px; margin-top:12px; }
.member-wallet-head { display:flex; align-items:center; gap:12px; margin:0 0 12px; background:#fff; border:1px solid #e8eef5; border-radius:14px; padding:12px 16px; }
.member-wallet-head h3 { margin:0; font-size:18px; color:#0f172a; }
.member-wallet-head .muted { margin-right:auto; }
@media (max-width:1400px) { .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:1100px) { .member-summary-four { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .member-hero { flex-direction:column; align-items:flex-start; } .member-hero-actions { justify-content:flex-start; } .member-summary-four { grid-template-columns:1fr !important; } .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .member-bottom-grid { grid-template-columns:1fr; } .products-head { flex-direction:column; } .product-filter { justify-content:flex-start; } }
@media (max-width:520px) { .product-grid { grid-template-columns:1fr; } }

/* 新用户公开入口 */
.guest-shell { min-height:100vh; background:#f5f7fb; }
.guest-page { max-width:1500px; margin:0 auto; padding:22px 26px 42px; }
.guest-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.guest-brand { display:flex; align-items:center; gap:10px; color:#0f172a; font-size:17px; }
.guest-logo-dot { width:34px; height:34px; border-radius:10px; background:linear-gradient(135deg,#60a5fa,#1677ff); box-shadow:0 6px 16px rgba(22,119,255,.25); }
.guest-top-actions { display:flex; gap:8px; }
.guest-hero { margin-bottom:14px; }
.guest-contact { margin-top:12px; color:#64748b; font-size:13px; }
.guest-register-tip { margin-top:6px; padding:10px 12px; background:#f8fbff; border:1px solid #dbeafe; border-radius:9px; color:#475569; font-size:12.5px; line-height:1.6; }
@media (max-width:760px){ .guest-page{padding:14px 12px 30px}.guest-topbar{align-items:flex-start;gap:10px}.guest-top-actions{flex-direction:column} }

.trial-pill { display:inline-flex; align-items:center; padding:6px 11px; border-radius:999px; background:#fff7ed; border:1px solid #fed7aa; color:#c2410c; font-size:12px; font-weight:600; }
.trial-summary { color:#c2410c !important; }
