/* 徐州梵客数字科技有限公司 - 全站样式 */
[hidden] { display: none !important; }
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

:root {
  --primary: #1e4f9c;
  --primary-dark: #163d78;
  --primary-light: #eaf1fb;
  --accent: #c9a15c;
  --ink: #1d2733;
  --muted: #5d6b7d;
  --line: #e3e9f1;
  --bg: #f5f7fa;
  --card: #ffffff;
  --ok: #2e7d4f;
  --warn: #b06a1f;
  --bad: #b03a3a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.min { color: var(--muted); font-size: 13px; }
.small { font-size: 13px; }

/* ---------- 页头 ---------- */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: .5; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.nav-link:hover { background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }
.head-account { display: flex; gap: 9px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.only-mobile { display: none; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 9px; border: 1px solid transparent; font-size: 14px; cursor: pointer; line-height: 1.4; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 12px 26px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- 首页 ---------- */
.hero { background: linear-gradient(135deg, #16375f 0%, #1e4f9c 62%, #2a62b5 100%); color: #fff; padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.05); }
.hero::before { content: ''; position: absolute; right: 120px; bottom: -140px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); }
.hero-in { position: relative; z-index: 1; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 32px; line-height: 1.35; letter-spacing: 1px; margin-bottom: 14px; font-weight: 700; }
.hero p { max-width: 640px; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero .btn-primary { background: var(--accent); color: #26200f; font-weight: 600; }
.hero .btn-primary:hover { background: #d8b26e; }
.hero-stats { display: flex; gap: 40px; margin-top: 38px; flex-wrap: wrap; }
.hero-stat b { font-size: 24px; display: block; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.72); }

.sect { padding: 46px 0 8px; }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.sect-head h2 { font-size: 22px; letter-spacing: .5px; }
.sect-head h2::before { content: ''; display: inline-block; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.sect-head a { font-size: 13.5px; color: var(--muted); }
.sect-head a:hover { color: var(--primary); }

.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 16px 17px; text-align: center; transition: box-shadow .18s, transform .18s; color: var(--ink); }
.cat-card:hover { box-shadow: 0 10px 26px rgba(30,79,156,.12); transform: translateY(-2px); color: var(--primary); }
.cat-ic { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.cat-ic svg.i { width: 24px; height: 24px; vertical-align: 0; }
.cat-card b { display: block; font-size: 14.5px; }
.cat-card span { font-size: 12px; color: var(--muted); }

/* 信息卡片 */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.lcard:hover { box-shadow: 0 10px 26px rgba(30,79,156,.13); transform: translateY(-2px); }
.lcard__imgwrap { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #dfe7f1; }
.lcard__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.lcard__cat { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(22,61,120,.88); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.lcard__cat svg.i { width: 13px; height: 13px; }
.lcard__body { padding: 15px 16px 13px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.lcard__title { font-size: 15.5px; font-weight: 600; line-height: 1.5; display: block; }
.lcard__title:hover { color: var(--primary); }
.lcard__foot { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; margin-top: auto; }
.lcard__foot span { display: inline-flex; align-items: center; gap: 4px; }
.lcard__foot svg.i { width: 14px; height: 14px; }
.lcard__meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* 平台说明块 */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.intro-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 20px; }
.intro-card h3 { font-size: 17px; margin-bottom: 12px; }
.intro-card p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.intro-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.intro-feat { display: flex; gap: 10px; align-items: flex-start; }
.intro-feat .cat-ic { width: 38px; height: 38px; border-radius: 10px; margin: 0; flex: 0 0 auto; }
.intro-feat .cat-ic svg.i { width: 20px; height: 20px; vertical-align: 0; }
.intro-feat b { font-size: 14px; display: block; }
.intro-feat span { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- 通用页框 ---------- */
.page { padding: 30px 0 60px; }
.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 24px; letter-spacing: .5px; }
.page-head p { color: var(--muted); margin-top: 6px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }

/* 筛选 */
.filterbar { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 14px; font-size: 13px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 5px; }
.chip svg.i { width: 14px; height: 14px; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.searchbar { display: flex; gap: 8px; margin-left: auto; }
.searchbar input { min-width: 0; width: 210px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 13.5px; font-family: inherit; }
.searchbar input:focus { outline: none; border-color: var(--primary); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.pager button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 14px; cursor: pointer; font-family: inherit; }
.pager button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager button:disabled { opacity: .5; cursor: not-allowed; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.empty svg.i { width: 44px; height: 44px; display: block; margin: 0 auto 12px; opacity: .4; }

/* 详情 */
.detail { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.detail-cover { aspect-ratio: 2.6 / 1; overflow: hidden; background: #dfe7f1; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 26px 30px 30px; }
.detail-body h1 { font-size: 22px; line-height: 1.5; margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13.5px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-content p { margin-bottom: 14px; color: #2c3746; font-size: 15px; }
.detail-content { max-width: 860px; }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-light); color: var(--primary); border-radius: 999px; padding: 3px 12px; font-size: 12.5px; margin-right: 6px; }
.contact-card { background: #f8fafd; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 22px; max-width: 860px; }
.contact-card h3 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.contact-row { display: flex; align-items: center; gap: 9px; font-size: 14.5px; margin-bottom: 7px; }
.contact-row b { font-size: 16.5px; letter-spacing: .5px; }
.contact-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.status-bar { border-radius: 10px; padding: 11px 16px; font-size: 13.5px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.status-pending { background: #fdf5e6; color: var(--warn); border: 1px solid #f0dfbc; }
.status-rejected { background: #fbeeec; color: var(--bad); border: 1px solid #ecd2cf; }

/* 表单 */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.panel-tight { padding: 22px 24px; }
.form { max-width: 520px; }
.form-wide { max-width: 720px; }
.frow { margin-bottom: 16px; }
.frow label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.frow label em { color: var(--bad); font-style: normal; margin-left: 2px; }
.frow input[type=text], .frow input[type=password], .frow input[type=tel], .frow textarea, .frow select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; font-size: 14.5px; font-family: inherit; background: #fff;
}
.frow textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.frow input:focus, .frow textarea:focus, .frow select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,79,156,.1); }
.frow .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.agree input { margin-top: 3px; }
.agree a { color: var(--primary); }
.form-foot { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.alert { border-radius: 10px; padding: 11px 15px; font-size: 13.5px; margin-bottom: 16px; }
.alert-err { background: #fbeeec; color: var(--bad); border: 1px solid #ecd2cf; }
.alert-ok { background: #ecf6ef; color: var(--ok); border: 1px solid #cfe6d7; }

/* 个人中心 / 后台 */
.uc { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 20px; align-items: start; }
.uc-side { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; }
.uc-side .whoami { text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.uc-side .whoami .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.uc-side .whoami .avatar svg.i { width: 26px; height: 26px; vertical-align: 0; }
.uc-side .whoami b { display: block; font-size: 15px; }
.uc-side .whoami span { font-size: 12.5px; color: var(--muted); }
.uc-nav a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: 14px; margin-bottom: 3px; }
.uc-nav a:hover, .uc-nav a.on { background: var(--primary-light); color: var(--primary); }
.uc-nav svg.i { width: 16px; height: 16px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; }
.stat-card b { font-size: 24px; display: block; }
.stat-card span { font-size: 12.5px; color: var(--muted); }
.stat-card.warn b { color: var(--warn); }
.stat-card.ok b { color: var(--ok); }
.stat-card.bad b { color: var(--bad); }
table.data { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; font-size: 13.5px; min-width: 860px; }
.table-scroll { overflow-x: auto; border-radius: 13px; }
table.data th { background: #f2f6fb; text-align: left; padding: 11px 14px; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
table.data th:first-child { min-width: 168px; }
table.data td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data .t-title { font-weight: 600; color: var(--ink); }
table.data .t-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.row-actions { display: flex; gap: 8px; flex-wrap: nowrap; }
.row-actions .btn { padding: 5px 12px; font-size: 12.5px; border-radius: 7px; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 11px; font-size: 12px; }
.badge-warn { background: #fdf5e6; color: var(--warn); }
.badge-ok { background: #ecf6ef; color: var(--ok); }
.badge-bad { background: #fbeeec; color: var(--bad); }

/* 关于 */
.about-hero { background: linear-gradient(135deg, #16375f, #1e4f9c); color: #fff; border-radius: 16px; padding: 40px 42px; margin-bottom: 24px; }
.about-hero h1 { font-size: 26px; margin-bottom: 12px; }
.about-hero p { color: rgba(255,255,255,.85); max-width: 760px; }
.about-sec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; margin-bottom: 18px; }
.about-sec h2 { font-size: 18px; margin-bottom: 12px; }
.about-sec p { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; max-width: 860px; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.about-fact { background: #f8fafd; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.about-fact span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.about-fact b { font-size: 14.5px; }

/* 条款正文 */
.doc { max-width: 860px; }
.doc h2 { font-size: 17px; margin: 22px 0 10px; }
.doc p, .doc li { color: #3a4757; font-size: 14.5px; margin-bottom: 9px; }
.doc ol, .doc ul { padding-left: 22px; }

/* ---------- 页脚 ---------- */
.site-foot { background: #14233c; color: #b8c4d6; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 30px; padding: 44px 20px 30px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 12px; }
.foot-desc { font-size: 13px; line-height: 1.7; color: #8fa0b8; max-width: 360px; }
.foot-t { color: #fff; font-size: 14.5px; display: block; margin-bottom: 12px; }
.foot-col > a { display: block; color: #b8c4d6; font-size: 13.5px; padding: 3.5px 0; }
.foot-col > a:hover { color: #fff; }
.foot-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; padding: 3.5px 0; }
.foot-line svg.i { width: 15px; height: 15px; margin-top: 3px; color: #7fa3d4; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #8fa0b8; }
.foot-bar .icp { color: #b8c4d6; }
.foot-bar .icp:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .brand-name { font-size: 15px; }
  .brand { gap: 8px; }
  .logo-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 1px; gap: 5px; }
  .brand-sub::before { flex-basis: 10px; width: 10px; }
  .site-head .nav-toggle { display: block; }
  .site-head .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 18px 16px; box-shadow: 0 12px 24px rgba(20,35,60,.08); }
  .site-head .nav.open { display: flex; }
  .site-head .nav .nav-link { padding: 11px 12px; }
  .only-mobile { display: block; padding: 11px 12px; color: var(--primary); font-weight: 600; }
  .site-head .head-account { display: none; }
  .head-in { gap: 12px; }
  .searchbar { margin-left: 0; flex: 1 1 100%; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 24px; }
  .hero { padding: 46px 0 66px; }
  .uc { grid-template-columns: minmax(0, 1fr); }
  .uc-side > * { min-width: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 680px) {
  .lgrid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .searchbar input { flex: 1 1 auto; width: auto; }
  .detail-body { padding: 20px 18px 24px; }
  .panel { padding: 20px 18px; }
  .fgrid2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .intro-feats { grid-template-columns: 1fr; }
}
