/* ============================================================
   科传新生指南 — 样式表
   配色：森林绿 #2D5A27 + 琥珀金 #E8A940 + 暖白底
   设计语言：手风琴展开 + 侧滑面板，完全区别于卡片网格+模态窗
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --green-deep: #2D5A27;
  --green: #3A7D34;
  --green-light: #E8F5E9;
  --green-pale: #F5FAF4;
  --amber: #E8A940;
  --amber-dark: #C8891E;
  --amber-light: #FFF8E1;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --text: #2C3E2D;
  --text-muted: #6B7B6C;
  --text-light: #8A9B8B;
  --border: #E0E3DD;
  --border-light: #EEF0EC;
  --danger: #C5553A;
  --danger-bg: #FEF2EE;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 2px 8px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.10);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --max-width: 880px;
  --nav-height: 56px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 通知横幅 ---------- */
.notice-bar {
  background: var(--amber-light);
  border-bottom: 2px solid var(--amber);
  position: relative;
  z-index: 100;
}
.notice-bar.hidden { display: none; }

.notice-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notice-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.notice-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
}
.notice-text strong { display: block; color: var(--amber-dark); font-size: 13px; }
.notice-text span { color: var(--text-muted); }

.notice-close {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.notice-close:hover { background: rgba(0,0,0,.06); color: var(--text); }

/* ---------- 顶部导航 ---------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}
.brand-icon { font-size: 22px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all .2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  background: var(--green-pale);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #1E3A1F 0%, #2D5A27 40%, #3A6B33 70%, #4A7D3F 100%);
  color: #fff;
  padding: 56px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232,169,64,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-decoration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(232,169,64,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 13px;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: .3px;
}

.hero-sub {
  font-size: 15px;
  opacity: .85;
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.btn-primary {
  background: var(--amber);
  color: #2C2C1A;
}
.btn-primary:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,169,64,.4); }

.btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }

/* ---------- 主体内容区 ---------- */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px 40px;
}

.content-section {
  margin-top: 36px;
}

/* 区块标题 */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 750;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-emoji { font-size: 24px; }

.section-count {
  font-size: 12px;
  color: var(--text-light);
  background: var(--border-light);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.section-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.card-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 14px 14px;
  cursor: pointer;
  transition: all .18s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  width: 100%;
}
.card-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-item:active { transform: scale(.97); }

.card-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.card-item-label { font-weight: 650; line-height: 1.3; }
.card-item-badge {
  font-size: 10px; padding: 2px 7px; border-radius: 8px; font-weight: 600;
  position: absolute; top: 8px; right: 8px;
}
.card-item { position: relative; }
.card-item-badge.external { background: #E3F0FD; color: #3B6EC4; }
.card-item-badge.community { background: #FFF0E8; color: #C5763A; }

@media (max-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .card-item { padding: 14px 10px; } }
@media (max-width: 380px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- 旧手风琴保留（兼容） ---------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.acc-item:hover {
  border-color: var(--border);
}
.acc-item.open {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background .15s;
}
.acc-header:hover { background: var(--green-pale); }

.acc-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.acc-label { flex: 1; }

.acc-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.acc-badge.external { background: #E3F0FD; color: #3B6EC4; }
.acc-badge.community { background: #FFF0E8; color: #C5763A; }

.acc-arrow {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
  transition: transform .25s;
  flex-shrink: 0;
}
.acc-item.open .acc-arrow { transform: rotate(180deg); color: var(--green); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.acc-item.open .acc-body { max-height: none; }

.acc-body-inner {
  padding: 4px 16px 18px 64px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

/* 手风琴内部排版样式 */
.acc-body-inner h3 { font-size: 17px; margin: 16px 0 8px; color: var(--green-deep); }
.acc-body-inner h4 { font-size: 15px; margin: 12px 0 6px; color: var(--text); }
.acc-body-inner h5 { font-size: 14px; margin: 10px 0 4px; color: var(--text-muted); }
.acc-body-inner p { margin: 6px 0; }
.acc-body-inner ul, .acc-body-inner ol { padding-left: 20px; margin: 8px 0; }
.acc-body-inner li { margin: 4px 0; }
.acc-body-inner strong { color: var(--text); }
.acc-body-inner img { max-width: 100%; border-radius: var(--radius-sm); margin: 8px 0; }
.acc-body-inner a { color: var(--green); text-decoration: underline; }

/* 提示框 */
.tip-box {
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 10px 0;
  font-size: 13px;
}
.tip-box strong { color: var(--amber-dark); }

/* 警告框 */
.warn-box {
  background: var(--danger-bg);
  border-left: 3px solid var(--danger);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 10px 0;
  font-size: 13px;
}

/* 信息框 */
.info-box {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 10px 0;
  font-size: 13px;
}

/* 群号卡片 */
.group-card {
  background: var(--green-pale);
  border: 1.5px dashed var(--green);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  margin: 10px 0;
}
.group-card .group-label { font-size: 12px; color: var(--text-muted); display: block; }
.group-card .group-number { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--green-deep); margin: 4px 0; }
.group-card .group-hint { font-size: 12px; color: var(--text-muted); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--surface);
  border: 1.5px solid var(--green);
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
}
.copy-btn:hover { background: var(--green); color: #fff; }
.copy-btn.copied { background: var(--green); color: #fff; border-color: var(--green); }

/* 时间线 */
.timeline {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
  border-left: 2px solid var(--green-light);
  padding-left: 20px;
}
.timeline li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 8px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--surface);
}

/* 步骤编号 */
.step-list { list-style: none; padding-left: 0; }
.step-list li {
  display: flex;
  gap: 10px;
  margin: 8px 0;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* 网格标签 */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.tag {
  background: var(--green-light);
  color: var(--green-deep);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* 统计数字网格 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.stat-item {
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.stat-item b { display: block; font-size: 20px; color: var(--green-deep); }
.stat-item small { font-size: 11px; color: var(--text-muted); }

/* 联系人条 */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.contact-strip strong { color: var(--text); }

/* 手机号链接 */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  background: var(--green-light);
  font-size: 13px;
  transition: all .2s;
}
.phone-link:hover { background: var(--green); color: #fff; }

/* 操作按钮 */
.action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  margin: 8px 4px 8px 0;
}
.action-link:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow); }

/* 占位符 */
.placeholder-tag {
  display: inline-block;
  background: #FFF3CD;
  color: #856404;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 500;
  border: 1px dashed #E8C84A;
}

/* ---------- 校园导览卡片 ---------- */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  .campus-grid { grid-template-columns: 1fr; }
}

.campus-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 16px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.campus-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.campus-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.campus-card-text strong { display: block; font-size: 14px; }
.campus-card-text small { color: var(--text-muted); font-size: 12px; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform .25s;
  position: relative;
}
.modal-overlay.active .modal-dialog { transform: translateY(0); }

.modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 10;
  transition: all .15s;
}
.modal-close:hover { background: var(--border); color: var(--text); }

.modal-body {
  flex: 1; overflow-y: auto;
  padding: 28px 24px 24px;
  -webkit-overflow-scrolling: touch;
}
.modal-body h3 { font-size: 18px; margin-bottom: 10px; }
.modal-body h4 { font-size: 15px; margin: 14px 0 6px; }
.modal-body img { max-width: 100%; border-radius: var(--radius-sm); }

/* ---------- 旧侧滑面板保留 ---------- */

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 28px 16px;
  text-align: center;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer-brand span { font-size: 20px; }
.site-footer p { font-size: 12px; color: var(--text-muted); margin: 2px 0; }
.footer-date { font-size: 11px; color: var(--text-light); }

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all .25s;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45,90,39,.35);
}

/* ---------- 响应式 ---------- */
@media (max-width: 600px) {
  .nav-links a { font-size: 13px; padding: 5px 10px; }
  .hero { padding: 40px 16px 48px; }
  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 14px; }
  .acc-body-inner { padding-left: 16px; padding-right: 8px; }
  .acc-icon { width: 32px; height: 32px; font-size: 16px; }
  .acc-header { padding: 12px; gap: 8px; font-size: 14px; }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
  .slide-panel { width: 100vw; }
}

/* ---------- 原站内容兼容样式 ---------- */
.lead { font-size: 15px; color: var(--text-muted); margin-bottom: 12px; }
.mini-tip { font-size: 12px; color: var(--text-muted); margin: 6px 0; }
.tip { background: var(--amber-light); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 10px 0; font-size: 13px; }
.tip strong { color: var(--amber-dark); }
.warning { background: var(--danger-bg); border-left: 3px solid var(--danger); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 10px 0; font-size: 13px; }
.danger-section { background: var(--danger-bg); border-left: 3px solid var(--danger); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 10px 0; font-size: 13px; }
.danger-section ul, .danger-section .ban-list { margin: 4px 0; }
.bed-size { text-align: center; font-size: 13px; color: var(--text-muted); margin: 8px 0; }
.ban-line { color: var(--danger); font-size: 13px; font-weight: 600; }
.allow-line { color: var(--green); font-size: 13px; font-weight: 600; margin: 8px 0; }
.ban-list { list-style: none; padding-left: 0; }
.ban-list li { padding: 4px 0 4px 20px; position: relative; font-size: 13px; }
.ban-list li::before { content: '✕'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding: 3px 0 3px 20px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.check-section, .flow-section, .dorm-section, .club-section, .transfer-section,
.sport-section, .medical-section, .aid-section, .sim-section, .loan-section,
.directory-section, .trade-rules, .wall-rules, .tips-section, .office-hours { margin: 14px 0; }
.check-section h4, .flow-section h4, .dorm-section h4, .club-section h4,
.transfer-section h4, .sport-section h4, .medical-section h4, .aid-section h4,
.sim-section h4, .loan-section h4, .directory-section h4, .trade-rules h4,
.wall-rules h4, .office-hours h4 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.check-section h4 em, .flow-section h4 em { font-size: 12px; color: var(--danger); font-style: normal; }
.campus-addresses { margin: 10px 0; }
.campus-addresses > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.campus-addresses span { background: var(--green-pale); padding: 10px 12px; border-radius: var(--radius-sm); display: block; }
.campus-addresses strong { display: block; font-size: 13px; color: var(--green-deep); }
.step-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.arrival-flow { list-style: none; padding-left: 0; }
.arrival-flow > li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.arrival-flow h4 { font-size: 14px; margin-bottom: 2px; }
.arrival-flow ul { padding-left: 16px; font-size: 13px; }
.dorm-rooms { margin: 12px 0; }
.dorm-grid, .club-grid, .map-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.dorm-grid article, .club-grid article { background: var(--green-pale); border-radius: var(--radius-sm); padding: 12px; }
.dorm-grid img { width: 100%; border-radius: 4px; margin-bottom: 6px; }
.dorm-grid b { display: block; font-size: 13px; }
.dorm-grid strong { color: var(--green-deep); }
.club-grid article span { font-size: 24px; font-weight: 800; color: var(--green); opacity: .5; }
.club-grid article strong { display: block; font-size: 14px; margin: 2px 0; }
.club-grid article p { font-size: 12px; color: var(--text-muted); }
.club-grid article small { font-size: 11px; color: var(--text-light); }
.curfew-grid, .repair-grid, .venue-grid, .season-grid, .standards-grid,
.signup-grid, .plan-grid, .rule-grid, .network-grid, .fit-grid, .date-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.curfew-grid span, .repair-grid span, .venue-grid span, .season-grid span,
.signup-grid span, .plan-grid span, .rule-grid span, .network-grid span, .fit-grid span { background: var(--green-pale); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.curfew-grid strong, .repair-grid strong, .venue-grid strong, .season-grid strong { display: block; font-size: 13px; color: var(--green-deep); }
.test-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.test-tags span { background: var(--green-light); color: var(--green-deep); font-size: 12px; padding: 4px 10px; border-radius: 12px; }
.standards-grid article { background: var(--green-pale); border-radius: var(--radius-sm); padding: 10px 12px; }
.standards-grid article strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--green-deep); }
.standards-grid dl { font-size: 12px; }
.standards-grid dt { font-weight: 600; }
.standards-grid dd { margin-left: 0; color: var(--text-muted); }
.care-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.care-list span { display: flex; align-items: center; gap: 8px; background: var(--green-pale); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; }
.care-list b { color: var(--green); font-size: 16px; }
.care-list strong { font-size: 13px; }
.care-list small { color: var(--text-muted); margin-left: auto; }
.qq-number, .group-card .qq-number { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0; }
.qq-number span small { display: block; font-size: 11px; color: var(--text-muted); }
.qq-number span strong { font-size: 20px; letter-spacing: 1px; color: var(--green-deep); }
.wall-card { text-align: center; margin: 12px 0; }
.wall-card strong { display: block; margin: 6px 0; color: var(--green-deep); }
.wall-card small { font-size: 12px; color: var(--text-muted); }
.map-gallery figure { margin: 0; }
.map-gallery img { width: 100%; border-radius: var(--radius-sm); }
.map-gallery figcaption { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; }
.map-gallery figcaption a { color: var(--green); font-size: 12px; }
.detail-action, .wide-image-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: var(--green); color: #fff; text-decoration: none; border-radius: 20px; font-size: 14px; font-weight: 600; margin: 8px 4px 8px 0; transition: all .2s; }
.detail-action:hover, .wide-image-link:hover { background: var(--green-deep); }
.wide-image-link { display: block; padding: 0; background: none; overflow: hidden; border-radius: var(--radius-sm); }
.wide-image-link img { width: 100%; display: block; border-radius: var(--radius-sm); }
.scholarship-grid, .grant-highlight, .support-grid, .award-levels { margin: 8px 0; }
.scholarship-grid { display: grid; gap: 8px; }
.scholarship-grid article { background: var(--green-pale); border-radius: var(--radius-sm); padding: 12px; }
.scholarship-grid article span { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: var(--amber); color: #fff; font-weight: 600; }
.scholarship-grid article strong { display: block; font-size: 15px; margin: 4px 0; }
.scholarship-grid article b { display: block; font-size: 18px; color: var(--amber-dark); margin: 2px 0; }
.scholarship-grid article p { font-size: 12px; color: var(--text-muted); }
.scholarship-grid article small { font-size: 11px; color: var(--text-light); }
.school-award { grid-column: 1 / -1; }
.award-levels { display: flex; gap: 6px; flex-wrap: wrap; }
.award-levels i { background: var(--surface); padding: 3px 10px; border-radius: 12px; font-size: 12px; font-style: normal; color: var(--green-deep); }
.grant-highlight { text-align: center; background: var(--amber-light); border-radius: var(--radius-sm); padding: 14px; }
.grant-highlight span { display: block; }
.grant-highlight strong { font-size: 22px; color: var(--amber-dark); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.support-grid span { background: var(--green-pale); border-radius: var(--radius-sm); padding: 10px; font-size: 12px; }
.support-grid strong { display: block; font-size: 13px; color: var(--green-deep); }
.loan-facts { display: flex; gap: 12px; justify-content: center; margin: 10px 0; }
.loan-facts span { background: var(--green-pale); border-radius: var(--radius-sm); padding: 10px 16px; text-align: center; }
.loan-facts strong { display: block; font-size: 20px; color: var(--green-deep); }
.loan-facts small { font-size: 11px; color: var(--text-muted); display: block; }
.date-list { display: flex; flex-direction: column; }
.date-list span { background: var(--green-pale); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 12px; }
.date-list b { color: var(--green-deep); }
.department-list { display: flex; flex-direction: column; gap: 10px; }
.department-list article { display: flex; gap: 10px; background: var(--green-pale); border-radius: var(--radius-sm); padding: 12px; align-items: flex-start; }
.department-list article h5 { font-size: 14px; margin: 0; }
.department-list article small { font-size: 11px; color: var(--text-muted); display: block; }
.department-list article p { font-size: 12px; color: var(--text-muted); margin: 4px 0; }
.dept-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.phone-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.pending-number { display: inline-block; font-size: 11px; color: var(--amber-dark); background: var(--amber-light); padding: 2px 8px; border-radius: 10px; margin-top: 4px; }
.urgent-dept { border: 2px solid var(--danger); }
.trade-group-card { text-align: center; background: var(--green-pale); border-radius: var(--radius); padding: 16px; margin: 10px 0; }
.trade-group-card img { max-width: 200px; border-radius: var(--radius-sm); }
.trade-wechat-hint { margin-top: 8px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.trade-rules h4 { margin-top: 12px; }
.community-disclaimer, .promotion-label, .source-note { font-size: 12px; color: var(--text-muted); padding: 8px 12px; border-radius: var(--radius-sm); margin: 8px 0; }
.community-disclaimer { background: #FFF8E1; border-left: 3px solid var(--amber); }
.promotion-label { background: #E8EAF6; border-left: 3px solid #496ee8; font-weight: 600; color: #496ee8; }
.source-note { background: var(--border-light); text-align: center; }
.transfer-date { margin: 8px 0; }
.transfer-date span { display: block; text-align: center; background: var(--amber-light); border-radius: var(--radius-sm); padding: 10px; }
.transfer-date strong { font-size: 18px; color: var(--amber-dark); display: block; }
.transfer-date b { font-size: 13px; color: var(--text); }
.transfer-date p { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.recruit-box { background: var(--amber-light); border-radius: var(--radius-sm); padding: 12px; margin: 10px 0; }
.recruit-box dl { display: flex; flex-wrap: wrap; gap: 8px; }
.recruit-box dt { font-weight: 700; font-size: 13px; }
.recruit-box dd { margin-left: 4px; font-size: 13px; color: var(--text-muted); }
.completion-box { background: var(--green-light); border-radius: var(--radius-sm); padding: 12px; margin: 10px 0; }
.flow-danger, .transfer-danger, .club-danger { margin: 10px 0; }
.inline-map-link { display: inline-block; color: var(--green); font-size: 13px; margin: 6px 0; }
.sim-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.sim-gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #f5f5f5; }
.sim-gallery img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 3/4; cursor: pointer; transition: transform .2s; }
.sim-gallery img:hover { transform: scale(1.03); }
@media (max-width: 480px) {
  .sim-gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
}
.office-hours div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.office-hours div span { background: var(--green-pale); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.office-hours strong { display: block; font-size: 13px; color: var(--green-deep); }
.contact-strip.transfer-contact, .contact-strip.aid-contact { margin-top: 12px; }
details { margin: 6px 0; font-size: 13px; }
details summary { cursor: pointer; font-weight: 600; color: var(--green); padding: 4px 0; }
details p { padding: 4px 0 4px 16px; color: var(--text-muted); }
.copy-status { font-size: 12px; color: var(--green); min-height: 18px; }
.announcement-group { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0; }
.announcement-warning { font-size: 12px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 6px; margin: 8px 0; }

@media (max-width: 600px) {
  .dorm-grid, .club-grid, .map-gallery,
  .curfew-grid, .repair-grid, .venue-grid, .season-grid, .standards-grid,
  .signup-grid, .plan-grid, .rule-grid, .network-grid, .fit-grid,
  .support-grid, .campus-addresses > div, .office-hours div { grid-template-columns: 1fr; }
  .scholarship-grid { grid-template-columns: 1fr; }
  .qq-number { flex-direction: column; gap: 6px; }
  .loan-facts { flex-direction: column; }
}

/* ---------- 打印 ---------- */
@media print {
  .top-nav, .back-to-top, .notice-bar, .panel-overlay, .slide-panel { display: none; }
  .acc-body { max-height: none !important; }
  .hero { background: none; color: var(--text); padding: 20px 0; }
  .hero h1 { color: var(--text); }
  .hero-sub, .hero-badge { color: var(--text-muted); }
  .hero-actions { display: none; }
}
