/* ==========================================================================
   浙里公招 · 前台样式
   ========================================================================== */
:root {
  --ink: #10233c;
  --ink-2: #43566f;
  --ink-3: #7d8ea6;
  --ink-4: #a8b5c6;
  --brand: #14386b;
  --brand-2: #1f5fae;
  --brand-3: #2f7fd4;
  --brand-soft: #eef4fc;
  --line: #e4e9f0;
  --line-2: #eef2f7;
  --bg: #f5f7fb;
  --card: #ffffff;
  --red: #d3382c;
  --red-soft: #fdeeec;
  --green: #0b7f57;
  --green-soft: #e7f6ef;
  --amber: #a8690c;
  --amber-soft: #fdf3e2;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 60, .05);
  --shadow: 0 4px 14px rgba(16, 35, 60, .07);
  --shadow-lg: 0 12px 32px rgba(16, 35, 60, .11);
}

* { box-sizing: border-box; }

/* touch-action: manipulation —— 只禁「双击缩放」，保留双指捏合缩放。
   不加这条，连续点按相邻的底部导航按钮会被 iOS/Android 识别成 double-tap 放大页面。 */
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, button, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #cfe0f7; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* 头部 logo：官方 PNG（735×173，透明底），高 46 保持字标清晰 */
.brand-logo { display: block; height: 46px; width: auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(150deg, #1f5fae, #14386b);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand-mark.small { width: 32px; height: 32px; font-size: 17px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .02em; }
.brand-text small { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition: .16s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-2); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.mini-search {
  display: flex;
  align-items: center;
  background: #f2f5f9;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 6px 0 12px;
  transition: .18s;
}
.mini-search:focus-within {
  background: #fff;
  border-color: #c3d6ef;
  box-shadow: 0 0 0 3px rgba(47, 127, 212, .1);
}
.mini-search input {
  width: 150px;
  border: 0;
  background: transparent;
  outline: none;
  padding: 8px 0;
  font-size: 13.5px;
}
.mini-search input::placeholder { color: var(--ink-4); }
.mini-search button {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.mini-search button:hover { color: var(--brand-2); }

.btn-ghost {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: #fff;
  transition: .16s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: #b9cde8; color: var(--brand-2); background: var(--brand-soft); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 54px 0 0;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(47, 127, 212, .28), transparent 62%),
    radial-gradient(700px 360px at 88% 0%, rgba(86, 158, 233, .18), transparent 60%),
    linear-gradient(165deg, #0f2d59 0%, #14386b 46%, #1a4a86 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: 33px;
  letter-spacing: -.02em;
  font-weight: 700;
  line-height: 1.32;
}
.hero-sub {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .74);
  max-width: 620px;
}

.search-box {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 26px;
  background: #fff;
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 18px 44px rgba(4, 18, 40, .3);
  max-width: 980px;
}
.search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--ink-4);
}
.search-input input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  padding: 11px 0;
  min-width: 0;
}
.search-input input::placeholder { color: var(--ink-4); }
.search-box select {
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  outline: none;
  padding: 0 30px 0 16px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%237d8ea6' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.search-box select:last-of-type { border-radius: 0; }
.btn-search {
  border: 0;
  border-radius: 10px;
  padding: 0 30px;
  background: linear-gradient(160deg, #2f7fd4, #1f5fae);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(31, 95, 174, .35);
  transition: .18s;
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(31, 95, 174, .45); }
.btn-search:active { transform: translateY(0); }

.hot-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}
.hot-label { color: rgba(255, 255, 255, .5); margin-right: 2px; }
.hot-tag {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .86);
  transition: .16s;
}
.hot-tag:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.stat { padding: 16px 20px; text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 26%;
  height: 48%;
  width: 1px;
  background: rgba(255, 255, 255, .12);
}
.stat b { display: block; font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.stat b.accent { color: #7fc0ff; }
.stat span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* ---------------------------------------------------------------- layout */
.layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 26px;
  padding-top: 26px;
  padding-bottom: 56px;
  align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.filter-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-sm);
}
.filter-card h3 {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 11px;
}
.filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-2);
  background: #f4f7fa;
  border: 1px solid transparent;
  transition: .14s;
}
.chip i { font-style: normal; font-size: 11px; color: var(--ink-4); }
.chip:hover { background: var(--brand-soft); color: var(--brand-2); }
.chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.chip.active i { color: rgba(255, 255, 255, .6); }

.toggle-card { padding: 12px 14px; }
.toggle-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.toggle-link .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-4);
  flex-shrink: 0;
}
.toggle-link .switch {
  margin-left: auto;
  width: 34px; height: 19px;
  border-radius: 999px;
  background: #dfe5ee;
  position: relative;
  transition: .18s;
}
.toggle-link .switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: .18s;
}
.toggle-link.on { color: var(--green); font-weight: 600; }
.toggle-link.on .dot { background: var(--green); box-shadow: 0 0 0 3px rgba(11, 127, 87, .13); }
.toggle-link.on .switch { background: var(--green); }
.toggle-link.on .switch::after { left: 17px; }
.clear-all {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.clear-all:hover { color: var(--red); }

.side-tip {
  background: linear-gradient(150deg, #f0f6fd, #eaf2fb);
  border: 1px solid #dce8f7;
  border-radius: var(--radius);
  padding: 14px 16px;
}
.side-tip strong { font-size: 12.5px; color: var(--brand-2); letter-spacing: .04em; }
.side-tip p { margin-top: 6px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }

/* ---------------------------------------------------------------- toolbar */
.content { min-width: 0; }
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.result-count { font-size: 13.5px; color: var(--ink-2); }
.result-count b { color: var(--ink); }
.sort-tabs {
  display: flex;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
}
.sort-tabs a {
  padding: 4px 13px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-2);
  transition: .14s;
}
.sort-tabs a:hover { color: var(--brand-2); }
.sort-tabs a.active { background: var(--brand); color: #fff; }

/* ---------------------------------------------------------------- cards */
.list { display: flex; flex-direction: column; gap: 11px; }

.card {
  position: relative;
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 22px;
  box-shadow: var(--shadow-sm);
  transition: .18s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: .18s;
}
.card:hover {
  border-color: #cddcef;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card:hover::before { background: var(--brand-3); }
.card.is-top::before { background: linear-gradient(#e8a33c, #d3382c); }

.card-main { min-width: 0; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 9px; }

.badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 5px;
  font-size: 11.5px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: .01em;
}
.badge-top { background: linear-gradient(120deg, #fdf0d8, #fbe3c4); color: #a15c07; font-weight: 600; }
.badge-type { background: var(--brand-soft); color: var(--brand-2); }
.badge-city { background: #f3f5f9; color: var(--ink-2); }
.badge-num { background: #f0f8f4; color: var(--green); }

.card-title { font-size: 17px; line-height: 1.5; font-weight: 600; }
.card-title a { transition: color .14s; }
.card-title a:hover { color: var(--brand-2); }
.hl { font-style: normal; color: var(--red); background: linear-gradient(transparent 62%, #ffe0bb 62%); }
.card-org { margin-top: 5px; font-size: 13px; color: var(--ink-3); }
.card-summary {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--ink-3);
}
.meta-item { display: inline-flex; align-items: center; gap: 5px; }
.meta-item.muted { color: var(--ink-4); }
.meta-item svg { opacity: .7; }

.card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  min-width: 92px;
}
.state {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.state-green { background: var(--green-soft); color: var(--green); }
.state-red { background: var(--red-soft); color: var(--red); }
.state-blue { background: #e8f1fd; color: var(--brand-2); }
.state-muted { background: #f1f3f6; color: var(--ink-4); }
.state-gray { background: #f1f3f6; color: var(--ink-3); }
.countdown { font-size: 11.5px; color: var(--red); font-weight: 600; }
.card-go {
  font-size: 12.5px;
  color: var(--ink-4);
  white-space: nowrap;
  transition: .14s;
}
.card:hover .card-go { color: var(--brand-2); }

/* ---------------------------------------------------------------- pager */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 26px;
}
.pager a, .pager span {
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: .14s;
}
.pager a:hover { border-color: #b9cde8; color: var(--brand-2); background: var(--brand-soft); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .disabled { color: var(--ink-4); opacity: .6; }
.pager .gap { border: 0; background: transparent; min-width: 18px; }

/* ---------------------------------------------------------------- empty */
.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 64px 24px;
  text-align: center;
  color: var(--ink-3);
}
.empty svg { color: #cfdae8; }
.empty h3 { margin: 14px 0 6px; font-size: 16px; color: var(--ink); }
.empty p { font-size: 13.5px; }
.empty .btn-primary { margin-top: 18px; }

/* ---------------------------------------------------------------- buttons */
.btn-primary {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 9px;
  background: linear-gradient(160deg, #2f7fd4, #1f5fae);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  box-shadow: 0 3px 10px rgba(31, 95, 174, .26);
  transition: .16s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31, 95, 174, .34); }
.btn-primary.full { display: block; text-align: center; margin-top: 14px; }
.btn-outline {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  transition: .16s;
}
.btn-outline:hover { border-color: #b9cde8; color: var(--brand-2); background: var(--brand-soft); }

/* ---------------------------------------------------------------- detail */
.detail-wrap { padding-top: 22px; padding-bottom: 60px; }
.crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-4);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--brand-2); }
.crumbs em { font-style: normal; color: var(--ink-2); }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 24px;
  align-items: start;
}
.detail-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 34px 32px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.detail-head { padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.detail-head .card-tags { margin-bottom: 12px; }
.detail-head h1 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -.015em;
  font-weight: 700;
}
.detail-org { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.detail-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-4);
}

.notice {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  line-height: 1.7;
  border-left: 3px solid;
}
.notice-hot { background: var(--red-soft); border-color: var(--red); color: #8f2a21; }
.notice-hot b { color: var(--red); }
.notice-muted { background: #f4f6f9; border-color: #c3ccd8; color: var(--ink-2); }
.notice-info { background: #eaf2fd; border-color: var(--brand-3); color: #1a4a86; }
.notice-info b { color: var(--brand-2); }
.notice-warn { background: var(--amber-soft); border-color: var(--amber); color: #7a4c08; }

.keyinfo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  overflow: hidden;
  margin-top: 20px;
}
.ki { background: #fafcfe; padding: 13px 16px; }
.ki span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 3px; }
.ki b { font-size: 14px; font-weight: 600; color: var(--ink); }

.article { margin-top: 26px; font-size: 15px; line-height: 1.95; color: #23384f; }
.article h3 {
  position: relative;
  margin: 26px 0 10px;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.article h3:first-child { margin-top: 0; }
.article h3::before {
  content: "";
  position: absolute;
  left: 0; top: .38em;
  width: 3px; height: 1em;
  border-radius: 2px;
  background: linear-gradient(var(--brand-3), var(--brand));
}
.article p { margin: 0 0 12px; }
.article ul { margin: 0 0 14px; padding-left: 2px; }
.article li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 14.5px;
  color: #33485f;
}
.article li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #b7c8dc;
}
.article a { color: var(--brand-2); border-bottom: 1px solid #c8dcf5; }

/* 公告原文中的岗位表 */
.article { overflow-x: auto; }
.article table {
  width: auto;
  min-width: 100%;
  border-collapse: collapse;
  margin: 16px 0 18px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid #dbe3ed;
}
.article table td,
.article table th {
  border: 1px solid #dbe3ed;
  padding: 7px 9px;
  text-align: center;
  vertical-align: middle;
  color: #2f4459;
}
.article table tr:first-child td {
  background: #f3f7fc;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.article table p { margin: 0; font-size: 13px; line-height: 1.65; }
.article table tr:hover td { background: #fafcfe; }
.article img { max-width: 100%; height: auto; border-radius: 6px; }

.article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  padding: 3px 10px;
  border-radius: 6px;
  background: #f3f6fa;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: .14s;
}
.tag:hover { background: var(--brand-soft); color: var(--brand-2); }

.disclaimer {
  margin-top: 22px;
  padding: 15px 18px;
  background: #f8fafc;
  border: 1px dashed #dbe3ed;
  border-radius: 10px;
}
.disclaimer strong { font-size: 12.5px; color: var(--ink-2); letter-spacing: .05em; }
.disclaimer p { margin-top: 5px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }

.detail-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.side-card h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
  padding-bottom: 11px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.kv li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--line-2);
}
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--ink-3); }
.kv b { font-weight: 600; color: var(--ink); text-align: right; }
.kv b.state { font-size: 12px; }
.text-red { color: var(--red) !important; }
.side-hint { margin-top: 12px; font-size: 12px; color: var(--ink-4); line-height: 1.7; }

.related { display: flex; flex-direction: column; }
.rel-item {
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rel-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.rel-title {
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: .14s;
}
.rel-item:hover .rel-title { color: var(--brand-2); }
.rel-meta { font-size: 11.5px; color: var(--ink-4); }

/* ---------------------------------------------------------------- about */
.page-narrow { max-width: 840px; padding-top: 44px; padding-bottom: 64px; }
.page-head { text-align: center; margin-bottom: 26px; }
.page-head h1 { font-size: 28px; letter-spacing: -.02em; }
.page-head p { margin-top: 8px; color: var(--ink-3); font-size: 14px; }
.prose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 38px;
  box-shadow: var(--shadow-sm);
}
.prose-card h2 {
  font-size: 17px;
  margin: 28px 0 10px;
  padding-left: 12px;
  position: relative;
}
.prose-card h2:first-child { margin-top: 0; }
.prose-card h2::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 3px; height: 1.05em;
  border-radius: 2px;
  background: linear-gradient(var(--brand-3), var(--brand));
}
.prose-card p { font-size: 14.5px; line-height: 1.95; color: #2b4058; margin-bottom: 12px; }
.prose-card b { color: var(--brand); }
.prose-list { padding-left: 4px; }
.prose-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #2b4058;
}
.prose-list li::before {
  content: "";
  position: absolute;
  left: 3px; top: .74em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-3);
}
.prose-note {
  background: #f7fafd;
  border: 1px solid #e2ecf8;
  border-left: 3px solid var(--brand-3);
  border-radius: 10px;
  padding: 16px 20px;
}
.prose-note p { font-size: 13.8px; margin-bottom: 10px; }
.prose-note p:last-child { margin-bottom: 0; }

.cta-row { display: flex; gap: 12px; margin-top: 26px; justify-content: center; flex-wrap: wrap; }

.empty-page { text-align: center; padding: 90px 24px; }
.code404 {
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(160deg, #cfe1f6, #93b6dc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.empty-page h1 { font-size: 21px; margin: 14px 0 8px; }
.empty-page p { color: var(--ink-3); font-size: 14px; }

/* ---------------------------------------------------------------- flash */
.flash-wrap { padding-top: 16px; }
.flash {
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  margin-bottom: 8px;
  border: 1px solid;
}
.flash.ok { background: var(--green-soft); border-color: #bfe7d6; color: #0a6a49; }
.flash.error { background: var(--red-soft); border-color: #f6cdc8; color: #a32b21; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #0f2749; color: rgba(255, 255, 255, .68); margin-top: 8px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1.2fr;
  gap: 40px;
  padding-top: 42px;
  padding-bottom: 34px;
}
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand strong { font-size: 15px; color: #fff; display: block; margin-bottom: 6px; }
.foot-brand p { font-size: 12.8px; line-height: 1.8; color: rgba(255, 255, 255, .55); max-width: 300px; }
.foot-col h4 {
  font-size: 12.5px;
  color: #fff;
  letter-spacing: .08em;
  margin-bottom: 12px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
  padding: 4px 0;
  transition: .14s;
}
.foot-col a:hover { color: #8cc4ff; }
.foot-note { font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, .5); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 16px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .detail-main { padding: 26px 26px 28px; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 16px; }
  .content { order: 1; }
  .sidebar { order: 2; }
  .sidebar { position: static; }
  .filter-card:first-child .filter-list { max-height: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .hero h1 { font-size: 26px; }
  .stat b { font-size: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 58px; gap: 12px; }
  .brand-logo { height: 34px; }
  .mini-search { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 22px; }
  .hero-sub { font-size: 13px; }
  .search-box { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .search-input { flex: 1 0 100%; padding: 0 6px; border-bottom: 1px solid var(--line-2); }
  .search-box select { flex: 1; border-left: 0; padding: 10px 22px 10px 8px; }
  .btn-search { flex: 1 0 100%; padding: 11px; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .card { flex-direction: column; gap: 12px; padding: 16px 16px 14px; }
  .card-side { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-width: 0; }
  .card-title { font-size: 15.5px; }
  .keyinfo { grid-template-columns: repeat(2, 1fr); }
  .detail-main { padding: 20px 18px 24px; }
  .detail-head h1 { font-size: 19px; }
  .article { font-size: 14.5px; }
  .prose-card { padding: 22px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-bottom .wrap { flex-direction: column; gap: 6px; }
}

/* ---------------------------------------------------------------- 原文链接兜底 */
.ext-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed var(--line-2);
  font-size: 12px;
}
.ext-host {
  color: var(--ink-4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 62%;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 11.5px;
}
.ext-copy {
  flex-shrink: 0;
  border: 0;
  background: none;
  padding: 2px 4px;
  border-radius: 5px;
  font-size: 12px;
  color: var(--brand-2);
  cursor: pointer;
  transition: .14s;
}
.ext-copy:hover { background: var(--brand-soft); }
button.btn-outline { cursor: pointer; }

/* 轻提示 */
.zj-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 12px);
  max-width: 86vw;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(16, 35, 60, .94);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 10px 26px rgba(6, 18, 36, .3);
  opacity: 0;
  visibility: hidden;
  transition: .22s;
  z-index: 9999;
  text-align: center;
}
.zj-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 新窗口被拦截时的说明浮层 */
.zj-ext-mask {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, .55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: .18s;
  z-index: 9998;
}
.zj-ext-mask.show { opacity: 1; visibility: visible; }
.zj-ext-box {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 24px 20px;
  box-shadow: 0 24px 60px rgba(6, 18, 36, .34);
  transform: translateY(8px);
  transition: .2s;
}
.zj-ext-mask.show .zj-ext-box { transform: translateY(0); }
.zj-ext-box h4 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.zj-ext-box p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.zj-ext-url {
  margin: 14px 0 16px;
  padding: 10px 12px;
  background: #f4f7fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-2);
  word-break: break-all;
  max-height: 92px;
  overflow-y: auto;
}
.zj-ext-actions { display: flex; gap: 10px; justify-content: flex-end; }
.zj-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: .15s;
}
.zj-btn:hover { border-color: #b9cde8; color: var(--brand-2); background: var(--brand-soft); }
.zj-btn.primary {
  background: linear-gradient(160deg, #2f7fd4, #1f5fae);
  border-color: transparent;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(31, 95, 174, .26);
}
.zj-btn.primary:hover { color: #fff; transform: translateY(-1px); }

/* ==========================================================================
   移动端界面（按设计稿 390×844 落地）
   仅在 ≤760px 生效，桌面端完全走上面的原有样式
   ========================================================================== */

/* 移动端专属元素：桌面默认不渲染 */
.m-top, .m-chips, .m-sec-head, .m-open-head, .m-bar, .m-deadline,
.m-tip, .m-cta, .m-nav, .card-badge, .card-foot, .card-mline, .m-filter-btn,
.m-stats { display: none; }
.h1-m { display: none; }
.h1-d { display: inline; }

@media (max-width: 820px) {

  /* ---------- 基底 ---------- */
  .wrap { padding: 0 14px; }

  /* 顶部白色站点头在手机端让位给 Hero 内置品牌行 + 底部导航 */
  .site-header { display: none; }

  /* ---------- 首页 Hero ---------- */
  .hero {
    padding: 16px 0 32px;
    overflow: visible;
    background:
      radial-gradient(520px 260px at 8% -12%, rgba(62, 132, 214, .34), transparent 62%),
      linear-gradient(168deg, #1a4d87 0%, #14386b 54%, #102f5a 100%);
  }
  .hero::after { opacity: .55; }

  .m-top { display: flex; align-items: center; justify-content: space-between; }
  /* 深色 hero 上用反白版 logo（蓝→白，橙保留），高度 25 ≈ 宽 106，清晰且不压标题 */
  .m-brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
  .m-logo { display: block; height: 25px; width: auto; }
  .m-bell {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
  }
  .m-bell:active { background: rgba(255, 255, 255, .26); }

  .hero h1 { margin-top: 20px; font-size: 25px; line-height: 1.34; font-weight: 700; letter-spacing: -.02em; }
  .h1-m { display: inline; }
  .h1-d { display: none; }
  .hero-sub { margin-top: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .68); max-width: none; }

  /* 搜索：胶囊 + 右侧筛选开关，展开后出现下拉与搜索按钮 */
  .search-box {
    margin-top: 15px;
    padding: 0 5px 0 12px;
    border-radius: 13px;
    max-width: none;
    box-shadow: 0 10px 26px rgba(4, 18, 40, .26);
  }
  .search-input { flex: 1 1 auto; padding: 0; gap: 8px; }
  /* 16px 是 iOS Safari 的硬阈值：低于它聚焦输入框会把整页放大，且放大状态会带到后续页面 */
  .search-input input { padding: 10px 0; font-size: 16px; }
  .m-filter-btn {
    display: grid; place-items: center;
    flex: 0 0 auto;
    width: 32px; height: 32px;
    border: 0; border-radius: 9px;
    background: #eef4fc; color: var(--brand-2);
  }
  .search-extra { display: none; }
  .search-box.open { flex-wrap: wrap; padding: 0 12px 10px; }
  .search-box.open .search-input { flex: 1 0 100%; }
  .search-box.open .m-filter-btn { background: var(--brand-2); color: #fff; }
  .search-box.open .search-extra {
    display: flex; align-items: center; width: 100%; gap: 8px;
    padding-top: 10px; border-top: 1px solid var(--line-2);
  }
  .search-box.open .search-extra select {
    flex: 1 1 0; min-width: 0;
    border: 1px solid var(--line); border-radius: 8px;
    padding: 8px 22px 8px 10px; font-size: 12.5px;
    background-color: #f7f9fc;
  }
  .search-box.open .btn-search { flex: 0 0 auto; padding: 0 16px; height: 36px; font-size: 13px; border-radius: 8px; }

  /* 快捷胶囊 */
  .m-chips {
    display: flex; gap: 8px;
    margin-top: 14px;
    padding-bottom: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .m-chips::-webkit-scrollbar { display: none; }
  .m-chip {
    flex: 0 0 auto;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 12.5px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .88);
    white-space: nowrap;
  }
  .m-chip.on { background: #fff; border-color: #fff; color: var(--brand); font-weight: 600; }

  .hot-row { display: none; }

  /* 数据概览：独立白卡，上压 Hero 底边（设计稿的悬浮卡效果） */
  .hero .wrap .stat-bar { display: none; }
  .m-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 2;
    margin: -30px 14px 0;
    padding: 2px 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(10, 32, 64, .14);
  }
  .m-stats .stat { padding: 13px 2px 12px; }
  .stat b { font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
  .stat b.accent { color: var(--brand-2); }
  .stat span { font-size: 10.5px; color: var(--ink-3); letter-spacing: .02em; }
  .stat + .stat::before { top: 24%; height: 52%; background: var(--line); }

  /* ---------- 列表区 ---------- */
  .layout { grid-template-columns: 1fr; gap: 0; padding-top: 22px; padding-bottom: 26px; }
  .sidebar { display: none; }

  .m-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
  .m-sec-head h2 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
  .m-sec-head span { font-size: 11.5px; color: var(--ink-3); }

  /* 正在报名：标题 + 搜索 + 筛选胶囊 */
  .m-open-head { display: block; padding-bottom: 12px; }
  .m-open-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .m-open-row h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
  .m-open-pill {
    flex: 0 0 auto;
    padding: 6px 13px;
    border-radius: 999px;
    background: #e8f1fd;
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 500;
  }
  .m-open-sub { margin-top: 5px; font-size: 12px; color: var(--ink-3); }
  .m-search {
    display: flex; align-items: center; gap: 8px;
    margin-top: 13px;
    padding: 0 8px 0 12px;
    border-radius: 11px;
    background: #eef2f7;
    color: var(--ink-4);
  }
  .m-search input {
    flex: 1 1 auto; min-width: 0;
    border: 0; background: transparent; outline: none;
    padding: 9px 0;
    font-size: 16px; color: var(--ink);
  }
  .m-search input::placeholder { color: var(--ink-4); }
  .m-search button { flex: 0 0 auto; border: 0; background: none; color: var(--ink-3); display: grid; place-items: center; padding: 4px; }
  .m-filterform { display: flex; gap: 8px; margin-top: 10px; }
  .m-fchip {
    position: relative;
    flex: 1 1 0; min-width: 0;
    display: flex; align-items: center; gap: 4px;
    padding: 7px 20px 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12px; color: var(--ink-2);
  }
  .m-fchip em { font-style: normal; flex: 0 0 auto; color: var(--ink-3); }
  .m-fchip select {
    flex: 1 1 auto; min-width: 0; width: 100%;
    appearance: none; -webkit-appearance: none;
    border: 0; background: transparent; outline: none;
    font-size: 12px; color: inherit;
  }
  .m-fchip.on { border-color: #cfe0f7; background: #e8f1fd; color: var(--brand-2); }
  .m-fchip.on em { color: var(--brand-2); opacity: .8; }
  .m-fchip::after {
    content: "";
    position: absolute; right: 10px; top: 50%;
    width: 5px; height: 5px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    opacity: .5;
  }
  .m-fchip-go { border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; padding: 7px 12px; }

  /* 排序分段控件 */
  .toolbar { margin-bottom: 12px; }
  .result-count { display: none; }
  .sort-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 3px;
    border: 0;
    border-radius: 10px;
    background: #e9eef5;
  }
  .sort-tabs a { padding: 7px 0; text-align: center; border-radius: 8px; font-size: 12.5px; color: var(--ink-2); }
  .sort-tabs a.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 35, 60, .13); }

  /* 公告卡 */
  .list { gap: 10px; }
  .card {
    display: block;
    padding: 13px 14px 11px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 35, 60, .06);
  }
  .card::before { display: none; }
  .card:hover { transform: none; box-shadow: 0 2px 10px rgba(16, 35, 60, .06); }
  .card-tags { gap: 5px; margin-bottom: 8px; padding-right: 76px; }
  .badge { padding: 1px 7px; border-radius: 4px; font-size: 10.5px; }
  .badge-num { display: none; }
  .card-title { font-size: 15px; line-height: 1.55; }
  .card-mline { display: block; margin-top: 7px; font-size: 12px; color: var(--ink-3); }
  .card-org, .card-summary, .card-meta, .card-side { display: none; }
  .card-badge {
    display: inline-block;
    position: absolute; top: 12px; right: 12px;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
  }
  .card-badge.is-hot { background: var(--red-soft); color: var(--red); }
  .card-badge.is-warm { background: var(--amber-soft); color: var(--amber); }
  .card-badge.is-green { background: var(--green-soft); color: var(--green); }
  .card-badge.is-blue { background: #e8f1fd; color: var(--brand-2); }
  .card-badge.is-muted, .card-badge.is-gray { background: #f1f3f6; color: var(--ink-3); }
  .card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 10px; padding-top: 9px;
    border-top: 1px solid var(--line-2);
  }
  .cf-src { font-size: 11px; color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cf-go { flex: 0 0 auto; font-size: 12.5px; color: var(--brand-2); font-weight: 500; }

  .pager { margin-top: 20px; }
  .pager a, .pager span { min-width: 32px; height: 32px; font-size: 13px; }

  /* ---------- 详情页 ---------- */
  body.is-detail { background: #fff; padding-bottom: 0; }
  body.is-detail .m-nav { display: none; }

  .m-bar {
    display: flex; align-items: center; gap: 8px;
    position: sticky; top: 0; z-index: 40;
    height: 50px; padding: 0 10px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line-2);
    backdrop-filter: saturate(160%) blur(10px);
  }
  .m-bar-btn {
    flex: 0 0 auto;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: #f2f5f9; color: var(--ink-2);
  }
  .m-bar-title { flex: 1 1 auto; text-align: center; font-size: 15px; font-weight: 600; }
  .m-bar-actions { display: flex; gap: 6px; flex: 0 0 auto; }

  .detail-wrap { padding: 0 0 26px; }
  .crumbs, .detail-side { display: none; }
  .detail-grid { display: block; }
  .detail-main {
    padding: 16px 14px 4px;
    border: 0; border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  .detail-head { padding-bottom: 0; border-bottom: 0; }
  .detail-head .card-tags { margin-bottom: 10px; padding-right: 0; }
  .detail-head .state { display: none; }
  .detail-head h1 { font-size: 21px; line-height: 1.42; font-weight: 700; }
  .detail-org { display: none; }
  .detail-sub { display: block; margin-top: 10px; font-size: 11.5px; color: var(--ink-4); }
  .detail-sub span { display: none; }
  .detail-sub span:first-child, .detail-sub span:last-child { display: inline; }
  .detail-sub span:last-child::before { content: " · "; }

  .notice { margin-top: 14px; padding: 11px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.7; }
  .notice-hot { display: none; }   /* 截止卡已表达同一信息，避免重复 */

  /* 报名截止卡 */
  .m-deadline {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 14px; padding: 13px 15px;
    border-radius: 14px;
    background: var(--amber-soft);
  }
  .m-dl-main span { display: block; font-size: 11.5px; color: #9a6a12; }
  .m-dl-main b { display: block; margin-top: 3px; font-size: 19px; font-weight: 700; color: #8a5506; letter-spacing: -.01em; }
  .m-dl-badge {
    flex: 0 0 auto;
    width: 54px; height: 54px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 13px;
    background: linear-gradient(158deg, #b97b18, #8c5806);
    color: #fff;
    box-shadow: 0 6px 14px rgba(140, 88, 6, .22);
  }
  .m-dl-badge b { font-size: 17px; font-weight: 700; line-height: 1.1; }
  .m-dl-badge span { font-size: 9.5px; opacity: .88; line-height: 1.3; }
  .m-deadline.is-ending { background: var(--red-soft); }
  .m-deadline.is-ending .m-dl-main span { color: var(--red); }
  .m-deadline.is-ending .m-dl-main b { color: var(--red); }
  .m-deadline.is-ending .m-dl-badge { background: linear-gradient(158deg, #e0483b, #b12a1f); box-shadow: 0 6px 14px rgba(177, 42, 31, .22); }
  .m-deadline.is-over { background: #f2f4f8; }
  .m-deadline.is-over .m-dl-main span, .m-deadline.is-over .m-dl-main b { color: var(--ink-3); }
  .m-deadline.is-over .m-dl-badge { background: linear-gradient(158deg, #9aa7b8, #78879b); box-shadow: none; }

  /* 关键信息三列 */
  .keyinfo {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 12px;
    border-radius: 14px;
    border-color: var(--line-2);
    background: var(--line-2);
  }
  .ki { padding: 12px 4px; text-align: center; background: #fff; }
  .ki:nth-child(n+4) { display: none; }
  .ki span { font-size: 11px; margin-bottom: 4px; }
  .ki b { font-size: 14px; }

  .article { margin-top: 20px; font-size: 14.5px; line-height: 1.9; }
  .article h3 { font-size: 15.5px; margin: 22px 0 9px; }
  .article-foot { display: none; }

  .m-tip {
    display: flex; gap: 8px;
    margin-top: 20px; padding: 11px 13px;
    border-radius: 12px;
    background: #eef4fc;
    color: #4a6b93;
  }
  .m-tip svg { flex: 0 0 auto; margin-top: 3px; }
  .m-tip p { font-size: 11.5px; line-height: 1.7; }

  /* 详情页已有「温馨提示」，免责长文交给页脚，避免同屏重复两段 */
  .disclaimer { display: none; }

  /* 底部主行动条 */
  .m-cta {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(16, 35, 60, .06);
  }
  .m-cta-icon {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 13px;
    background: #fff; color: var(--ink-2);
  }
  .m-cta-btn {
    flex: 1 1 auto;
    display: grid; place-items: center;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(160deg, #1f5fae, #14386b);
    color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .01em;
    box-shadow: 0 6px 16px rgba(20, 56, 107, .3);
  }

  /* ---------- 底部胶囊导航 ---------- */
  .m-nav {
    display: flex; align-items: center; justify-content: space-around;
    position: fixed; z-index: 60;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    height: 58px; padding: 0 6px;
    background: rgba(255, 255, 255, .98);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(16, 35, 60, .16);
  }
  .m-nav-a {
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--ink-3);
    font-size: 10.5px;
    transition: .16s;
  }
  .m-nav-a.on {
    flex-direction: row; gap: 7px;
    padding: 9px 17px;
    background: var(--brand);
    color: #fff;
    font-size: 12.5px; font-weight: 600;
    box-shadow: 0 6px 14px rgba(20, 56, 107, .3);
  }
  .m-nav-a.on svg { width: 18px; height: 18px; }

  /* ---------- 页脚（精简） ---------- */
  .site-footer { margin-top: 22px; padding-bottom: 76px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; padding-bottom: 22px; }
  .footer-inner .foot-col:nth-child(2) { display: none; }
  .foot-brand p { font-size: 12px; max-width: none; }
  .foot-bottom { padding: 13px 0; }
  .foot-bottom .wrap { flex-direction: column; gap: 4px; }

  /* 正在报名：隐藏大 Hero 与数据卡，改用列表页头 */
  body.is-open .hero { display: none; }
  body.is-open .m-stats { display: none; }
  body.is-open .layout { padding-top: 14px; }
}

/* -------------------------------------------------------------------
   iOS Safari 聚焦放大兜底
   iOS 在 input / textarea / select 字号 < 16px 时，聚焦瞬间会把整页放大，
   而且放大状态会被带到之后打开的页面（看起来像「点底部导航也放大」）。
   桌面端 15px 设计不变，只对触屏设备（手机 / 平板）处理。
   pointer: coarse = 主输入设备是手指，覆盖手机与 iPad 这类宽屏触控设备。
   ------------------------------------------------------------------- */
@media (pointer: coarse) {
  input[type="search"],
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="url"],
  textarea { font-size: 16px; }

  /* 首页展开后的两个下拉：宽度够，直接常驻 16px */
  .search-box.open .search-extra select { font-size: 16px; }

  /* 正在报名页的三个筛选胶囊宽度只有 ~115px，常驻 16px 会撑坏，
     改为「平时 12px 保持紧凑，聚焦瞬间抬到 16px」—— iOS 判定的是聚焦时的字号，
     这样既避开自动放大，选了长选项（如「事业单位」）也不会溢出。 */
  .m-fchip select:focus { font-size: 16px; }
}
