/* ============================================================================
   腾龙发科AI元宇宙 · V63 前端子页样式层 frontend-v63.css
   前缀 f63-  叠加于 common.css / frontend.css / site-nav-v61.css 之上
   覆盖：账户中心 / 订单中心 / 钱包中心 / VIP / 开放平台 / 资讯服务
   零内联、零第三方依赖
   ============================================================================ */

/* ---------------- 通用骨架 ---------------- */
.f63-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 16px 60px; }
.f63-head { margin-bottom: 18px; }
.f63-head h1 { font-size: 24px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.f63-head p { margin: 0; color: #64748b; font-size: 14px; }

.f63-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 14px rgba(15,23,42,.07); padding: 20px; margin-bottom: 16px; }
.f63-card > h2 { font-size: 17px; font-weight: 700; color: #0f172a; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f63-card > h2 .f63-sub { font-size: 12px; font-weight: 400; color: #94a3b8; }

.f63-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.f63-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.f63-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* ---------------- KPI ---------------- */
.f63-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.f63-kpi { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(15,23,42,.06); border-left: 3px solid #6366f1; }
.f63-kpi .lb { font-size: 12px; color: #94a3b8; margin-bottom: 6px; }
.f63-kpi .vl { font-size: 22px; font-weight: 700; color: #0f172a; }
.f63-kpi .sub { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.f63-kpi.green { border-left-color: #10b981; }
.f63-kpi.orange { border-left-color: #f59e0b; }
.f63-kpi.purple { border-left-color: #a855f7; }
.f63-kpi.cyan { border-left-color: #06b6d4; }
.f63-kpi.red { border-left-color: #ef4444; }

/* ---------------- 表单 ---------------- */
.f63-form { display: grid; gap: 14px; }
.f63-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.f63-row > label { font-size: 14px; color: #475569; padding-top: 9px; }
.f63-row .f63-tip { font-size: 12px; color: #94a3b8; margin-top: 5px; }
.f63-input, .f63-select, .f63-textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 8px;
  font-size: 14px; color: #0f172a; outline: none; box-sizing: border-box; background: #fff;
  font-family: inherit;
}
.f63-textarea { min-height: 88px; resize: vertical; }
.f63-input:focus, .f63-select:focus, .f63-textarea:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.f63-form-foot { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }

/* ---------------- 按钮 ---------------- */
.f63-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px; font-size: 14px; cursor: pointer; border: 1px solid #e2e8f0;
  background: #fff; color: #475569; transition: .18s; text-decoration: none; }
.f63-btn:hover { border-color: #6366f1; color: #6366f1; }
.f63-btn-primary { background: linear-gradient(135deg,#6366f1,#8b5cf6); color: #fff; border: none; }
.f63-btn-primary:hover { opacity: .9; color: #fff; }
.f63-btn-danger { background: #fee2e2; color: #dc2626; border-color: #fecaca; }
.f63-btn-danger:hover { background: #fecaca; color: #b91c1c; }
.f63-btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 6px; }
.f63-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------------- 标签页 ---------------- */
.f63-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.f63-tab { padding: 7px 16px; border-radius: 20px; font-size: 13.5px; color: #64748b; cursor: pointer;
  background: #fff; border: 1px solid #e2e8f0; transition: .18s; }
.f63-tab:hover { border-color: #6366f1; color: #6366f1; }
.f63-tab.on { background: linear-gradient(135deg,#6366f1,#8b5cf6); color: #fff; border-color: transparent; }

/* ---------------- 表格 ---------------- */
.f63-tbl-wrap { overflow-x: auto; border-radius: 10px; }
.f63-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.f63-tbl th { background: #f8fafc; padding: 12px; text-align: left; font-weight: 600; color: #475569;
  border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.f63-tbl td { padding: 12px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.f63-tbl tr:hover td { background: #f8fafc; }

/* ---------------- 状态徽标 ---------------- */
.f63-tag { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11.5px; white-space: nowrap; }
.f63-tag.ok { background: #dcfce7; color: #166534; }
.f63-tag.warn { background: #fef3c7; color: #b45309; }
.f63-tag.blue { background: #dbeafe; color: #1e40af; }
.f63-tag.danger { background: #fee2e2; color: #991b1b; }
.f63-tag.gray { background: #f1f5f9; color: #64748b; }
.f63-tag.purple { background: #f3e8ff; color: #7e22ce; }

/* ---------------- 订单卡片 ---------------- */
.f63-order { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(15,23,42,.06); margin-bottom: 14px; overflow: hidden; }
.f63-order-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: #64748b; }
.f63-order-bd { padding: 14px 16px; display: grid; gap: 10px; }
.f63-order-item { display: flex; gap: 12px; align-items: center; }
.f63-order-thumb { width: 62px; height: 62px; border-radius: 10px; background: linear-gradient(135deg,#e0e7ff,#ede9fe);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.f63-order-meta { flex: 1; min-width: 0; }
.f63-order-meta .nm { font-size: 14px; color: #0f172a; margin-bottom: 4px; word-break: break-word; }
.f63-order-meta .sp { font-size: 12px; color: #94a3b8; }
.f63-order-ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid #f1f5f9; }
.f63-order-amt { font-size: 13px; color: #64748b; }
.f63-order-amt b { font-size: 18px; color: #ef4444; margin-left: 4px; }
.f63-order-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- 空态 / 加载 ---------------- */
.f63-empty { text-align: center; padding: 54px 20px; color: #94a3b8; font-size: 14px; }
.f63-empty .ic { font-size: 40px; display: block; margin-bottom: 10px; }
.f63-skel { background: linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 37%,#f1f5f9 63%);
  background-size: 400% 100%; animation: f63sk 1.2s ease infinite; border-radius: 8px; height: 16px; margin: 10px 0; }
@keyframes f63sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------- 订单流程条 ---------------- */
.f63-steps { display: flex; gap: 0; flex-wrap: wrap; margin: 4px 0 6px; }
.f63-step { flex: 1; min-width: 120px; text-align: center; position: relative; padding-top: 26px; font-size: 12.5px; color: #94a3b8; }
.f63-step::before { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: #e2e8f0; }
.f63-step::after { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: #e2e8f0; z-index: -1; }
.f63-step:first-child::after { left: 50%; }
.f63-step:last-child::after { right: 50%; }
.f63-step.on { color: #6366f1; font-weight: 600; }
.f63-step.on::before { background: linear-gradient(135deg,#6366f1,#8b5cf6); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }

/* ---------------- 保障条 ---------------- */
.f63-guard { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
  background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(15,23,42,.06); }
.f63-guard div { text-align: center; font-size: 13px; color: #475569; }
.f63-guard span { display: block; font-size: 22px; margin-bottom: 6px; }

/* ---------------- VIP 套餐 ---------------- */
.f63-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.f63-plan { background: #fff; border: 2px solid #e2e8f0; border-radius: 14px; padding: 22px 18px; text-align: center;
  position: relative; transition: .2s; }
.f63-plan:hover { border-color: #6366f1; transform: translateY(-3px); }
.f63-plan.hot { border-color: #6366f1; box-shadow: 0 10px 30px rgba(99,102,241,.18); }
.f63-plan .hot-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; font-size: 11px; padding: 3px 12px; border-radius: 10px; white-space: nowrap; }
.f63-plan .nm { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.f63-plan .pr { font-size: 30px; font-weight: 800; color: #6366f1; }
.f63-plan .pr small { font-size: 14px; font-weight: 400; color: #94a3b8; }
.f63-plan .old { font-size: 13px; color: #94a3b8; text-decoration: line-through; margin-bottom: 10px; }
.f63-plan ul { list-style: none; padding: 0; margin: 14px 0 18px; text-align: left; }
.f63-plan li { font-size: 13px; color: #475569; padding: 5px 0; }
.f63-plan li::before { content: '✓ '; color: #10b981; font-weight: 700; }

/* ---------------- 星级评分 ---------------- */
.f63-stars { display: flex; gap: 6px; font-size: 26px; cursor: pointer; }
.f63-stars span { color: #d1d5db; transition: .15s; line-height: 1; }
.f63-stars span.on { color: #f59e0b; }

/* ---------------- 密码键盘 ---------------- */
.f63-pwd-dots { display: flex; gap: 12px; justify-content: center; margin: 18px 0; }
.f63-pwd-dots i { width: 16px; height: 16px; border-radius: 50%; background: #e2e8f0; display: block; }
.f63-pwd-dots i.on { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.f63-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 320px; margin: 0 auto; }
.f63-keypad button { padding: 15px 0; font-size: 19px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff;
  cursor: pointer; color: #334155; transition: .15s; font-family: inherit; }
.f63-keypad button:hover { background: #f8fafc; border-color: #6366f1; color: #6366f1; }

/* ---------------- 银行卡 ---------------- */
.f63-bank { border-radius: 14px; padding: 18px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg,#4f46e5,#7c3aed); min-height: 132px; }
.f63-bank.g2 { background: linear-gradient(135deg,#0891b2,#0e7490); }
.f63-bank .nm { font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.f63-bank .no { font-size: 21px; letter-spacing: 2px; margin: 20px 0 12px; font-weight: 600; }
.f63-bank .ft { display: flex; justify-content: space-between; font-size: 12px; opacity: .92; }
.f63-bank .dft { background: rgba(255,255,255,.22); padding: 2px 10px; border-radius: 10px; font-size: 11px; }

/* ---------------- 头像选择 ---------------- */
.f63-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 12px; }
.f63-avatar { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: linear-gradient(135deg,#e0e7ff,#ede9fe); cursor: pointer; border: 3px solid transparent; transition: .18s; }
.f63-avatar:hover { transform: scale(1.06); }
.f63-avatar.on { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.14); }

/* ---------------- 权限矩阵 ---------------- */
.f63-matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.f63-matrix th, .f63-matrix td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; text-align: left; }
.f63-matrix th { background: #f8fafc; color: #475569; font-weight: 600; }
.f63-matrix .yes { color: #10b981; font-weight: 700; }
.f63-matrix .no { color: #cbd5e1; }

/* ---------------- 资讯列表 ---------------- */
.f63-news { display: grid; gap: 14px; }
.f63-news-item { display: flex; gap: 14px; padding: 14px; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15,23,42,.05); text-decoration: none; transition: .18s; }
.f63-news-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.14); }
.f63-news-thumb { width: 108px; height: 74px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg,#6366f1,#8b5cf6); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.f63-news-meta { flex: 1; min-width: 0; }
.f63-news-meta h3 { font-size: 15.5px; color: #0f172a; margin: 0 0 8px; line-height: 1.45; }
.f63-news-meta p { font-size: 13px; color: #64748b; margin: 0 0 8px; line-height: 1.6; }
.f63-news-meta .ft { font-size: 12px; color: #94a3b8; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- 政策文档 ---------------- */
.f63-doc { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 2px 14px rgba(15,23,42,.06); }
.f63-doc h2 { font-size: 17px; color: #0f172a; margin: 24px 0 10px; }
.f63-doc h2:first-child { margin-top: 0; }
.f63-doc p, .f63-doc li { font-size: 14px; color: #475569; line-height: 1.9; }
.f63-doc ol, .f63-doc ul { padding-left: 22px; }
.f63-toc { background: #f8fafc; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 13.5px; }
.f63-toc a { display: block; color: #6366f1; text-decoration: none; padding: 3px 0; }

/* ---------------- 服务入口 ---------------- */
.f63-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.f63-svc a { display: block; padding: 20px; border-radius: 12px; background: #fff; text-decoration: none;
  box-shadow: 0 2px 12px rgba(15,23,42,.06); transition: .18s; color: inherit; }
.f63-svc a:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(99,102,241,.16); }
.f63-svc .ic { font-size: 30px; margin-bottom: 10px; }
.f63-svc .nm { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.f63-svc .ds { font-size: 12.5px; color: #64748b; line-height: 1.6; }

/* ---------------- 职位 ---------------- */
.f63-job { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 18px; background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(15,23,42,.05); }
.f63-job .nm { font-size: 15.5px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.f63-job .meta { font-size: 12.5px; color: #94a3b8; display: flex; gap: 14px; flex-wrap: wrap; }
.f63-job .pay { font-size: 15px; font-weight: 700; color: #ef4444; white-space: nowrap; }

/* ---------------- 时间线 ---------------- */
.f63-tl { list-style: none; padding: 0; margin: 0; }
.f63-tl li { position: relative; padding: 0 0 18px 22px; border-left: 2px solid #e2e8f0; }
.f63-tl li:last-child { border-left-color: transparent; padding-bottom: 0; }
.f63-tl li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px;
  border-radius: 50%; background: #e2e8f0; }
.f63-tl li.on::before { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.f63-tl .tt { font-size: 14px; color: #0f172a; margin-bottom: 3px; }
.f63-tl .dt { font-size: 12px; color: #94a3b8; }

/* ---------------- 进度条 ---------------- */
.f63-bar { height: 8px; border-radius: 5px; background: #f1f5f9; overflow: hidden; }
.f63-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg,#6366f1,#8b5cf6); }
.f63-bar.green i { background: linear-gradient(90deg,#10b981,#34d399); }
.f63-bar.orange i { background: linear-gradient(90deg,#f59e0b,#fbbf24); }
.f63-bar.red i { background: linear-gradient(90deg,#ef4444,#f87171); }
.f63-w0 i { width: 0%; } .f63-w1 i { width: 10%; } .f63-w2 i { width: 20%; } .f63-w3 i { width: 30%; }
.f63-w4 i { width: 40%; } .f63-w5 i { width: 50%; } .f63-w6 i { width: 60%; } .f63-w7 i { width: 70%; }
.f63-w8 i { width: 80%; } .f63-w9 i { width: 90%; } .f63-w10 i { width: 100%; }

/* ---------------- 分页 ---------------- */
.f63-pager { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 18px 0 0; }
.f63-pager button { padding: 6px 13px; border: 1px solid #e2e8f0; background: #fff; border-radius: 6px;
  cursor: pointer; font-size: 13px; color: #475569; font-family: inherit; }
.f63-pager button:hover:not([disabled]) { border-color: #6366f1; color: #6366f1; }
.f63-pager button.on { background: linear-gradient(135deg,#6366f1,#8b5cf6); color: #fff; border-color: transparent; }
.f63-pager button[disabled] { opacity: .45; cursor: not-allowed; }
.f63-pager .f63-total { font-size: 12.5px; color: #94a3b8; margin-right: 8px; }

/* ---------------- 轻提示 ---------------- */
.f63-toasts { position: fixed; top: 84px; right: 20px; z-index: 9998; display: flex; flex-direction: column; gap: 8px; }
.f63-toast { padding: 11px 18px; border-radius: 8px; color: #fff; font-size: 13.5px; box-shadow: 0 6px 20px rgba(15,23,42,.22);
  animation: f63in .25s ease; }
.f63-toast.ok { background: rgba(16,185,129,.96); }
.f63-toast.err { background: rgba(239,68,68,.96); }
.f63-toast.info { background: rgba(59,130,246,.96); }
@keyframes f63in { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------------- 弹窗 ---------------- */
.f63-mask { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 9997; display: flex;
  align-items: center; justify-content: center; padding: 20px; }
.f63-modal { background: #fff; border-radius: 14px; width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; }
.f63-modal-hd { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9; font-size: 16px; font-weight: 700; color: #0f172a; }
.f63-modal-hd button { border: none; background: transparent; font-size: 20px; cursor: pointer; color: #94a3b8; line-height: 1; }
.f63-modal-bd { padding: 18px 20px; }
.f63-modal-ft { padding: 14px 20px; border-top: 1px solid #f1f5f9; display: flex; gap: 10px; justify-content: flex-end; }

/* ---------------- 详情行 ---------------- */
.f63-dl { display: grid; gap: 10px; }
.f63-dl-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.f63-dl-row:last-child { border-bottom: none; }
.f63-dl-k { width: 110px; color: #94a3b8; flex-shrink: 0; }
.f63-dl-v { flex: 1; color: #334155; word-break: break-all; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 768px) {
  .f63-wrap { padding: 16px 12px 48px; }
  .f63-head h1 { font-size: 20px; }
  .f63-card { padding: 16px; border-radius: 12px; }
  .f63-row { grid-template-columns: 1fr; gap: 6px; }
  .f63-row > label { padding-top: 0; }
  .f63-kpi .vl { font-size: 19px; }
  .f63-news-item { flex-direction: column; }
  .f63-news-thumb { width: 100%; height: 96px; }
  .f63-doc { padding: 18px; }
  .f63-bank .no { font-size: 18px; letter-spacing: 1px; }
  .f63-toasts { left: 14px; right: 14px; top: 74px; }
  .f63-toast { text-align: center; }
}

/* ---------------- 局部微调类（替代内联样式） ---------------- */
.f63-card > h2.f63-h2-sm { font-size: 15px; }
.f63-dl-row.f63-blk { display: block; }
.f63-dl-row.f63-blk .f63-dl-v { line-height: 1.75; }

.f63-nopad { padding-left: 0; padding-right: 0; }
