/* ============================================================
 * 苏州格瓦图网络科技有限公司 · 软件开发信息平台 —— 设计系统
 * ============================================================ */

:root {
  --brand: #1755c9;
  --brand-600: #1e5eff;
  --brand-700: #174fc2;
  --brand-50: #eef4ff;
  --ink: #16233b;
  --ink-2: #3d4c66;
  --muted: #6b7791;
  --line: #e4e9f2;
  --bg: #f6f8fc;
  --white: #ffffff;
  --ok: #139e5f;
  --warn: #e8890c;
  --danger: #d94a4a;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(22,35,59,.06), 0 4px 16px rgba(22,35,59,.06);
  --shadow-md: 0 6px 24px rgba(22,35,59,.10);
  --shadow-lg: 0 16px 48px rgba(22,35,59,.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; font-size: 14px; color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.3; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1; padding: 11px 20px; transition: all .18s ease; white-space: nowrap; }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand); box-shadow: 0 8px 20px rgba(30,94,255,.28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0c1730; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn-outline:hover { border-color: var(--brand-600); color: var(--brand-600); }
.btn-ghost { background: transparent; color: var(--brand-600); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------- 徽标 / 标签 ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--brand-600); background: var(--brand-50); border-radius: 6px; padding: 3px 9px; }
.badge-solid { color: #fff; background: var(--brand-600); }
.badge-muted { color: var(--muted); background: #eef1f6; }
.tag { font-size: 12px; color: var(--ink-2); background: #f0f3f9; border-radius: 6px; padding: 3px 9px; display: inline-block; }

/* ---------- 顶部栏 ---------- */
.topbar { background: var(--ink); color: #c6d0e2; font-size: 12.5px; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar .note { display: inline-flex; align-items: center; gap: 7px; }
.topbar .note .icon { color: #6fa3ff; }
.topbar .links { display: flex; gap: 18px; align-items: center; }
.topbar .links a { color: #c6d0e2; display: inline-flex; align-items: center; gap: 5px; }
.topbar .links a:hover { color: #fff; }

/* ---------- 站点头部 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-logo { width: 46px; height: 46px; flex: none; color: var(--brand-600); }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name b { font-size: 17px; font-weight: 800; letter-spacing: .3px; color: var(--ink); }
.brand-name span { font-size: 11px; color: var(--muted); letter-spacing: 2px; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { font-size: 14.5px; color: var(--ink-2); padding: 8px 13px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; transition: all .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--brand-600); background: var(--brand-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 9px 16px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.user-chip .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.nav-toggle { display: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0c1730; color: #9fb0cc; font-size: 13.5px; margin-top: 72px; }
.footer-top { padding: 54px 0 48px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 48px; align-items: start; }
.f-col h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .6px; margin-bottom: 22px; display: flex; align-items: center; gap: 9px; }
.f-col h4::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #2f72ff, #1755c9); flex: none; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-logo { width: 42px; height: 42px; color: #8fb2ff; }
.footer-brand .fb-text { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand .fb-text b { color: #fff; font-size: 17px; font-weight: 800; }
.footer-brand .fb-text span { color: #7ea4ff; font-size: 11px; letter-spacing: 1.6px; }
.footer-intro { font-size: 13px; color: #8fa0bf; line-height: 1.95; max-width: 360px; }
.f-cats2 { columns: 2; column-gap: 30px; }
.f-col li { margin-bottom: 14px; break-inside: avoid; }
.f-col a, .f-col .c-row { display: flex; align-items: center; color: #a8b6d3; font-size: 13.5px; transition: color .15s; }
.f-col a:hover { color: #fff; text-decoration: none; }
.f-dot { width: 5px; height: 5px; border-radius: 50%; background: #3f5f9e; margin-right: 9px; flex: none; transition: background .15s; }
.f-col a:hover .f-dot { background: #2f72ff; }
.f-cats2 a .icon-sm { color: #6c86b8; flex: none; }
.f-cats2 a { display: flex; align-items: center; gap: 8px; line-height: 1.45; }
.f-contact { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 18px 18px 16px; }
.f-contact .c-row:not(:first-child) { margin-top: 15px; }
.c-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(47,114,255,.14); color: #7ea4ff; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex: none; }
.c-row .c-body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.c-label { font-size: 11px; color: #7a8daf; letter-spacing: .5px; }
.c-row b { font-size: 14px; color: #eaf0fb; font-weight: 700; word-break: break-all; }
.c-tel b { font-size: 17px; color: #fff; letter-spacing: .5px; }
.f-contact .btn { margin-top: 16px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 12.5px; color: #6d7fa1; }
.footer-bottom .inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #8496b5; display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom a:hover { color: #fff; }
.icp-link .icon { color: #7ea4ff; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 80% -10%, #1e5eff 0%, #1755c9 40%, #0e2a66 100%); color: #fff; overflow: hidden; }
.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: 52px 52px; opacity: .5; pointer-events: none; }
.hero-inner { position: relative; padding: 72px 0 120px; max-width: 820px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #bcd2ff; margin-bottom: 20px; }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: .5px; margin-bottom: 18px; }
.hero h1 .accent { color: #9cc4ff; }
.hero p.lead { font-size: 16.5px; color: #d6e2fb; max-width: 640px; margin-bottom: 30px; }
.hero-search { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 18px 50px rgba(5,20,60,.35); max-width: 620px; }
.hero-search .search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--muted); }
.hero-search input { flex: 1; border: none; outline: none; font-size: 15px; color: var(--ink); }
.hero-stats { display: flex; gap: 42px; margin-top: 38px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 26px; font-weight: 800; color: #fff; }
.stat span { font-size: 12.5px; color: #aec5f2; letter-spacing: 1px; }
.hero-float { position: absolute; right: -40px; bottom: 0; width: 420px; opacity: .25; pointer-events: none; }

/* ---------- 首页区块通用 ---------- */
.section { padding: 60px 0 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 18px; flex-wrap: wrap; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--brand-600); text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: .3px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section-head .more { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-600); font-weight: 600; font-size: 14px; }
.section-head .more:hover { gap: 11px; }

/* ---------- 类目卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; transition: all .2s ease; position: relative; overflow: hidden; }
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand-600), #7ea4ff); opacity: 0; transition: opacity .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ff; }
.cat-card:hover::before { opacity: 1; }
.cat-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cat-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.cat-card .count { margin-top: 14px; font-size: 12px; color: var(--brand-600); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 信息卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ff; }
.news-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f6; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb .cat-chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(13,24,48,.82); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; backdrop-filter: blur(4px); }
.news-thumb .thumb-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 15.5px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.news-body h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: inherit; }
.news-body h3 a:hover { color: var(--brand-600); }
.news-body .summary { font-size: 13px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.news-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 13px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.news-meta span { display: inline-flex; align-items: center; gap: 4px; }
.news-card .tag-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }

/* ---------- 平台板块 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; }
.feature-card .f-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.about-band { background: linear-gradient(120deg, #0c1f47, #123a8a); border-radius: var(--radius-lg); color: #fff; padding: 46px 44px; margin-top: 24px; position: relative; overflow: hidden; }
.about-band .ab-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.about-band h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.about-band p { color: #c7d6f5; font-size: 14.5px; line-height: 1.9; }
.biz-scope { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.biz-scope span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 7px 14px; border-radius: 20px; font-size: 13px; color: #e7efff; display: inline-flex; align-items: center; gap: 7px; }
.about-stats { display: flex; flex-direction: column; gap: 16px; }
.about-stats .row { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 16px 18px; border-radius: 14px; }
.about-stats .row .icon { color: #8fb2ff; }
.about-stats b { font-size: 22px; color: #fff; }
.about-stats span { font-size: 12.5px; color: #a9bfee; }

.cta-band { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.cta-band h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.cta-band p { color: var(--muted); font-size: 14px; }
.cta-band .btns { display: flex; gap: 12px; }

/* ---------- 列表页 ---------- */
.list-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding-bottom: 40px; }
.page-title { padding: 34px 0 6px; }
.page-title h1 { font-size: 28px; font-weight: 800; }
.page-title p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.sidebar { position: sticky; top: 90px; align-self: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 18px; }
.side-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cat-filter { display: flex; flex-direction: column; gap: 4px; }
.cat-filter button { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; transition: all .14s; }
.cat-filter button:hover { background: var(--brand-50); color: var(--brand-600); }
.cat-filter button.active { background: var(--brand-600); color: #fff; }
.cat-filter button .n { font-size: 11.5px; opacity: .65; }
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .result { font-size: 14px; color: var(--muted); }
.toolbar .result b { color: var(--brand-600); }
.toolbar .spacer { flex: 1; }
.toolbar .select { border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; background: #fff; outline: none; font-size: 13.5px; }
.search-inline { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 7px 13px; }
.search-inline input { border: none; outline: none; width: 220px; font-size: 13.5px; }
.search-inline .icon { color: var(--muted); }

.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.row-news { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; transition: all .18s; align-items: stretch; }
.row-news:hover { box-shadow: var(--shadow-md); border-color: #cfe0ff; transform: translateY(-2px); }
.row-news .rn-thumb { width: 176px; height: 116px; border-radius: 10px; overflow: hidden; flex: none; background: #eef1f6; position: relative; }
.row-news .rn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-news .rn-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.row-news h3 { font-size: 15px; font-weight: 700; line-height: 1.45; margin-bottom: 7px; }
.row-news h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: inherit; }
.row-news h3 a:hover { color: var(--brand-600); }
.row-news .rn-sum { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.row-news .rn-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.row-news .rn-foot span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 详情页 ---------- */
.detail-wrap { max-width: 860px; margin: 0 auto; padding-bottom: 40px; }
.detail-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; margin-bottom: 20px; }
.detail-head .crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.detail-head .crumbs a:hover { color: var(--brand-600); }
.detail-head h1 { font-size: 24px; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.detail-head .d-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.detail-head .d-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 20px; border: 1px solid var(--line); }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; }
.detail-card h2 { font-size: 18px; font-weight: 800; margin: 26px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand-600); }
.detail-card h2:first-child { margin-top: 0; }
.detail-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; margin-bottom: 12px; }
.contact-gate { background: linear-gradient(120deg, var(--brand-50), #f4f8ff); border: 1px solid #cfe0ff; border-radius: var(--radius-lg); padding: 30px; text-align: center; margin-top: 26px; }
.contact-gate .cg-icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--brand-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: var(--shadow-sm); }
.contact-gate h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.contact-gate p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.contact-gate .btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.contact-panel { margin-top: 26px; }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, #0c1f47, #123a8a); color: #fff; border-radius: var(--radius-lg); padding: 26px 30px; }
.contact-card .cc-item { display: flex; align-items: center; gap: 12px; }
.contact-card .cc-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); color: #9cc4ff; display: flex; align-items: center; justify-content: center; }
.contact-card .cc-item b { display: block; font-size: 17px; color: #fff; letter-spacing: .5px; }
.contact-card .cc-item span { font-size: 12px; color: #a9bfee; }
.contact-card .cc-btn { display: flex; gap: 10px; }
.related { margin-top: 24px; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 34px; max-width: 640px; margin: 0 auto; }
.form-card.wide { max-width: 820px; }
.form-card.compact { max-width: 440px; }
.form-head { text-align: center; margin-bottom: 26px; }
.form-head .fh-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.form-head h1 { font-size: 22px; font-weight: 800; }
.form-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.field { margin-bottom: 18px; }
.field label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field label .req { color: var(--danger); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .prefix { position: absolute; left: 13px; color: var(--muted); display: flex; }
.input-wrap input, .input-wrap textarea, .input-wrap select { width: 100%; padding: 12px 14px 12px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; transition: border .15s; }
.input-wrap.iconic input { padding-left: 42px; }
.input-wrap textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.input-wrap select { appearance: none; cursor: pointer; }
.input-wrap input:focus, .input-wrap textarea:focus, .input-wrap select:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(30,94,255,.10); }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.form-foot { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.form-foot a { color: var(--brand-600); font-weight: 600; }
.form-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: 12.5px; }
.form-divider::before, .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-error { display: none; align-items: flex-start; gap: 8px; background: #fdf0f0; border: 1px solid #f6cfcf; color: var(--danger); border-radius: 10px; padding: 11px 13px; font-size: 13px; margin-bottom: 16px; }
.form-error.show { display: flex; }
.checks { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; margin-bottom: 12px; }
.checks input { margin-top: 3px; accent-color: var(--brand-600); width: 15px; height: 15px; flex: none; }
.checks a { color: var(--brand-600); font-weight: 600; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }

/* ---------- 用户中心 ---------- */
.user-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding-bottom: 40px; }
.user-side { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; align-self: start; }
.user-side .u-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.user-side .avatar-lg { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.user-side .u-head b { display: block; font-size: 15px; }
.user-side .u-head span { font-size: 12px; color: var(--muted); }
.user-menu { display: flex; flex-direction: column; gap: 3px; }
.user-menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; text-align: left; transition: all .14s; }
.user-menu button:hover { background: var(--brand-50); color: var(--brand-600); }
.user-menu button.active { background: var(--brand-600); color: #fff; }
.user-main { min-width: 0; }
.user-main .um-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.user-main .um-head h2 { font-size: 19px; font-weight: 800; }
.user-main .um-head p { font-size: 13px; color: var(--muted); }

/* ---------- 协议 / 关于 ---------- */
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 42px; line-height: 2; font-size: 14.5px; color: var(--ink-2); }
.prose h1 { font-size: 24px; font-weight: 800; color: var(--ink); text-align: center; margin-bottom: 6px; }
.prose .updated { text-align: center; color: var(--muted); font-size: 12.5px; margin-bottom: 26px; }
.prose h2 { font-size: 16.5px; font-weight: 800; color: var(--ink); margin: 26px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin-bottom: 12px; }
.prose ul { list-style: none; margin-bottom: 12px; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-600); }
.prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 12px; }
.prose ol li { margin-bottom: 9px; }

/* 企业介绍卡 */
.about-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; margin-bottom: 20px; }
.about-avatar { width: 116px; height: 116px; border-radius: 20px; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; display: flex; align-items: center; justify-content: center; }
.about-avatar svg { width: 64px; height: 64px; }
.about-head h1 { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.about-head .en { font-size: 13px; letter-spacing: 1px; color: var(--muted); margin-bottom: 16px; }
.info-table { display: grid; grid-template-columns: 96px 1fr; row-gap: 12px; column-gap: 16px; max-width: 560px; }
.info-table dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.info-table dd { font-size: 13.5px; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.info-table dd .icon { color: var(--brand-600); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; max-width: 420px; animation: slideDown .3s ease; }
.toast.toast-ok .icon { color: #3ddc97; }
.toast.toast-err .icon { color: #ff7a7a; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.toast.hide { opacity: 0; transform: translateY(-12px); transition: all .3s; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty .en-ico { width: 60px; height: 60px; border-radius: 18px; background: #f0f3f9; color: var(--muted); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.empty p { font-size: 13.5px; }

/* ---------- 分页 ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.pager button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all .14s; }
.pager button:hover { border-color: var(--brand-600); color: var(--brand-600); }
.pager button.active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.pager button[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- 面包屑 ---------- */
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); padding: 18px 0 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand-600); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .list-layout, .user-layout { grid-template-columns: 200px 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
  .main-nav { position: fixed; top: 106px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--line); gap: 4px; box-shadow: var(--shadow-md); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .hero-inner { padding: 48px 0 80px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 26px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .list-layout, .user-layout { grid-template-columns: 1fr; }
  .sidebar, .user-side { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-band .ab-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .row-news .rn-thumb { width: 120px; height: 90px; }
}
@media (max-width: 560px) {
  .brand-name span { display: none; }
  .hero h1 { font-size: 26px; }
  .hero .kicker { font-size: 12px; }
  .cat-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .f-cats2 { columns: 1; column-gap: 0; }
}