:root {
  --red: #8F0F22;
  --red-2: #B01B32;
  --red-deep: #6E0B1A;
  --red-soft: #F7ECEE;
  --bg: #F4F1EC;
  --card: #FFFFFF;
  --ink: #1F2329;
  --ink-2: #3B4048;
  --muted: #7A7F87;
  --line: #E9E2D9;
  --cream: #FAF6F0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(80, 40, 20, .06);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }

.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
  min-width: 0;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--red-2), var(--red-deep));
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 5px 12px rgba(143, 15, 34, .22);
}

.brand-mark.small { width: 30px; height: 30px; border-radius: 8px; font-size: 16px; box-shadow: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .4px; }
.brand-text small { color: var(--muted); font-size: 11px; margin-top: 3px; letter-spacing: .3px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
  justify-content: flex-end;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition: .18s;
}
.site-nav a:hover { background: var(--red-soft); color: var(--red); }
.site-nav a.is-active { color: var(--red); font-weight: 600; background: var(--red-soft); }

/* 首页头图 */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7E0C1D 0%, #941228 52%, #6E0B1A 100%);
  color: #fff;
  padding: 46px 0 55px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px; right: -170px; top: -220px;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0) 68%);
}
.hero::after {
  width: 300px; height: 300px; left: -150px; bottom: -210px;
  background: radial-gradient(circle, rgba(255, 214, 170, .12), rgba(255,255,255,0) 70%);
}

.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .66);
}
.hero-back {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  padding-bottom: 2px;
  color: rgba(255, 255, 255, .78);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .2px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  overflow-wrap: anywhere;
}
.hero-back:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .7); }
.article-back { display: inline-flex; align-items: center; margin: 0; }
.article-back a {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 5px;
  background: #3E5A75;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .6px;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
}
.article-back a:hover { background: #4E6D8B; color: #fff; }
.article-back a:focus-visible { outline: 2px solid rgba(62, 90, 117, .35); outline-offset: 2px; }
.hero h1 { margin: 0; font-size: 34px; line-height: 1.3; letter-spacing: 1px; font-weight: 700; }
.hero-sub { margin: 9px 0 24px; font-size: 14px; color: rgba(255, 255, 255, .72); }

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  padding: 6px 6px 6px 15px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 30px rgba(40, 0, 8, .2);
}
.hero-search svg { width: 19px; height: 19px; fill: #9A8F86; flex: 0 0 auto; }
.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 0;
}
.hero-search button {
  border: 0;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  transition: .18s;
}
.hero-search button:hover { background: var(--red-deep); }

/* 首页主体 */
.home-body { padding-top: 24px; padding-bottom: 10px; }

.notice-bar {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 1px dashed #E4CFC3;
  border-radius: 11px;
  background: #FFFBF6;
  color: #8A6A50;
  font-size: 13px;
  line-height: 1.65;
}
.notice-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-2);
  margin-top: 7px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(176, 27, 50, .1);
}

.search-tip {
  padding: 12px 15px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13.5px;
  color: var(--muted);
}
.search-tip strong { color: var(--red); }
.search-tip a { color: var(--red); margin-left: 10px; }

.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  transition: .18s;
}
.cat-tab span {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #F3EEE7;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.cat-tab:hover { border-color: #DCC9BC; color: var(--red); }
.cat-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 7px 16px rgba(143, 15, 34, .2);
}
.cat-tab.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
}
.section-head h2 {
  margin: 0;
  padding-left: 11px;
  border-left: 4px solid var(--red);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: .2px;
}
.section-head > span, .section-head > a {
  margin-left: auto;
  color: var(--muted);
  font-size: 12.5px;
}
.section-head > a { color: var(--red); }

.notice-list { display: flex; flex-direction: column; gap: 11px; }

.notice-card {
  display: block;
  padding: 18px 20px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(80, 40, 20, .03);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.notice-card:hover {
  transform: translateY(-2px);
  border-color: #E2C9CB;
  box-shadow: 0 12px 28px rgba(100, 40, 30, .08);
}

.notice-top { display: flex; align-items: center; gap: 7px; }
.notice-top time { margin-left: auto; color: #A29A92; font-size: 12px; letter-spacing: .4px; }

.cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--cat, var(--red));
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .6px;
  line-height: 1.5;
}
.cat-badge.small { font-size: 10.5px; padding: 2px 7px; }

.top-badge {
  display: inline-flex;
  padding: 2px 7px;
  border: 1px solid #E6B6BF;
  border-radius: 5px;
  color: var(--red);
  font-size: 10.5px;
  line-height: 1.5;
}

.notice-card h3 {
  margin: 11px 0 0;
  font-size: 17.5px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .2px;
  color: #202329;
}
.notice-summary {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 11px;
  color: #A29A92;
  font-size: 11.5px;
}
.attach-hint { color: #9A6B3C; }
.notice-more { margin-left: auto; color: var(--red); font-weight: 500; }
.notice-more i { font-style: normal; transition: .18s; display: inline-block; }
.notice-card:hover .notice-more i { transform: translateX(3px); }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 28px 0 34px; flex-wrap: wrap; }
.pager-btn, .pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
}
.pager-num { padding: 0 10px; }
.pager-btn:hover, .pager-num:hover { border-color: var(--red); color: var(--red); }
.pager-num.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.pager-btn.is-disabled { color: #C4BDB5; background: #F8F5F0; }
.pager-gap { color: #B4ABA2; padding: 0 2px; }

.empty-state { padding: 60px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.empty-mark { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.empty-state h3 { margin: 0 0 6px; font-size: 17px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* 文章详情 */
.article-wrap { padding-top: 40px; padding-bottom: 10px; }
.crumbs { display: flex; align-items: center; gap: 7px; margin: 0 0 15px; color: #9A928A; font-size: 12.5px; flex-wrap: wrap; }
.crumbs a { color: #7B726A; }
.crumbs a:hover { color: var(--red); }
.crumbs em { font-style: normal; color: #B2AAA2; }

.preview-bar { padding: 10px 14px; margin-bottom: 13px; background: #FFF7DF; border: 1px solid #F0DFA8; border-radius: 9px; color: #8A6A1E; font-size: 13px; }
.preview-bar a { color: #8A5A00; text-decoration: underline; }

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 38px 26px;
  box-shadow: var(--shadow);
}

.article-flags { display: flex; gap: 7px; margin-bottom: 13px; }
.article-head h1 { margin: 0; font-size: 28px; line-height: 1.48; letter-spacing: .3px; color: #1B1E23; }
.article-summary { margin: 12px 0 0; padding: 11px 14px; background: var(--cream); border-left: 3px solid #E4CBCF; border-radius: 0 8px 8px 0; color: #6F665E; font-size: 13.5px; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid #F0EBE4; color: #9A928A; font-size: 12.5px; }

.article-body { padding-top: 23px; color: #30343A; font-size: 16.5px; line-height: 1.95; word-break: break-word; overflow-wrap: anywhere; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 18px; text-align: justify; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 { color: #1E2126; line-height: 1.5; }
.article-body h1 { font-size: 24px; margin: 30px 0 16px; }
.article-body h2 { font-size: 21px; margin: 30px 0 15px; padding-left: 12px; border-left: 4px solid var(--red); }
.article-body h3 { font-size: 18.5px; margin: 25px 0 13px; }
.article-body h4 { font-size: 17px; margin: 22px 0 11px; }
.article-body strong, .article-body b { color: #1B1E23; font-weight: 600; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 20px auto; border-radius: 10px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 25px; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--cream);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  color: #665D55;
  font-size: 15px;
}
.table-scroll-hint { margin: 8px 0 -8px; color: #A39A91; font-size: 11px; text-align: right; }
.article-body .table-scroll { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.article-body .table-scroll table { width: 100%; min-width: 560px; margin: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; line-height: 1.65; }
.article-body th, .article-body td { border: 1px solid #E4DCD2; padding: 9px 11px; text-align: left; vertical-align: top; }
.article-body th { background: var(--cream); font-weight: 600; color: #2A2D33; }
.article-body hr { border: 0; border-top: 1px solid #EEE8E0; margin: 26px 0; }
.article-body code { background: #F6F3EF; border-radius: 4px; padding: 2px 6px; font-size: 14px; }
.article-body pre { background: #F6F3EF; border-radius: 9px; padding: 14px; overflow-x: auto; }

.image-attach { margin-top: 28px; padding-top: 22px; border-top: 1px solid #F0EBE4; }
.image-attach h3 { margin: 0 0 13px; font-size: 16px; }
.image-attach h3 small { margin-left: 8px; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.image-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.image-thumb { display: block; border: 1px solid #EEE6DC; border-radius: 10px; overflow: hidden; background: #FAF7F2; }
.image-thumb img { display: block; width: 100%; height: 130px; object-fit: cover; margin: 0; border-radius: 0; transition: .2s; }
.image-thumb:hover img { transform: scale(1.03); }
.image-thumb span { display: block; padding: 7px 9px; color: #7F766D; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.attach-box { margin-top: 28px; padding: 18px 18px 8px; background: #FCF9F4; border: 1px solid #EFE6DA; border-radius: 14px; }
.attach-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.attach-title h3 { margin: 0; font-size: 16px; }
.attach-title span { color: #9D9389; font-size: 11.5px; margin-left: auto; }
.attach-list { list-style: none; margin: 0; padding: 0; }
.attach-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #F0E8DD; }
.attach-list li:first-child { border-top: 0; }
.file-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--file, #6B7280);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}
.file-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.file-info a { color: #2C3036; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.file-info a:hover { color: var(--red); }
.file-info small { color: #A1988E; font-size: 11px; }
.file-dl { flex: 0 0 auto; padding: 7px 13px; border: 1px solid #E6D8C8; border-radius: 7px; color: #8A5A2B; font-size: 12px; background: #fff; }
.file-dl:hover { background: var(--red); border-color: var(--red); color: #fff; }

.qr-panel { display: flex; align-items: center; gap: 26px; margin-top: 30px; padding: 22px; background: linear-gradient(135deg, #FCF8F3, #FAF3EC); border: 1px solid #EFE4D8; border-radius: 16px; }
.qr-image-wrap { flex: 0 0 auto; width: 152px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(90, 50, 20, .08); }
.qr-image { display: block; width: 100%; height: auto; }
.qr-info { flex: 1; min-width: 0; }
.qr-info h3 { margin: 0 0 5px; font-size: 17px; }
.qr-info p { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; }
.short-link { display: flex; gap: 7px; }
.short-link input { flex: 1; min-width: 0; height: 36px; padding: 0 11px; border: 1px solid #E5D8CA; border-radius: 8px; background: #fff; color: #6B6259; font-size: 12px; }
.qr-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 17px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 13.5px;
  transition: .18s;
}
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: #fff; border-color: #E4D7C9; color: #6D5B49; }
.btn.ghost:hover { border-color: var(--red); color: var(--red); }
.btn.tiny { min-height: 34px; padding: 0 13px; font-size: 12.5px; }

.disclaimer { margin: 26px 0 0; padding-top: 16px; border-top: 1px dashed #EAE2D8; color: #A39A91; font-size: 11.5px; line-height: 1.75; }

.related { margin-top: 24px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.related .section-head { margin: 0 0 8px; }
.related-list { display: flex; flex-direction: column; }
.related-item { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-top: 1px solid #F1EBE3; }
.related-item:first-child { border-top: 0; }
.related-title { flex: 1; min-width: 0; font-size: 14px; color: #33373D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-item:hover .related-title { color: var(--red); }
.related-item time { flex: 0 0 auto; color: #A59C93; font-size: 11.5px; }

/* 海报页 */
.page-poster { background: #141414; color: #fff; }
.page-poster .site-header, .page-poster .site-footer { display: none; }
.page-poster .site-main { min-height: 100vh; }
.poster-page { padding: 22px 16px 40px; display: flex; flex-direction: column; align-items: center; }
.poster-stage { width: min(92vw, 430px); border-radius: 10px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); background: #8F0F22; }
.poster-img { display: block; width: 100%; height: auto; }
.poster-actions { display: flex; gap: 9px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.poster-actions .btn.ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.poster-actions .btn.primary { background: #fff; border-color: #fff; color: #8F0F22; }
.poster-tip { margin: 14px 0 0; color: rgba(255, 255, 255, .5); font-size: 12px; text-align: center; }

/* 错误页 */
.error-page { padding: 12vh 20px 60px; text-align: center; }
.error-code { font-size: 74px; line-height: 1; font-weight: 800; color: #E7D9CF; letter-spacing: 2px; }
.error-page h1 { margin: 10px 0 8px; font-size: 22px; }
.error-page p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }

/* 页脚 */
.site-footer { margin-top: 32px; padding: 28px 0 32px; background: #FBF8F3; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.footer-brand { display: block; width: 100%; text-align: center; }
.footer-brand > div { width: 100%; text-align: center; }
.footer-brand strong { display: block; font-size: 14px; text-align: center; }
.footer-brand p { margin: 4px 0 0; color: #9D948B; font-size: 11.5px; line-height: 1.6; text-align: center; }
.footer-meta { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; color: #A79E95; font-size: 11.5px; text-align: center; }
.footer-meta a { color: #8F8479; }
.footer-meta a:hover { color: var(--red); }


/* 关于本站 / FAQ */
.about-body h2:first-child { margin-top: 4px; }
.faq-list { margin: 8px 0 24px; }
.faq-item {
  margin: 0 0 10px;
  padding: 13px 15px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.faq-item summary {
  cursor: pointer;
  color: #2C3036;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "＋";
  display: inline-block;
  width: 20px;
  color: var(--red);
  font-weight: 700;
}
.faq-item[open] summary::before { content: "－"; }
.faq-item p { margin: 10px 0 0 20px; color: #5E646C; font-size: 14px; line-height: 1.8; }
.about-back { margin-top: 30px; padding-top: 18px; border-top: 1px solid #F0EBE4; }
.about-back a { color: var(--red); font-weight: 600; }
@media (max-width: 700px) {
  .faq-item { padding: 11px 13px; }
  .faq-item summary { font-size: 14px; }
  .faq-item p { font-size: 13.5px; }
}

/* 移动端 */
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; gap: 6px 12px; min-height: 62px; padding: 8px 0; }
  .brand { flex: 1 1 100%; }
  .site-nav { flex: 1 1 100%; margin-left: 0; justify-content: flex-start; }
  .brand-mark { width: 36px; height: 36px; font-size: 19px; border-radius: 9px; }
  .brand-text strong { font-size: 15.5px; }
  .brand-text small { display: none; }
  .site-nav { gap: 0; justify-content: flex-start; }
  .site-nav a { padding: 7px 8px; font-size: 13px; }
  .cat-tabs { gap: 5px; }
  .cat-tab { padding: 8px 10px; font-size: 13px; }
  .cat-tab span { min-width: 18px; font-size: 10.5px; }

  .hero { padding: 34px 0 40px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 12.5px; margin-bottom: 18px; }
  .hero-search { padding: 5px 5px 5px 12px; border-radius: 11px; }
  .hero-search button { padding: 9px 16px; }

  .home-body { padding-top: 18px; }
  .notice-card { padding: 15px 15px 13px; border-radius: 12px; }
  .notice-card h3 { font-size: 16px; }
  .notice-summary { font-size: 12.5px; }
  .notice-bottom { font-size: 11px; }
  .notice-more { display: none; }

  .article-wrap { padding-top: 30px; }
  .article { padding: 22px 17px 19px; border-radius: 14px; }
  .article-head h1 { font-size: 22.5px; }
  .article-summary { font-size: 12.5px; }
  .article-meta { gap: 5px 12px; font-size: 11.5px; }
  .article-body { font-size: 16px; line-height: 1.9; padding-top: 19px; }
  .article-body h2 { font-size: 19px; }
  .article-body h3 { font-size: 17.5px; }
  .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-thumb img { height: 120px; }
  .qr-panel { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
  .qr-image-wrap { width: 132px; }
  .qr-info { width: 100%; }
  .related { padding: 16px 16px 10px; }
  .footer-inner { flex-direction: column; align-items: center; }
  .footer-meta { align-items: center; text-align: center; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 24px; }
  .image-grid { grid-template-columns: 1fr 1fr; }
  .attach-list li { gap: 9px; }
  .file-info a { font-size: 13px; }
}

@media print {
  .site-header, .site-footer, .related, .qr-panel, .attach-box, .image-attach, .crumbs { display: none !important; }
  body { background: #fff; }
  .article { border: 0; box-shadow: none; padding: 0; }
}

/* 文章右下角快捷入口 */
.article-float-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(88px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 82px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20, 16, 15, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.float-action svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.float-action:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 11px 28px rgba(20, 16, 15, .28); filter: brightness(1.04); }
.float-source { background: #2F63F5; }
.float-back { background: #4E555E; }
.float-group { background: #07A55B; }
.float-job { background: #8F0F22; }
@media (max-width: 600px) {
  .article-float-actions { right: max(12px, env(safe-area-inset-right)); bottom: max(88px, env(safe-area-inset-bottom)); gap: 8px; }
  .float-action { min-width: 72px; padding: 10px 13px; font-size: 12px; gap: 6px; }
  .float-action svg { width: 15px; height: 15px; }
}

/* 文章公告要点 */
.job-facts {
  margin: 20px 0 24px;
  border: 1px solid #F1E5DE;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.job-facts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 12px 0;
  padding: 14px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #FFF1EE 0%, #FFF8F4 100%);
}
.job-facts-label {
  display: block;
  margin-bottom: 4px;
  color: #A7897F;
  font-size: 11.5px;
  letter-spacing: .4px;
}
.job-facts-date {
  display: block;
  color: #B23A2B;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .2px;
}
.job-facts-days {
  flex: none;
  padding: 7px 12px;
  border-radius: 8px;
  background: #C0392B;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}
.job-facts-days.is-over { background: #8E8A85; }
.job-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px 16px;
}
.job-facts-item span {
  display: block;
  margin-bottom: 4px;
  color: #9A928A;
  font-size: 11.5px;
}
.job-facts-item strong {
  display: block;
  color: #1B1E23;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .job-facts { margin: 16px 0 20px; border-radius: 12px; }
  .job-facts-head { margin: 10px 10px 0; padding: 12px 13px; border-radius: 9px; }
  .job-facts-date { font-size: 18px; }
  .job-facts-days { padding: 6px 9px; font-size: 11.5px; }
  .job-facts-grid { gap: 8px; padding: 12px 13px 14px; }
  .job-facts-item strong { font-size: 13px; }
  .job-facts-item span { font-size: 10.5px; }
}

/* 首页四大分类 */
.home-cat-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  padding: 16px 8px;
  border: 1px solid #F0EAE3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(54, 43, 34, .06);
}
.home-cat-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 3px 6px;
  border-radius: 10px;
  color: #312D29;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.home-cat-stat:hover { background: #F6F8FF; transform: translateY(-1px); }
.home-cat-stat.is-active { background: #F1F5FF; }
.home-cat-stat-name {
  overflow: hidden;
  max-width: 100%;
  color: #3A3631;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.home-cat-stat-count {
  color: #2F63F5;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
}
.home-cat-stat-count em {
  margin-left: 2px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}
@media (max-width: 700px) {
  .home-cat-stats { padding: 13px 4px; border-radius: 14px; margin-bottom: 13px; }
  .home-cat-stat { gap: 2px; padding: 2px 2px; }
  .home-cat-stat-name { font-size: 12.5px; }
  .home-cat-stat-count { font-size: 17px; }
  .home-cat-stat-count em { font-size: 11.5px; }
}

/* 服务号关注 */
.follow-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 13px 16px;
  border: 1px solid #F0E3D8;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF8F2, #FFFDFB);
  color: #3A2A22;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(90, 50, 20, .04);
}
.follow-banner:hover { color: #3A2A22; border-color: #E7CDBC; }
.follow-banner-icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: #8F0F22; color: #fff;
}
.follow-banner-icon svg { width: 18px; height: 18px; fill: currentColor; }
.follow-banner-text { flex: 1; min-width: 0; }
.follow-banner-text strong { display: block; font-size: 14px; line-height: 1.35; }
.follow-banner-text small { display: block; margin-top: 2px; color: #8D7B70; font-size: 11.5px; line-height: 1.45; }
.follow-banner-go { flex: none; color: #8F0F22; font-size: 12.5px; font-weight: 700; }
.follow-page { padding: 30px 0 42px; }
.follow-head { max-width: 720px; margin-bottom: 20px; }
.follow-kicker { display: inline-block; margin-bottom: 7px; color: #8F0F22; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.follow-head h1 { margin: 0 0 8px; color: #241F1B; font-size: 26px; line-height: 1.35; }
.follow-head p { margin: 0; color: #756B63; font-size: 14px; line-height: 1.75; }
.follow-regions { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 12px; scrollbar-width: none; }
.follow-regions::-webkit-scrollbar { display: none; }
.follow-region { flex: none; padding: 7px 13px; border: 1px solid #E9E1DA; border-radius: 999px; background: #fff; color: #5E554E; font-size: 13px; text-decoration: none; }
.follow-region.is-active, .follow-region:hover { border-color: #8F0F22; background: #8F0F22; color: #fff; }
.follow-card { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; align-items: center; padding: 24px; border: 1px solid #EFE6DC; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(65, 43, 27, .06); }
.follow-qr-col { text-align: center; }
.follow-qr { width: 246px; max-width: 100%; margin: 0 auto; padding: 11px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(80, 40, 15, .1); }
.follow-qr img { display: block; width: 100%; height: auto; border-radius: 6px; }
.follow-qr-empty { display: flex; align-items: center; justify-content: center; min-height: 220px; background: #FBF4EE; color: #9C8C80; font-size: 13px; box-shadow: none; }
.follow-qr-hint { margin: 9px 0 0; color: #9A8B80; font-size: 11.5px; }
.follow-info h2 { margin: 10px 0 8px; color: #2A2420; font-size: 23px; line-height: 1.4; }
.follow-info p { margin: 0 0 13px; color: #71665E; font-size: 13.5px; line-height: 1.75; }
.follow-badge { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #FCEFEA; color: #9A2E22; font-size: 11.5px; font-weight: 600; }
.follow-steps { margin: 14px 0 16px; padding: 0; list-style: none; display: grid; gap: 9px; }
.follow-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 9px; background: #FBF8F4; }
.follow-steps li strong { flex: none; width: 92px; color: #4C4037; font-size: 12.5px; }
.follow-steps li span { color: #7C6F65; font-size: 12px; line-height: 1.6; }
.follow-note, .follow-warn { margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: #F6FAF7; color: #5B7163; font-size: 11.5px; line-height: 1.6; }
.follow-warn { background: #FFF5F2; color: #A54839; }
.follow-back { color: #8F0F22; font-size: 13px; font-weight: 600; text-decoration: none; }
@media (max-width: 700px) {
  .follow-page { padding: 20px 0 30px; }
  .follow-head h1 { font-size: 22px; }
  .follow-card { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .follow-qr { width: 220px; }
  .follow-info h2 { font-size: 19px; }
  .follow-steps li { display: block; }
  .follow-steps li strong { display: block; margin-bottom: 2px; }
  .follow-banner { padding: 11px 12px; gap: 9px; }
  .follow-banner-text strong { font-size: 13px; }
}

/* 长文折叠 */
.article-body.is-collapsed {
  position: relative;
  max-height: 680px;
  overflow: hidden;
}
.article-body.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%);
}
.article-expand-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 22px;
}
.article-expand-btn {
  min-width: 168px;
  padding: 11px 26px;
  border: 1px solid #2F63F5;
  border-radius: 9px;
  background: #fff;
  color: #2F63F5;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.article-expand-btn:hover { background: #2F63F5; color: #fff; }
@media (max-width: 700px) {
  .article-body.is-collapsed { max-height: 560px; }
  .article-body.is-collapsed::after { height: 120px; }
  .article-expand-wrap { margin: 2px 0 18px; }
  .article-expand-btn { width: 100%; }
}

/* 报名关键信息 */
.job-details { margin: 18px 0 24px; }
.job-details-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.job-details-head h2 {
  margin: 0;
  color: #23262b;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
.job-details-index {
  margin-right: 7px;
  color: #8F0F22;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}
.job-details-head em {
  color: #a49b93;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}
.job-details-card {
  overflow: hidden;
  border: 1px solid #EFEAE4;
  border-radius: 14px;
  background: #fff;
}
.job-detail-row {
  display: grid;
  grid-template-columns: 34px 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #F2EEE9;
}
.job-detail-row:last-child { border-bottom: 0; }
.job-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F4F5F7;
  color: #7F8A9A;
}
.job-detail-icon svg { width: 17px; height: 17px; fill: currentColor; }
.job-detail-label { color: #6E7278; font-size: 13px; white-space: nowrap; }
.job-detail-value { color: #292C31; font-size: 13.5px; line-height: 1.65; overflow-wrap: anywhere; }
.job-detail-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #F4F6F8;
  color: #9AA2AD;
  cursor: pointer;
}
.job-detail-copy:hover { background: #E9EDF2; color: #5E6875; }
.job-detail-copy svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 700px) {
  .job-details { margin: 15px 0 20px; }
  .job-details-head h2 { font-size: 16px; }
  .job-details-head em { font-size: 10px; }
  .job-detail-row { grid-template-columns: 30px 66px minmax(0, 1fr) auto; gap: 8px; padding: 12px 13px; }
  .job-detail-icon { width: 28px; height: 28px; border-radius: 7px; }
  .job-detail-icon svg { width: 15px; height: 15px; }
  .job-detail-label { font-size: 12px; }
  .job-detail-value { font-size: 12.5px; }
}

/* 首页正在报名主卡 */
.open-now { margin: 0 0 18px; }
.open-now-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.open-now-kicker {
  display: block;
  margin-bottom: 3px;
  color: #9A9188;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
}
.open-now-head h2 {
  margin: 0;
  color: #1E232B;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .2px;
}
.open-now-all {
  flex: none;
  padding-bottom: 4px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.open-now-all:hover { color: #6E0A19; }
.open-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 24px 26px 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 172, 172, .18), transparent 34%),
    linear-gradient(135deg, #4D0712 0%, #720A1A 52%, #94162C 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(94, 12, 26, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.open-card:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 42px rgba(94, 12, 26, .32); }
.open-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}
.open-card-glow {
  position: absolute;
  top: -120px;
  right: 18%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 150, 150, .12);
  filter: blur(6px);
  pointer-events: none;
}
.open-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}
.open-card-cat {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.open-card-official {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #E9C8CF;
  font-size: 11.5px;
}
.open-card-official svg { width: 13px; height: 13px; fill: currentColor; }
.open-card-region {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: #E9C8CF;
  font-size: 11.5px;
  white-space: nowrap;
}
.open-card-region svg { width: 13px; height: 13px; fill: currentColor; }
.open-card h3 {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 17px 0 8px;
  color: #fff;
  font-size: 28px;
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: .1px;
}
.open-card-publisher {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #DDB8C0;
  font-size: 12.5px;
  line-height: 1.5;
}
.open-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #E9C8CF;
  font-size: 11.5px;
}
.open-card-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.open-card-meta svg { width: 13px; height: 13px; fill: currentColor; opacity: .85; }
.open-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.open-card-days {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 7px;
  background: rgba(255,255,255,.12);
  color: #F6DDE2;
  font-size: 12px;
  font-weight: 600;
}
.open-card-days.is-over { color: #CBD5E1; background: rgba(255,255,255,.08); }
.open-card-cta { color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 700px) {
  .open-now { margin-bottom: 14px; }
  .open-now-head h2 { font-size: 23px; }
  .open-now-all { font-size: 12px; }
  .open-card { padding: 18px 17px 16px; border-radius: 18px; }
  .open-card h3 { margin-top: 13px; font-size: 21px; line-height: 1.42; }
  .open-card-publisher { margin-bottom: 14px; font-size: 11.5px; }
  .open-card-meta { gap: 9px; font-size: 10.5px; }
  .open-card-bottom { margin-top: 16px; padding-top: 12px; }
  .open-card-days { font-size: 11px; padding: 5px 9px; }
  .open-card-cta { font-size: 12px; }
}

/* 服务号 OAuth 绑定 */
.follow-alert {
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.55;
}
.follow-alert.is-ok { background: #EAF6EF; border: 1px solid #CBE8D8; color: #1F6B43; }
.follow-alert.is-error { background: #FDF0F1; border: 1px solid #F0CCD1; color: #8F0F22; }
.follow-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 14px 0 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(145deg, #B01B32, #8F0F22);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(143, 15, 34, .18);
}
.follow-oauth-btn:hover { color: #fff; filter: brightness(1.04); }
.follow-oauth-note {
  margin: 0 0 14px;
  color: #8A8178;
  font-size: 11.5px;
  line-height: 1.6;
}

.follow-card.is-single { display: block; }
.follow-card.is-single .follow-info { padding: 4px 2px; }
.follow-card.is-single .follow-info h2 { margin-top: 8px; }
.follow-oauth-warn {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-radius: 8px;
  background: #FBF3E8;
  border: 1px solid #EFDFC8;
  color: #8A6B3D;
  font-size: 11.5px;
  line-height: 1.55;
}
