/* =========================================================
   广州云启网络科技有限公司 · 站点样式
   主色：蓝 (#1a56db / #0b3ba8)，辅色：天青 (#06b6d4)
   ========================================================= */

:root {
  --blue-950: #06183f;
  --blue-900: #0b2a63;
  --blue-800: #0e3a86;
  --blue-700: #14479f;
  --blue-600: #1a56db;
  --blue-500: #2f6ee8;
  --blue-400: #5b8df0;
  --blue-100: #e2ecff;
  --blue-50: #f2f6ff;
  --cyan-500: #06b6d4;
  --cyan-100: #d6f5fb;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f8;
  --bg: #f6f8fc;
  --white: #ffffff;

  --ok: #0f9d58;
  --warn: #d97706;
  --danger: #dc2626;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 6px 24px rgba(11, 42, 99, .08);
  --shadow-lg: 0 18px 50px rgba(11, 42, 99, .16);
  --max: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-600); text-decoration: none; transition: color .18s; }
a:hover { color: var(--blue-800); }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.32;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.01em;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { margin: 0; padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  transition: transform .16s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; box-shadow: 0 8px 20px rgba(26, 86, 219, .26);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(26, 86, 219, .34); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-100); }
.btn-outline:hover { border-color: var(--blue-400); color: var(--blue-800); background: var(--blue-50); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  background: var(--blue-950); color: rgba(255,255,255,.72);
  font-size: 12.5px; letter-spacing: .02em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 18px; align-items: center; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-500); display: inline-block; }

header.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; gap: 34px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--blue-600), var(--blue-900));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(26, 86, 219, .3);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 17px; color: var(--ink-900); letter-spacing: .02em; }
.logo-text span { font-size: 11px; color: var(--ink-400); letter-spacing: .12em; text-transform: uppercase; }

nav.main-nav { display: flex; gap: 4px; flex: 1; }
nav.main-nav a {
  padding: 8px 14px; border-radius: 10px; color: var(--ink-700);
  font-weight: 500; font-size: 15px;
}
nav.main-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
nav.main-nav a.active { color: var(--blue-700); background: var(--blue-100); font-weight: 600; }

.head-actions { display: flex; align-items: center; gap: 10px; }
.head-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; height: 38px; padding: 0 6px 0 14px;
  transition: border-color .2s, background .2s;
}
.head-search:focus-within { border-color: var(--blue-400); background: #fff; }
.head-search input { border: 0; background: transparent; outline: none; width: 140px; font-size: 13.5px; color: var(--ink-900); }
.head-search input::placeholder { color: var(--ink-400); }
.head-search button {
  width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blue-600); color: #fff; display: grid; place-items: center;
}
.head-search button:hover { background: var(--blue-700); }

.user-chip {
  display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.user-chip:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700;
  background: var(--blue-600); overflow: hidden;
}
.avatar.lg { width: 52px; height: 52px; font-size: 20px; }
.user-chip .u-name { font-size: 13.5px; font-weight: 600; color: var(--ink-900); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 196px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 80;
}
.dropdown.open .dropdown-menu { display: block; animation: fadeDown .18s ease-out; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 12px; border: 0; background: none; border-radius: 8px;
  color: var(--ink-700); font-size: 14px; cursor: pointer; text-align: left;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--blue-50); color: var(--blue-700); }
.dropdown-menu .sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }
.dropdown-menu .dm-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; }
.dropdown-menu .dm-head b { display: block; font-size: 14px; color: var(--ink-900); }
.dropdown-menu .dm-head span { font-size: 12px; color: var(--ink-400); }

.nav-toggle { display: none; }

/* ---------------- 主视觉 ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 82% -10%, rgba(6,182,212,.34), transparent 62%),
    radial-gradient(900px 520px at 8% 110%, rgba(47,110,232,.42), transparent 60%),
    linear-gradient(150deg, var(--blue-950), var(--blue-800) 58%, var(--blue-700));
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 76px 24px 84px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: 12.5px; letter-spacing: .06em; color: #dbe8ff;
}
.hero-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(6,182,212,.22); }
.hero h1 { color: #fff; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.22; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #9ec2ff; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 16px; margin: 20px 0 32px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero-facts .f b { display: block; font-size: 26px; color: #fff; letter-spacing: -.02em; }
.hero-facts .f span { font-size: 12.5px; color: rgba(255,255,255,.62); letter-spacing: .04em; }

/* 右侧：服务看板模拟 */
.hero-panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 20px; backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(3, 15, 40, .45);
}
.hp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hp-top span { font-size: 12.5px; color: rgba(255,255,255,.66); letter-spacing: .08em; }
.hp-dots { display: flex; gap: 5px; }
.hp-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.hp-dots i:first-child { background: var(--cyan-500); }
.hp-list { display: grid; gap: 10px; }
.hp-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 14px;
}
.hp-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(6,182,212,.18); color: #8be9f7; flex: none; }
.hp-item b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }
.hp-item small { color: rgba(255,255,255,.55); font-size: 11.5px; }
.hp-bar { margin-left: auto; width: 58px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.hp-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-500), #7dd3fc); }
.hp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.16); font-size: 12px; color: rgba(255,255,255,.6); }
.hp-foot strong { color: #fff; font-size: 13px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 68px 0; }
.section.tight { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head .sh-left h2 { font-size: 27px; }
.section-head .sh-left p { margin: 9px 0 0; color: var(--ink-500); font-size: 14.5px; }
.section-head .sh-left .kicker {
  display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); font-weight: 700; margin-bottom: 10px;
}
.more-link { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.more-link:hover { gap: 10px; }

/* ---------------- 入口卡片 ---------------- */
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.entry-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px 22px 22px; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: block;
}
.entry-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 150px; height: 150px;
  border-radius: 50%; background: var(--blue-50); transition: transform .4s;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); color: inherit; }
.entry-card:hover::before { transform: scale(1.35); }
.entry-ic {
  position: relative; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-100), #f4f8ff); color: var(--blue-700);
  border: 1px solid #e5eeff; margin-bottom: 16px;
}
.entry-card h3 { position: relative; font-size: 17px; margin-bottom: 6px; }
.entry-card p { position: relative; margin: 0 0 14px; font-size: 13.5px; color: var(--ink-500); line-height: 1.65; }
.entry-meta { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-400); }
.entry-meta b { color: var(--blue-600); font-weight: 700; }

/* ---------------- 服务条目卡片 ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.p-thumb {
  position: relative; height: 148px; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--hue, 216) 78% 52%), hsl(var(--hue, 216) 72% 32%));
  display: flex; align-items: flex-end; padding: 16px;
}
.p-thumb::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(320px 160px at 88% -20%, rgba(255,255,255,.28), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 12px, transparent 12px 26px);
}
.p-thumb .pt-label { position: relative; color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .86; }
.p-thumb .pt-code { position: absolute; top: 14px; right: 16px; font-size: 11.5px; color: rgba(255,255,255,.62); letter-spacing: .08em; }
.p-thumb .pt-badge {
  position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--blue-700); font-size: 11.5px; font-weight: 700;
}
.p-body { padding: 17px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.p-body h3 { font-size: 16px; line-height: 1.5; }
.p-body h3 a { color: var(--ink-900); }
.p-body h3 a:hover { color: var(--blue-700); }
.p-body p { margin: 0; font-size: 13.5px; color: var(--ink-500); line-height: 1.66; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; padding: 2px 9px; border-radius: 6px;
  background: var(--blue-50); color: var(--blue-700); border: 1px solid #e6eeff;
}
.p-foot {
  margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--ink-400);
}
.p-price { color: var(--blue-700); font-weight: 700; font-size: 14px; }
.p-price small { color: var(--ink-400); font-weight: 400; font-size: 11.5px; margin-right: 3px; }

/* ---------------- 数据条 ---------------- */
.stat-band { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band .st { padding: 26px 24px; border-right: 1px solid var(--line-soft); }
.stat-band .st:last-child { border-right: 0; }
.stat-band .st b { display: block; font-size: 30px; color: var(--blue-800); letter-spacing: -.02em; }
.stat-band .st b i { font-style: normal; font-size: 15px; color: var(--blue-400); margin-left: 3px; }
.stat-band .st span { font-size: 13px; color: var(--ink-500); }

/* ---------------- 流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow-item { position: relative; padding: 0 26px; }
.flow-item::before {
  content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--blue-100), #dbe6f8);
}
.flow-item:first-child::before { left: 50%; }
.flow-item:last-child::before { right: 50%; }
.flow-dot {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 14px rgba(26,86,219,.1); margin-bottom: 16px;
}
.flow-item.active .flow-dot { background: linear-gradient(140deg, var(--blue-600), var(--blue-800)); color: #fff; border-color: transparent; }
.flow-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.flow-item p { margin: 0; font-size: 13.5px; color: var(--ink-500); }

/* ---------------- 资讯 ---------------- */
.news-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.a-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; }
.a-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.a-card .a-cat { font-size: 11.5px; letter-spacing: .1em; color: var(--blue-600); font-weight: 700; text-transform: uppercase; }
.a-card h3 { font-size: 16.5px; line-height: 1.5; }
.a-card h3 a { color: var(--ink-900); }
.a-card h3 a:hover { color: var(--blue-700); }
.a-card p { margin: 0; font-size: 13.5px; color: var(--ink-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.a-card .a-meta { margin-top: auto; font-size: 12px; color: var(--ink-400); display: flex; gap: 12px; }
.a-card.feature { background: linear-gradient(150deg, var(--blue-900), var(--blue-700)); border-color: transparent; }
.a-card.feature .a-cat { color: #93c5fd; }
.a-card.feature h3 a, .a-card.feature h3 { color: #fff; }
.a-card.feature p { color: rgba(255,255,255,.76); }
.a-card.feature .a-meta { color: rgba(255,255,255,.55); }

/* ---------------- 咨询表单 ---------------- */
.contact-wrap {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  background: #fff; border: 1px solid var(--line-soft);
}
.contact-left { padding: 44px; background: linear-gradient(155deg, var(--blue-950), var(--blue-800)); color: #fff; position: relative; overflow: hidden; }
.contact-left::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -160px; bottom: -180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.35), transparent 68%);
}
.contact-left h2 { color: #fff; font-size: 24px; margin-bottom: 14px; position: relative; }
.contact-left p { color: rgba(255,255,255,.76); font-size: 14px; margin: 0 0 28px; position: relative; }
.contact-list { display: grid; gap: 16px; position: relative; }
.contact-list .ci { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,.86); }
.contact-list .ci-ic { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: #a5d8ff; }
.contact-list small { display: block; color: rgba(255,255,255,.5); font-size: 11.5px; letter-spacing: .06em; }
.contact-right { padding: 40px 44px; }

/* ---------------- 表单 ---------------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field label .req { color: var(--danger); margin-left: 3px; }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-900);
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.field textarea { height: auto; min-height: 108px; padding: 11px 14px; resize: vertical; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,110,232,.14);
}
.field .hint { font-size: 12px; color: var(--ink-400); }
.field .err { font-size: 12px; color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------------- 页脚 ---------------- */
footer.site-foot { background: var(--blue-950); color: rgba(255,255,255,.66); margin-top: 20px; }
.foot-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 54px 0 40px; }
.foot-brand .logo-text strong { color: #fff; }
.foot-brand p { font-size: 13.5px; line-height: 1.8; margin: 16px 0 0; max-width: 24em; }
.foot-col h5 { color: #fff; font-size: 14px; margin: 0 0 16px; font-weight: 600; letter-spacing: .04em; }
.foot-col a, .foot-col li { display: block; font-size: 13.5px; color: rgba(255,255,255,.62); padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.44); }

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 24, 63, .55);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; animation: fadeIn .18s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: popIn .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-head { padding: 26px 28px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-head h3 { font-size: 20px; }
.modal-head p { margin: 6px 0 0; font-size: 13px; color: var(--ink-500); }
.modal-close { border: 0; background: var(--bg); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--ink-500); display: grid; place-items: center; flex: none; }
.modal-close:hover { background: var(--blue-50); color: var(--blue-700); }
.modal-body { padding: 22px 28px 28px; }
.modal-wide { max-width: 720px; }
.modal-wide .modal-body { max-height: 70vh; overflow-y: auto; }
.field-hint { margin: 6px 0 0; font-size: 12px; color: var(--ink-400); line-height: 1.7; }
.field-hint code { background: var(--blue-50); color: var(--blue-700); padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }

/* ---------------- 信息发布卡（详情页） ---------------- */
.info-post-card {
  margin-top: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--bg-soft, #fafbfd); padding: 6px 22px;
}
.info-post-card .ipc-row {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
  border-bottom: 1px dashed var(--line-soft); font-size: 14.5px;
}
.info-post-card .ipc-row:last-of-type { border-bottom: 0; }
.info-post-card .ipc-k { flex: none; width: 76px; color: var(--ink-500); font-size: 13.5px; }
.info-post-card .ipc-v { color: var(--ink-900); word-break: break-all; }
.info-post-card .ipc-phone { color: var(--danger); font-size: 22px; font-weight: 800; letter-spacing: 1px; font-family: Georgia, 'Microsoft YaHei', serif; }
.info-post-card .ipc-actions { display: flex; gap: 12px; padding: 14px 0 16px; flex-wrap: wrap; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-top: 4px; }

.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); padding: 0 28px; }
.tabs button {
  border: 0; background: none; padding: 12px 0; cursor: pointer; font-size: 15px;
  color: var(--ink-500); font-weight: 600; position: relative;
}
.tabs button.active { color: var(--blue-700); }
.tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue-600); border-radius: 2px; }

/* ---------------- Toast ---------------- */
#toast-host { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 400; display: grid; gap: 10px; }
.toast {
  min-width: 240px; max-width: 92vw; padding: 12px 18px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-lg); border-left: 3px solid var(--blue-600);
  font-size: 14px; color: var(--ink-900); animation: toastIn .22s ease-out;
}
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--danger); }
.toast.leave { animation: toastOut .2s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ---------------- 面包屑与页面头 ---------------- */
.page-hero {
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700));
  color: #fff; padding: 46px 0 40px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(6,182,212,.3), transparent 65%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { font-size: 12.5px; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.76); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 7px; opacity: .5; }
.page-hero h1 { color: #fff; font-size: 29px; }
.page-hero p { color: rgba(255,255,255,.76); margin: 10px 0 0; font-size: 14.5px; max-width: 44em; }

/* ---------------- 列表页布局 ---------------- */
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding: 34px 0 60px; }
.side-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 18px); }
.side-card .sc-title { padding: 12px 14px 10px; font-size: 12.5px; letter-spacing: .1em; color: var(--ink-400); font-weight: 700; text-transform: uppercase; }
.side-card a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 9px; color: var(--ink-700); font-size: 14px;
}
.side-card a:hover { background: var(--blue-50); color: var(--blue-700); }
.side-card a.active { background: var(--blue-100); color: var(--blue-800); font-weight: 600; }
.side-card a .n { font-size: 11.5px; color: var(--ink-400); background: var(--bg); padding: 1px 7px; border-radius: 999px; }
.side-card a.active .n { background: #fff; color: var(--blue-700); }
.side-note { margin: 16px 6px 6px; padding: 16px; border-radius: var(--radius); background: linear-gradient(150deg, var(--blue-700), var(--blue-900)); color: #fff; }
.side-note b { font-size: 14px; display: block; margin-bottom: 6px; }
.side-note p { margin: 0 0 12px; font-size: 12.5px; color: rgba(255,255,255,.74); line-height: 1.6; }
.side-note a { display: inline-block; padding: 0; background: none; color: #bfdbfe; font-size: 12.5px; font-weight: 600; }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.list-toolbar .count { font-size: 13.5px; color: var(--ink-500); }
.list-toolbar .count b { color: var(--blue-700); }
.sort-tabs { display: flex; gap: 6px; background: #fff; padding: 4px; border-radius: 999px; border: 1px solid var(--line-soft); }
.sort-tabs button { border: 0; background: none; padding: 6px 15px; border-radius: 999px; cursor: pointer; font-size: 13px; color: var(--ink-500); }
.sort-tabs button.active { background: var(--blue-600); color: #fff; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager button, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-700); cursor: pointer; font-size: 13.5px;
}
.pager button.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; font-weight: 600; }
.pager button:disabled { color: var(--ink-400); cursor: not-allowed; background: var(--bg); }

/* ---------------- 详情页 ---------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; padding: 32px 0 60px; }
.detail-main { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px 38px 40px; box-shadow: var(--shadow-sm); }
.detail-cover {
  height: 210px; border-radius: var(--radius); margin-bottom: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--hue,216) 76% 50%), hsl(var(--hue,216) 72% 30%));
  display: flex; align-items: flex-end; padding: 24px;
}
.detail-cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 220px at 85% -10%, rgba(255,255,255,.3), transparent 60%),
    repeating-linear-gradient(118deg, rgba(255,255,255,.07) 0 14px, transparent 14px 30px);
}
.detail-cover .dc-label { position: relative; color: #fff; }
.detail-cover .dc-label small { display: block; font-size: 11.5px; letter-spacing: .14em; opacity: .74; text-transform: uppercase; }
.detail-cover .dc-label b { font-size: 22px; letter-spacing: -.01em; }
.detail-main h1 { font-size: 27px; margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--ink-500); margin-bottom: 20px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-price-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--blue-50); border: 1px solid #e3ecff; border-radius: 12px; margin-bottom: 26px; }
.detail-price-row b { color: var(--blue-800); font-size: 22px; letter-spacing: -.01em; }
.detail-price-row span { font-size: 13px; color: var(--ink-500); }
.detail-content { font-size: 14.5px; line-height: 1.95; color: var(--ink-700); }
.detail-content h3 { font-size: 16.5px; margin: 30px 0 12px; padding-left: 12px; border-left: 3px solid var(--blue-600); }
.detail-content h3:first-child { margin-top: 0; }
.detail-content ul, .detail-content ol { padding-left: 1.4em; }
.detail-content li { margin-bottom: 6px; }
.detail-actions { display: flex; gap: 12px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }

.detail-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 18px); }
.ds-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.ds-card h4 { font-size: 15px; margin-bottom: 14px; }
.ds-card .vendor { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.ds-card .vendor .avatar { border-radius: 12px; }
.ds-card .vendor b { font-size: 14.5px; color: var(--ink-900); display: block; }
.ds-card .vendor small { font-size: 12px; color: var(--ink-400); }
.ds-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ds-card li { font-size: 13px; color: var(--ink-500); display: flex; justify-content: space-between; gap: 10px; }
.ds-card li b { color: var(--ink-900); font-weight: 600; }
.ds-rel { display: grid; gap: 12px; }
.ds-rel a { display: block; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.ds-rel a:last-child { border-bottom: 0; padding-bottom: 0; }
.ds-rel b { font-size: 13.5px; color: var(--ink-900); display: block; line-height: 1.5; font-weight: 600; }
.ds-rel a:hover b { color: var(--blue-700); }
.ds-rel small { font-size: 11.5px; color: var(--ink-400); }

/* ---------------- 登录页 ---------------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; }
.auth-visual {
  position: relative; overflow: hidden; color: #fff; padding: 56px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(900px 420px at 90% -15%, rgba(6,182,212,.36), transparent 60%),
    linear-gradient(158deg, var(--blue-950), var(--blue-800) 62%, var(--blue-700));
}
.auth-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(65% 65% at 55% 45%, #000, transparent);
}
.auth-visual > * { position: relative; z-index: 2; }
.auth-visual .av-mid h2 { color: #fff; font-size: 34px; line-height: 1.3; letter-spacing: -.02em; max-width: 12em; }
.auth-visual .av-mid h2 em { font-style: normal; color: #9ec2ff; }
.auth-visual .av-mid p { color: rgba(255,255,255,.74); font-size: 15px; margin: 18px 0 0; max-width: 26em; }
.av-points { display: grid; gap: 14px; margin-top: 40px; }
.av-points .p { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.86); }
.av-points .p i {
  width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(6,182,212,.2); color: #7ee8f7; font-style: normal; font-size: 12px;
}
.auth-visual .av-foot { font-size: 12.5px; color: rgba(255,255,255,.44); }

.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px 40px; }
.auth-form { width: 100%; max-width: 400px; }
.auth-form .logo { margin-bottom: 34px; }
.auth-form h1 { font-size: 26px; margin-bottom: 8px; }
.auth-form .sub { color: var(--ink-500); font-size: 14px; margin: 0 0 28px; }
.auth-tabs { display: flex; background: var(--bg); padding: 4px; border-radius: 999px; margin-bottom: 26px; }
.auth-tabs button { flex: 1; border: 0; background: none; padding: 9px 0; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-500); transition: all .2s; }
.auth-tabs button.active { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.pwd-field { position: relative; }
.pwd-field input { padding-right: 46px; }
.pwd-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; color: var(--ink-400); padding: 8px; border-radius: 8px; }
.pwd-toggle:hover { color: var(--blue-600); background: var(--blue-50); }
.auth-alert { display: none; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.auth-alert.show { display: block; }
.auth-alert.ok { background: #f0fdf4; color: var(--ok); border-color: #bbf7d0; }
.auth-extra { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: 4px 0 20px; }
.auth-extra label { display: flex; align-items: center; gap: 7px; color: var(--ink-500); cursor: pointer; }
.auth-extra input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--blue-600); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-400); font-size: 12px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-hint { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-400); }
.auth-hint a { color: var(--blue-600); text-decoration: none; }
.auth-hint a:hover { text-decoration: underline; }
.demo-box { padding: 14px 16px; background: var(--blue-50); border: 1px dashed #c7dbff; border-radius: 12px; font-size: 12.5px; color: var(--ink-700); line-height: 1.8; }
.demo-box b { color: var(--blue-800); }
.demo-box code { background: #fff; padding: 1px 6px; border-radius: 5px; font-size: 12px; color: var(--blue-700); border: 1px solid #dbe8ff; }

/* ---------------- 用户中心 ---------------- */
.dash-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; padding: 30px 0 60px; }
.dash-side { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: calc(var(--header-h) + 18px); }
.dash-user { padding: 24px 22px; background: linear-gradient(150deg, var(--blue-800), var(--blue-600)); color: #fff; display: flex; gap: 13px; align-items: center; }
.dash-user .avatar { border: 2px solid rgba(255,255,255,.4); }
.dash-user b { display: block; font-size: 15px; }
.dash-user small { font-size: 11.5px; color: rgba(255,255,255,.72); }
.dash-nav { padding: 8px; }
.dash-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 9px; color: var(--ink-700); font-size: 14px; }
.dash-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.dash-nav a.active { background: var(--blue-100); color: var(--blue-800); font-weight: 600; }
.dash-panel { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 30px 32px; box-shadow: var(--shadow-sm); min-height: 420px; }
.dash-panel h2 { font-size: 19px; margin-bottom: 6px; }
.dash-panel .dp-sub { font-size: 13.5px; color: var(--ink-500); margin: 0 0 24px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.kpi { padding: 18px; border-radius: 12px; background: var(--blue-50); border: 1px solid #e6eeff; }
.kpi b { display: block; font-size: 24px; color: var(--blue-800); }
.kpi span { font-size: 12.5px; color: var(--ink-500); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mini-table th { text-align: left; font-size: 12px; letter-spacing: .06em; color: var(--ink-400); font-weight: 600; padding: 0 12px 10px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.mini-table td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); color: var(--ink-700); }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table td b { color: var(--ink-900); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.badge.pending { background: #fff7ed; color: var(--warn); }
.badge.replied { background: #f0fdf4; color: var(--ok); }
.badge.closed { background: #f1f5f9; color: var(--ink-500); }
.badge.admin { background: var(--blue-100); color: var(--blue-800); }
.empty { text-align: center; padding: 56px 20px; color: var(--ink-400); font-size: 13.5px; }
.empty svg { margin: 0 auto 14px; display: block; opacity: .5; }

/* ---------------- 后台 ---------------- */
.admin-body { background: #eef2f8; }
.admin-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1400px; }
.admin-top .at-left { display: flex; align-items: center; gap: 18px; }
.admin-top .at-tag { font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: var(--blue-100); color: var(--blue-800); font-weight: 700; letter-spacing: .06em; }
.admin-top .at-right { display: flex; align-items: center; gap: 14px; }
.admin-main { max-width: 1400px; margin: 0 auto; padding: 26px 24px 60px; display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: start; }
.admin-nav { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 8px; box-shadow: var(--shadow-sm); position: sticky; top: 88px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 8px; font-size: 13.5px; color: var(--ink-700); }
.admin-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.admin-nav a.active { background: var(--blue-600); color: #fff; }
.admin-panel { display: grid; gap: 18px; }
.admin-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-card .ac-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); gap: 12px; flex-wrap: wrap; }
.admin-card .ac-head h3 { font-size: 15.5px; }
.admin-card .ac-head .ac-sub { font-size: 12.5px; color: var(--ink-400); }
.admin-card .ac-body { padding: 20px; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.akpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.akpi::after { content: ""; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: var(--blue-50); }
.akpi b { display: block; font-size: 26px; color: var(--ink-900); letter-spacing: -.02em; position: relative; }
.akpi span { font-size: 12.5px; color: var(--ink-500); position: relative; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; padding: 10px 14px; font-size: 12px; color: var(--ink-400); letter-spacing: .05em; background: #fafcff; border-bottom: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.admin-table tr:hover td { background: #fbfdff; }
.admin-table .t-actions { display: flex; gap: 8px; }
.link-btn { border: 0; background: none; color: var(--blue-600); cursor: pointer; font-size: 13px; padding: 2px 0; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--danger); }
.admin-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-filters .input { height: 36px; width: 220px; font-size: 13px; }
.admin-modal .modal { max-width: 560px; }
.admin-modal .modal.modal-wide { max-width: 760px; }

/* ---------------- 采购车入口 ---------------- */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-700);
  font-size: 13.5px; font-weight: 600; transition: all .18s;
}
.cart-btn:hover { border-color: var(--blue-400); color: var(--blue-700); background: var(--blue-50); }
.cart-btn em {
  position: absolute; top: -5px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--blue-600); color: #fff; font-style: normal;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff; box-sizing: content-box;
}

/* ---------------- 商品卡片价格区 ---------------- */
.p-price-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding: 10px 0 4px; border-top: 1px dashed var(--line); margin-top: 2px;
}
.p-price { color: var(--blue-700); font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.1; }
.p-price small { display: block; color: var(--ink-400); font-weight: 400; font-size: 11px; letter-spacing: .04em; margin-bottom: 3px; }
.p-price em { font-style: normal; font-size: 11.5px; color: var(--ink-400); font-weight: 400; margin-left: 3px; }
.p-mini-tiers { display: flex; flex-direction: column; gap: 1px; text-align: right; }
.p-mini-tiers span { font-size: 11px; color: var(--ink-400); white-space: nowrap; }

/* ---------------- 阶梯价表 ---------------- */
.tier-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tier-table th { background: var(--blue-50); color: var(--ink-700); font-size: 12px; font-weight: 600; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tier-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-700); }
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table tr.active td { background: #eef5ff; color: var(--blue-800); font-weight: 600; }
.tier-table .t-save { color: var(--ok); font-size: 12px; }

/* ---------------- 购买区 ---------------- */
.buy-box { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.buy-box h4 { font-size: 15px; margin-bottom: 16px; }
.spec-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spec-chip {
  padding: 7px 14px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-700); font-size: 13px; cursor: pointer; transition: all .16s;
}
.spec-chip:hover { border-color: var(--blue-400); color: var(--blue-700); }
.spec-chip.active { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-800); font-weight: 600; }

.qty-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 42px; background: #fff; }
.qty-input button { width: 40px; height: 100%; border: 0; background: #fff; color: var(--ink-500); cursor: pointer; display: grid; place-items: center; }
.qty-input button:hover { background: var(--blue-50); color: var(--blue-700); }
.qty-input input { flex: 1; min-width: 0; border: 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--ink-900); outline: none; background: transparent; }
.qty-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.qty-row label { font-size: 13px; color: var(--ink-500); }
.qty-hint { font-size: 12px; color: var(--ink-400); margin-bottom: 16px; }
.qty-hint b { color: var(--blue-700); }

.buy-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 16px; background: var(--blue-50); border: 1px solid #e3ecff; border-radius: 11px; margin-bottom: 16px;
}
.buy-total span { font-size: 13px; color: var(--ink-500); }
.buy-total b { font-size: 24px; color: var(--blue-800); letter-spacing: -.02em; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier-tip { margin-top: 14px; padding: 10px 12px; background: #fff9ec; border: 1px solid #fde6bd; border-radius: 9px; font-size: 12.5px; color: #92400e; line-height: 1.6; }
.tier-tip b { color: #b45309; }

/* ---------------- 采购车页 ---------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; padding: 32px 0 60px; }
.cart-table { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.cart-head h2 { font-size: 16px; }
.cart-row { display: grid; grid-template-columns: 1fr 150px 120px 110px 40px; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.cart-row:last-child { border-bottom: 0; }
.cart-prod { display: flex; gap: 14px; align-items: center; min-width: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; flex: none; background: linear-gradient(135deg, hsl(var(--hue,216) 76% 50%), hsl(var(--hue,216) 72% 32%)); position: relative; overflow: hidden; }
.cart-thumb::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(118deg, rgba(255,255,255,.09) 0 8px, transparent 8px 18px); }
.cart-prod b { font-size: 14px; color: var(--ink-900); display: block; line-height: 1.5; }
.cart-prod b a { color: var(--ink-900); }
.cart-prod b a:hover { color: var(--blue-700); }
.cart-prod small { font-size: 12px; color: var(--ink-400); }
.cart-unit { font-size: 13.5px; color: var(--ink-700); }
.cart-unit s { display: block; font-size: 11.5px; color: var(--ink-400); }
.cart-sub { font-size: 15px; font-weight: 700; color: var(--blue-800); }
.cart-del { border: 0; background: none; color: var(--ink-400); cursor: pointer; padding: 6px; border-radius: 7px; }
.cart-del:hover { color: var(--danger); background: #fef2f2; }
.cart-summary { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 18px); }
.cart-summary h3 { font-size: 16px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 0; color: var(--ink-500); }
.sum-row b { color: var(--ink-900); }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; align-items: baseline; }
.sum-row.total span { color: var(--ink-700); font-weight: 600; }
.sum-row.total b { font-size: 24px; color: var(--blue-700); letter-spacing: -.02em; }
.save-tip { margin: 12px 0 16px; padding: 10px 12px; border-radius: 9px; background: #f0fdf4; border: 1px solid #bbf7d0; font-size: 12.5px; color: #15803d; }

/* ---------------- 结算页 ---------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; padding: 32px 0 60px; }
.co-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 18px; overflow: hidden; }
.co-card .co-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.co-card .co-head h3 { font-size: 15.5px; }
.co-card .co-body { padding: 22px; }
.addr-pick { display: grid; gap: 10px; margin-bottom: 14px; }
.addr-item { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: all .16s; }
.addr-item:hover { border-color: var(--blue-400); background: var(--blue-50); }
.addr-item.active { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(47,110,232,.1); }
.addr-item b { font-size: 14px; color: var(--ink-900); }
.addr-item small { display: block; font-size: 12.5px; color: var(--ink-500); margin-top: 4px; line-height: 1.6; }
.addr-item .addr-flag { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); margin-top: 2px; }
.addr-item.active .addr-flag { border-color: var(--blue-600); background: radial-gradient(circle, var(--blue-600) 42%, #fff 46%); }
.invoice-opts { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.invoice-opts .spec-chip { flex: none; }
.co-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.co-item:last-child { border-bottom: 0; padding-bottom: 0; }
.co-item .cart-thumb { width: 52px; height: 52px; }
.co-item .ci-main { flex: 1; min-width: 0; }
.co-item .ci-main b { font-size: 13.5px; color: var(--ink-900); font-weight: 600; display: block; line-height: 1.5; }
.co-item .ci-main small { font-size: 12px; color: var(--ink-400); }
.co-item .ci-right { text-align: right; font-size: 13px; color: var(--ink-700); white-space: nowrap; }
.co-item .ci-right b { display: block; color: var(--blue-800); font-size: 15px; }

/* ---------------- 订单状态 ---------------- */
.st-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.st-pending { background: #fff7ed; color: #c2410c; }
.st-confirmed { background: #eff6ff; color: #1d4ed8; }
.st-shipped { background: #f0f9ff; color: #0369a1; }
.st-completed { background: #f0fdf4; color: #15803d; }
.st-cancelled { background: #f1f5f9; color: #64748b; }

.order-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden; }
.order-card .oc-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px; background: #fafcff; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-500); flex-wrap: wrap; }
.order-card .oc-top b { color: var(--ink-900); font-size: 13.5px; }
.order-card .oc-body { padding: 18px 22px; }
.order-card .oc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line-soft); background: #fcfdff; flex-wrap: wrap; }
.order-card .oc-foot .amt { font-size: 13.5px; color: var(--ink-500); }
.order-card .oc-foot .amt b { font-size: 20px; color: var(--blue-800); margin-left: 6px; letter-spacing: -.02em; }

/* 订单步骤条 */
.steps { display: flex; gap: 0; margin: 6px 0 4px; }
.step { flex: 1; position: relative; text-align: center; font-size: 12px; color: var(--ink-400); }
.step .sd { width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: #fff; display: grid; place-items: center; margin: 0 auto 7px; font-size: 12px; font-weight: 700; position: relative; z-index: 1; }
.step::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.step:first-child::before { display: none; }
.step.done .sd { background: var(--blue-600); }
.step.done { color: var(--blue-700); font-weight: 600; }
.step.done::before { background: var(--blue-600); }
.step.cur .sd { background: var(--blue-600); box-shadow: 0 0 0 4px rgba(47,110,232,.16); }

/* ---------------- 后台订单 ---------------- */
.status-tabs { display: flex; gap: 6px; background: #fff; padding: 4px; border-radius: 999px; border: 1px solid var(--line); flex-wrap: wrap; }
.status-tabs button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: 12.5px; color: var(--ink-500); white-space: nowrap; }
.status-tabs button.active { background: var(--blue-600); color: #fff; font-weight: 600; }

@media (max-width: 1080px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-row { grid-template-columns: 1fr 120px 90px; row-gap: 10px; }
  .cart-row .cart-sub, .cart-row .cart-del { grid-column: span 1; }
}
@media (max-width: 760px) {
  .cart-btn span { display: none; }
  .cart-btn { padding: 0 10px; }
  .cart-row { grid-template-columns: 1fr; padding: 16px; }
  .buy-actions { grid-template-columns: 1fr; }
  .qty-row { grid-template-columns: 1fr; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 62px; }
  .hero-panel { max-width: 520px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .flow-item::before { display: none; }
  .detail-layout, .list-layout, .dash-layout { grid-template-columns: 1fr; }
  .detail-side, .side-card, .dash-side { position: static; }
  .contact-wrap { grid-template-columns: 1fr; }
  .admin-main { grid-template-columns: 1fr; }
  .admin-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .admin-nav a { white-space: nowrap; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .topbar { display: none; }
  .site-head .wrap { gap: 12px; }
  nav.main-nav, .head-search { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; margin-left: auto; }
  .head-actions { gap: 8px; }
  .user-chip .u-name { display: none; }
  .entry-grid, .card-grid, .news-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band .st:nth-child(2) { border-right: 0; }
  .stat-band .st:nth-child(1), .stat-band .st:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .form-row { grid-template-columns: 1fr; }
  .contact-left, .contact-right, .detail-main, .dash-panel { padding: 24px 20px; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero h1 { font-size: 27px; }
  .hero-facts { gap: 24px; }
  .foot-main { grid-template-columns: 1fr; }
  .admin-kpis { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .auth-form-wrap { padding: 32px 20px; }
  .mobile-menu { display: block !important; }
}

.mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 auto; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
  box-shadow: var(--shadow);
}
.mobile-menu a { display: block; padding: 11px 0; color: var(--ink-700); font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ================================================================
   复刻版式（参考信息站三栏首页）：页头 / 三栏 / 栏目 / 页脚
   ================================================================ */

/* ---- 页头：深蓝单条 ---- */
.ky-head { background: linear-gradient(90deg, #17264d, #1e3a75 55%, #17264d); box-shadow: 0 2px 8px rgba(9, 20, 48, .25); position: sticky; top: 0; z-index: 50; }
.ky-head-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.ky-logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; flex: none; }
.ky-logo-img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; display: block; background: #fff; }
.ky-logo strong { font-size: 20px; letter-spacing: 1px; }
.ky-nav { display: flex; gap: 4px; flex: none; }
.ky-nav a { color: #dbe4f5; text-decoration: none; font-size: 15px; padding: 7px 13px; border-radius: 6px; transition: .15s; }
.ky-nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.ky-nav a.active { color: #fff; background: rgba(255, 255, 255, .18); font-weight: 600; }
.ky-head-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ky-search { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 3px 4px 3px 14px; width: 218px; }
.ky-search input { border: 0; outline: none; flex: 1; font-size: 13.5px; background: transparent; color: var(--ink-800); min-width: 0; }
.ky-search button { border: 0; background: var(--blue-600); color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.ky-publish { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #4a2c00; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 7px; text-decoration: none; box-shadow: 0 2px 6px rgba(245, 158, 11, .4); flex: none; }
.ky-publish:hover { filter: brightness(1.05); }
.ky-login { color: #fff; font-size: 14px; text-decoration: none; padding: 7px 10px; border-radius: 6px; flex: none; }
.ky-login:hover { background: rgba(255, 255, 255, .12); }
.ky-head .user-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.ky-head .user-chip .u-name { color: #fff; }
.ky-head .dropdown-menu { color: initial; }

/* ---- 三栏主体 ---- */
.ky-home { padding: 14px 0 30px; }
.ky-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr) 250px; gap: 14px; align-items: start; }
.ky-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ky-panel { background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; padding: 0 14px 12px; box-shadow: 0 1px 4px rgba(15, 34, 78, .05); }
.ky-panel-hd { padding: 13px 0 9px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }
.ky-panel-hd h3 { margin: 0; font-size: 16.5px; color: var(--ink-900); }
.ky-loading { color: var(--ink-400); font-size: 13px; padding: 10px 0; list-style: none; }

/* 左右栏列表 */
.ky-hot { list-style: none; margin: 0; padding: 0; }
.ky-hot li + li { border-top: 1px dashed var(--line-soft); }
.ky-hot a { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 9px 0; text-decoration: none; }
.ky-thumb { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, hsl(var(--h, 226) 62% 46%), hsl(calc(var(--h, 226) + 26) 58% 34%)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none; }
.ky-hot-t { color: var(--ink-800); font-size: 13.5px; line-height: 1.45; }
.ky-hot a:hover .ky-hot-t { color: var(--blue-600); }
.ky-hot-d { color: var(--ink-400); font-size: 12px; margin-top: 3px; }
.ky-hot-d i { font-style: normal; opacity: .8; margin-right: 2px; }
.ky-plain { list-style: none; margin: 0; padding: 0; }
.ky-plain li { position: relative; padding: 8px 0 8px 16px; border-bottom: 1px dashed var(--line-soft); }
.ky-plain li:last-child { border-bottom: 0; }
.ky-plain li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); opacity: .55; }
.ky-plain a { color: var(--ink-700); text-decoration: none; font-size: 13.5px; line-height: 1.5; }
.ky-plain a:hover { color: var(--blue-600); }

/* 中栏 */
.ky-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ky-banner { position: relative; border-radius: 12px; overflow: hidden; min-height: 176px; display: flex; align-items: center; color: #fff; }
.ky-banner-bg { position: absolute; inset: 0; background: radial-gradient(120% 160% at 85% 10%, #2b5fd9 0%, #16307c 45%, #0c1c4e 100%); }
.ky-banner-bg::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px); }
.ky-banner-txt { position: relative; padding: 26px 30px; }
.ky-banner-txt h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: 4px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.ky-banner-txt p { margin: 0; color: #cdd9f5; font-size: 14.5px; }
.ky-banner-tags { margin-top: 12px; display: flex; gap: 8px; }
.ky-banner-tags span { border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: 2px 10px; font-size: 12px; color: #e4ecfc; }
.ky-banner-btn { position: relative; margin-left: auto; margin-right: 26px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); color: #fff; padding: 9px 18px; border-radius: 8px; text-decoration: none; font-size: 14px; flex: none; }
.ky-banner-btn:hover { background: rgba(255,255,255,.26); }

.ky-sec { background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; padding: 0 22px 16px; box-shadow: 0 1px 4px rgba(15, 34, 78, .05); }
.ky-sec-hd { text-align: center; padding: 18px 0 4px; position: relative; }
.ky-sec-hd h3 { display: inline-block; margin: 0; font-size: 21px; color: var(--blue-600); letter-spacing: 2px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-600); }
.ky-sec-hd a { position: absolute; right: 0; top: 24px; color: var(--ink-400); font-size: 13px; text-decoration: none; }
.ky-sec-hd a:hover { color: var(--blue-600); }
.ky-sec-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.ky-sec-list li { border-bottom: 1px dashed var(--line-soft); }
.ky-sec-list li:nth-last-child(-n+2) { border-bottom: 0; }
.ky-sec-list a { display: flex; align-items: center; gap: 8px; padding: 10.5px 0; color: var(--ink-700); text-decoration: none; font-size: 14px; line-height: 1.5; }
.ky-sec-list a:hover { color: var(--blue-600); }
.ky-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-600); opacity: .5; flex: none; }

/* 右栏：每日推荐卡片 */
.ky-daily { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.ky-daily-card { display: flex; gap: 10px; }
.ky-thumb-lg { width: 74px; height: 74px; font-size: 26px; border-radius: 10px; }
.ky-daily-b { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ky-daily-t { color: var(--ink-900); font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.ky-daily-t:hover { color: var(--blue-600); }
.ky-tag { display: inline-block; background: #e8f0fe; color: var(--blue-600); font-size: 11.5px; border-radius: 4px; padding: 1px 8px; margin: 5px 0 4px; }
.ky-daily-b p { margin: 0; color: var(--ink-500); font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ky-detail-btn { margin-top: 6px; background: var(--blue-600); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 4px; text-decoration: none; }
.ky-detail-btn:hover { background: var(--blue-700); }

/* ---- 页脚：紫蓝条 ---- */
.ky-foot { margin-top: 26px; background: linear-gradient(90deg, #4c5aa8, #5b6cbf 55%, #4c5aa8); color: #e6ebff; text-align: center; padding: 22px 16px 24px; }
.ky-foot .kf-line { margin: 5px 0; font-size: 13.5px; }
.ky-foot .kf-company { color: #ffd76e; font-weight: 600; font-size: 15px; }
.ky-foot .kf-copy { margin-top: 12px; color: #c3cdf2; font-size: 12.5px; }
.ky-foot .kf-icp { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(195, 205, 242, .5); transition: color .18s, border-color .18s; }
.ky-foot .kf-icp:hover { color: #ffd76e; border-bottom-color: #ffd76e; }

/* 响应式 */
@media (max-width: 1080px) {
  .ky-cols { grid-template-columns: 1fr; }
  .ky-side { order: 2; }
  .ky-main { order: 1; }
  .ky-nav { display: none; }
  .ky-search { width: 150px; }
}
@media (max-width: 640px) {
  .ky-sec-list { grid-template-columns: 1fr; }
  .ky-sec-list li:nth-last-child(2) { border-bottom: 1px dashed var(--line-soft); }
  .ky-head-in { gap: 12px; }
  .ky-search { display: none; }
}

/* ================================================================
   排版 V2：差异化美化（榜单 / 轮播 / 焦点卡 / 快讯条 / 时间线）
   ================================================================ */

body[data-page="home"] { background: #eef2f9; }

/* ---- 快讯条 ---- */
.kx-ticker { background: #fff; border-bottom: 1px solid #e3e9f4; }
.kx-ticker-in { display: flex; align-items: center; height: 40px; gap: 14px; }
.kx-ticker-label { display: flex; align-items: center; gap: 5px; flex: none; color: var(--blue-600); font-weight: 700; font-size: 13px; }
.kx-ticker-view { height: 30px; overflow: hidden; flex: 1; min-width: 0; }
.kx-ticker-view ul { list-style: none; margin: 0; padding: 0; transition: transform .45s ease; }
.kx-ticker-view li { height: 30px; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-ticker-view a { color: var(--ink-600); text-decoration: none; font-size: 13.5px; }
.kx-ticker-view a:hover { color: var(--blue-600); }

/* ---- 三栏骨架 ---- */
.kx-home { padding: 16px 0 34px; }
.kx-cols { display: grid; grid-template-columns: 258px minmax(0, 1fr) 262px; gap: 15px; align-items: start; }
.kx-side { display: flex; flex-direction: column; gap: 15px; min-width: 0; }

/* ---- 面板与标题（左对齐 + 强调条 + 英文小注） ---- */
.kx-panel { background: #fff; border: 1px solid #e6ebf5; border-radius: 12px; padding: 0 16px 14px; box-shadow: 0 2px 10px rgba(20, 44, 94, .06); }
.kx-panel-hd { display: flex; align-items: baseline; gap: 8px; padding: 15px 0 11px; border-bottom: 2px solid #f0f4fb; margin-bottom: 10px; position: relative; }
.kx-panel-hd::before { content: ''; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--blue-600); }
.kx-panel-hd h3 { margin: 0; font-size: 17px; color: var(--ink-900); letter-spacing: .5px; }
.kx-panel-hd small { color: #b6c2d9; font-size: 10.5px; letter-spacing: 1.5px; font-weight: 600; }
.kx-loading { color: #a8b4c9; font-size: 13px; padding: 12px 0; list-style: none; }

/* ---- 左栏：热门榜单 ---- */
.kx-rank { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.kx-rank li { padding: 8px 0 9px; border-bottom: 1px dashed #edf1f8; }
.kx-rank li:last-child { border-bottom: 0; }
.kx-rank a { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.kx-rank-no { flex: none; width: 20px; height: 20px; border-radius: 6px; background: #edf1f8; color: #8d9bb5; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kx-rank li.top1 .kx-rank-no { background: linear-gradient(135deg, #ff9f43, #f57c00); color: #fff; }
.kx-rank li.top2 .kx-rank-no { background: linear-gradient(135deg, #90a4ae, #607d8b); color: #fff; }
.kx-rank li.top3 .kx-rank-no { background: linear-gradient(135deg, #d4a373, #bc8a5f); color: #fff; }
.kx-rank-t { flex: 1; min-width: 0; color: var(--ink-800); font-size: 13.5px; line-height: 1.45; }
.kx-rank li.top1 .kx-rank-t { font-weight: 600; }
.kx-rank a:hover .kx-rank-t { color: var(--blue-600); }
.kx-rank-v { flex: none; color: #f57c00; font-size: 12px; font-weight: 700; font-style: italic; }
.kx-rank-d { display: block; padding-left: 29px; color: #a8b4c9; font-size: 11.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- 左栏：最新发布时间线 ---- */
.kx-timeline { list-style: none; margin: 0; padding: 2px 0 0 10px; border-left: 2px solid #e3ebf8; }
.kx-timeline li { position: relative; padding: 0 0 12px 14px; }
.kx-timeline li::before { content: ''; position: absolute; left: -5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); }
.kx-timeline li:first-child::before { background: var(--blue-600); }
.kx-timeline a { display: block; color: var(--ink-700); text-decoration: none; font-size: 13.5px; line-height: 1.5; }
.kx-timeline a:hover { color: var(--blue-600); }
.kx-tl-d { display: block; color: #a8b4c9; font-size: 11.5px; margin-top: 1px; }

/* ---- 中栏：轮播横幅 ---- */
.kx-main { min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.kx-carousel { position: relative; border-radius: 14px; overflow: hidden; height: 208px; box-shadow: 0 4px 16px rgba(16, 38, 86, .18); }
.kx-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.kx-slide.active { opacity: 1; pointer-events: auto; }
.kx-slide.s1 { background: radial-gradient(130% 170% at 80% 0%, #3b82f6 0%, #1d4ed8 48%, #132a68 100%); }
.kx-slide.s2 { background: radial-gradient(130% 170% at 20% 100%, #0ea5e9 0%, #0369a1 50%, #0b3a5c 100%); }
.kx-slide.s3 { background: radial-gradient(130% 170% at 85% 15%, #6366f1 0%, #4338ca 50%, #241d63 100%); }
.kx-slide-txt { position: relative; padding: 0 44px; color: #fff; z-index: 2; }
.kx-slide-txt em { display: block; font-style: normal; font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
.kx-slide-txt h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.kx-slide-txt p { margin: 0 0 14px; font-size: 14px; color: rgba(255,255,255,.85); }
.kx-slide-txt a { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 8px 18px; border-radius: 8px; text-decoration: none; font-size: 13.5px; backdrop-filter: blur(4px); }
.kx-slide-txt a:hover { background: rgba(255,255,255,.3); }
.kx-slide-art { position: absolute; right: 30px; top: 0; bottom: 0; display: flex; align-items: center; gap: 14px; opacity: .9; }
.kx-slide-art i { width: 54px; border-radius: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); transform: skewY(-8deg); }
.kx-slide-art i:nth-child(1) { height: 110px; }
.kx-slide-art i:nth-child(2) { height: 140px; background: rgba(255,255,255,.22); }
.kx-slide-art i:nth-child(3) { height: 90px; }
.kx-dots { position: absolute; right: 18px; bottom: 12px; display: flex; gap: 7px; z-index: 3; }
.kx-dots button { width: 22px; height: 5px; border: 0; border-radius: 3px; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: .25s; }
.kx-dots button.active { background: #fff; width: 34px; }

/* ---- 中栏：分类栏目（左对齐标题 + 计数 + 首条焦点卡） ---- */
.kx-sec { background: #fff; border: 1px solid #e6ebf5; border-radius: 12px; padding: 0 20px 16px; box-shadow: 0 2px 10px rgba(20, 44, 94, .06); }
.kx-sec-hd { display: flex; align-items: center; gap: 10px; padding: 17px 0 12px; border-bottom: 1px solid #eef2fa; position: relative; }
.kx-bar { width: 5px; height: 19px; border-radius: 3px; background: linear-gradient(180deg, var(--blue-500, #3b82f6), var(--blue-700, #1d4ed8)); flex: none; }
.kx-sec-hd h3 { margin: 0; font-size: 19px; color: var(--ink-900); letter-spacing: 1px; }
.kx-count { background: #eef4ff; color: var(--blue-600); font-size: 11.5px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.kx-more { margin-left: auto; color: #8d9bb5; font-size: 13px; text-decoration: none; }
.kx-more:hover { color: var(--blue-600); }

.kx-feature { display: flex; gap: 14px; padding: 14px; margin: 12px 0 10px; background: linear-gradient(120deg, #f5f9ff, #fbfdff); border: 1px solid #e3edfd; border-radius: 10px; text-decoration: none; transition: .2s; }
.kx-feature:hover { box-shadow: 0 4px 14px rgba(37, 99, 235, .12); transform: translateY(-1px); }
.kx-thumb { width: 46px; height: 46px; border-radius: 9px; background: linear-gradient(135deg, hsl(var(--h, 222) 66% 48%), hsl(calc(var(--h, 222) + 24) 60% 36%)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; flex: none; }
.kx-thumb-f { width: 74px; height: 74px; font-size: 28px; }
.kx-thumb-lg { width: 62px; height: 62px; font-size: 24px; }
.kx-feature-b { min-width: 0; }
.kx-feature-b h4 { margin: 0 0 4px; font-size: 15.5px; color: var(--ink-900); }
.kx-feature:hover h4 { color: var(--blue-600); }
.kx-feature-b p { margin: 0 0 8px; color: var(--ink-500); font-size: 12.5px; line-height: 1.6; }
.kx-feature-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #8d9bb5; }
.kx-feature-phone { color: #e53935; font-weight: 800; font-size: 14px; letter-spacing: .5px; }

.kx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.kx-grid li { border-bottom: 1px dashed #edf1f8; }
.kx-grid li:nth-last-child(-n+2) { border-bottom: 0; }
.kx-grid a { display: flex; align-items: center; gap: 8px; padding: 10px 0; color: var(--ink-700); text-decoration: none; font-size: 13.5px; line-height: 1.5; }
.kx-grid a:hover span { color: var(--blue-600); }
.kx-grid span { flex: 1; min-width: 0; }
.kx-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-600); opacity: .45; flex: none; }
.kx-grid time { flex: none; color: #b6c2d9; font-size: 12px; }

/* ---- 右栏：今日焦点卡 ---- */
.kx-focus { display: flex; flex-direction: column; gap: 11px; padding-top: 2px; }
.kx-focus-card { display: flex; gap: 11px; padding: 9px; border: 1px solid #eef2fa; border-radius: 10px; transition: .2s; }
.kx-focus-card:hover { border-color: #d7e5fd; background: #fafcff; }
.kx-focus-b { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.kx-focus-t { color: var(--ink-900); font-size: 13.5px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.kx-focus-t:hover { color: var(--blue-600); }
.kx-chip { display: inline-block; background: #eef4ff; color: var(--blue-600); font-size: 11px; border-radius: 4px; padding: 1px 8px; }
.kx-focus-phone { color: #e53935; font-weight: 800; font-size: 14.5px; letter-spacing: .5px; }
.kx-detail-btn { background: var(--blue-600); color: #fff; font-size: 11.5px; padding: 2.5px 14px; border-radius: 4px; text-decoration: none; }
.kx-detail-btn:hover { background: var(--blue-700); }
.kx-thumb-img { border-radius: 9px; object-fit: cover; display: block; background: #e8edf6; flex: none; }
.kx-thumb-img.kx-thumb-f { width: 104px; height: 84px; }
.kx-thumb-img.kx-thumb-lg { width: 62px; height: 62px; }
.kx-news a .kx-thumb-img { width: 40px; height: 40px; grid-row: 1 / 3; }

/* ---- 右栏：推荐资讯（缩略图列表） ---- */
.kx-news { list-style: none; margin: 0; padding: 0; }
.kx-news li + li { border-top: 1px dashed #edf1f8; }
.kx-news a { display: grid; grid-template-columns: 40px 1fr; column-gap: 9px; padding: 9px 0; text-decoration: none; }
.kx-thumb { width: 40px; height: 40px; }
.kx-news-t { grid-column: 2; color: var(--ink-700); font-size: 13px; line-height: 1.45; }
.kx-news a:hover .kx-news-t { color: var(--blue-600); }
.kx-news-d { grid-column: 2; color: #a8b4c9; font-size: 11.5px; margin-top: 2px; }

/* ---- 右栏：推荐信息 ---- */
.kx-reco { list-style: none; margin: 0; padding: 0; }
.kx-reco li { position: relative; padding: 7.5px 0 7.5px 15px; border-bottom: 1px dashed #edf1f8; }
.kx-reco li:last-child { border-bottom: 0; }
.kx-reco li::before { content: ''; position: absolute; left: 1px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); opacity: .5; }
.kx-reco a { color: var(--ink-700); text-decoration: none; font-size: 13.5px; }
.kx-reco a:hover { color: var(--blue-600); }

/* ---- 响应式 ---- */
@media (max-width: 1080px) {
  .kx-cols { grid-template-columns: 1fr; }
  .kx-main { order: 1; }
  .kx-side { order: 2; }
}
@media (max-width: 640px) {
  .kx-grid { grid-template-columns: 1fr; }
  .kx-grid li:nth-last-child(2) { border-bottom: 1px dashed #edf1f8; }
  .kx-slide-txt { padding: 0 24px; }
  .kx-slide-txt h2 { font-size: 22px; }
  .kx-slide-art { display: none; }
}

/* 卡片真实图片缩略图 */
.p-thumb { position: relative; }
.p-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.p-thumb .pt-label { position: relative; z-index: 1; background: rgba(15, 32, 68, .55); backdrop-filter: blur(3px); border-radius: 4px; padding: 2px 9px; color: #fff; }
.p-thumb .pt-badge { z-index: 2; }

/* 详情页真实图片封面 */
.detail-cover { position: relative; }
.detail-cover .dc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-cover .dc-label { position: relative; z-index: 1; }
.detail-cover .dc-label small, .detail-cover .dc-label b { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
