﻿/* ============================================================
   岗位情报站 · 样式
   ============================================================ */

:root {
  --ink: #1b2430;
  --ink-2: #3a4658;
  --muted: #6b7789;
  --muted-2: #98a2b3;
  --brand: #2f6cf0;
  --brand-soft: #eaf1fe;
  --cream: #f2f5fa;
  --card: #ffffff;
  --line: #e5eaf2;
  --line-soft: #eef1f7;
  /* 下面这组中性色由「调色盘」接管；默认值与原版一致，不调色时看不出差别 */
  --tint-1: #eef2f8;
  --tint-2: #f7f9fc;
  --tint-3: #f7f9fc;
  --tint-4: #eef2f8;
  --dash: #e8edf5;
  --dash-2: #d8dfea;
  --warn-bg: #fff4e5;
  --warn-fg: #b25e09;
  --star-bg: #fff4e5;
  --star-fg: #b54708;
  --danger-bg: #fdecec;
  --danger-fg: #c0392b;
  --neutral-bg: #eef1f5;
  --neutral-fg: #8b95a5;
  --ring: rgba(47, 108, 240, .14);
  --brand-dark: #2556c4;
  --brand-deep: #0f2b6b;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 64, .06);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

/* ---------- 顶部渐变标题 ---------- */

.hero {
  padding: 26px 0 30px;
  color: #fff;
  background:
    radial-gradient(120% 150% at 88% -30%, rgba(140, 190, 255, .45) 0%, rgba(140, 190, 255, 0) 58%),
    linear-gradient(118deg, var(--brand-deep) 0%, var(--brand) 100%);
  box-shadow: 0 12px 32px rgba(15, 43, 107, .18);
}

.hero-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-inner { min-width: 0; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .62);
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero-sub {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .72);
}

.hero-actions { display: flex; gap: 8px; padding-bottom: 3px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.pill:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .36); }

.pill.is-on { background: #fff; border-color: #fff; color: var(--brand); }

.pill em {
  font-style: normal;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.pill.is-on em { background: var(--brand-soft); color: var(--brand); }

.pill svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 搜索条 ---------- */

.searchbar-wrap {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 3;
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: -18px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 32, 64, .08);
}

.search-field {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--tint-2);
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.search-field:focus-within {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}

.search-field svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.search-field input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  box-shadow: none;
}

.search-field input[type="search"]::placeholder { color: var(--muted-2); }

.search-btn {
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}

.search-btn:hover { background: var(--brand-dark); }

.chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.chip-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.chip-stat b {
  color: var(--brand);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chip-stat .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 2px rgba(18, 183, 106, .16);
}

.ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.ghost:hover { background: var(--tint-2); border-color: #d8dfea; }

.ghost.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.ghost.is-on svg { fill: currentColor; }

.ghost em {
  font-style: normal;
  font-size: 11.5px;
  padding: 0 6px;
  border-radius: 20px;
  background: var(--line-soft);
  color: var(--muted);
}

.ghost.is-on em { background: rgba(255, 255, 255, .2); color: #fff; }

.ghost svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

/* ---------- 布局 ---------- */

.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
  padding: 16px;
}

/* ---------- 侧栏 ---------- */

.sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.side-title {
  margin: 4px 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
}

.cat-list { display: flex; flex-direction: column; gap: 2px; }

.cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background .13s, color .13s;
}

.cat:hover { background: var(--tint-1); }

.cat.is-active { background: var(--brand); color: #fff; }

.cat-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cat-count {
  flex: none;
  min-width: 26px;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--line-soft);
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

.cat.is-active .cat-count {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.side-note {
  margin: 12px 6px 2px;
  font-size: 11px;
  line-height: 1.6;
  color: #a3adbd;
}

/* ---------- 筛选区 ---------- */

.filters {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}

.field { display: flex; flex-direction: column; gap: 5px; flex: 0 0 auto; min-width: 132px; }

.field > span { font-size: 11.5px; color: var(--muted); }

.field.grow { flex: 1 1 220px; }

.field.grow input { width: 100%; }

select, input[type="search"], input[type="text"] {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

select { padding-right: 24px; cursor: pointer; }

select:focus,
input[type="search"]:focus,
input[type="text"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}

#btnReset { margin-left: auto; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--dash);
}

.tag-label { font-size: 11.5px; color: var(--muted); margin-right: 2px; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; }

.tag-chip {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--tint-2);
  color: #4b5a6b;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background .13s, color .13s, border-color .13s;
}

.tag-chip:hover { border-color: #d3dbe8; }

.tag-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---------- 表格 ---------- */

.table-card {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #e8edf5;
}

.table-head p { margin: 0; font-size: 12.5px; color: var(--muted); }

.table-head b { font-size: 15px; color: var(--brand); }

.hint { color: var(--muted-2); font-size: 11.5px; }

.order { height: 32px; font-size: 12.5px; }

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

thead th {
  padding: 10px;
  background-color: var(--brand-deep);
  background-repeat: no-repeat;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

tbody td {
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  overflow: hidden;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover { background: var(--tint-3); }

.col-title { min-width: 300px; max-width: 520px; }

.cell-title { display: flex; align-items: flex-start; gap: 6px; }

.cell-title .link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 13.2px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.cell-title .link:hover { color: var(--brand); text-decoration: underline; }

.test {
  flex: none;
  margin-top: 2px;
  padding: 0 4px;
  border: 1px dashed var(--dash-2);
  border-radius: 4px;
  color: #a8b2c0;
  font-size: 10px;
  font-style: normal;
  line-height: 1.5;
}

.cell-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.mini-tag {
  padding: 0 6px;
  border-radius: 4px;
  background: var(--tint-4);
  color: #6f7c8f;
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.6;
}

.prov {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--tint-4);
  color: #4b5a6b;
  font-size: 12px;
  white-space: nowrap;
}

.type {
  display: inline-block;
  padding: 2.5px 9px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #55637a;
  white-space: nowrap;
}

.unit { font-size: 11px; color: var(--muted-2); }

.muted { color: #a3adbd; }

.chip {
  display: inline-block;
  margin-left: 5px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-family: inherit;
  white-space: nowrap;
}

.chip.open { background: var(--brand-soft); color: var(--brand); }
.chip.soon { background: var(--warn-bg); color: var(--warn-fg); }
.chip.urgent { background: var(--danger-bg); color: var(--danger-fg); }
.chip.closed,
.chip.neutral { background: var(--neutral-bg); color: var(--neutral-fg); }

.col-ops { text-align: right; white-space: nowrap; }

.op {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #9aa6b8;
  cursor: pointer;
  vertical-align: middle;
  transition: background .13s, color .13s;
}

.op:hover { background: var(--tint-4); color: var(--brand); }

.op.is-on { background: var(--star-bg); color: var(--star-fg); }

.op.is-disabled { opacity: .35; cursor: default; }

.op.is-disabled:hover { background: transparent; color: #9aa6b8; }

.op svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.op.star.is-on svg { fill: currentColor; }

.empty {
  padding: 64px 20px;
  text-align: center;
}

.empty strong { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; }

.empty span { font-size: 12.5px; color: var(--muted-2); }

.empty code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--line-soft);
  font-size: 12px;
}

/* ---------- 详情抽屉 ---------- */

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(16, 24, 40, .35);
  animation: fade .16s ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(440px, 92vw);
  background: #fff;
  box-shadow: -8px 0 32px rgba(16, 24, 40, .14);
  animation: slide .2s ease;
}

.drawer[hidden],
.drawer-mask[hidden] { display: none; }

@keyframes slide { from { transform: translateX(16px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.drawer-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.drawer-head h3 {
  flex: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.drawer-close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.drawer-close:hover { background: var(--tint-4); }

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.meta { display: grid; gap: 11px; margin: 0; }

.meta > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: baseline;
}

.meta dt { font-size: 12px; color: var(--muted-2); }

.meta dd { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

.remark {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.remark h4 {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}

.remark p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }

.drawer-foot {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
}

.primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.primary:hover { background: var(--brand-dark); }

.primary.is-disabled {
  background: #e9eef6;
  color: #98a2b3;
  cursor: default;
}

.primary svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.star-btn { height: 38px; }

.star-btn.is-on {
  background: var(--star-bg);
  border-color: #f3ddb9;
  color: var(--star-fg);
}

.star-btn.is-on svg { fill: currentColor; }

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }

  .sidebar {
    position: static;
    max-height: none;
    padding: 10px;
  }

  .cat-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .cat {
    width: auto;
    padding: 6px 10px;
    border: 1px solid var(--line);
    font-size: 12.5px;
  }

  .side-note { display: none; }

  .table-wrap { max-height: none; }

  #btnReset { margin-left: 0; }
}

@media (max-width: 820px) {
  .hero { padding: 20px 0 26px; }
  .hero h1 { font-size: 23px; }
  .hero-sub { display: none; }
  .hero-box,
  .searchbar-wrap { padding: 0 12px; }
  .search-btn { padding: 0 16px; }
  .chips { display: none; }

  .layout { padding: 12px; gap: 12px; }

  .col-date,
  .col-edu { display: none; }

  .col-title { min-width: 220px; }

  thead th { padding: 9px 8px; }
  tbody td { padding: 9px 8px; }

  .table-head { flex-wrap: wrap; }
}

/* ============================================================
   调色盘
   ============================================================ */

.palette-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 24;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 24, 40, .22);
  transition: transform .15s, box-shadow .15s, background .15s;
}

.palette-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 24, 40, .28);
}

.palette-fab.is-open { background: var(--ink); }

.palette-fab svg { width: 19px; height: 19px; }

.palette-panel {
  position: fixed;
  right: 20px;
  bottom: 74px;
  z-index: 25;
  width: 292px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(28, 43, 37, .16);
  animation: pp-pop .16s ease;
}

.palette-panel[hidden] { display: none; }

@keyframes pp-pop {
  from { transform: translateY(6px) scale(.985); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.pp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.pp-head span { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }

.pp-head button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-2);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.pp-head button:hover { background: var(--tint-4); color: var(--ink); }

.pp-body { padding: 12px 14px 14px; }

.pp-label {
  margin: 10px 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  color: var(--muted-2);
}

.pp-label:first-child { margin-top: 0; }

.pp-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.pp-sw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 0 5px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: background .12s;
}

.pp-sw:hover { background: var(--tint-1); }

.pp-sw i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.pp-sw span { font-size: 10.5px; color: var(--muted); }

.pp-sw.is-active { border-color: var(--line); background: var(--tint-1); }

.pp-sw.is-active i {
  box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px currentColor;
}

.pp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
}

.pp-row > span { width: 34px; flex: none; }

.pp-row input[type="color"] {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: none;
  cursor: pointer;
  flex: none;
}

.pp-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.pp-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }

.pp-row input[type="text"] {
  flex: 1;
  width: 100%;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.pp-actions { display: flex; gap: 8px; margin-top: 12px; }

.pp-actions button {
  flex: 1;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint-2);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11.5px;
  cursor: pointer;
  transition: background .12s;
}

.pp-actions button:hover { background: var(--tint-1); }

.pp-tip {
  margin: 10px 0 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted-2);
}

.pp-tip b { color: var(--muted); font-weight: 600; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 60;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(28, 43, 37, .92);
  color: #fff;
  font-size: 11.5px;
  white-space: nowrap;
  animation: pp-fade .18s ease;
}

@keyframes pp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 分页 ---------- */

.pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line-soft);
  background: var(--card);
}

.pager[hidden] { display: none; }

.pager-info {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pager-btns { display: flex; align-items: center; gap: 4px; }

.pg {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}

.pg:hover:not(:disabled) { background: var(--tint-1); }

.pg.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pg:disabled { opacity: .4; cursor: default; }

.pg-gap {
  padding: 0 2px;
  color: var(--muted-2);
  font-size: 12px;
}

@media (max-width: 640px) {
  .pager { justify-content: center; }
  .pager-info { width: 100%; text-align: center; }
}

/* ============================================================
   公告详情（仿对标站版式）
   ============================================================ */

.drawer { width: min(760px, 96vw); }

.dv-head {
  position: relative;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.dv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

.dv-eyebrow { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }

.dv-status {
  flex: none;
  text-align: right;
  padding: 9px 14px;
  border-radius: 10px;
  background: hsl(150, 42%, 95%);
  border: 1px solid hsl(150, 34%, 84%);
}
.dv-status b { display: block; font-size: 13.5px; color: hsl(150, 48%, 30%); }
.dv-status span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.dv-status.closed { background: hsl(220, 12%, 96%); border-color: hsl(220, 10%, 88%); }
.dv-status.closed b { color: #6b7280; }
.dv-status.wait { background: hsl(42, 90%, 96%); border-color: hsl(42, 70%, 85%); }
.dv-status.wait b { color: hsl(32, 70%, 34%); }

.dv-title {
  margin: 14px 0 12px;
  font-size: 26px;
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}

.dv-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.dv-tag {
  font-size: 12px;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 3px 9px;
}

.dv-body { flex: 1; overflow: auto; padding: 18px 26px 28px; }

.dv-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.dv-btn {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.dv-btn:hover { background: var(--tint-1); }
.dv-btn.is-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.dv-btn.is-primary:hover { background: var(--brand-dark); }
.dv-btn.is-on { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand); }
.dv-btn.is-disabled { opacity: .5; pointer-events: none; }

.dv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.dv-card {
  background: var(--tint-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 16px;
}
.dv-card span { display: block; font-size: 11.5px; color: var(--muted-2); }
.dv-card b { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dv-card .chip { margin-left: 6px; }

.dv-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.dv-section h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.dv-section p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--ink-2); }

.drawer-close { position: absolute; top: 14px; right: 16px; }

@media (max-width: 700px) {
  .dv-title { font-size: 20px; }
  .dv-cards { grid-template-columns: 1fr; }
  .dv-head, .dv-body { padding-left: 16px; padding-right: 16px; }
}

/* ---------- 详情改为整页 ---------- */

.drawer {
  width: 100vw;
  max-width: none;
  box-shadow: none;
  background: var(--cream);
}

.drawer .dv-head {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 26px 28px 20px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.drawer .dv-body {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 28px 40px;
}

.dv-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.dv-back:hover { background: var(--tint-1); }

@media (max-width: 700px) {
  .drawer .dv-head, .drawer .dv-body { padding-left: 16px; padding-right: 16px; }
}

/* ---------- 详情页：岗位表 / 附件 ---------- */

.dv-note { font-size: 12px !important; color: var(--muted-2) !important; margin-bottom: 10px !important; }

.dv-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.dv-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.dv-table th {
  background: var(--tint-2);
  color: var(--muted);
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}
.dv-table td { padding: 12px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.dv-table tr:last-child td { border-bottom: 0; }

.dv-attach {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--tint-2);
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: none;
}
.dv-attach:hover { background: var(--tint-1); }
.dv-attach span { color: var(--brand); font-size: 12.5px; }

/* 整行可点 */
tbody tr { cursor: pointer; }
tbody tr:hover .cell-title .link { color: var(--brand); }

/* 专业输入框 */
.field input[type="search"],
.field input[type="text"] {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  min-width: 150px;
}
.field input[type="search"]:focus,
.field input[type="text"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}
.field input::placeholder { color: var(--muted-2); }

/* ---------- 图标放大 / 标签去掉数字 ---------- */

.pill svg { width: 16px; height: 16px; }
.search-field svg { width: 18px; height: 18px; }
.ghost svg { width: 17px; height: 17px; }
.op svg { width: 18px; height: 18px; stroke-width: 1.5; }
.primary svg { width: 17px; height: 17px; }
.type::before { width: 8px; height: 8px; }
.tag-chip { font-size: 13px; }

/* ============================================================
   纯白底 + 小装饰
   ============================================================ */

body { background: #ffffff; }

.deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco-item {
  position: absolute;
  width: 128px;
  height: 128px;
  opacity: .38;
}
.d1 { top: 96px;  left: 2%;   transform: rotate(-14deg); }
.d2 { top: 38%;   right: 2%;  transform: rotate(12deg);  width: 108px; height: 108px; }
.d3 { bottom: 6%; left: 4%;   transform: rotate(8deg);   width: 116px; height: 116px; opacity: .3; }
.d4 { top: 62%;   left: 46%;  transform: rotate(-6deg);  width: 84px;  height: 84px;  opacity: .26; }

header, .searchbar-wrap, .cat-bar-wrap, .pinned, .layout { position: relative; z-index: 1; }

/* 单列布局（左侧分类栏已移除） */
.layout { grid-template-columns: minmax(0, 1fr); }

/* ============================================================
   分类条（搜索栏下方，按热度排序）
   ============================================================ */

.cat-bar-wrap {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 24px;
}

.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0 14px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.cat-chip:hover { border-color: var(--brand-soft); color: var(--brand); }
.cat-chip b {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--muted-2);
}
.cat-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.cat-chip.is-active b { color: rgba(255,255,255,.8); }
.cat-chip.cat-hot { border-color: #f3d3c2; }
.cat-chip.cat-hot:not(.is-active) { background: #fff8f3; }

/* ============================================================
   置顶重磅公告（横向卡片）
   ============================================================ */

.pinned {
  max-width: 1720px;
  margin: 0 auto 4px;
  padding: 0 24px;
}

.pinned-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 2px 10px;
}
.pinned-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.pinned-head h2 span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
}

.pinned-nav { display: flex; gap: 6px; }
.pin-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.pin-btn:hover { background: var(--tint-1); color: var(--brand); }

.pin-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 2px 16px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.pin-track::-webkit-scrollbar { display: none; }

.pin-card {
  flex: 0 0 268px;
  scroll-snap-align: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pin-card:hover {
  border-color: var(--brand-soft);
  box-shadow: 0 6px 20px rgba(47,108,240,.08);
  transform: translateY(-1px);
}

.pin-top { display: flex; align-items: center; gap: 6px; }
.pin-region { font-size: 12px; color: var(--muted); }
.pin-title {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 550;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.pin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ============================================================
   艺术字标题
   ============================================================ */

.hero-title {
  margin: 6px 0 10px;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: 2px;
  font-weight: 700;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
}
.hero-title .t1 {
  background: linear-gradient(120deg, #2f6cf0 0%, #5b8dfa 45%, #7fa7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-title .t2 {
  background: linear-gradient(120deg, #1b3f9e 0%, #2f6cf0 60%, #6f9bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}
.hero-sub {
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: .2px;
}

/* 省份列：文字上色 */
.col-prov .prov {
  background: linear-gradient(135deg, #eef3ff, #e6eeff);
  color: #2f6cf0;
  font-weight: 600;
  letter-spacing: .5px;
}

/* 置顶卡片：渐变底 + 地区醒目 */
.pin-card {
  background: linear-gradient(160deg, #ffffff 0%, #f5f8ff 55%, #eef3ff 100%);
  border-color: #dfe8fb;
}
.pin-card:hover {
  background: linear-gradient(160deg, #ffffff 0%, #eef3ff 55%, #e4edff 100%);
  border-color: #b9cdf7;
  box-shadow: 0 10px 26px rgba(47,108,240,.12);
}
.pin-region {
  font-size: 13.5px;
  font-weight: 700;
  color: #1b3f9e;
  letter-spacing: .4px;
}
.pin-card .type {
  font-size: 11.5px;
}
.pin-title {
  font-weight: 600;
}

/* 装饰尺寸微调 */
.deco-item { width: 150px; height: 150px; opacity: .5; }
.d1 { top: 120px; left: 1.5%; transform: rotate(-8deg); }
.d2 { top: 34%; right: 1.5%; transform: rotate(6deg); width: 132px; height: 132px; }
.d3 { bottom: 7%; left: 3%; transform: rotate(-4deg); width: 118px; height: 118px; opacity: .42; }
.d4 { top: 66%; left: 47%; transform: rotate(10deg); width: 96px; height: 96px; opacity: .32; }

/* ============================================================
   标题：白色艺术字
   ============================================================ */

.hero-title {
  font-size: 48px;
  letter-spacing: 4px;
  font-weight: 700;
  font-family: "STKaiti", "KaiTi", "Songti SC", "STSong", "SimSun", serif;
  position: relative;
  display: inline-block;
}
.hero-title .t1,
.hero-title .t2 {
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  text-shadow: 0 3px 16px rgba(10, 40, 110, .42), 0 1px 0 rgba(255, 255, 255, .35);
}
.hero-title::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 6px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.15));
}

/* ============================================================
   筛选行：一行放下
   ============================================================ */

@media (min-width: 1080px) {
  .filter-row {
    flex-wrap: nowrap;
    gap: 8px;
    align-items: flex-end;
  }
  .filter-row .field {
    flex: 1 1 0;
    min-width: 104px;
  }
  .filter-row .field select,
  .filter-row .field input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 34px;
  }
  .filter-row .ghost { flex: 0 0 auto; }
}

/* ============================================================
   城市 / 省份 胶囊（对标参考图）
   ============================================================ */

.city-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  background: #eef7f2;
  border: 1px solid #d5e9de;
  color: #2f7d5d;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.col-prov .prov {
  background: #f0f5ff;
  border: 1px solid #dbe6ff;
  color: #2f6cf0;
  font-weight: 600;
  font-size: 12px;
}

/* 省份胶囊：品牌蓝，强对比 */
td.col-prov .prov {
  background: linear-gradient(135deg, #e8f0ff, #dbe7ff);
  border: 1px solid #c3d6ff;
  color: #1e56d6;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 2px 10px;
}

/* 隐藏通知/公示 开关 */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.switch input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
}
.switch em {
  font-style: normal;
  color: var(--muted-2);
  font-size: 12px;
}

/* ============================================================
   视图切换 + 卡片列表
   ============================================================ */

.view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-right: 10px;
}
.view-switch button {
  padding: 5px 13px;
  border: 0;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.view-switch button.is-active { background: var(--brand); color: #fff; }
.view-switch button:not(.is-active):hover { background: var(--tint-1); }

.card-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
  padding: 2px 0 14px;
}

.gcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
}
.gcard:hover {
  border-color: var(--brand-soft);
  box-shadow: 0 8px 22px rgba(47,108,240,.1);
  transform: translateY(-1px);
}
.gcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gcard-prov {
  padding: 1px 9px;
  border-radius: 7px;
  background: #fff4e8;
  border: 1px solid #f5dfc9;
  color: #bb6120;
  font-size: 12px;
  font-weight: 700;
}
.gcard-left {
  padding: 1px 7px;
  border-radius: 10px;
  background: #fff1e8;
  color: #c2410c;
  font-size: 11.5px;
}
.gcard-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.gcard-meta { font-size: 11.5px; color: var(--muted-2); }
.gcard-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gcard-hc {
  padding: 1px 7px;
  border-radius: 10px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11.5px;
}
.gcard-edu {
  padding: 1px 7px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11.5px;
}
.gcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.gcard-ops button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0 4px;
}
.gcard-ops button:hover { color: var(--brand); }

/* ============================================================
   手机适配
   ============================================================ */

@media (max-width: 1080px) {
  .filter-row { flex-wrap: wrap !important; }
  .filter-row .field { flex: 1 1 22%; min-width: 120px; }
}

@media (max-width: 900px) {
  .hero { padding: 16px 0 18px; }
  .hero-title { font-size: 32px; letter-spacing: 2px; }
  .hero-sub { font-size: 12.5px; line-height: 1.6; }
  .hero-box { gap: 10px; }
  .hero-actions { flex-wrap: wrap; gap: 8px; }
  .deco { display: none; }

  .searchbar { flex-wrap: wrap; }
  .search-field { flex: 1 1 100%; }
  .search-btn { width: 100%; }

  .cat-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .cat-bar::-webkit-scrollbar { display: none; }
  .cat-chip { flex: 0 0 auto; }

  .searchbar-wrap, .cat-bar-wrap, .layout, .pinned { padding-left: 12px; padding-right: 12px; }
  .content { padding: 0; }
  .table-card { border-radius: 10px; }
  .table-head { flex-wrap: wrap; gap: 8px; }
  .table-head p { flex: 1 1 100%; }
  .view-switch { order: 3; }
  .card-view { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
}

@media (max-width: 620px) {
  .hero-title { font-size: 27px; }
  .card-view { grid-template-columns: 1fr; }
  .filters { padding: 10px; }
  .field { flex: 1 1 46% !important; min-width: 0 !important; }
  .field span { font-size: 11.5px; }
  .field select, .field input[type="search"] { height: 32px; font-size: 13px; }
  .ghost { flex: 1 1 100%; }
  .table-wrap { overflow-x: auto; }
  .pager { flex-wrap: wrap; }
  .drawer { width: 100%; }
}

.card-empty {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

/* ============================================================
   卡片视图 · 协调版
   ============================================================ */

.card-view {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  padding: 4px 0 18px;
  align-items: stretch;
}

.gcard {
  padding: 16px 16px 14px;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  background: #fff;
  gap: 9px;
  box-shadow: 0 1px 2px rgba(20, 40, 80, .03);
}
.gcard:hover {
  border-color: #c9d8f7;
  box-shadow: 0 10px 24px rgba(47, 108, 240, .09);
  transform: translateY(-2px);
}

/* 省份徽章：统一成列表的蓝色 */
.gcard-prov {
  background: #f0f5ff;
  border: 1px solid #dbe6ff;
  color: #2f6cf0;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 8px;
  letter-spacing: .4px;
}

/* 剩余天数：按紧急度着色 */
.gcard-left {
  background: #f4f6fa;
  color: #6b7a90;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 500;
}
.gcard-left.is-soon { background: #fff7ed; color: #c2761b; }
.gcard-left.is-urgent { background: #fef2f2; color: #d93a3a; }
.gcard-left.is-closed { background: #f3f4f6; color: #9aa4b2; }

.gcard-title {
  font-size: 14.5px;
  line-height: 1.55;
  min-height: 45px;
  color: #16233a;
}
.gcard-meta {
  font-size: 11.5px;
  color: #94a0b3;
  letter-spacing: .2px;
}
.gcard-tags { gap: 7px; }
.gcard-foot {
  border-top: 1px solid #f1f4f9;
  padding-top: 9px;
  color: #8b97a9;
}
.gcard-ops button {
  font-size: 14px;
  color: #9aa4b2;
  transition: color .15s;
}
.gcard .type { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; }
.gcard .city-chip { font-size: 11.5px; padding: 2px 8px; }

/* 桌面：一行最多 4 张 */
@media (min-width: 1500px) {
  .card-view { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1080px) and (max-width: 1499px) {
  .card-view { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 720px) and (max-width: 1079px) {
  .card-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .card-view { grid-template-columns: 1fr; gap: 12px; }
  .gcard { padding: 14px; border-radius: 12px; }
  .gcard-title { font-size: 14px; min-height: 0; }
  .table-head { padding: 10px 12px; }
  .table-head p { font-size: 13px; }
}

/* 卡片边框：品牌蓝调，清晰但不抢眼 */
.gcard {
  border: 1px solid #d7e2f6;
  box-shadow: 0 1px 3px rgba(47, 108, 240, .05);
}
.gcard:hover {
  border-color: #a9c2f2;
  box-shadow: 0 10px 24px rgba(47, 108, 240, .12);
}

/* 卡片边框：更明显 */
.gcard {
  border: 1.5px solid #bfd3f2;
  box-shadow: 0 2px 6px rgba(47, 108, 240, .08);
}
.gcard:hover {
  border-color: #7ea3ec;
  box-shadow: 0 12px 28px rgba(47, 108, 240, .16);
}

/* ============================================================
   卡片 · 反光残影
   ============================================================ */

.gcard {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 扫光 */
.gcard::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -70%;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .55) 42%,
    rgba(210, 228, 255, .75) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-16deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* 残影：跟在后头的柔和光晕 */
.gcard::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -70%;
  width: 34%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(120, 170, 255, .38), rgba(120, 170, 255, 0) 70%);
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.gcard:hover::after {
  animation: cardSheen 1.05s cubic-bezier(.22, .61, .36, 1) forwards;
}
.gcard:hover::before {
  animation: cardTrail 1.25s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes cardSheen {
  0%   { left: -70%; opacity: 0; }
  12%  { opacity: .95; }
  75%  { opacity: .9; }
  100% { left: 130%; opacity: 0; }
}

@keyframes cardTrail {
  0%   { left: -70%; opacity: 0; }
  22%  { opacity: .75; }
  85%  { opacity: .45; }
  100% { left: 120%; opacity: 0; }
}

/* 内容压在光效之上 */
.gcard > * { position: relative; z-index: 3; }

/* 手机端关掉扫光，省电、少干扰 */
@media (max-width: 719px) {
  .gcard::after, .gcard::before { display: none; }
}

/* ============================================================
   背景装饰：更明显 + 更分散
   ============================================================ */

.deco-item {
  opacity: .62;
  filter: drop-shadow(0 2px 8px rgba(120, 160, 220, .12));
}

.d1 { top: 118px;  left: 1.2%;  transform: rotate(-10deg); width: 158px; height: 158px; opacity: .62; }
.d2 { top: 30%;    right: 1%;   transform: rotate(8deg);   width: 140px; height: 140px; opacity: .58; }
.d3 { bottom: 5%;  left: 2.5%;  transform: rotate(-6deg);  width: 126px; height: 126px; opacity: .54; }
.d4 { top: 58%;    left: 46%;   transform: rotate(12deg);  width: 104px; height: 104px; opacity: .34; }

/* 新增：沿页面两侧分布 */
.d5 { top: 78%;    left: 0.8%;  transform: rotate(14deg);  width: 122px; height: 122px; opacity: .5; }
.d6 { top: 12%;    right: 3%;   transform: rotate(-12deg); width: 116px; height: 116px; opacity: .5; }
.d7 { top: 46%;    left: 0.5%;  transform: rotate(4deg);   width: 132px; height: 132px; opacity: .46; }
.d8 { bottom: 22%; right: 1.2%; transform: rotate(-8deg);  width: 112px; height: 112px; opacity: .48; }

/* 窄屏适当收敛，别挡住内容 */
@media (max-width: 1100px) {
  .deco-item { opacity: .34; }
  .d4, .d7 { display: none; }
}
