/* ===== 妯″叿鎶ヤ环缃?- 绉诲姩绔富鏍峰紡 ===== */
/* 璁捐锛氱函绉诲姩绔紝PC绔眳涓樉绀烘墜鏈烘晥鏋?*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: #e8e8e8;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

/* PC绔細灞呬腑鎵嬫満澹虫晥鏋?*/
.page-wrap { max-width: 480px; margin: 0 auto; background: #f5f7fa; min-height: 100vh; position: relative; }
@media (max-width: 520px) { .nav-row { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; display: flex; } .nav-row a { display: inline-block; padding: 8px 10px; font-size: 13px; } }
@media (max-width: 480px) {
  body { background: #f5f7fa; }
  .page-wrap { max-width: 100%; box-shadow: none; }
}

a { color: #1565c0; text-decoration: none; }
a:hover { color: #0d47a1; }
img { max-width: 100%; height: auto; }

/* ---------- 鍙屽眰瀵艰埅 ---------- */
.header { background: #0d1b3e; position: sticky; top: 0; z-index: 1000; overflow: hidden; }
.header-row1 {
  display: flex; align-items: center;
  padding: 4px 12px; height: 40px;
}
.logo {
  display: flex; align-items: center; gap: 6px;
  color: #fff; font-size: 16px; font-weight: 700; text-decoration: none;
}
.logo img { height: 24px; }
.logo span { color: #ffb300; }
.header-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.header-right a {
  color: rgba(255,255,255,.75); font-size: 12px;
  padding: 4px 8px; border-radius: 4px;
}
.header-right a:hover { background: rgba(255,255,255,.1); color: #fff; }
/* 绗簩琛屽鑸?*/
.nav-row {
  display: flex; padding: 0 8px 8px; gap: 4px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a {
  flex: 1; text-align: center;
  color: rgba(255,255,255,.7); font-size: 12px; font-weight: 500;
  padding: 6px 4px; border-radius: 6px;
  text-decoration: none; white-space: nowrap;
}
.nav-row a:hover, .nav-row a.active {
  background: rgba(255,255,255,.12); color: #fff;
}
.nav-row a.cta { background: #ffb300; color: #0d1b3e; }
.nav-row a.cta:hover { background: #ffc107; }

/* ---------- Hero 杞挱 ---------- */
.hero-slider {
  padding: 0; text-align: center; color: #fff; position: relative;
  display: flex; flex-direction: column;
}
.hero-slide { padding: 20px 20px 10px; }
.hero-slide { display: none; min-height: 72px; flex-direction: column; justify-content: center; align-items: center; padding: 16px 20px 10px; }
.hero-slide.active { display: flex; }
.hero-slide h1 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.hero-slide p { font-size: 11px; opacity: .8; line-height: 1.5; max-width: 260px; margin: 0; }
.slider-dots {
  display: flex; gap: 5px; justify-content: center; margin-top: 8px;
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: all .3s; }
.dot.active { background: #fff; width: 14px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 10px 20px; border: none; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s; text-decoration: none; white-space: nowrap;
  -webkit-appearance: none;
}
.btn:active { opacity: .85; }
.btn-block { width: 100%; }
.btn-primary { background: #0d47a1; color: #fff; }
.btn-warning { background: #ff6f00; color: #fff; }
.btn-success { background: #2e7d32; color: #fff; }
.btn-outline { background: transparent; border: 1px solid #0d47a1; color: #0d47a1; }
.btn-light { background: #fff; color: #0d47a1; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }

/* ---------- Card ---------- */
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.card-body { padding: 16px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.card-text { font-size: 12px; color: #666; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Section ---------- */
.section { padding: 20px 12px; }
.section-title {
  font-size: 16px; font-weight: 700; margin-bottom: 12px;
  padding-left: 10px; border-left: 3px solid #1565c0;
}

/* ---------- Feature Card ---------- */
.feature-card {
  background: #fff; border-radius: 10px; padding: 20px 16px;
  text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.feature-card:active { background: #f5f7ff; }
.feature-icon {
  width: 48px; height: 48px; margin: 0 auto 10px;
  background: #e3f2fd; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-card h3 { font-size: 15px; margin-bottom: 4px; }
.feature-card p { font-size: 12px; color: #888; }
.features-grid { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Tab 鍒囨崲 ---------- */
.tab-bar {
  display: flex; gap: 6px; margin-bottom: 16px;
}
.tab {
  flex: 1; text-align: center; padding: 10px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  background: #e0e0e0; color: #888; cursor: pointer;
  transition: all .2s;
}
.tab.active { background: #0d47a1; color: #fff; }
.tab:active { opacity: .8; }
.tab-panel { margin-bottom: 8px; }

/* ---------- Form ---------- */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 3px; }
.form-control {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 6px;
  font-size: 14px; background: #fff; -webkit-appearance: none;
}
.form-control:focus { border-color: #1565c0; outline: none; }
select.form-control { background: #fff url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center; padding-right: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-hint { font-size: 11px; color: #999; margin-top: 3px; }
.form-required { color: #e53935; }

/* ---------- Contact Box ---------- */
.contact-box {
  background: #f8f9ff; border: 1px solid #e0e3f0;
  border-radius: 8px; padding: 14px; margin-top: 8px;
}
.contact-box h3 { font-size: 13px; color: #0d47a1; margin-bottom: 8px; }

/* ---------- Quote Result ---------- */
.result-box { display: none; }
.result-card { background: #fff; border-radius: 10px; padding: 20px; margin: 12px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.result-header {
  text-align: center; padding: 20px;
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  color: #fff; border-radius: 8px; margin-bottom: 16px;
}
.result-header .label { font-size: 12px; opacity: .8; }
.result-header .amount { font-size: 32px; font-weight: 800; margin: 4px 0; }
.result-header .meta { font-size: 11px; opacity: .7; }
.result-section-title {
  font-size: 13px; font-weight: 700; color: #333;
  margin: 14px 0 8px; padding-bottom: 4px;
  border-bottom: 2px solid #1565c0;
}
.result-info { font-size: 12px; color: #555; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.result-actions { display: flex; gap: 8px; margin-top: 14px; }
.result-actions .btn { flex: 1; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
table th {
  background: #f5f6fa; text-align: left;
  padding: 8px 8px; font-weight: 600; color: #666;
  border-bottom: 1px solid #e0e0e0; font-size: 11px;
}
table td { padding: 8px; border-bottom: 1px solid #f0f0f0; color: #444; }
table .text-right { text-align: right; font-weight: 600; }

/* ---------- Loading ---------- */
.loading { display: none; text-align: center; padding: 40px; }
.loading .spinner {
  display: inline-block; width: 28px; height: 28px;
  border: 3px solid #eee; border-top-color: #1565c0;
  border-radius: 50%; animation: spin .8s linear infinite;
  margin-bottom: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { color: #888; font-size: 13px; }

/* ---------- Quick Links ---------- */
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.quick-link {
  background: #fff; border-radius: 8px; padding: 16px;
  text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04);
  color: #333;
}
.quick-link:active { background: #f5f7ff; }
.quick-link .icon { font-size: 24px; margin-bottom: 4px; }
.quick-link .title { font-size: 14px; font-weight: 600; }
.quick-link .desc { font-size: 11px; color: #888; margin-top: 2px; }

/* ---------- Recent List ---------- */
.recent-wrap { padding: 0 12px; }
.recent-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0 12px; }
.recent-list { display: flex; flex-direction: column; gap: 6px; }
.recent-item {
  background: #fff; border-radius: 8px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); text-decoration: none; color: inherit;
}
.recent-item:active { background: #f5f7ff; }
.ri-type { font-size: 13px; font-weight: 600; color: #333; }
.ri-dims { font-size: 11px; color: #888; margin-top: 2px; }
.ri-price { font-size: 15px; font-weight: 700; color: #0d47a1; }
.ri-time { font-size: 11px; color: #aaa; margin-top: 2px; text-align: right; }

/* ---------- Trust Stats ---------- */
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 0 12px;
}
.stat-item {
  background: #fff; border-radius: 8px; padding: 16px;
  text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.stat-item .num { font-size: 22px; font-weight: 800; color: #0d47a1; }
.stat-item .label { font-size: 12px; color: #888; margin-top: 2px; }

/* ---------- Footer ---------- */
.footer {
  background: #2c2c2c; color: #999; padding: 20px 16px 16px; margin-top: 16px;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  justify-content: center; margin-bottom: 8px;
}
.footer-links a {
  color: #ccc; font-size: 12px;
}
.footer-links a:hover { color: #fff; }
.footer-contact {
  text-align: center; font-size: 11px; color: #bbb; margin-bottom: 8px;
}
.friend-links {
  text-align: center; font-size: 11px; color: #777; margin-bottom: 8px;
}
.friend-links span { color: #777; }
.friend-links a {
  color: #999; margin: 0 4px;
}
.friend-links a:hover { color: #fff; }
.footer-bottom {
  text-align: center; font-size: 11px; color: #666;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06);
}

/* ---------- Login / Register ---------- */
.auth-wrap { padding: 20px; }
.auth-card {
  background: #fff; border-radius: 10px; padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.auth-card h1 { font-size: 18px; text-align: center; margin-bottom: 4px; }
.auth-card .sub { font-size: 12px; text-align: center; color: #888; margin-bottom: 20px; }
.auth-footer { text-align: center; font-size: 12px; color: #888; margin-top: 14px; }
.auth-footer a { color: #1565c0; }

/* ---------- User Center ---------- */
.uc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; background: #fff; margin-bottom: 2px;
}
.uc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #0d1b3e; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.uc-info { margin-left: 12px; }
.uc-info .name { font-size: 15px; font-weight: 600; }
.uc-info .phone { font-size: 12px; color: #888; margin-top: 2px; }
.uc-info .vip-badge {
  display: inline-block; background: linear-gradient(135deg,#ff6f00,#ff8f00);
  color: #fff; padding: 1px 8px; border-radius: 10px; font-size: 10px; margin-top: 2px;
}
.uc-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  padding: 12px 16px; background: #fff; margin-bottom: 2px;
}
.uc-stat { text-align: center; }
.uc-stat .num { font-size: 20px; font-weight: 700; color: #0d47a1; }
.uc-stat .label { font-size: 11px; color: #888; margin-top: 2px; }
.uc-menu { padding: 0 16px; }
.uc-menu a {
  display: flex; align-items: center;
  padding: 14px 16px; background: #fff; border-radius: 8px;
  margin-bottom: 6px; text-decoration: none; color: #333; font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.uc-menu a:active { background: #f5f5f5; }
.uc-menu a .icon { font-size: 18px; margin-right: 10px; }
.uc-menu a .arrow { margin-left: auto; color: #bbb; }
.uc-list { padding: 0 16px; }
.uc-list h3 { font-size: 14px; margin: 16px 0 8px; }

/* ---------- Role Select ---------- */
.role-box { display: flex; gap: 8px; margin-bottom: 16px; }
.role-item {
  flex: 1; border: 2px solid #e0e3f0; border-radius: 8px;
  padding: 12px; text-align: center; cursor: pointer;
}
.role-item.active { border-color: #0d47a1; background: #eef0ff; }
.role-item .ico { font-size: 22px; margin-bottom: 2px; }
.role-item .nm { font-size: 13px; font-weight: 600; }
.role-item .desc { font-size: 11px; color: #888; margin-top: 2px; }

/* ---------- 鏈€杩戞姤浠疯窇椹伅 ---------- */
.recent-marquee {
  background: #fff8e1; overflow: hidden; padding: 6px 0;
  white-space: nowrap; position: relative;
}
.recent-marquee-inner {
  display: inline-block; white-space: nowrap;
  font-size: 11px; color: #666;
}
.recent-marquee-inner a { color: #555; font-weight: 600; text-decoration: none; margin: 0 4px; font-size: 11px; }
.recent-marquee-inner a:active { color: #0d47a1; }
.recent-marquee-inner .sep { color: #ccc; margin: 0 6px; font-size: 11px; }

/* ---------- 鐢ㄦ埛鍙嶉 ---------- */
.feedback {
  text-align: center; padding: 12px 0 4px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
}
.fb-btn {
  display: inline-block; padding: 4px 12px;
  border: 1px solid #ddd; border-radius: 12px;
  font-size: 12px; color: #666; cursor: pointer;
  transition: all .2s; background: #fff;
}
.fb-btn:active { opacity: .7; }
.fb-btn:hover { border-color: #0d47a1; color: #0d47a1; }
.fb-btn.fb-ok { border-color: #2e7d32; color: #2e7d32; }
.fb-btn.fb-ok:hover { background: #e8f5e9; }
.fb-btn.done { opacity: .4; pointer-events: none; }
.feedback-msg { padding: 8px 4px 4px; }
.feedback-msg textarea { width:100%; }

/* ---------- Alert ---------- */
.alert { padding: 10px 14px; border-radius: 6px; font-size: 12px; margin-bottom: 12px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }
.alert-warning { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* ---------- Links ---------- */
.links-section { padding: 12px; text-align: center; }
.links-section span { font-size: 11px; color: #999; }
.links-section a { font-size: 11px; color: #888; margin: 0 6px; }

/* ---------- About ---------- */
.about-section { padding: 20px 16px; }
.about-section h2 { font-size: 18px; margin: 20px 0 8px; }
.about-section p { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 8px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.about-stat { text-align: center; padding: 16px; background: #e3f2fd; border-radius: 8px; }
.about-stat .num { font-size: 22px; font-weight: 800; color: #0d47a1; }
.about-stat .label { font-size: 12px; color: #555; margin-top: 2px; }

/* ---------- Print ---------- */
@media print {
  .header, .footer, .hero, .quick-links, .recent-wrap, .result-actions,
  .links-section { display: none !important; }
  .result-card { box-shadow: none; padding: 0; }
  .page-wrap { max-width: 100%; box-shadow: none; background: #fff; }
}
/* 手机版容器 - PC端居中显示 */
.page-wrap { max-width: 480px; margin: 0 auto; background: #f5f7fa; min-height: 100vh; position: relative; }
body { background: #e0e0e0; }

/* 顶部横幅 */
.header { background: #0d1b3e; color: #fff; }
.header-row1 { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; }
.header-row1 .logo img { height: 32px; vertical-align: middle; }
.header-right a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 12px; margin-left: 12px; }
.nav-row { display: flex; background: rgba(255,255,255,.08); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nav-row a { flex: 1; text-align: center; padding: 8px 0; font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; white-space: nowrap; }
.nav-row a.active { color: #fff; border-bottom: 2px solid #ffc107; }

/* 卡片内容 */
.section { padding: 8px 12px; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 12px; }
.card-body { padding: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.form-group { margin-bottom: 4px; }
.form-group label { display: block; font-size: 12px; color: #555; margin-bottom: 4px; font-weight: 500; }
.form-control { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; box-sizing: border-box; }
.form-control:focus { border-color: #0d47a1; outline: none; }
select.form-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center; padding-right: 28px; }
.form-required { color: #e53935; }
.contact-box { background: #f8f9ff; border-radius: 8px; padding: 12px; margin-top: 8px; }
.contact-box h3 { font-size: 14px; color: #0d47a1; margin-bottom: 8px; }

/* 按钮 */
.btn { display: inline-block; padding: 8px 20px; border-radius: 6px; font-size: 13px; border: none; cursor: pointer; text-decoration: none; }
.btn-warning { background: #ff8f00; color: #fff; }
.btn-warning:hover { background: #ff6f00; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 12px 20px; font-size: 15px; }
.btn-primary { background: #0d47a1; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* Tab */
.tab-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.tab { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; background: #e0e0e0; color: #888; cursor: pointer; transition: all .2s; }
.tab.active { background: #0d47a1; color: #fff; }

/* 底部 */
.footer { background: #1a1a2e; text-align: center; padding: 20px 16px; font-size: 12px; color: #ccc; }
.footer-box-row { display: flex; justify-content: center; align-items: stretch; min-height: 56px; }
.footer-box { display: flex; align-items: center; justify-content: center; }
.footer-box-left { display: flex; align-items: center; justify-content: flex-end; min-width: 28px; flex-shrink: 0; margin-right: 6px; }
.footer-box-right { display: flex; align-items: center; justify-content: flex-start; min-width: 28px; flex-shrink: 0; margin-left: 6px; }
.footer-box-mid { display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.3; white-space: nowrap; }
.fb-line { display: block; font-size: 12px; color: #ccc; }
.fb-sub { font-size: 11px; color: #999; }
.fb-tip { font-size: 10px; color: #777; }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.footer-links a { color: #ff8f00; text-decoration: none; }
.footer-links a:hover { color: #ffb300; }


.friend-links { text-align: center; font-size: 11px; color: #777; margin-bottom: 8px; }
.friend-links span { color: #777; }
.friend-links a { color: #888; text-decoration: none; margin: 0 6px; }
.friend-links a:hover { color: #aaa; }
.footer-bottom { color: #666; border-top: 1px solid #333; padding-top: 10px; margin-top: 8px; font-size: 11px; text-align: center; }

/* 报价结果 */
.result-box { padding: 0 0 16px; }
.result-table { width: 100%; font-size: 13px; }
.result-table td { padding: 6px 8px; border-bottom: 1px solid #f5f5f5; }

/* 加载动画 */
.loading { display: none; text-align: center; padding: 40px; }
.spinner { width: 32px; height: 32px; border: 3px solid #e0e0e0; border-top-color: #0d47a1; border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 急用时隐藏滚动条 */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide { display: none; align-items: center; justify-content: center; flex-direction: column; }
.hero-slide.active { display: flex; }
.hero-slide h1 { font-size: 16px; margin-bottom: 4px; }
.hero-slide p { font-size: 12px; opacity: .8; }
.slider-dots { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.dot.active { background: #fff; }

/* 公告 */
@keyframes notice-scroll { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

/* 行业资讯卡片 */
.article-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.article-card { background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.04); text-decoration: none; color: inherit; display: block; }
.article-card h4 { font-size: 14px; color: #0d47a1; margin-bottom: 4px; }
.article-card p { font-size: 12px; color: #888; line-height: 1.5; }


/* ---------- Footer v2 ---------- */
.footer-new { background: #1a1a2e; padding: 24px 16px 0; margin-top: 20px; }
.footer-inner { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.footer-col-brand { grid-column: 1 / -1; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-brand-name { font-size: 16px; font-weight: 700; color: #ff8f00; }
.footer-desc { font-size: 12px; color: #999; line-height: 1.6; margin-bottom: 12px; }
.footer-qr-row { display: flex; gap: 16px; }
.fqr-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fqr-item span { font-size: 10px; color: #888; }
.footer-col-title { font-size: 13px; font-weight: 600; color: #ccc; margin-bottom: 8px; }
.footer-col-links a { display: block; font-size: 12px; color: #aaa; text-decoration: none; line-height: 2; }
.footer-col-links a:hover { color: #ff8f00; }
.fcontact-item { font-size: 12px; color: #aaa; line-height: 1.8; }
.footer-bar { text-align: center; font-size: 11px; color: #666; padding: 12px 0; margin-top: 16px; border-top: 1px solid #333; }
.footer-bar a { color: #777; text-decoration: none; }
.footer-bar a:hover { color: #ff8f00; }
.fb-sep { margin: 0 8px; color: #444; }

/* ===== 会员中心 ===== */
.member-layout {
  display: flex;
  gap: 16px;
  margin: 12px 0;
}
.member-sidebar {
  width: 160px;
  flex-shrink: 0;
}
.member-sidebar .ms-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.member-sidebar .ms-user {
  padding: 20px;
  text-align: center;
  background: #0d1b3e;
  color: #fff;
}
.member-sidebar .ms-user .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 8px;
}
.member-sidebar .ms-user .name {
  font-size: 14px;
  font-weight: 600;
}
.member-sidebar .ms-user .phone {
  font-size: 12px;
  opacity: .6;
  margin-top: 2px;
}
.member-sidebar .ms-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: .2s;
}
.member-sidebar .ms-nav a:hover,
.member-sidebar .ms-nav a.active {
  background: #e3f2fd;
  color: #0d47a1;
  font-weight: 600;
}
.member-sidebar .ms-nav a:last-child {
  border-bottom: none;
}
.member-content {
  flex: 1;
  min-width: 0;
}

/* 卡片 */
.mc-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 14px;
  overflow: hidden;
}
.mc-card-header {
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.mc-card-body {
  padding: 14px 16px;
}

/* 余额卡片 */
.balance-card {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
}
.balance-card .label {
  font-size: 12px;
  opacity: .7;
}
.balance-card .amount {
  font-size: 32px;
  font-weight: 800;
  margin: 4px 0;
}
.balance-card .amount small {
  font-size: 16px;
  font-weight: 400;
}
.balance-card .actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.balance-card .actions a {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
}
.balance-card .btn-recharge {
  background: #ff8f00;
  color: #fff;
}
.balance-card .btn-history {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* VIP状态 */
.vip-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
}
.vip-status.none {
  background: #f5f5f5;
  color: #888;
}
.vip-status.normal {
  background: #e3f2fd;
  color: #0d47a1;
}
.vip-status.high {
  background: #fff3e0;
  color: #e65100;
}
.vip-status .vip-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.vip-status.none .vip-badge { background: #ddd; color: #666; }
.vip-status.normal .vip-badge { background: #0d47a1; color: #fff; }
.vip-status.high .vip-badge { background: #e65100; color: #fff; }

/* 统计行 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.stat-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.stat-item .num {
  font-size: 22px;
  font-weight: 700;
  color: #0d47a1;
}
.stat-item .lbl {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* 工单列表 */
.order-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  gap: 12px;
}
.order-item:last-child { border: none; }
.order-item .oi-info {
  flex: 1;
  min-width: 0;
}
.order-item .oi-title {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-item .oi-meta {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* 状态标签 */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.tag-pending { background: #fff8e1; color: #e65100; }
.tag-active { background: #e3f2fd; color: #0d47a1; }
.tag-done { background: #e8f5e9; color: #2e7d32; }
.tag-cancel { background: #f5f5f5; color: #999; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}
.empty-state .icon { font-size: 36px; margin-bottom: 8px; }
.empty-state .txt { font-size: 13px; }

/* 模具厂专区 */
.supplier-section {
  background: #fff3e0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 14px;
}
.supplier-section h4 {
  font-size: 14px;
  margin: 0 0 8px;
  color: #e65100;
}
.supplier-section .tip {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

@media(max-width:600px) {
  .member-layout { flex-direction: column; }
  .member-sidebar { width: 100%; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat-item { padding: 10px 6px; }
  .stat-item .num { font-size: 18px; }
}

@media (max-width:480px) { .header-search-wrap { transform: translateX(-20px); } }

/* 搜索框PC/手机适配 */
.hsearch-wrap { margin-left: 25px; }
.hsearch-form { max-width: 200px; }
.hsearch-input, .hsearch-btn { height: 26px !important; font-size: 12px !important; }
@media (max-width: 480px) {
  .hsearch-wrap { margin-left: 5px; }
  .hsearch-input, .hsearch-btn { height: 22px !important; font-size: 11px !important; }
  .hsearch-input { width: 80px; }
}
