/* ============================================================
   弗莱堡大学中国国际教育展 · 现场登记系统
   UI 参照 Universität Freiburg 经济系 MEP 宣传单（Flyer_E）：
   深藏蓝 + 米白、细线分隔、校徽线稿、全站中英双语
   ============================================================ */

:root {
  --navy-950: #061333;
  --navy-900: #0a1c40;
  --navy-800: #10264f;
  --navy-700: #17325f;
  --cream:    #f5f0e3;
  --cream-2:  #efe8d6;
  --paper:    #fdfaf3;
  --line:     #e2dac8;
  --line-2:   #ece5d5;
  --ink:      #14203a;
  --ink-2:    #39435a;
  --muted:    #74778a;
  --muted-2:  #9b9789;
  --red:      #9b2f2f;
  --ok:       #2f5d47;
  --font:     -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
              "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif:    "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-800); text-decoration: none; }
img { max-width: 100%; }

/* ---------- 通用小件 ---------- */
.kicker {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
}

.kicker-ink { color: var(--muted-2); }

.diamond {
  width: 6px; height: 6px;
  flex: 0 0 auto;
  background: var(--navy-900);
  transform: rotate(45deg);
  margin-top: 6px;
}

/* ---------- 页头封套 ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}

.hero-seal {
  position: absolute;
  right: -84px;
  bottom: -96px;
  width: 280px;
  height: 280px;
  background: url("logo-seal-white.png") no-repeat center / contain;
  opacity: .085;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 20px 32px;
}

.hero-home .hero-inner { padding-bottom: 36px; }

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: 0;
}

.brand-seal {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: block;
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-wordmark {
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .66);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.brand-cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
}

.hero-tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 2px;
  padding: 5px 10px;
  white-space: nowrap;
}

.hero-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 2px;
  padding: 6px 12px 6px 8px;
  transition: background .18s ease, border-color .18s ease;
}

.hero-back:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.hero-back span { font-size: 16px; line-height: 1; }

.hero-rule {
  height: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, .16);
}

.hero-body { margin-top: 26px; }
.hero-body-sub { margin-top: 22px; }

.hero-title {
  margin: 0;
  font-size: clamp(24px, 6.8vw, 36px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -.005em;
}

.hero-title .hl { color: #f0e4c6; }

.hero-title-en {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.hero-title-sm {
  margin: 0;
  font-size: clamp(22px, 5.8vw, 30px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.005em;
}

.hero-desc {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  max-width: 32em;
}

.hero-desc-en {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .48);
  max-width: 40em;
}

/* ---------- 通用容器 ---------- */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* ---------- 首页：身份选择（不再与页头重叠） ---------- */
.home-wrap { padding-top: 26px; padding-bottom: 8px; }

.choose-head { padding: 0 2px 16px; }

.choose-head h2 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--navy-900);
}

.choose-sub { margin: 0; font-size: 12.5px; color: var(--muted); }
.choose-sub-en { margin: 3px 0 0; font-size: 11.5px; color: var(--muted-2); line-height: 1.6; }

.choose-list { display: grid; gap: 10px; }

.id-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.id-card:hover,
.id-card:focus-visible {
  background: #fff;
  border-color: var(--navy-800);
  transform: translateY(-1px);
  outline: none;
}

.id-icon {
  flex: 0 0 auto;
  width: 52px; height: 62px;
  display: grid; place-items: center;
  font-size: 23px;
  border-radius: 26px 26px 6px 6px;
  background: var(--cream-2);
  border: 1px solid #e0d7c2;
}

.id-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }

.id-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
}

.id-name em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-left: 1px solid var(--line);
  margin-left: 9px;
  padding-left: 9px;
}

.id-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.id-desc i { display: block; font-style: normal; font-size: 11px; color: var(--muted-2); margin-top: 2px; line-height: 1.5; }

.id-arrow { flex: 0 0 auto; font-size: 22px; line-height: 1; color: var(--navy-800); opacity: .45; }

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 4px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.trust-item p { margin: 0; font-size: 11.5px; color: var(--ink-2); line-height: 1.5; }
.trust-item p i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted-2); margin-top: 3px; line-height: 1.45; }

/* ---------- 表单 ---------- */
.form-wrap { padding-top: 22px; padding-bottom: 6px; }

.form-card { padding: 18px 15px 20px; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.field { display: flex; flex-direction: column; min-width: 0; }

.field > label,
.field > .field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-bottom: 7px;
  line-height: 1.45;
}

.lb-cn { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.lb-en {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.req { color: var(--red); font-size: 13px; line-height: 1; margin-left: -4px; }
.opt { color: var(--muted-2); font-size: 10px; font-weight: 500; letter-spacing: .06em; margin-left: -4px; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="search"],
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ded5c2;
  border-radius: 4px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  appearance: none;
}

/* 多行输入（意见建议等长文本） */
.field textarea {
  min-height: 132px;
  line-height: 1.75;
  resize: vertical;
}

.field textarea { line-height: 1.65; resize: vertical; min-height: 96px; }

.field input::placeholder,
.field textarea::placeholder { color: #b0ab9d; font-size: 13px; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(10, 28, 64, .09);
}

.select-wrap { position: relative; }
.select-wrap select { padding-right: 34px; font-size: 15px; cursor: pointer; }
.select-wrap .chev {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--navy-800);
  font-size: 12px;
  opacity: .6;
  pointer-events: none;
}

.radio-row { display: flex; gap: 9px; }

.radio-row .radio {
  display: flex;
  flex: 1 1 0;
  margin: 0;
  min-width: 0;
}
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }

.radio span {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 48px;
  border: 1px solid #ded5c2;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .16s ease;
}

.radio span em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.radio input:checked + span {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  font-weight: 600;
}

.radio input:checked + span em { color: rgba(255, 255, 255, .68); }

/* ---------- 不定项选择 ---------- */
.hint {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--muted-2);
  margin-left: -4px;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #ded5c2;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.check:hover { border-color: #c9bda3; }

.check input { position: absolute; opacity: 0; width: 0; height: 0; }

.check-mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1px solid #b9b0a0;
  border-radius: 2px;
  background: #fff;
  transition: background .16s ease, border-color .16s ease;
}

.check-mark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .14s ease;
}

.check-label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

.check-cn { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

.check-en {
  font-size: 9.5px;
  letter-spacing: .06em;
  color: var(--muted-2);
  line-height: 1.4;
}

.check input:checked ~ .check-mark {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.check input:checked ~ .check-mark::after { transform: rotate(45deg) scale(1); }

.check input:checked ~ .check-label .check-cn { font-weight: 600; color: var(--navy-900); }

.check input:focus-visible ~ .check-mark { box-shadow: 0 0 0 3px rgba(10, 28, 64, .16); }

.check:has(input:checked) { border-color: var(--navy-900); background: #fbf8f0; }

.has-error .check { border-color: #d8a49d; }

.has-error input,
.has-error textarea,
.has-error select { border-color: #c0736b; background: #fffbfa; }

.err-msg { margin: 6px 1px 0; font-size: 12px; color: var(--red); line-height: 1.5; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.submit-area { margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: transform .14s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(.99); }

.btn em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  line-height: 1.4;
}

.btn-primary {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-primary:hover { background: var(--navy-800); border-color: var(--navy-800); }

.btn-block { width: 100%; min-height: 56px; letter-spacing: .04em; }
.btn-block:not(.btn-primary) em { color: var(--muted-2); }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: #d4cab6; }
.btn-ghost:hover { background: rgba(255, 255, 255, .7); border-color: var(--navy-800); }

.btn-danger { color: #8a2b2b; border-color: #e3c6c1; background: transparent; }
.btn-danger:hover { background: #fbf1ef; }

.btn-sm { min-height: 34px; padding: 6px 13px; font-size: 12.5px; }
.btn-xs { min-height: 28px; padding: 3px 10px; font-size: 12px; }

.spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .8; }
.is-loading { pointer-events: none; opacity: .92; }

@keyframes spin { to { transform: rotate(360deg); } }

.privacy {
  margin: 13px 1px 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.privacy-en { font-size: 10.5px; color: var(--muted-2); line-height: 1.6; }

.alert {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid #e6cfc6;
  border-left: 3px solid var(--red);
  background: #fdf4ef;
  color: #7f2c2c;
  font-size: 12.5px;
  line-height: 1.6;
}

.alert strong { font-size: 13px; }
.alert span { color: #8a4a44; }
.alert-warn { background: #fbf5e5; border-color: #e5d6ae; border-left-color: #9a7a24; color: #7d6418; }
.alert-warn span { color: #7d6418; }

/* ---------- 成功页 ---------- */
.success-wrap { padding-top: 24px; padding-bottom: 10px; }

.success-card { padding: 30px 20px 24px; text-align: center; }

.success-icon { display: flex; justify-content: center; margin-bottom: 14px; }

.success-card h1 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  color: var(--navy-900);
}

.success-sub-en {
  margin: 6px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.success-sub { margin: 10px 0 20px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.ref-box {
  margin: 0 auto 16px;
  padding: 14px 18px;
  max-width: 330px;
  background: var(--cream);
  border: 1px dashed #c9bfa8;
  border-radius: 4px;
}

.ref-box dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }

.ref-box dd {
  margin: 6px 0 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--navy-900);
}

.success-tip { margin: 0 0 22px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.tip-en { font-size: 11px; color: var(--muted-2); }

.success-actions { display: grid; gap: 10px; }

/* ---------- 后台 ---------- */
.admin-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 50px;
  overflow-x: auto;
}

.admin-nav a {
  padding: 6px 11px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 3px;
  white-space: nowrap;
}

.admin-nav a.on { background: var(--navy-900); color: #fff; font-weight: 600; }
.admin-nav .nav-logout { margin-left: auto; color: var(--muted); }

.admin-wrap { max-width: 1080px; padding-top: 18px; padding-bottom: 14px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

.stat-label { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.stat-label em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.admin-card { padding: 14px; }

.admin-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tabs { display: flex; gap: 6px; overflow-x: auto; }

.tabs a {
  padding: 7px 13px;
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  white-space: nowrap;
}

.tabs a.on {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  font-weight: 600;
}

.search { display: flex; gap: 8px; }

.search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid #ded5c2;
  border-radius: 4px;
  background: #fff;
  outline: none;
}

.search input::placeholder { color: #b0ab9d; font-size: 12.5px; }
.search input:focus { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(10, 28, 64, .08); }

.search button {
  flex: 0 0 auto;
  padding: 0 16px;
  height: 40px;
  border: 1px solid var(--navy-900);
  border-radius: 4px;
  background: var(--navy-900);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.admin-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
}

.result-count { font-size: 12px; color: var(--muted); }
.result-count b { color: var(--navy-900); }

.table-scroll { overflow-x: auto; border-radius: 4px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 12px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}

.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fffdf8; }

.admin-table .sub-line { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.admin-table a { color: var(--navy-800); }
.dim { color: var(--muted); }

.mono { font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; letter-spacing: .01em; }

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid #d8cfba;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-student { background: #eef2f9; border-color: #cfd9ea; color: var(--navy-800); }
.pill-partner { background: #f7f1e0; border-color: #e0d5b8; color: #6b5620; }

.col-act { white-space: nowrap; text-align: right; }
.inline { display: inline; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.empty { padding: 46px 16px; text-align: center; }
.empty p { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.empty span { font-size: 12px; color: var(--muted); }

/* 详情 */
.detail-card { padding: 20px 18px; }

.detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-head h1 {
  margin: 10px 0 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy-900);
}

.detail-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-size: 11.5px;
  color: var(--muted);
}

.detail-list { margin: 4px 0 0; }

.detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}

.detail-row dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.detail-row dt span { display: inline; font-weight: 600; }
.detail-row dt em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b3ae9e;
}
.detail-row dd { margin: 0; font-size: 14.5px; color: var(--ink); word-break: break-word; }
.detail-row dd a { color: var(--navy-800); }

.detail-checks { margin: 0; padding: 0; list-style: none; }
.detail-checks li {
  position: relative;
  padding-left: 13px;
  font-size: 14px;
  line-height: 1.65;
}
.detail-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 4px;
  height: 4px;
  background: var(--navy-800);
  transform: rotate(45deg);
}

.detail-tech {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* 登录 */
.login-wrap { padding-top: 26px; padding-bottom: 10px; max-width: 460px; }
.login-card { padding: 26px 20px 22px; }
.login-card h1 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--navy-900); }
.login-sub { margin: 0 0 18px; font-size: 12px; color: var(--muted); }
.login-sub em { display: block; font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.login-card .field { margin-bottom: 14px; }
.login-note { margin: 14px 0 0; font-size: 11px; color: var(--muted-2); text-align: center; }

.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 62px; }

.pwd-toggle {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--navy-800);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
}

.pwd-toggle:hover { background: var(--cream); }

/* 二维码 */
.qr-card { padding: 20px 18px; display: grid; gap: 22px; }

.qr-box { text-align: center; }

.qr-box img {
  width: 240px; height: 240px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.qr-caption { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.qr-side h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--navy-900); }

.qr-steps { margin: 0 0 16px; padding-left: 20px; font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }

.qr-url {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 4px;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.qr-url code { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--navy-800); word-break: break-all; }

.qr-actions { display: grid; gap: 9px; margin-top: 16px; }

/* ---------- 页脚 ---------- */
.site-foot {
  margin-top: 14px;
  padding: 22px 18px 26px;
  text-align: center;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.8;
  border-top: 1px solid var(--line);
}

.foot-line { margin: 0 0 4px; }
.foot-en { font-size: 10px; letter-spacing: .08em; color: #b3ae9e; margin-bottom: 8px; }

.foot-beian {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}

.foot-beian a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-2);
}

.foot-beian a:hover { color: var(--navy-800); }

.beian-icon {
  width: 15px; height: 15px;
  vertical-align: middle;
  display: inline-block;
  flex: 0 0 auto;
}

/* ---------- 提示页 ---------- */
.page-msg { display: flex; min-height: 100vh; align-items: center; }
.msg-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px 22px; text-align: center; }
.msg-card h1 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--navy-900); }
.msg-card p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }

/* ---------- 桌面适配 ---------- */
@media (min-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .field-full { grid-column: 1 / -1; }
  .form-card { padding: 24px 22px 24px; }
  .hero-inner { padding: 24px 24px 38px; }
  .hero-title { font-size: 36px; }
  .choose-head h2 { font-size: 23px; }
  .id-card { padding: 18px 18px; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .check-grid { grid-template-columns: 1fr 1fr; gap: 9px 12px; }
  .admin-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .search { width: 320px; }
  .detail-row { grid-template-columns: 190px 1fr; gap: 14px; align-items: start; }
  .qr-card { grid-template-columns: 280px 1fr; align-items: start; }
  .success-actions { grid-template-columns: 1fr 1fr; }
  .success-card { padding: 38px 32px 30px; }
}

@media (min-width: 900px) {
  .hero-inner { max-width: 820px; }
  .wrap { max-width: 820px; }
  .admin-wrap { max-width: 1080px; }
  .hero-seal { width: 340px; height: 340px; right: -70px; bottom: -110px; }
}

/* ---------- 打印（二维码页） ---------- */
@media print {
  .hero, .admin-nav, .site-foot, .qr-side h2, .qr-steps, .qr-actions, .qr-url { display: none !important; }
  body { background: #fff; }
  .qr-card { border: 0; box-shadow: none; display: block; text-align: center; }
  .qr-box img { width: 300px; height: 300px; border: 0; }
  .qr-caption { font-size: 15px; color: #000; margin-top: 16px; }
}

/* ---------- 小屏微调 ---------- */
@media (max-width: 359px) {
  .brand-wordmark { display: none; }
  .hero-tag { font-size: 9.5px; padding: 4px 7px; }
  .radio-row { gap: 7px; }
  .id-icon { width: 46px; height: 56px; font-size: 20px; }
  .trust { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
 * 资料下载（2026-10-26 新增）
 * ══════════════════════════════════════════════════════════════ */

/* ---------- 首页：下载入口卡片（次级，与登记主入口区分） ---------- */
.choose-alt { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }

.id-card-alt { background: var(--paper); }

.id-card-alt:hover,
.id-card-alt:focus-visible { background: #fff; }

.id-icon-alt {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-800);
  background: #eef2f9;
  border-color: #d6dfef;
}

/* ---------- 资料下载页 ---------- */
.dl-section { margin-top: 22px; }

.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.dl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.dl-item:hover,
.dl-item:focus-visible {
  background: #fff;
  border-color: var(--navy-800);
  transform: translateY(-1px);
  outline: none;
}

.dl-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--navy-800);
}

.dl-icon-pdf { background: #a5342f; }
.dl-icon-doc,
.dl-icon-docx { background: #2b5797; }
.dl-icon-xls,
.dl-icon-xlsx,
.dl-icon-csv { background: #1d6f42; }
.dl-icon-ppt,
.dl-icon-pptx { background: #b24726; }
.dl-icon-zip { background: #8a6d1f; }
.dl-icon-txt { background: #5a5f6e; }
.dl-icon-jpg,
.dl-icon-jpeg,
.dl-icon-png,
.dl-icon-gif,
.dl-icon-webp { background: #2f6b52; }

.dl-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }

.dl-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.4;
  word-break: break-word;
}

.dl-sum { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dl-sum-en { font-size: 11.5px; color: var(--muted-2); }

.dl-meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

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

.dl-dl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy-800);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

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

/* ---------- 后台：资料管理表单 ---------- */
.dl-form { padding: 16px 2px 4px; }

.dl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dl-form-row { display: flex; flex-direction: column; gap: 6px; }

.dl-form-row label { font-size: 12px; font-weight: 600; color: var(--muted); }

.dl-form-row input[type="text"],
.dl-form-row input[type="number"],
.dl-form-row input[type="file"] {
  width: 100%;
  padding: 9px 11px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.dl-form-row input[type="file"] { padding: 7px 9px; font-size: 12.5px; }

.dl-form-row input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 2px rgba(23, 50, 95, .1);
}

.dl-hint { margin: 0; font-size: 11.5px; color: var(--muted-2); line-height: 1.55; }

.dl-form-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- 后台：列表内联编辑行 ---------- */
.dl-edit-row td { padding-top: 0; border-top: 0; }

.dl-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 0 14px;
  border-top: 1px dashed var(--line-2);
}

.dl-inline-form input[type="text"],
.dl-inline-form input[type="number"] {
  padding: 6px 9px;
  font: inherit;
  font-size: 12.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.dl-inline-form input[type="text"]:first-child { flex: 2 1 200px; min-width: 150px; }
.dl-inline-form input[type="text"]:nth-child(2) { flex: 1 1 180px; min-width: 130px; }
.dl-inline-form input[type="text"]:nth-child(3) { flex: 1 1 180px; min-width: 130px; }

.dl-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 小屏微调 ---------- */
@media (max-width: 640px) {
  .dl-form-grid { grid-template-columns: 1fr; }
  .dl-item { gap: 11px; padding: 12px 12px; }
  .dl-icon { width: 40px; height: 40px; font-size: 9px; }
  .dl-name { font-size: 14px; }
  .dl-dl { display: none; }
}

/* ══════════════════════════════════════════════════════════════
 * 中德合作硕士培养项目 25 周年 · 在线报名与校友登记系统（增补样式）
 * ══════════════════════════════════════════════════════════════ */

/* 顶部官方 Banner（全宽，深红描边背景托底，避免缩放露白） */
.top-banner-link { display: block; line-height: 0; background: #a52020; }
.top-banner { display: block; width: 100%; height: auto; max-width: 1280px; margin: 0 auto; }

/* 品牌徽标（25） */
.brand-badge {
  flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  background: linear-gradient(135deg, #a52020, #7d1414); color: #f3d28a;
  font-weight: 800; font-size: 19px; letter-spacing: -.5px;
  border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand-cn { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.25; letter-spacing: .02em; }
.brand-en { font-size: 9.5px; color: rgba(255,255,255,.6); letter-spacing: .04em; line-height: 1.35; }

/* 首页入口卡片（按钮 + 二维码） */
.entries { display: grid; gap: 14px; }
.entry {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "info qr" "btn qr";
  align-items: center; gap: 8px 18px;
  padding: 18px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
}
.entry-info { grid-area: info; display: flex; align-items: center; gap: 14px; min-width: 0; }
.entry-icon {
  flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center;
  font-size: 24px; border-radius: 10px; background: var(--cream-2); border: 1px solid #e0d7c2;
}
.entry-text { min-width: 0; }
.entry-text h2 {
  margin: 0; font-size: 18px; font-weight: 700; color: var(--navy-900); line-height: 1.3;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px;
}
.entry-text h2 em {
  font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}
.entry-text p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.entry-text p i { display: block; font-style: normal; font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.entry-btn { grid-area: btn; align-self: start; min-width: 160px; }
.entry-qr { grid-area: qr; text-align: center; }
.entry-qr img { width: 132px; height: 132px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.entry-qr p { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
/* 无二维码时的占位（与二维码同尺寸，保持卡片高度一致） */
.entry-qr .entry-qr-none {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  padding: 8px;
  background: #f7f2e5;
  border: 1px dashed var(--line);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.6;
}
.entry-qr .entry-qr-none .dim { display: block; font-size: 9.5px; }

.privacy-note {
  margin: 0 0 16px; padding: 14px 16px; background: #fbf6ea;
  border: 1px solid #ecdfc2; border-left: 3px solid #9a7a24; border-radius: 4px;
}
.privacy-note p { margin: 0; font-size: 12.5px; color: #5e4d1f; line-height: 1.7; }
.privacy-note-en { font-size: 11px; color: #8a7338; margin-top: 4px !important; }

/* 后台：类型标签色 */
.pill-meeting { background: #eef2f9; border-color: #cfd9ea; color: var(--navy-800); }
.pill-alumni  { background: #f7f1e0; border-color: #e0d5b8; color: #6b5620; }
.pill-feedback { background: #eaf4f0; border-color: #c3ddd3; color: #2f5d47; }

/* 后台：二维码网格 */
.qr-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.qr-card { padding: 18px; display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.qr-box img { width: 220px; height: 220px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.qr-side h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--navy-900); }
.qr-side h2 em {
  font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); margin-left: 6px;
}

.foot-note { font-size: 10.5px; color: #b3ae9e; margin: 6px 0 0; }

@media (min-width: 600px) {
  .qr-grid { grid-template-columns: 1fr 1fr; }
  .qr-card { grid-template-columns: 1fr; text-align: center; }
  .qr-side { text-align: left; }
}
@media (max-width: 560px) {
  .entry {
    grid-template-columns: 1fr;
    grid-template-areas: "info" "btn" "qr";
    justify-items: center; text-align: center;
  }
  .entry-info { justify-content: center; }
  .entry-text h2 { justify-content: center; }
  .entry-btn { width: 100%; }
  .entry-qr { margin-top: 6px; }
}

@media print {
  .top-banner-link, .admin-nav, .site-foot, .qr-side .btn, .qr-url { display: none !important; }
  body { background: #fff; }
  .qr-card { border: 0; box-shadow: none; display: block; text-align: center; }
  .qr-box img { width: 280px; height: 280px; border: 0; }
  .qr-caption { font-size: 15px; color: #000; margin-top: 14px; }
}

/* ============================================================
   校友分布热力图（/aeec25/map.php）
   —— 25 周年专题 · 世界地图国家/地区聚合热力
   ============================================================ */

/* 页面容器：热力图需要比表单页更宽 */
.map-wrap { max-width: 1180px; }

/* ---------- 状态提示（加载中） ---------- */
.map-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 11px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-2);
  font-size: 13px;
}
.map-status[hidden] { display: none; }
.map-status.is-error { border-color: #d9b8b8; color: var(--red); }

/* 复用提交按钮里的 spinner 动画 */
.map-status .spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--navy-700);
  border-radius: 50%;
  animation: map-spin .8s linear infinite;
  flex: none;
}
@keyframes map-spin { to { transform: rotate(360deg); } }

/* ---------- 错误提示条 ---------- */
.map-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.map-error[hidden] { display: none; }

/* ---------- 地图卡片 ---------- */
.map-card { padding: 14px 14px 10px; margin-top: 12px; }

.map-box {
  width: 100%;
  height: 620px;                /* 桌面默认高度 */
  min-height: 380px;
}

/* 图例说明文字 */
.map-legend-note {
  margin: 6px 0 2px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 底部备注 + 隐私声明 ---------- */
.map-foot {
  margin-top: 14px;
  padding: 20px 18px 22px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.map-foot-line {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .04em;
}
.map-foot-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.map-foot-note-en {
  font-size: 10.5px;
  color: var(--muted-2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .map-box { height: 520px; }
}
@media (max-width: 560px) {
  .map-wrap { padding: 0 10px; }
  .map-box { height: 400px; }
  .map-card { padding: 8px 6px 8px; }
  .map-foot { padding: 16px 12px 18px; }
}

/* ---------- 字段填写说明（field-hint） ---------- */
.field-hint {
  margin: 5px 0 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 校友分布热力图入口卡片（与服务入口同款，仅图标/预览图不同） ---------- */
.entry-map .entry-icon {
  background: #e8f1f9;
  border-color: #cfe0ef;
}
.entry-map .entry-qr img {
  /* 预览图是世界地图（横向比例），留白比其他二维码略多 */
  object-fit: contain;
  background: #fff;
}

/* ---------- 「目前所在国家/地区」三级联动 ---------- */
.region-cascade .field-label {
  display: block;
  margin-bottom: 8px;
}
.region-cascade .field-label .lb-cn {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.region-cascade .field-label .lb-en {
  margin-left: 6px;
  font-size: 11px;
  color: var(--muted-2);
}
/* 三个下拉并排（窄屏自动换行） */
.region-cascade .select-wrap {
  margin-bottom: 8px;
}
@media (min-width: 640px) {
  .region-cascade {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 10px;
  }
  .region-cascade .field-label,
  .region-cascade .field-hint,
  .region-cascade .err-msg {
    grid-column: 1 / -1;
  }
  .region-cascade .select-wrap {
    margin-bottom: 0;
  }
}

/* ============================================================
   中国校友分布地图（/aeec25/map_cn.php）
   —— 分省 / 分市两级下钻 + 排行面板
   ============================================================ */

.map-wrap { max-width: 1280px; }

/* ---------- 面包屑（全国 → 省） ---------- */
.map-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  font-size: 13px;
}
.map-crumb-item {
  padding: 4px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.map-crumb-item:hover { border-color: var(--navy-700); color: var(--navy-700); }
.map-crumb-item.is-on {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
  cursor: default;
}
.map-crumb-item.is-on:hover { color: #fff; }
.map-crumb-sep { color: var(--muted-2); font-size: 15px; }

/* ---------- 主布局：左地图 + 右排行 ---------- */
.cn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}
@media (max-width: 960px) {
  .cn-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 排行面板 ---------- */
.cn-panel {
  padding: 0;
  overflow: hidden;
}
.cn-panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.cn-tab {
  flex: 1;
  padding: 11px 8px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.cn-tab:hover { color: var(--ink); }
.cn-tab.is-on {
  background: var(--paper);
  color: var(--navy-800);
  border-bottom-color: var(--navy-700);
  font-weight: 600;
}

.cn-panel-body {
  max-height: 560px;
  overflow-y: auto;
  padding: 6px 0;
}
.cn-rank { list-style: none; margin: 0; padding: 0; }

.cn-rank-item {
  display: grid;
  grid-template-columns: 22px 1fr 46px;
  grid-template-areas:
    "no  name val"
    "no  bar  bar";
  align-items: center;
  column-gap: 8px;
  row-gap: 3px;
  padding: 7px 14px;
  transition: background .16s ease;
}
.cn-rank-item:hover { background: #f6f1e4; }
.cn-rank-item.is-clickable { cursor: pointer; }
.cn-rank-item.is-clickable:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: -2px;
}

.cn-rank-no {
  grid-area: no;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--muted-2);
  text-align: right;
}
.cn-rank-name {
  grid-area: name;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}
.cn-rank-sub {
  display: inline-block;
  margin-left: 6px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
}
.cn-rank-bar {
  grid-area: bar;
  display: block;
  height: 4px;
  background: var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.cn-rank-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #74aee0, #12508c);
  border-radius: 2px;
}
.cn-rank-val {
  grid-area: val;
  font-size: 12px;
  color: var(--ink-2);
  text-align: right;
  white-space: nowrap;
}
.cn-rank-empty {
  padding: 28px 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.cn-panel-note {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--cream);
}

/* ---------- 层级说明条（直辖市等特殊情况） ---------- */
.map-level-note {
  margin: 0 0 10px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-700);
  border-radius: 3px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.map-level-note[hidden] { display: none; }
.map-level-note b { color: var(--navy-800); }
.map-level-note .dim {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
}

/* ---------- 省份快捷跳转条 ---------- */
.cn-jump {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cn-jump-label {
  flex: 0 0 auto;
  padding-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.cn-jump-label em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted-2);
}
.cn-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.cn-jump-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: #f7f2e5;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.cn-jump-item:hover {
  background: #fff;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.cn-jump-item.is-on {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}
.cn-jump-item.is-on .cn-jump-val { color: rgba(255, 255, 255, .85); }
.cn-jump-val {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .cn-jump { flex-direction: column; gap: 8px; }
  .cn-jump-label { padding-top: 0; }
}

/* ============================================================
   专题导航条（Banner 之下、hero 之上）
   —— 25 周年系列活动专题的 8 个栏目
   ============================================================ */

.topic-nav {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.topic-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  flex-wrap: wrap;          /* 一行放不下自动换行 */
  justify-content: center;
  gap: 0;
}
.topic-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 9px 14px;
  color: #cfd8e8;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.topic-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-bottom-color: rgba(255, 255, 255, .45);
}
.topic-nav-item.is-on {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-bottom-color: #d8b26a;
}
.topic-nav-cn {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
}
.topic-nav-en {
  font-size: 9.5px;
  color: rgba(207, 216, 232, .62);
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.topic-nav-item:hover .topic-nav-en,
.topic-nav-item.is-on .topic-nav-en { color: rgba(255, 255, 255, .82); }

/* 未开发栏目：淡化 + 角标
   ⚠️ 2026-11-05：《05_首页文案调整》第三节第 5 项 —— 灰字旁必须有"为什么点不动"的说明。
   角标由真实 DOM 元素 <span class="topic-nav-soon">即将开放</span> 承担（而非 CSS 伪元素），
   ⇒ 屏幕阅读器也能读到，且文案可被搜索引擎抓取。 */
.topic-nav-item.is-soon { color: rgba(207, 216, 232, .55); }
.topic-nav-soon {
  display: inline-block;
  margin-left: 5px;
  padding: 0 4px;
  border: 1px solid rgba(207, 216, 232, .35);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 400;
  line-height: 13px;
  vertical-align: 2px;
  color: rgba(207, 216, 232, .70);
}
.topic-nav-item.is-soon:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .45);
}
.topic-nav-item.is-soon:hover .topic-nav-soon {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

@media (max-width: 860px) {
  .topic-nav-inner { justify-content: flex-start; }
  .topic-nav-item { padding: 8px 11px; }
  .topic-nav-cn { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .topic-nav-item { flex: 1 0 auto; padding: 7px 9px; }
  .topic-nav-en { display: none; }
}

/* ---------- 栏目占位 / 提示卡 ---------- */
.topic-wrap { max-width: 900px; }
.topic-notice {
  text-align: center;
  padding: 40px 28px 34px;
}
.topic-notice-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  font-size: 30px;
  background: var(--cream-2);
  border: 1px solid #e0d7c2;
  border-radius: 14px;
}
.topic-notice-title {
  margin: 16px 0 12px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy-800);
}
.topic-notice-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
}
.topic-notice-text-en {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted-2);
}
.topic-plan {
  margin: 20px auto 4px;
  max-width: 640px;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
}
.topic-plan-label {
  margin: 0 0 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--navy-700);
}
.topic-plan-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.topic-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.topic-notice-foot {
  margin: 20px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- 未开发栏目的浮层提示 ---------- */
.topic-nav-tip {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 999;
  max-width: min(90vw, 460px);
  padding: 11px 18px;
  background: var(--navy-900);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
  box-shadow: 0 10px 30px rgba(6, 19, 51, .35);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.topic-nav-tip.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===================================================================
 * ★ 2026-11-05 新增板块样式（条件字段 / 文件上传 / 内嵌板块 / 计数看板）
 * =================================================================== */

/* ---- 条件字段隐藏 ---- */
.field.is-hidden,
.embedded-block .field.is-hidden { display: none !important; }

/* ---- 文件上传 ---- */
.file-field { display: block; }
.file-field input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fffdf8;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.file-field input[type="file"]:hover { border-color: var(--navy-800); background: #fff; }
.file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 15px;
  border: 0;
  border-radius: 7px;
  background: var(--navy-900);
  color: #f7f2e6;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.file-hint { margin: 7px 1px 0; font-size: 12px; color: var(--muted-2); line-height: 1.5; }
.file-name { margin: 6px 1px 0; font-size: 12.5px; color: var(--navy-800); font-weight: 600; word-break: break-all; }
.file-name:empty { display: none; }

/* ---- 多选（checks）---- */
.checks-row { flex-wrap: wrap; }
.radio.check { flex: 0 0 auto; }

/* ---- 正文字数计数 ---- */
.field-counter { margin: 6px 1px 0; font-size: 12px; color: var(--muted-2); }
.field-counter.is-limit { color: var(--red); font-weight: 600; }

/* ---- 内嵌板块（校友登记页内的旧物征集）---- */
.section-divider {
  margin: 44px 0 8px;
  border: 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transform: translateX(-50%);
}
.embedded-block { margin: 0 0 40px; }
.embedded-head { text-align: center; margin: 0 0 18px; }
.embedded-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
  color: var(--navy-900);
  letter-spacing: .01em;
}
.embedded-title em {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
}
.embedded-sub { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.embedded-sub em {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-style: normal;
  color: var(--muted-2);
}
.embedded-block .form-card { margin-top: 4px; }

/* ---- 后台：文件列表 ---- */
.detail-files { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-files h3 { margin: 0 0 10px; font-size: 15px; color: var(--navy-900); }
.detail-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.detail-file-row:last-child { border-bottom: 0; }
.detail-file-thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fffdf8;
}
.detail-file-name { font-weight: 600; color: var(--navy-900); word-break: break-all; }
.detail-file-meta { color: var(--muted-2); font-size: 12px; }

/* ---- 后台：征文 25 篇计数看板 ---- */
.count-board { margin: 0 0 22px; }
.count-board .card { padding: 20px 22px; }
.count-board h2 { margin: 0 0 4px; font-size: 18px; color: var(--navy-900); }
.count-board .cb-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.cb-groups { display: flex; flex-wrap: wrap; gap: 12px; }
.cb-group {
  flex: 1 1 190px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
}
.cb-group-name { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.cb-group-num { font-size: 26px; font-weight: 700; color: var(--navy-900); line-height: 1.1; }
.cb-group-num em { font-size: 13px; font-style: normal; font-weight: 400; color: var(--muted-2); margin-left: 3px; }
.cb-total {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--navy-900);
}
.cb-total b { font-size: 20px; }
.cb-bar {
  height: 8px;
  margin-top: 9px;
  border-radius: 5px;
  background: #efe9dc;
  overflow: hidden;
}
.cb-bar i { display: block; height: 100%; background: var(--navy-800); border-radius: 5px; }

/* ---- 成功页：采访联动引导块 ---- */
.success-cta {
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-800);
  border-radius: 10px;
  background: #fffdf8;
  text-align: left;
}
.success-cta-cn { margin: 0 0 6px; font-size: 14px; line-height: 1.7; color: var(--navy-900); }
.success-cta-en { margin: 0 0 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ---- 首页卡片内的次级入口（校友登记卡 → 旧物征集内嵌板块）---- */
.entry-sub {
  display: block;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--navy-800);
  text-decoration: none;
  transition: border-color .18s, background .18s;
}
.entry-sub em {
  margin-left: 7px;
  font-size: 11.5px;
  font-style: normal;
  color: var(--muted-2);
}
.entry-sub:hover { border-color: var(--navy-800); background: #fffdf8; }

/* ===================================================================
 * ★ 2026-11-05 结构化说明（常规文章排版）
 * 有奖征文的说明原本是一整段连续文字 ⇒ 改为分段 + 小标题 + 列表，
 * 中英逐段对照，接近印刷版启事的阅读体验。
 * =================================================================== */
.note-article {
  margin: 0 0 20px;
  padding: 22px 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-800);
  border-radius: 6px;
}

/* ---- 小标题（八条要点）---- */
.na-h {
  margin: 20px 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy-900);
  letter-spacing: .01em;
}
.na-h:first-child { margin-top: 0; }
.na-h em {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: 0;
}

/* ---- 正文段落 ---- */
.na-p {
  margin: 0 0 9px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.na-p em {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- 列表（奖项设置）---- */
.na-list {
  margin: 4px 0 12px;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.na-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line-2);
}
.na-list li:last-child { border-bottom: 0; }
.na-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy-800);
  opacity: .55;
}
.na-list li em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- 结尾附注 ---- */
.na-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.na-note em {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-style: normal;
  color: var(--muted-2);
}

@media (max-width: 640px) {
  .note-article { padding: 18px 16px; }
  .na-h { font-size: 13.5px; }
  .na-p { font-size: 13px; }
}

/* ===================================================================
 * ★ 2026-11-06 活动资讯（滚动条 + 前台列表/详情 + 后台管理）
 * =================================================================== */

/* ---------- 顶部资讯滚动条（Banner 之下、导航条之上）---------- */
.news-ticker {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
}
.nt-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

/* 左侧标签 */
.nt-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  white-space: nowrap;
}
.nt-label-icon { font-size: 12px; }
.nt-label-en {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .78;
}

/* 右侧「更多」 */
.nt-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cfd8e8;
  white-space: nowrap;
  transition: color .16s ease;
}
.nt-more em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(207, 216, 232, .55);
}
.nt-more:hover { color: #fff; }
.nt-more:hover em { color: rgba(255, 255, 255, .82); }

/* 滚动窗口 */
.nt-window {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  /* 左右淡出，暗示还有内容 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.nt-track {
  display: flex;
  width: max-content;
  animation: nt-scroll var(--nt-duration, 40s) linear infinite;
}
.nt-track:hover { animation-play-state: paused; }

@keyframes nt-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.nt-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nt-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 18px;
  font-size: 13px;
  line-height: 40px;
  color: #cfd8e8;
  white-space: nowrap;
}
.nt-item::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-left: 10px;
  vertical-align: -1px;
  background: rgba(255, 255, 255, .20);
}
.nt-cat {
  flex: 0 0 auto;
  padding: 1px 6px;
  border: 1px solid rgba(216, 178, 106, .45);
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 600;
  color: #d8b26a;
  letter-spacing: .03em;
}
.nt-link {
  color: #e8eef8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nt-link:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.nt-date {
  flex: 0 0 auto;
  font-size: 11px;
  color: rgba(207, 216, 232, .52);
  font-variant-numeric: tabular-nums;
}

/* 降级：系统开启"减少动态效果" ⇒ 不滚动，改为静态横向可滚动列表 */
@media (prefers-reduced-motion: reduce) {
  .nt-track { animation: none; }
  .nt-window { overflow-x: auto; }
  .nt-track:hover { animation-play-state: running; }
}

@media (max-width: 700px) {
  .nt-inner { gap: 8px; padding: 0 10px; }
  .nt-label-en { display: none; }
  .nt-item { font-size: 12.5px; padding: 0 12px; }
  .nt-date { display: none; }
}

/* ---------- 前台：资讯列表 / 详情 ---------- */
.news-wrap { padding-top: 20px; padding-bottom: 10px; }

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.news-tabs a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.news-tabs a em {
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.news-tabs a:hover { border-color: var(--navy-800); background: #fff; }
.news-tabs a.on {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.news-tabs a.on em { color: rgba(255, 255, 255, .62); }

.news-cat-desc {
  margin: 0 0 16px;
  padding: 10px 13px;
  border-left: 3px solid var(--navy-800);
  background: rgba(255, 255, 255, .55);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.news-cat-desc em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
}

/* 列表项 */
.news-list { display: grid; gap: 12px; }
.news-item {
  padding: 16px 17px 15px;
  transition: border-color .18s ease, background .18s ease;
}
.news-item:hover { border-color: var(--navy-800); background: #fff; }

.ni-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
}
.ni-cat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--cream-2);
  border: 1px solid #e0d7c2;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .02em;
}
.ni-cat em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ni-cat-notice { background: #f6ecec; border-color: #e5cfcf; color: var(--red); }
.ni-cat-report { background: #eaf1ec; border-color: #cddfd4; color: var(--ok); }

.ni-top {
  padding: 2px 7px;
  border-radius: 3px;
  background: #f7f1e0;
  border: 1px solid #e0d5b8;
  font-size: 11px;
  font-weight: 700;
  color: #6b5620;
}
.ni-top em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .72;
}
.ni-date {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.ni-title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy-900);
}
.ni-title a { color: inherit; text-decoration: none; }
.ni-title a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.ni-title-en {
  margin: 0 0 8px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted-2);
}
.ni-excerpt {
  margin: 0 0 11px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.ni-more {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color .16s ease, color .16s ease;
}
.ni-more em {
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ni-more:hover { color: var(--navy-700); border-bottom-color: var(--navy-800); }

/* 空状态 */
.news-empty {
  padding: 44px 24px 38px;
  text-align: center;
}
.news-empty-icon { font-size: 30px; }
.news-empty h2 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy-800);
}
.news-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.news-empty p em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* 详情页 */
.news-article { padding: 22px 20px 20px; }
.na-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.na-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-900);
  letter-spacing: -.005em;
}
.na-title-en {
  margin: 0 0 16px;
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
  color: var(--muted-2);
}
.na-body {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
}
.na-body p { margin: 0 0 14px; }
.na-body p:last-child { margin-bottom: 0; }
.na-body ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.na-body li {
  position: relative;
  padding: 3px 0 3px 19px;
  line-height: 1.9;
}
.na-body li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy-800);
  opacity: .5;
}
.na-body-en {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.na-actions {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- 后台：资讯管理 ---------- */
.stat-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .stat-grid-3 { grid-template-columns: 1fr; } }

.news-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 13px;
}
.news-cat-filter a {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease;
}
.news-cat-filter a:hover { border-color: var(--navy-800); background: #fff; }
.news-cat-filter a.on {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.pill-published { background: #eaf1ec; border-color: #cddfd4; color: var(--ok); }
.pill-draft { background: #f4f2ec; border-color: #e0d7c2; color: var(--muted); }
.pill-news-notice { background: #f6ecec; border-color: #e5cfcf; color: var(--red); }
.pill-news-report { background: #eaf1ec; border-color: #cddfd4; color: var(--ok); }

/* 后台表单 */
.news-form-card { padding: 18px 17px 20px; }
.news-form { display: grid; gap: 15px; }
.news-form .field-hint {
  margin: 6px 1px 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}
.news-form-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}
.news-form-flags .radio.check { flex: 0 0 auto; }
.news-form textarea { min-height: 150px; resize: vertical; }
.news-form textarea[name="body_en"] { min-height: 110px; }
