:root {
  --ink: #2e241f;
  --paper: #fff8ee;
  --paper-deep: #f4e7d7;
  --card: #fffdf8;
  --primary: #8c2f39;
  --primary-dark: #5e1720;
  --accent: #d9a441;
  --accent-soft: #f6d995;
  --success: #386641;
  --warning: #b56a23;
  --blue: #315f7d;
  --muted: #71655c;
  --border: #d9cbb8;
  --shadow: 7px 8px 0 rgba(94, 23, 32, 0.16);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 164, 65, .12), transparent 24rem),
    linear-gradient(rgba(140,47,57,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,47,57,.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}
body.menu-open { overflow: hidden; }
a { color: var(--primary-dark); text-underline-offset: .2em; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--ink); color: white; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.site-notice { background: var(--primary-dark); color: #fff9ef; text-align: center; padding: 7px 16px; font-size: .78rem; letter-spacing: .08em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,248,238,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217,203,184,.85); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.brand-mark { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50% 46% 52% 48%; background: var(--accent-soft); box-shadow: 3px 3px 0 var(--primary); font-family: STKaiti, KaiTi, serif; font-size: 1.2rem; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav > a, .desktop-nav-group > a { text-decoration: none; color: var(--ink); padding: 9px 12px; border-radius: 999px; font-size: .92rem; font-weight: 700; }
.desktop-nav > a:hover, .desktop-nav > a[aria-current="page"], .desktop-nav-group.active { background: var(--paper-deep); color: var(--primary-dark); }
.desktop-nav-group { position: relative; display: flex; align-items: center; border-radius: 999px; }
.desktop-nav-group > .desktop-nav-parent { padding-right: 3px; }
.desktop-nav-toggle { width: 28px; height: 38px; padding: 0 7px 0 2px; border: 0; border-radius: 0 999px 999px 0; background: transparent; color: var(--primary-dark); cursor: pointer; }
.desktop-nav-toggle span { display: block; font-size: 1rem; transition: transform .18s ease; }
.desktop-nav-group:hover, .desktop-nav-group:focus-within, .desktop-nav-group.open { background: var(--paper-deep); }
.desktop-nav-group:hover .desktop-nav-toggle span, .desktop-nav-group:focus-within .desktop-nav-toggle span, .desktop-nav-group.open .desktop-nav-toggle span { transform: rotate(180deg); }
.desktop-submenu { position: absolute; z-index: 70; left: 0; top: calc(100% + 9px); display: none; min-width: 210px; padding: 9px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); box-shadow: 5px 6px 0 rgba(94,23,32,.16); }
.desktop-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.desktop-nav-group:hover .desktop-submenu, .desktop-nav-group:focus-within .desktop-submenu, .desktop-nav-group.open .desktop-submenu { display: grid; gap: 3px; }
.desktop-submenu a { display: block; padding: 9px 11px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.desktop-submenu a:hover, .desktop-submenu a:focus, .desktop-submenu a[aria-current="page"] { color: white; background: var(--primary); }
.header-actions { display: flex; gap: 8px; }
.icon-button, .menu-button { min-width: 44px; height: 44px; border: 1.6px solid var(--ink); border-radius: 999px; background: var(--card); display: inline-grid; place-items: center; cursor: pointer; font-weight: 800; }
.icon-button:hover, .menu-button:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--accent); }
.menu-button { display: none; }
.mobile-menu { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1.8px solid var(--ink); border-radius: 12px; background: var(--primary); color: white; text-decoration: none; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; }
.button:hover { color: white; transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.button.secondary { background: var(--card); color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: none; border-color: var(--border); }
.eyebrow { color: var(--primary); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.official-rule { color: var(--primary); background: #fff3f3; }
.status.official-material { color: var(--blue); background: #f0f8fc; }
.status.experience { color: var(--success); background: #f1f8f0; }
.status.history { color: #735aa8; background: #f6f0ff; }
.status.pending { color: var(--warning); background: #fff7e9; }

.page-hero { padding: 68px 0 42px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 44px; align-items: end; }
.page-hero-grid.page-hero-single { grid-template-columns: minmax(0, 1fr); }
.page-hero-single .lead { max-width: 58rem; }
.page-hero h1 { font-family: STKaiti, KaiTi, serif; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.03; margin: 12px 0 18px; letter-spacing: -.04em; }
.page-hero .lead { max-width: 46rem; color: var(--muted); font-size: 1.08rem; }
.source-panel { background: var(--card); border: 1.8px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: 5px 6px 0 var(--accent-soft); }
.source-panel dl { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px 12px; margin: 12px 0 0; font-size: .86rem; }
.source-panel dt { color: var(--muted); }
.source-panel dd { margin: 0; font-weight: 700; }
.page-content { padding-bottom: 80px; }
.content-section { padding: 28px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { font-family: STKaiti, KaiTi, serif; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 0; }
.section-heading p { max-width: 34rem; color: var(--muted); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: rgba(255,253,248,.96); border: 1.6px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 5px 6px 0 rgba(217,164,65,.22); }
.card h3 { margin: 7px 0 8px; font-size: 1.15rem; line-height: 1.35; }
.card p { color: var(--muted); margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card ul, .card ol { margin: 10px 0 0; padding-left: 1.25em; }
.card li + li { margin-top: 6px; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; transform: translateY(-3px); }
.card-link:hover .card { box-shadow: 7px 9px 0 rgba(140,47,57,.18); }
.step-number { width: 36px; height: 36px; border: 1.6px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); font-weight: 900; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.timeline li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.timeline li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: white; font-weight: 900; }
.timeline strong { display: block; margin-bottom: 2px; }
.callout { border-left: 5px solid var(--accent); background: #fff3d9; padding: 17px 20px; border-radius: 0 14px 14px 0; }
.callout.warning { border-left-color: var(--warning); background: #fff2e3; }
.callout.rule { border-left-color: var(--primary); background: #fff0f2; }
.callout p { margin: 0; }
.official-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.official-link { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 72px; padding: 14px 16px; text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--border); border-radius: 14px; font-weight: 800; }
.official-link:hover { border-color: var(--primary); color: var(--primary-dark); }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 8px; background: var(--paper-deep); color: var(--primary-dark); font-size: .78rem; font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--paper-deep); }
tr:last-child td { border-bottom: 0; }
.media-card { padding: 0; overflow: hidden; }
.media-frame { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); border-bottom: 1.6px solid var(--ink); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-card figcaption { padding: 15px 17px 18px; color: var(--muted); font-size: .88rem; }
.media-card figcaption strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.gallery figure { margin: 0; }
.map-layout { display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr); gap: 24px; align-items: start; }
.map-art { background: #eaf6d9; border: 1.8px solid var(--ink); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
.map-art img { width: 100%; border-radius: 12px; }
.next-step { margin-top: 34px; padding: 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--primary-dark); color: white; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.next-step h2 { margin: 0 0 4px; font-size: 1.4rem; }
.next-step p { margin: 0; color: #f2dedf; }
.next-step .button { background: var(--accent-soft); color: var(--ink); flex: 0 0 auto; }

.checklist-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 24px; align-items: start; }
.progress-card { position: sticky; top: 96px; background: var(--primary-dark); color: white; border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.progress-card strong { display: block; font-family: STKaiti, KaiTi, serif; font-size: 2.5rem; }
.progress-track { height: 12px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; overflow: hidden; margin: 12px 0; }
.progress-fill { height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.checklist-groups { display: grid; gap: 18px; }
.checklist-group { background: var(--card); border: 1.6px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.checklist-group h2 { margin: 0; padding: 16px 20px; background: var(--paper-deep); border-bottom: 1.6px solid var(--ink); font-size: 1.15rem; }
.checklist-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 20px; align-items: start; border-bottom: 1px solid var(--border); cursor: pointer; }
.checklist-item:last-child { border-bottom: 0; }
.checklist-item:hover { background: #fffbf3; }
.checklist-item input { width: 21px; height: 21px; accent-color: var(--primary); margin-top: 2px; }
.checklist-item strong { display: block; }
.checklist-item small { display: block; color: var(--muted); margin-top: 2px; }
.checklist-item:has(input:checked) strong { text-decoration: line-through; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); background: var(--paper-deep); padding: 42px 0 100px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; }
.footer-brand { font-family: STKaiti, KaiTi, serif; font-size: 1.65rem; font-weight: 900; }
.footer-note { max-width: 42rem; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; align-content: start; }
.footer-links a { font-size: .9rem; font-weight: 700; }
.mobile-bottom-nav { display: none; }

.search-dialog { width: min(680px, calc(100% - 28px)); border: 1.8px solid var(--ink); border-radius: 22px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 10px 12px 0 rgba(46,36,31,.35); }
.search-dialog::backdrop { background: rgba(46,36,31,.62); backdrop-filter: blur(4px); }
.search-head { display: flex; gap: 10px; padding: 16px; border-bottom: 1px solid var(--border); }
.search-head input { flex: 1; min-width: 0; border: 1.6px solid var(--ink); border-radius: 12px; padding: 11px 13px; background: white; }
.search-results { padding: 10px 16px 18px; max-height: min(58vh, 520px); overflow: auto; }
.search-result { display: block; padding: 13px; border-radius: 12px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); }
.search-result:hover, .search-result:focus { background: var(--paper-deep); color: var(--primary-dark); }
.search-result strong { display: block; }
.search-result small { color: var(--muted); }
.empty-state { padding: 30px 10px; text-align: center; color: var(--muted); }

.major-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.major-stats div { padding: 16px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); }
.major-stats strong { display: block; font-family: STKaiti, KaiTi, serif; color: var(--primary-dark); font-size: 2rem; line-height: 1; }
.major-stats span { display: block; margin-top: 7px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.major-tools { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(2,minmax(180px,.75fr)); gap: 12px; padding: 16px; background: var(--paper-deep); border: 1.5px solid var(--ink); border-radius: 16px; }
.major-tools label { display: grid; gap: 5px; color: var(--primary-dark); font-size: .78rem; font-weight: 900; }
.major-tools input, .major-tools select { width: 100%; min-width: 0; height: 46px; padding: 9px 12px; color: var(--ink); background: white; border: 1.5px solid var(--ink); border-radius: 10px; }
.major-result-count { margin: 12px 2px 18px; color: var(--muted); font-size: .86rem; }
.major-groups { display: grid; gap: 28px; }
.major-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; border-bottom: 2px solid var(--primary-dark); }
.major-group-heading h2 { margin: 0; font-family: STKaiti, KaiTi, serif; font-size: 1.65rem; }
.major-group-heading span { color: var(--muted); font-size: .8rem; }
.major-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.major-card { min-width: 0; padding: 18px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 4px 5px 0 rgba(217,164,65,.18); }
.major-card-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.major-card h3 { margin: 8px 0 0; font-size: 1.2rem; }
.major-course-count { flex: 0 0 auto; padding: 5px 9px; border-radius: 9px; color: var(--primary-dark); background: var(--paper-deep); font-size: .78rem; font-weight: 900; }
.course-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 20px; margin: 16px 0; padding-left: 1.55rem; }
.course-list li { padding-left: 2px; font-size: .9rem; }
.course-list li::marker { color: var(--primary); font-weight: 900; }
.major-pending-note { min-height: 3.4em; margin: 16px 0; color: var(--muted); }
.major-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: .76rem; }
.major-card-foot span { color: var(--muted); }
.major-card-foot a { font-weight: 800; }
.major-empty { border: 1px dashed var(--border); border-radius: 14px; background: var(--card); }

.timetable-tools { grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(190px,.8fr)); }
.major-group-heading > div { min-width: 0; }
.major-group-heading small { display: block; margin: 3px 0 10px; color: var(--muted); }
.timetable-class-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.timetable-class { overflow: hidden; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 4px 5px 0 rgba(217,164,65,.18); }
.timetable-class summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; color: var(--primary-dark); cursor: pointer; font-weight: 900; list-style: none; }
.timetable-class summary::-webkit-details-marker { display: none; }
.timetable-class summary::before { content: "+"; flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--paper-deep); }
.timetable-class[open] summary::before { content: "−"; }
.timetable-class summary span { flex: 1; }
.timetable-class summary b { flex: 0 0 auto; padding: 4px 8px; border-radius: 8px; background: var(--paper-deep); font-size: .76rem; }
.timetable-class[open] summary { border-bottom: 1px solid var(--border); background: #fffaf1; }
.schedule-course-list { margin: 0; padding: 0; list-style: none; }
.schedule-course { padding: 15px 18px; border-bottom: 1px solid var(--border); }
.schedule-course:last-child { border-bottom: 0; }
.schedule-course-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.schedule-course-head strong { color: var(--ink); }
.schedule-course-head span { flex: 0 0 auto; color: var(--primary-dark); font-size: .76rem; font-weight: 900; }
.schedule-course small { display: block; margin-top: 3px; color: var(--muted); }
.course-time { display: block; margin-top: 8px; padding: 9px 11px; border-radius: 10px; background: var(--paper-deep); color: var(--ink); font-size: .8rem; line-height: 1.55; white-space: pre-line; }
.course-time-empty { color: var(--warning); background: #fff7e9; }

.study-space-section { padding-top: 42px; }
.study-space-head { max-width: 760px; margin-bottom: 24px; }
.study-space-head h2 { margin: 7px 0 9px; font-family: STKaiti, KaiTi, serif; font-size: clamp(2.1rem,4vw,3.2rem); line-height: 1.12; }
.study-space-head p { margin: 0; color: var(--muted); font-size: 1rem; }
.study-place-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.study-place-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--card); border: 1.6px solid var(--ink); border-radius: 18px; box-shadow: 5px 6px 0 rgba(217,164,65,.22); }
.study-place-media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1.6px solid var(--ink); background: var(--paper-deep); }
.study-place-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.study-place-body { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 19px 20px; }
.study-place-body h3 { margin: 9px 0 7px; font-size: 1.2rem; }
.study-place-body p { margin: 0 0 14px; color: var(--muted); }
.study-place-body a, .study-use-tag { margin-top: auto; }
.study-place-body a { font-weight: 800; }
.study-use-tag { display: inline-flex; padding: 5px 9px; border-radius: 8px; color: var(--primary-dark); background: var(--paper-deep); font-size: .78rem; font-weight: 900; }
.study-space-note { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 15px 18px; border-left: 5px solid var(--accent); border-radius: 0 13px 13px 0; background: #fff3d9; }
.study-space-note strong { flex: 0 0 auto; color: var(--primary-dark); }
.study-space-note span { color: var(--muted); }

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .header-actions .button { display: none; }
  .menu-button { display: inline-grid; }
  .mobile-menu { position: fixed; inset: 105px 0 auto; z-index: 49; max-height: calc(100dvh - 105px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 16px 20px 24px; box-shadow: 0 18px 35px rgba(46,36,31,.18); }
  .mobile-menu.open { display: block; }
  .mobile-menu .mobile-direct-link { display: block; margin-bottom: 8px; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 900; background: var(--card); border: 1px solid var(--border); }
  .mobile-nav-group { margin-bottom: 8px; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
  .mobile-nav-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--primary-dark); font-weight: 900; cursor: pointer; list-style: none; }
  .mobile-nav-group summary::-webkit-details-marker { display: none; }
  .mobile-nav-group summary.active, .mobile-nav-group[open] summary { background: var(--paper-deep); }
  .mobile-nav-toggle::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 50%; background: var(--paper); }
  .mobile-nav-group[open] .mobile-nav-toggle::before { content: "−"; }
  .mobile-submenu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 10px; border-top: 1px solid var(--border); }
  .mobile-menu .mobile-submenu a { display: block; min-width: 0; padding: 10px 11px; border-radius: 10px; text-decoration: none; font-size: .84rem; font-weight: 800; background: var(--paper); border: 1px solid var(--border); }
  .mobile-menu .mobile-submenu a:hover, .mobile-menu .mobile-submenu a[aria-current="page"] { color: white; background: var(--primary); border-color: var(--primary); }
  .mobile-menu .mobile-overview { grid-column: 1 / -1; }
  .page-hero-grid, .map-layout, .checklist-shell { grid-template-columns: 1fr; }
  .progress-card { position: static; }
  .card-grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .official-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .major-tools { grid-template-columns: 1fr 1fr; }
  .major-tools label:first-child { grid-column: 1 / -1; }
  .timetable-class-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { padding-bottom: 72px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-notice { font-size: .68rem; line-height: 1.45; }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand { font-size: .92rem; }
  .brand-mark { width: 34px; }
  .header-actions { margin-left: auto; }
  .mobile-menu { inset-block-start: 94px; }
  .page-hero { padding: 42px 0 24px; }
  .page-hero h1 { font-size: clamp(2.4rem, 15vw, 4rem); }
  .page-hero .lead { font-size: 1rem; }
  .source-panel { box-shadow: 4px 5px 0 var(--accent-soft); }
  .section-heading { display: block; }
  .section-heading p { margin-top: 7px; }
  .card-grid, .card-grid.two, .card-grid.four, .gallery, .official-links { grid-template-columns: 1fr; }
  .major-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .major-tools, .major-card-grid, .course-list { grid-template-columns: 1fr; }
  .major-tools label:first-child { grid-column: auto; }
  .study-place-grid { grid-template-columns: 1fr; }
  .study-place-card { grid-template-columns: minmax(150px,.8fr) minmax(0,1.2fr); grid-template-rows: 1fr; }
  .study-place-media { min-height: 100%; aspect-ratio: auto; border-right: 1.6px solid var(--ink); border-bottom: 0; }
  .study-space-note { align-items: flex-start; }
  .card { padding: 18px; }
  .next-step { display: block; }
  .next-step .button { margin-top: 16px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding-bottom: 38px; }
  .mobile-bottom-nav { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 9px; display: grid; grid-template-columns: repeat(4,1fr); background: rgba(46,36,31,.96); color: white; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 6px; box-shadow: 0 10px 30px rgba(46,36,31,.35); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { min-width: 0; min-height: 48px; display: grid; place-items: center; gap: 0; border: 0; background: transparent; color: white; text-decoration: none; border-radius: 12px; font-size: .72rem; cursor: pointer; }
  .mobile-bottom-nav a[aria-current="page"], .mobile-bottom-nav button:hover { background: var(--primary); }
  .table-wrap { margin-inline: -2px; }
}

@media (max-width: 520px) {
  .study-place-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .study-place-media { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1.6px solid var(--ink); }
  .study-space-note { display: grid; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-notice, .mobile-bottom-nav, .button, .site-footer { display: none !important; }
  body { background: white; color: black; padding: 0; }
  .card, .source-panel { box-shadow: none; break-inside: avoid; }
}

/* 2026 新生大厅重设计 */
:root {
  --ink: #302621;
  --paper: #fbf6ed;
  --paper-deep: #f3e9dc;
  --card: #fffdf9;
  --primary: #8d2e3a;
  --primary-dark: #651c27;
  --accent: #d6a64e;
  --accent-soft: #f2d9a0;
  --success: #47724d;
  --warning: #a76125;
  --blue: #3b6c82;
  --muted: #75685f;
  --border: #dfd3c4;
  --shadow: 0 18px 44px rgba(74, 38, 35, .1);
  --radius: 20px;
  --container: 1220px;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(214,166,78,.1), transparent 24rem),
    linear-gradient(rgba(101,28,39,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101,28,39,.018) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.site-notice { padding-block: 6px; background: #681d28; letter-spacing: .04em; }
.site-header { background: rgba(251,246,237,.9); border-color: rgba(223,211,196,.78); }
.header-inner { min-height: 68px; }
.brand-mark { border: 0; box-shadow: inset 0 0 0 1px rgba(101,28,39,.18); background: #f2d9a0; }
.desktop-nav > a, .desktop-nav-group > a { padding-block: 8px; }
.desktop-nav > a:hover, .desktop-nav > a[aria-current="page"], .desktop-nav-group.active { background: #f1e5d7; }
.desktop-submenu { border: 1px solid var(--border); box-shadow: 0 16px 36px rgba(46,36,31,.14); }
.icon-button, .menu-button { border: 1px solid var(--border); box-shadow: none; }
.icon-button:hover, .menu-button:hover { transform: none; box-shadow: 0 8px 18px rgba(94,23,32,.1); }

.button { min-height: 44px; border: 0; border-radius: 13px; box-shadow: 0 7px 16px rgba(101,28,39,.18); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(101,28,39,.22); }
.button.secondary { border: 1px solid var(--border); background: white; box-shadow: none; }

.wechat-group-button, .mobile-wechat-entry {
  border: 0;
  color: white;
  background: linear-gradient(135deg, #08bd68, #079b5a);
  box-shadow: 0 8px 20px rgba(7,155,90,.25);
  cursor: pointer;
  font-weight: 900;
}
.wechat-group-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 13px;
  white-space: nowrap;
  font-size: .82rem;
}
.wechat-group-button:hover, .mobile-wechat-entry:hover {
  color: white;
  background: linear-gradient(135deg, #10ca74, #078b52);
  transform: translateY(-2px);
}
.wechat-button-icon, .mobile-wechat-entry > span {
  width: 30px;
  aspect-ratio: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #07894e;
  background: white;
  font-family: STKaiti, KaiTi, serif;
  font-size: 1rem;
  font-weight: 900;
}
.wechat-short-label, .mobile-wechat-entry { display: none; }

.page-hero { padding: 30px 0 20px; }
.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 24px;
  min-height: 300px;
  padding: 28px;
  align-items: stretch;
  border: 1px solid rgba(116,84,67,.13);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,253,249,.96), rgba(244,233,218,.88));
  box-shadow: var(--shadow);
}

.page-hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 6px 10px; }
.page-hero .hero-status { margin-top: 14px; }
.page-hero h1 { margin: 10px 0 10px; font-size: clamp(2.45rem, 5vw, 4.15rem); line-height: 1.02; }
.page-hero .lead { margin: 0; color: var(--muted); font-size: 1rem; }
.page-hero-photo { position: relative; min-height: 240px; margin: 0; overflow: hidden; border-radius: 20px; background: #ded2c3; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(38,27,24,.7)); }
.page-hero-photo figcaption { position: absolute; z-index: 2; right: 14px; bottom: 11px; color: rgba(255,255,255,.82); font-size: .68rem; }
.page-hero.text-only .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }

.source-disclosure-section { padding: 0 0 62px; }
.source-disclosure { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,253,249,.84); }
.source-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 17px; color: var(--primary-dark); cursor: pointer; font-weight: 900; }
.source-disclosure summary small { color: var(--muted); font-weight: 500; }
.source-disclosure-body { padding: 16px 18px 18px; border-top: 1px solid var(--border); }
.source-disclosure-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 7px 16px; margin: 14px 0 0; font-size: .84rem; }
.source-disclosure-body dt { color: var(--muted); }
.source-disclosure-body dd { margin: 0; font-weight: 700; }

.page-content { padding-bottom: 24px; }
.content-section { padding: 30px 0; }
.section-heading { align-items: center; }
.section-heading h2 { font-size: clamp(1.85rem, 3.5vw, 2.65rem); }
.card { border: 1px solid var(--border); box-shadow: 0 11px 28px rgba(68,43,34,.055); }
.card-link:hover .card { box-shadow: 0 16px 34px rgba(94,23,32,.1); }
.callout { border-left-width: 4px; }
.next-step { border: 0; box-shadow: 0 18px 38px rgba(94,23,32,.16); }
.compact-callout { padding-block: 14px; }

.campus-dashboard { display: grid; grid-template-columns: 1.4fr repeat(2, .8fr); gap: 14px; }
.campus-address-card { display: flex; flex-direction: column; justify-content: center; min-height: 128px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.campus-address-card.featured { min-height: 180px; color: white; background: linear-gradient(140deg, #3f6848, #25462f); }
.campus-address-card h2 { margin: 12px 0 2px; font-family: STKaiti, KaiTi, serif; font-size: 2rem; }
.campus-address-card p { margin: 0; }
.campus-address-card .muted { margin-top: 8px; color: rgba(255,255,255,.72); font-size: .82rem; }
.campus-address-card > strong { color: var(--primary-dark); font-size: 1.05rem; }
.campus-address-card > span { margin-top: 5px; color: var(--muted); font-size: .84rem; }

.life-entry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.life-entry-grid a { display: grid; min-height: 152px; align-content: center; justify-items: center; padding: 16px 10px; border: 1px solid var(--border); border-radius: 18px; color: var(--ink); background: var(--card); text-align: center; text-decoration: none; }
.life-entry-grid a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(94,23,32,.08); }
.life-entry-grid span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 9px; border-radius: 13px; color: var(--primary-dark); background: #f2e2cf; font-family: STKaiti, KaiTi, serif; font-size: 1.2rem; font-weight: 900; }
.life-entry-grid small { margin-top: 4px; color: var(--muted); }

.material-gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.material-gallery-item { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 17px; background: var(--card); }
.image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #e7ded2; cursor: zoom-in; }
.material-gallery-item .image-button { aspect-ratio: 4 / 3; }
.image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.image-button > span { position: absolute; right: 10px; bottom: 9px; padding: 4px 8px; border-radius: 999px; color: white; background: rgba(40,27,25,.68); font-size: .65rem; opacity: 0; transform: translateY(4px); transition: .18s ease; }
.image-button:hover img { transform: scale(1.035); }
.image-button:hover > span, .image-button:focus-visible > span { opacity: 1; transform: none; }
.material-gallery-item figcaption { padding: 12px 14px 14px; }
.material-gallery-item figcaption strong, .material-gallery-item figcaption small { display: block; }
.material-gallery-item figcaption small { margin-top: 3px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.campus-material-gallery .material-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.campus-material-gallery .material-gallery-item:first-child .image-button { aspect-ratio: auto; height: calc(100% - 73px); min-height: 430px; }
.food-material-gallery .material-gallery-item:nth-child(3n+1) .image-button { aspect-ratio: 1 / 1; }

.dorm-zone-shell { padding: 14px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,253,249,.78); }
.dorm-zone-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.dorm-zone-tabs button { min-height: 62px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); background: white; cursor: pointer; font-weight: 900; }
.dorm-zone-tabs button small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; }
.dorm-zone-tabs button[aria-selected="true"] { color: white; border-color: var(--primary-dark); background: var(--primary-dark); }
.dorm-zone-tabs button[aria-selected="true"] small { color: rgba(255,255,255,.72); }
.dorm-zone-note { display: flex; align-items: center; gap: 12px; min-height: 65px; margin: 10px 0 4px; padding: 10px 4px; }
.dorm-zone-note p { margin: 0; color: var(--muted); font-size: .86rem; }

.action-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.action-strip article { padding: 18px; border: 1px solid var(--border); border-radius: 17px; background: var(--card); }
.action-strip b { color: #cfbda9; font-size: 1.35rem; }
.action-strip strong, .action-strip span { display: block; }
.action-strip strong { margin-top: 12px; }
.action-strip span { margin-top: 3px; color: var(--muted); font-size: .78rem; }

.panel-tabs { padding: 14px; border: 1px solid var(--border); border-radius: 22px; background: var(--card); }
.panel-tab-list { display: flex; gap: 7px; padding: 6px; border-radius: 15px; background: var(--paper-deep); }
.panel-tab-list button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; font-weight: 900; }
.panel-tab-list button[aria-selected="true"] { color: white; background: var(--primary-dark); box-shadow: 0 8px 20px rgba(94,23,32,.18); }
.route-panel { min-height: 230px; padding: 25px 20px 16px; }
.route-panel h3 { margin: 12px 0 7px; font-size: 1.35rem; }
.route-panel ol { margin: 0; padding-left: 1.3rem; color: var(--muted); }
.route-panel li + li { margin-top: 9px; }

.food-info-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.food-info-card { min-height: 220px; padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--card); }
.food-info-card.accent { background: #f6ead5; }
.food-info-card h2 { margin: 14px 0 7px; font-family: STKaiti, KaiTi, serif; font-size: 2rem; }
.food-info-card p { color: var(--muted); }

.split-feature { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: 28px; align-items: center; }
.split-feature-media { min-height: 480px; overflow: hidden; border-radius: 22px; }
.split-feature-media .image-button, .split-feature-media img { height: 100%; }
.split-feature-media img { object-position: center; }
.lead-small { color: var(--muted); }
.service-list { display: grid; gap: 8px; margin-top: 20px; }
.service-list a, .service-list > div { display: grid; grid-template-columns: 8rem 1fr auto; gap: 12px; align-items: center; min-height: 64px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); background: var(--card); text-decoration: none; }
.service-list span { color: var(--muted); font-size: .82rem; }
.service-list em { color: var(--primary); font-style: normal; }
.service-list i { font-style: normal; }

.study-bento { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.study-bento-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.study-bento-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.study-bento-card .image-button { aspect-ratio: 16 / 10; }
.study-bento-card.wide .image-button { height: 100%; aspect-ratio: auto; }
.study-bento-card > div { padding: 21px; }
.study-bento-card h3 { margin: 10px 0 6px; }
.study-bento-card p { margin: 0 0 8px; color: var(--muted); }

.source-ledger { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.source-ledger article { padding: 19px; border: 1px solid var(--border); border-radius: 17px; background: var(--card); }
.source-ledger strong { display: block; color: var(--primary-dark); font-family: STKaiti, KaiTi, serif; font-size: 2.15rem; line-height: 1; }
.source-ledger span, .source-ledger small { display: block; }
.source-ledger span { margin-top: 10px; font-weight: 900; }
.source-ledger small { margin-top: 4px; color: var(--muted); }

.image-lightbox { width: min(1120px, calc(100% - 28px)); max-width: none; height: min(88vh, 900px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: white; background: #211b19; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.image-lightbox::backdrop { background: rgba(25,18,17,.86); backdrop-filter: blur(8px); }
.image-lightbox figure { display: grid; grid-template-rows: minmax(0,1fr) auto; width: 100%; height: 100%; margin: 0; padding: 24px 70px 18px; }
.image-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.image-lightbox figcaption { padding-top: 9px; color: rgba(255,255,255,.78); text-align: center; font-size: .85rem; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.12); cursor: pointer; }
.lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 1.5rem; }
.lightbox-nav { top: 50%; width: 46px; height: 58px; transform: translateY(-50%); font-size: 2rem; }
.lightbox-nav.previous { left: 12px; }
.lightbox-nav.next { right: 12px; }
.image-missing { position: relative; display: grid; place-items: center; min-height: 140px; background: var(--paper-deep); }
.image-missing-label { color: var(--muted); font-size: .8rem; }

.wechat-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: min(90dvh, 720px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 30px 90px rgba(20,45,31,.38);
}
.wechat-dialog::backdrop {
  background: rgba(24,32,27,.72);
  backdrop-filter: blur(7px);
}
.wechat-dialog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,350px);
  gap: clamp(28px, 4.5vw, 44px);
  align-items: center;
  padding: clamp(34px, 5vw, 46px) clamp(32px, 5vw, 48px);
  background:
    radial-gradient(circle at 102% -8%, rgba(7,193,96,.16), transparent 22rem),
    radial-gradient(circle at -8% 108%, rgba(203,156,54,.12), transparent 20rem),
    linear-gradient(145deg, #fffdfa, #f7f1e7);
}
.wechat-dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(42,70,54,.16);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 1.45rem;
}
.wechat-dialog-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #087e4b;
  background: #e5f8ed;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.wechat-dialog-tag::before {
  content: "";
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #07a85c;
  box-shadow: 0 0 0 4px rgba(7,168,92,.12);
}
.wechat-dialog-copy h2 {
  margin: 18px 0 13px;
  color: var(--primary-dark);
  font-size: clamp(2.15rem, 3.3vw, 2.85rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.16;
}
.wechat-dialog-copy h2 span { display: block; white-space: nowrap; }
.wechat-dialog-lead { max-width: 28rem; margin: 0; color: var(--muted); line-height: 1.7; }
.wechat-dialog-steps {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.wechat-dialog-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(54,67,59,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.7);
}
.wechat-dialog-steps b {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 12px;
  color: white;
  background: #0a9b58;
  font-size: .72rem;
  letter-spacing: .04em;
}
.wechat-dialog-steps strong,
.wechat-dialog-steps small { display: block; }
.wechat-dialog-steps strong { font-size: .92rem; }
.wechat-dialog-steps small { margin-top: 2px; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.wechat-qr-panel {
  margin: 0;
  padding: 18px 18px 14px;
  border: 1px solid rgba(7,168,92,.13);
  border-radius: 24px;
  text-align: center;
  background: rgba(236,250,241,.72);
}
.wechat-qr-crop {
  width: min(100%, 310px);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border: 10px solid white;
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 34px rgba(20,78,47,.14);
}
.wechat-qr-crop img {
  width: 108.864%;
  max-width: none;
  transform: translate(-4.175%, -22.615%);
}
.wechat-qr-panel figcaption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #087e4b;
  font-size: .78rem;
  font-weight: 900;
}
.wechat-qr-panel figcaption span {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #07c160;
  box-shadow: 0 0 0 4px rgba(7,193,96,.12);
}

@media (max-width: 1180px) {
  .wechat-full-label { display: none; }
  .wechat-short-label { display: inline; }
}

@media (max-width: 920px) {
  .mobile-menu { inset-block-start: 99px; border-bottom: 1px solid var(--border); }
  .mobile-wechat-entry {
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 9px;
    padding: 8px 13px;
    border-radius: 13px;
  }
  .page-hero-grid { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); min-height: 270px; padding: 22px; }
  .campus-dashboard { grid-template-columns: 1fr 1fr; }
  .campus-address-card.featured { grid-column: 1 / -1; }
  .material-gallery { grid-template-columns: repeat(3,1fr); }
  .life-entry-grid { grid-template-columns: repeat(5,1fr); }
  .source-ledger { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .mobile-menu { inset-block-start: 92px; padding: 12px 14px 20px; }
  .mobile-submenu { grid-template-columns: 1fr 1fr; }
  .wechat-group-button { min-height: 42px; padding: 6px 10px 6px 7px; }
  .wechat-button-icon { width: 28px; }
  .wechat-dialog { width: min(430px, calc(100% - 22px)); max-height: 90dvh; overflow-y: auto; border-radius: 22px; }
  .wechat-dialog-card { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 27px 18px 20px; text-align: center; }
  .wechat-dialog-tag { margin-inline: auto; }
  .wechat-dialog-copy h2 { margin: 13px 0 8px; font-size: clamp(1.8rem, 9vw, 2.35rem); line-height: 1.14; }
  .wechat-dialog-lead { max-width: 22rem; margin-inline: auto; font-size: .84rem; line-height: 1.6; }
  .wechat-dialog-steps { gap: 7px; margin-top: 15px; text-align: left; }
  .wechat-dialog-steps li { grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 8px 10px; border-radius: 13px; }
  .wechat-dialog-steps b { width: 34px; border-radius: 10px; }
  .wechat-qr-panel { width: min(100%, 310px); margin-inline: auto; padding: 12px 12px 10px; border-radius: 19px; }
  .wechat-qr-crop { width: min(66vw, 270px); border-width: 8px; border-radius: 16px; }
  .wechat-qr-panel figcaption { margin-top: 8px; }
  .page-hero { padding: 18px 0 14px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 15px; min-height: 0; padding: 16px; border-radius: 22px; }
  .page-hero-copy { padding: 6px 4px; }
  .page-hero h1 { margin-block: 9px; font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .page-hero .lead { font-size: .92rem; }
  .page-hero-photo { min-height: 190px; border-radius: 16px; }
  .page-hero-photo figcaption { font-size: .6rem; }
  .source-disclosure summary { align-items: flex-start; flex-direction: column; gap: 1px; }
  .source-disclosure-body dl { grid-template-columns: 1fr; gap: 2px; }
  .source-disclosure-body dd + dt { margin-top: 7px; }
  .content-section { padding: 23px 0; }
  .card-grid, .card-grid.two, .card-grid.four { gap: 11px; }
  .campus-dashboard, .food-info-grid, .split-feature { grid-template-columns: 1fr; }
  .campus-address-card.featured { grid-column: auto; }
  .life-entry-grid { grid-template-columns: repeat(2,1fr); }
  .life-entry-grid a:last-child { grid-column: 1 / -1; }
  .material-gallery { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .campus-material-gallery .material-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .campus-material-gallery .material-gallery-item:first-child .image-button { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .material-gallery-item figcaption { padding: 10px 11px 12px; }
  .material-gallery-item figcaption small { display: none; }
  .dorm-zone-tabs { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 5px; }
  .dorm-zone-tabs button { min-width: 0; padding: 8px 3px; font-size: .78rem; }
  .dorm-zone-note { align-items: flex-start; flex-direction: column; gap: 7px; }
  .action-strip { grid-template-columns: repeat(2,1fr); }
  .panel-tab-list { padding: 4px; }
  .panel-tab-list button { padding-inline: 5px; font-size: .8rem; }
  .route-panel { min-height: 280px; padding-inline: 12px; }
  .split-feature-media { min-height: 330px; }
  .service-list a, .service-list > div { grid-template-columns: 1fr auto; }
  .service-list span { grid-column: 1 / -1; grid-row: 2; }
  .study-bento { grid-template-columns: 1fr; }
  .study-bento-card.wide { grid-column: auto; display: block; }
  .study-bento-card.wide .image-button { height: auto; aspect-ratio: 16 / 10; }
  .source-ledger { grid-template-columns: repeat(2,1fr); }
  .image-lightbox { height: min(82vh, 720px); border-radius: 16px; }
  .image-lightbox figure { padding: 54px 14px 18px; }
  .lightbox-nav { top: auto; bottom: 14px; width: 42px; height: 42px; transform: none; }
  .lightbox-nav.previous { left: 14px; }
  .lightbox-nav.next { right: 14px; }
}

@media (max-width: 390px) {
  .header-actions { gap: 5px; }
  .wechat-group-button { padding-right: 8px; font-size: .75rem; }
  .action-strip, .source-ledger { grid-template-columns: 1fr; }
  .material-gallery { grid-template-columns: 1fr 1fr; }
}

/* 手机端界面节奏 */
@media (max-width: 680px) {
  body { padding-bottom: 78px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-notice {
    padding: 5px 10px;
    overflow: hidden;
    font-size: .61rem;
    letter-spacing: .015em;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .site-header { box-shadow: 0 6px 18px rgba(65,43,35,.06); }
  .header-inner { min-height: 58px; gap: 8px; }
  .brand { gap: 8px; font-size: .84rem; letter-spacing: .04em; }
  .brand-mark { width: 31px; font-size: 1rem; }
  .header-actions { gap: 6px; }
  .icon-button, .menu-button { min-width: 39px; height: 39px; }
  .wechat-group-button {
    min-height: 39px;
    padding: 5px 9px 5px 6px;
    border-radius: 12px;
    font-size: .72rem;
    box-shadow: 0 6px 15px rgba(7,155,90,.2);
  }
  .wechat-button-icon { width: 27px; }
  .mobile-menu {
    inset-block-start: 83px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 18px 35px rgba(46,36,31,.16);
  }
  .mobile-bottom-nav {
    left: 12px;
    right: 12px;
    bottom: 8px;
    gap: 3px;
    padding: 5px;
    border: 1px solid rgba(101,28,39,.11);
    border-radius: 20px;
    color: var(--ink);
    background: rgba(255,252,246,.95);
    box-shadow: 0 12px 34px rgba(46,36,31,.2);
    backdrop-filter: blur(16px);
  }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-height: 52px;
    grid-template-rows: 19px auto;
    align-content: center;
    color: var(--ink);
    border-radius: 15px;
    font-size: .65rem;
    font-weight: 800;
  }
  .mobile-bottom-nav a::before,
  .mobile-bottom-nav button::before {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
  }
  .mobile-bottom-nav a:nth-child(1)::before { content: "⌂"; }
  .mobile-bottom-nav a:nth-child(2)::before { content: "✓"; }
  .mobile-bottom-nav button::before { content: "⌕"; }
  .mobile-bottom-nav a:nth-child(4)::before { content: "☰"; }
  .mobile-bottom-nav a[aria-current="page"],
  .mobile-bottom-nav button:hover {
    color: white;
    background: linear-gradient(135deg, #7b202b, #5f1721);
  }
  .mobile-bottom-nav a[aria-current="page"]::before,
  .mobile-bottom-nav button:hover::before { color: #f2d28d; }
  .site-footer { padding-bottom: 32px; }
}

@media print {
  .page-hero-photo, .source-disclosure-section, .image-lightbox, .wechat-dialog, .wechat-group-button, .mobile-wechat-entry, .mobile-bottom-nav { display: none !important; }
  .page-hero-grid { display: block; min-height: 0; padding: 0; border: 0; box-shadow: none; }
}
