﻿:root {
  /* 色板 */
  --bg:          #f5f5f7;
  --bg-soft:     #fafafa;
  --surface:     #ffffff;
  --ink:         #2b2b2b;
  --ink-2:       #3a3a3a;
  --ink-3:       #6b6b6b;
  --ink-4:       #9b9b9b;
  --line:        #e6e6e8;
  --line-2:      #efeff1;

  --accent:      #c8161d;        /* 中国红 */
  --accent-2:    #a30f15;
  --accent-soft: #fbe9ea;

  --unicom:      #e60012;
  --mobile:      #0066cc;
  --telecom:     #0066ff;

  --radius:      14px;
  --radius-sm:   8px;
  --shadow-sm:   0 2px 8px rgba(43, 43, 43, .06);
  --shadow:      0 12px 32px rgba(43, 43, 43, .10);
  --shadow-lg:   0 24px 64px rgba(43, 43, 43, .16);

  --container:   1180px;
  --ease:        cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
td,th {
	font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, h4, h5 { font-family: 'Noto Serif SC', 'Noto Sans SC', serif; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
svg { display: block; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 精致滚动条 (8px / 4px圆角 / 灰红渐变 / 三态) ---------- */
.scroll-thin, .history-list, .about-card, .modal-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 22, 29, .35) transparent;
}
.scroll-thin::-webkit-scrollbar,
.history-list::-webkit-scrollbar,
.about-card::-webkit-scrollbar,
.modal-card::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.scroll-thin::-webkit-scrollbar-track,
.history-list::-webkit-scrollbar-track,
.about-card::-webkit-scrollbar-track,
.modal-card::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .02);
  border-radius: 4px;
}
.scroll-thin::-webkit-scrollbar-thumb,
.history-list::-webkit-scrollbar-thumb,
.about-card::-webkit-scrollbar-thumb,
.modal-card::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b6b6b8 0%, #c8161d 100%);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.scroll-thin::-webkit-scrollbar-thumb:hover,
.history-list::-webkit-scrollbar-thumb:hover,
.about-card::-webkit-scrollbar-thumb:hover,
.modal-card::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c8161d 0%, #a30f15 100%);
  background-clip: padding-box;
}
.scroll-thin::-webkit-scrollbar-thumb:active,
.history-list::-webkit-scrollbar-thumb:active,
.about-card::-webkit-scrollbar-thumb:active,
.modal-card::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #a30f15 0%, #7c0a0e 100%);
  background-clip: padding-box;
}
/* 全局滚动条 */
html { scrollbar-width: thin; scrollbar-color: rgba(200, 22, 29, .35) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, .02); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b6b6b8 0%, #c8161d 100%);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c8161d 0%, #a30f15 100%);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #a30f15 0%, #7c0a0e 100%);
  background-clip: padding-box;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  font-family: 'Noto Serif SC', serif;
  font-weight: 900; font-size: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(200, 22, 29, .35);
}
.brand-logo {
  display: block; height: 40px; width: auto; max-width: 150px;
  object-fit: contain;
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; color: var(--ink); font-family: 'JetBrains Mono', monospace; letter-spacing: -.2px; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--ink-3); margin-top: 2px; letter-spacing: 1px; }

.nav-toggle { display: none; }
.nav-links-desktop { display: flex; gap: 6px; }
.nav-links-desktop a {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 8px;
  transition: all .25s var(--ease);
  position: relative;
}
.nav-links-desktop a:hover { color: var(--ink); background: var(--line-2); }
.nav-links-desktop a.active { color: var(--accent); background: var(--accent-soft); }
.nav-links-desktop a.active::after {
  content: '';
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--accent);
}

/* 更多栏目下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 8px;
  transition: all .25s var(--ease);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger:hover { color: var(--ink); background: var(--line-2); }
.nav-dropdown-trigger.active { color: var(--accent); background: var(--accent-soft); }
.nav-dropdown-trigger svg { transition: transform .25s ease; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  border: 1px solid var(--line-2);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s var(--ease);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 8px;
  transition: all .2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-dropdown-menu a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

/* 手机端导航 - 移到header外面避免层叠上下文问题 */
.nav-links-mobile {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  padding: 16px 20px;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s ease;
  z-index: 9998;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-links-mobile.open {
  display: flex;
  transform: translateX(0);
}
.nav-links-mobile a {
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink-3);
  border-radius: 10px;
  border-bottom: 1px solid var(--line-2);
  transition: all .25s var(--ease);
}
.nav-links-mobile a:last-child { border-bottom: none; }
.nav-links-mobile a:hover { color: var(--ink); background: var(--line-2); }
.nav-links-mobile a.active { color: var(--accent); background: var(--accent-soft); }

/* 移动端更多栏目折叠 */
.nav-mobile-more {
  display: block;
  overflow: visible;
}
.nav-mobile-more summary {
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink-3);
  border-radius: 10px;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .25s var(--ease);
}
.nav-mobile-more summary::-webkit-details-marker { display: none; }
.nav-mobile-more summary::after {
  content: '▸';
  font-size: 12px;
  transition: transform .25s ease;
}
.nav-mobile-more[open] summary::after { transform: rotate(90deg); }
.nav-mobile-more summary:hover { color: var(--ink); background: var(--line-2); }
.nav-mobile-more summary.active { color: var(--accent); background: var(--accent-soft); }
.nav-mobile-more summary.active::after { color: var(--accent); }
.nav-mobile-more a {
  display: block;
  padding: 14px 16px 14px 36px !important;
  font-size: 14px;
  border-bottom: 1px solid var(--line-2) !important;
}
.nav-mobile-more[open] a:last-child {
  border-bottom: 1px solid var(--line-2) !important;
  margin-bottom: 4px;
}

/* ---------- 幻灯片 Banner ---------- */
.banner-slider {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 0%, #fafafa 30%, #f5f5f7 60%, #eeeeef 100%);
  min-height: 420px;
}
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
  display: flex;
  align-items: center;
}
.slider-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.slider-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.slider-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 24px;
  max-width: var(--container);
}
.slider-content {
  flex: 1;
  max-width: 560px;
}
.slider-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.slider-title {
  font-size: 42px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.slider-title .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.slider-title .accent::after {
  content: '';
  position: absolute; left: 8%; right: 8%; bottom: -6px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: .55;
}
.slider-desc {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.slider-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(200, 22, 29, .32);
  transition: all .25s var(--ease);
  text-decoration: none;
}
.slider-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 22, 29, .42);
}
.slider-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-3);
  cursor: pointer;
  z-index: 10;
  transition: all .25s var(--ease);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(200,22,29,.15);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.slider-dot:hover {
  background: var(--accent-2);
}

/* ---------- Hero 查询区 ---------- */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(200, 22, 29, .08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(43, 43, 43, .04) 0%, transparent 60%),
    linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(43, 43, 43, .04) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  animation: fadeInUp .6s var(--ease) both;
}
.hero-title {
  font-size: 46px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -1px;
  margin-bottom: 18px;
  animation: fadeInUp .7s var(--ease) .05s both;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero-title .accent::after {
  content: '';
  position: absolute; left: 8%; right: 8%; bottom: -6px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: .55;
}
.hero-sub {
  color: var(--ink-3);
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto 36px;
  animation: fadeInUp .8s var(--ease) .1s both;
}

/* 查询表单 */
.search-form {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  animation: fadeInUp .9s var(--ease) .15s both;
}
.search-input-wrap {
  position: relative;
  flex: 1;
  display: flex; align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 20px 0 52px;
  height: 60px;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 22, 29, .12), var(--shadow-sm);
}
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-4);
  transition: color .25s var(--ease);
}
.search-input-wrap:focus-within .search-icon { color: var(--accent); }
.search-input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--ink);
  height: 100%;
}
.search-input::placeholder { color: var(--ink-4); letter-spacing: 0; }
.clear-btn {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-4);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.clear-btn:hover { color: var(--accent); background: var(--accent-soft); }

.search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(200, 22, 29, .32);
  transition: all .25s var(--ease);
  position: relative;
  min-width: 140px;
}
.search-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200, 22, 29, .42); }
.search-btn:active { transform: translateY(0); }
.search-btn[disabled] { opacity: .7; cursor: not-allowed; transform: none !important; }
.btn-loader {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.search-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-4);
  animation: fadeInUp 1s var(--ease) .2s both;
}
.search-meta .meta-tip::before {
  content: '●'; color: var(--accent); margin-right: 6px; font-size: 8px; vertical-align: middle;
}

/* ---------- 主体布局 ---------- */
.main { padding: 0px 24px 80px; }
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* 结果卡区 */
.result-col { min-height: 320px; }
.result-empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.empty-illust { margin-bottom: 18px; opacity: .85; animation: floatY 4s ease-in-out infinite; }
.result-empty h3 { font-size: 20px; color: var(--ink-2); margin-bottom: 8px; }
.result-empty p { color: var(--ink-4); font-size: 14px; }

/* 查询结果卡 */
.result-card-host { animation: fadeInUp .5s var(--ease) both; }
.result-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
}
.rc-head {
  padding: 26px 32px 22px;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.rc-phone-block { display: flex; flex-direction: column; gap: 4px; }
.rc-phone-label { font-size: 12px; color: var(--ink-4); letter-spacing: 2px; }
.rc-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px; font-weight: 700;
  color: var(--ink);
  letter-spacing: 2px;
}
.rc-operator {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(200, 22, 29, .15);
}
.rc-operator .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(200, 22, 29, .15);
}
.rc-body {
  padding: 24px 32px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rc-field {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: all .25s var(--ease);
}
.rc-field:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(200, 22, 29, .08);
}
.rc-field-label {
  font-size: 11px; color: var(--ink-4);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.rc-field-label::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.rc-field-value {
  font-size: 17px; color: var(--ink);
  font-weight: 500;
  font-family: 'Noto Sans SC', sans-serif;
  word-break: break-all;
}
.rc-field-value.mono { font-family: 'JetBrains Mono', monospace; letter-spacing: .5px; }
.rc-field-value.region { color: var(--accent); font-weight: 700; }

.rc-foot {
  padding: 16px 32px;
  background: linear-gradient(180deg, transparent, var(--bg-soft));
  border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-4);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.rc-foot code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* ---------- 侧栏 ---------- */
.side-col { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.side-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
}
.side-card-head h4 { font-size: 14px; color: var(--ink); font-family: 'Noto Sans SC', sans-serif; font-weight: 700; }
.link-btn { font-size: 12px; color: var(--ink-4); transition: color .2s var(--ease); }
.link-btn:hover { color: var(--accent); }

.history-list {
  list-style: none; margin: 0; padding: 8px;
  max-height: 280px; overflow-y: auto;
}
.history-list li {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.history-list li:not(.history-empty):hover { background: var(--accent-soft); }
.history-list li .h-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--ink); font-weight: 700;
  letter-spacing: .5px;
}
.history-list li .h-region {
  font-size: 12px; color: var(--ink-3);
  max-width: 100px; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.history-list li .h-time { font-size: 11px; color: var(--ink-4); margin-top: 2px; }
.history-empty {
  text-align: center; color: var(--ink-4) !important;
  font-size: 13px; cursor: default !important;
  padding: 28px 12px !important;
}

/* 统计卡 */
.stats-card { padding: 8px 0; }
.stat-row {
  padding: 14px 20px;
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px dashed var(--line-2);
}
.stat-row:last-child { border-bottom: none; }
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px; font-weight: 700; color: var(--accent);
}
.stat-num .unit { font-size: 13px; color: var(--ink-3); margin-left: 2px; font-weight: 400; }
.stat-label { font-size: 13px; color: var(--ink-3); }




/* ---------- 业务板块 ---------- */
.business-section { margin-top: 60px; }
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.business-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all .3s var(--ease);
  text-decoration: none;
  color: inherit;
  min-height: 110px;
}
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}


.business-card1 {
 background:#FEFAFA;
  border: 1px solid #F8B4B7;
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all .3s var(--ease);
  text-decoration: none;
  color: inherit;
  min-height: 110px;
}
.business-card1:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.business-card1:hover .business-icon {
  transform: scale(1.15);
}
.business-card1 {
  position: relative;
}
.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #c8161d 0%, #e63946 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 0 var(--radius) 0 8px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(200, 22, 29, .3);
}




.business-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  transition: all .25s var(--ease);
}
.business-card:hover .business-icon {
  transform: scale(1.15);
}
.business-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ---------- 号段知识 ---------- */
.knowledge { margin-top: 60px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-size: 30px; color: var(--ink); letter-spacing: -.5px;
  display: inline-flex; align-items: center; gap: 14px;
}
.section-head h2::before,
.section-head h2::after {
  content: ''; width: 28px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section-head h2::after { background: linear-gradient(90deg, var(--accent), transparent); }
.section-head p { color: var(--ink-3); font-size: 14px; margin-top: 8px; }

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.know-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.know-card::before {
  content: '';
  position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.know-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.know-card:hover::before { transform: scaleX(1); }
.know-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.know-unicom .know-tag { background: rgba(230, 0, 18, .1); color: var(--unicom); }
.know-mobile .know-tag { background: rgba(0, 102, 204, .1); color: var(--mobile); }
.know-telecom .know-tag { background: rgba(0, 102, 255, .1); color: var(--telecom); }
.know-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
  color: var(--ink-2); line-height: 1.7;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.know-card p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 关于 ---------- */
.about { margin-top: 60px; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  max-height: 320px; overflow-y: auto;
}
.about-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.about-card strong { color: var(--accent); }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li {
  padding: 10px 0 10px 22px;
  position: relative;
  color: var(--ink-3);
  font-size: 14px;
  border-bottom: 1px dashed var(--line-2);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- 友情链接 ---------- */
.friend-links { margin-top: 60px; }
.links-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.link-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: all .25s var(--ease);
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-item:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

/* ---------- 新闻动态 ---------- */
.news { margin-top: 60px; }
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.news-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s var(--ease);
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.news-date {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-4);
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 10px;
  background: var(--line-2);
  border-radius: 4px;
  margin-bottom: 12px;
}
.news-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color .2s var(--ease);
}
.news-item:hover .news-title { color: var(--accent); }
.news-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 关于我们 ---------- */
.about-section {
  padding: 60px 0;
  background: #f8f9fa;
  border-top: 1px solid var(--line);
}
.about-section .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 32px;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-content p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #1f1f22;
  color: rgba(255, 255, 255, .7);
  padding: 28px 0;
  margin-top: 0px; 
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 13px;
}
.footer-muted { color: rgba(255, 255, 255, .4); font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.footer-nav { display: flex; align-items: center; gap: 12px; }
.footer-nav a { color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-divider { color: rgba(255, 255, 255, .3); font-size: 12px; }

.footer-info { display: flex; flex-direction: column; gap: 6px; text-align: center; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; top: 50%; left: 50%; z-index: 200;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 260px; max-width: 420px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  animation: toastIn .35s var(--ease) both;
}
.toast.success {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #bbf7d0;
  box-shadow: 0 12px 40px rgba(22, 163, 74, .25);
}
.toast.success .toast-icon { color: #16a34a; }
.toast.success .toast-icon svg { width: 22px; height: 22px; }
.toast.error { border-left-color: var(--accent); }
.toast.error .toast-icon { color: var(--accent); }
.toast.info { border-left-color: var(--ink-3); }
.toast.info .toast-icon { color: var(--ink-3); }
.toast-icon { flex-shrink: 0; }
.toast.leaving { animation: toastOut .3s var(--ease) forwards; }

/* ---------- Modal ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(43, 43, 43, .4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: maskIn .25s var(--ease);
}
.modal-mask[hidden] { display: none; }
.modal-card {
  position: relative;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 28px;
  width: 100%; max-width: 420px;
  text-align: center;
  animation: modalIn .35s var(--ease);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-4);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.modal-close:hover { color: var(--accent); background: var(--accent-soft); }
.modal-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal-icon.error { background: var(--accent-soft); color: var(--accent); }
.modal-icon.success { background: rgba(22, 163, 74, .12); color: #16a34a; }
.modal-icon.warning { background: rgba(245, 158, 11, .14); color: #d97706; }
.modal-title { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.modal-text { font-size: 14px; color: var(--ink-3); line-height: 1.7; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; }

.btn {
  padding: 10px 24px;
  font-size: 14px; font-weight: 500;
  border-radius: 10px;
  transition: all .25s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 22, 29, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(200, 22, 29, .38); }
.btn-ghost {
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--line-2); }

/* ---------- 动画 ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes toastIn {
  from { opacity: 0; transform: scale(.9) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: scale(.9) translateY(-10px); }
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .side-col { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-card { flex: 1; min-width: 240px; }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .business-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-title { font-size: 38px; }
  .slider-title { font-size: 34px; }
  .slider-inner { gap: 24px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-wrap { height: 58px; }
  .brand-text strong { font-size: 13px; }
  .brand-text em { font-size: 10px; }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-3);
    border-radius: 2px;
    transition: all .3s ease;
  }
  .nav-toggle span:nth-child(1) { transform: translateY(-6px); }
  .nav-toggle span:nth-child(3) { transform: translateY(6px); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

  /* 桌面导航隐藏 */
  .nav-links-desktop { display: none; }

  /* 手机端导航 */
  .nav-links-mobile {
    display: flex;
    transform: translateX(100%);
  }
  .nav-links-mobile.open { transform: translateX(0); }

  .hero { padding: 44px 0 36px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 14px; }
  .search-form { flex-direction: column; gap: 10px; }
  .search-input-wrap { height: 56px; padding: 0 18px 0 50px; }
  .search-icon { left: 16px; }
  .search-input { font-size: 17px; padding: 8px 5px; }
  .search-btn { height: 56px; width: 100%; }

  .main { padding: 36px 16px 60px; }
  .rc-head { padding: 20px 20px 16px; }
  .rc-phone { font-size: 24px; }
  .rc-body { padding: 18px 20px 22px; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rc-field { padding: 12px 14px; }
  .rc-field-value { font-size: 15px; }
  .rc-foot { padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }

  .side-col { flex-direction: column; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; }
  .knowledge, .about, .news { margin-top: 56px; }
  .section-head h2 { font-size: 24px; }
  .about-card { padding: 24px 20px; }
  .banner-slider { min-height: auto; }
  .slider-inner { flex-direction: column-reverse; padding: 40px 16px 60px; text-align: center; }
  .slider-content { max-width: 100%; }
  .slider-title { font-size: 26px; }
  .slider-visual { display: none; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 18px; }

  .toast-wrap { top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); width: calc(100% - 32px); }
  .toast { min-width: 0; max-width: 100%; width: 100%; }
}


