/* =========================================================
   华科大一新生模拟器 · HUST FRESHMAN SIM
   站点样式表
   ========================================================= */

:root {
  --ink: #0a111b;
  --ink-2: #0e1825;
  --ink-3: #132234;
  --line: rgba(236, 229, 214, 0.14);
  --line-strong: rgba(236, 229, 214, 0.28);
  --paper: #f2ede2;
  --paper-2: #e9e1d1;
  --paper-3: #faf6ec;
  --text: #101a24;
  --muted: #5f6873;
  --d-text: #ece5d6;
  --d-muted: rgba(236, 229, 214, 0.64);
  --blue: #1c5c9c;
  --blue-bright: #4d8fc9;
  --blue-deep: #0d2c4d;
  --amber: #e3a343;
  --amber-deep: #c8842a;
  --green: #5d9b7c;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --font-mono: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--d-text);
  background:
    radial-gradient(1000px 680px at 88% -12%, rgba(28, 92, 156, 0.38), transparent 62%),
    radial-gradient(760px 540px at -8% 34%, rgba(227, 163, 67, 0.1), transparent 60%),
    var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(236, 229, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 229, 214, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- 通用文本 ---------- */

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.kicker,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 700;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 17, 27, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 17, 27, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-stamp {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid rgba(227, 163, 67, 0.65);
  background: rgba(227, 163, 67, 0.09);
  transform: rotate(-3deg);
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-copy small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--d-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 13px;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--d-muted);
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--amber);
  transition: right 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--d-text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
}

/* ---------- 状态栏 HUD ---------- */

.hud {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hud-level {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--d-muted);
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.hud-level b {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.hud-items {
  display: flex;
  gap: 14px;
}

.hud-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 8px;
  width: 82px;
}

.hud-label {
  font-size: 10px;
  color: var(--d-muted);
  letter-spacing: 0.08em;
}

.hud-value {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-text);
}

.hud-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(236, 229, 214, 0.18) 0 5px, transparent 5px 7px);
}

.hud-bar i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--stat-color, var(--amber)) 0 5px, transparent 5px 7px);
  transition: width 0.8s var(--ease);
}

.hud-item[data-key="stamina"] {
  --stat-color: var(--amber);
}

.hud-item[data-key="study"] {
  --stat-color: #6ea8dc;
}

.hud-item[data-key="joy"] {
  --stat-color: #7ab795;
}

/* 大号状态卡 */
.hud--card {
  display: block;
}

.hud--card .hud-level {
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  border: 0;
  padding: 0 0 16px;
  font-size: 10px;
}

.hud--card .hud-level b {
  font-size: 13px;
}

.hud--card .hud-items {
  display: grid;
  gap: 15px;
}

.hud--card .hud-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
}

.hud--card .hud-label {
  width: 36px;
  font-size: 12px;
  color: var(--d-text);
}

.hud--card .hud-bar {
  flex: 1;
  height: 7px;
}

.hud--card .hud-value {
  width: 26px;
  text-align: right;
  font-size: 12px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #171008;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn span {
  font-family: var(--font-mono);
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: #f0b65c;
  transform: translateY(-2px);
}

.btn:hover span {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--d-text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(236, 229, 214, 0.08);
  border-color: var(--d-text);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn[disabled] {
  cursor: default;
  background: rgba(236, 229, 214, 0.14);
  border-color: transparent;
  color: var(--d-muted);
  transform: none;
}

.sheet .btn[disabled] {
  background: rgba(16, 26, 36, 0.12);
  color: var(--muted);
}

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) clamp(18px, 3vw, 36px) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.hero-watermark {
  position: absolute;
  top: -10px;
  right: 12px;
  z-index: -1;
  font-family: var(--font-mono);
  font-size: clamp(120px, 18vw, 250px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 229, 214, 0.07);
  user-select: none;
}

.hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-copy .kicker span {
  width: 30px;
  height: 1px;
  background: var(--amber);
}

.display {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(52px, 8.4vw, 116px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.display span {
  display: block;
}

.display em {
  display: block;
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  letter-spacing: 0.08em;
}

.lede {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.95;
  color: var(--d-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hint {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(236, 229, 214, 0.42);
}

/* 状态卡 */
.status-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(28, 92, 156, 0.26), rgba(10, 17, 27, 0.55) 62%),
    rgba(14, 24, 37, 0.78);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.status-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -110px;
  right: -80px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.13;
  filter: blur(10px);
}

.status-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--d-muted);
}

.status-head span:first-child {
  color: var(--d-text);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.status-grid > div {
  display: grid;
  gap: 2px;
}

.status-grid small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--d-muted);
}

.status-grid b {
  font-size: 12px;
  font-weight: 500;
  color: var(--d-text);
}

/* ---------- 滚动播报 ---------- */

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 24, 37, 0.42);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 11px 0 11px 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--d-muted);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "◆";
  font-size: 6px;
  color: var(--amber);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 首页模块 ---------- */

#modules {
  scroll-margin-top: 92px;
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) clamp(18px, 3vw, 36px) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  color: var(--paper);
}

.section-head p {
  margin: 0;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--d-muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  transition: transform 0.5s var(--ease), border-color 0.3s ease, box-shadow 0.5s ease;
}

.module-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.82);
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}

.module-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.34) 0%, rgba(6, 11, 18, 0.22) 38%, rgba(6, 11, 18, 0.94) 100%);
}

.module-card:hover {
  transform: translateY(-7px);
  border-color: rgba(227, 163, 67, 0.55);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.4);
}

.module-card:hover > img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.94);
}

.module-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.module-no {
  font-family: var(--font-mono);
  font-size: 36px;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 226, 0.7);
}

.module-en {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--paper);
  padding: 5px 9px;
  border: 1px solid rgba(242, 237, 226, 0.4);
  background: rgba(10, 17, 27, 0.28);
  backdrop-filter: blur(4px);
}

.module-body {
  position: relative;
}

.module-body h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.2;
  color: var(--paper);
}

.module-body p {
  margin: 10px 0 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(242, 237, 226, 0.72);
}

.module-meta {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.module-arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 237, 226, 0.5);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--paper);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.module-card:hover .module-arrow {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  transform: rotate(-45deg);
}

.done-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #b9dcc7;
}

.done-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ab795;
  box-shadow: 0 0 0 3px rgba(122, 183, 149, 0.16);
}

.module-card.is-done {
  border-color: rgba(122, 183, 149, 0.38);
}

/* ---------- 首页快捷信息 ---------- */

.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.quick article {
  padding: 24px;
  background: rgba(14, 24, 37, 0.9);
  transition: background 0.3s ease;
}

.quick article:hover {
  background: var(--ink-3);
}

.quick-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.quick h3 {
  margin: 10px 0 6px;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--paper);
}

.quick p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--d-muted);
}

/* ---------- 首页 CTA ---------- */

.cta {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: clamp(56px, 7vw, 88px) auto;
  padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  color: var(--text);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(28, 92, 156, 0.14), transparent 60%),
    var(--paper);
  border-radius: 22px;
  overflow: hidden;
}

.cta::after {
  content: "GUIDE";
  position: absolute;
  right: 22px;
  bottom: -26px;
  font-family: var(--font-mono);
  font-size: 104px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 26, 36, 0.09);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  margin: 10px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
}

.cta-copy p {
  margin: 0;
  max-width: 460px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.cta .btn {
  position: relative;
  z-index: 1;
}

/* ---------- 子页面 Hero ---------- */

.page-hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 66px) clamp(18px, 3vw, 36px) clamp(70px, 8vw, 104px);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(236, 229, 214, 0.48);
}

.crumb a {
  color: var(--d-muted);
  transition: color 0.25s ease;
}

.crumb a:hover {
  color: var(--amber);
}

.crumb i {
  font-style: normal;
  color: rgba(236, 229, 214, 0.24);
}

.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 26px;
}

.page-title h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(46px, 7.2vw, 94px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-title .lede {
  margin-top: 20px;
  max-width: 560px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--d-muted);
}

.chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
}

.big-index {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(86px, 14vw, 186px);
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 229, 214, 0.2);
  user-select: none;
}

/* ---------- 内容纸面 ---------- */

.sheet {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) clamp(18px, 3.4vw, 40px) clamp(40px, 5vw, 64px);
  border-radius: 26px;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(28, 92, 156, 0.07), transparent 65%),
    var(--paper);
  color: var(--text);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.3) inset;
}

.sheet-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.sheet h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
}

.sheet .lede-dark {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.side-note {
  padding: 20px 22px;
  border-left: 2px solid var(--ink);
  background: rgba(16, 26, 36, 0.035);
}

.side-note small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}

.side-note p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(16, 26, 36, 0.14);
}

/* ---------- 相册 ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: #fff;
}

.gallery--2 .shot,
.gallery--4 .shot {
  height: clamp(260px, 30vw, 400px);
}

.gallery--3 .shot:nth-child(1),
.gallery--3 .shot:nth-child(2) {
  height: clamp(270px, 32vw, 430px);
}

.gallery--3 .shot:nth-child(3) {
  height: clamp(210px, 24vw, 330px);
}

.gallery--2 .shot:nth-child(1),
.gallery--3 .shot:nth-child(1),
.gallery--4 .shot:nth-child(1),
.gallery--4 .shot:nth-child(4) {
  grid-column: span 7;
}

.gallery--2 .shot:nth-child(2),
.gallery--3 .shot:nth-child(2),
.gallery--4 .shot:nth-child(2),
.gallery--4 .shot:nth-child(3) {
  grid-column: span 5;
}

.gallery--3 .shot:nth-child(3) {
  grid-column: span 12;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s ease;
}

.shot:hover img {
  transform: scale(1.045);
  filter: brightness(0.92);
}

.shot-cap {
  position: absolute;
  inset: auto 0 0;
  display: block;
  padding: 44px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 14, 0.9));
  pointer-events: none;
}

.shot-cap .cap-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.shot-cap strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}

.shot-cap em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.shot-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  background: rgba(10, 17, 27, 0.28);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.shot:hover .shot-zoom,
.shot:focus-visible .shot-zoom {
  opacity: 1;
  transform: none;
}

/* ---------- 行动面板 ---------- */

.action-panel {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 46px;
  padding: 28px clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background:
    radial-gradient(340px 200px at 100% 0%, rgba(227, 163, 67, 0.2), transparent 70%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.action-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.action-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.action-panel h3 {
  margin: 8px 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.3;
}

.action-panel p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--d-muted);
}

.action-side {
  flex: none;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.action-state {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--d-muted);
}

.action-state.is-done {
  color: #9ed0b3;
}

/* ---------- 小贴士 ---------- */

.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 30px);
  margin-top: 18px;
}

.tip {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.tip-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
}

.tip h3 {
  margin: 8px 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.tip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 视频 ---------- */

.video-block {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: 22px;
}

.video-frame {
  position: relative;
  padding: 9px;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 22px 46px rgba(16, 26, 36, 0.22);
}

.video-frame video {
  display: block;
  width: 100%;
  max-height: 640px;
  border-radius: 8px;
  background: #000;
}

.video-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 17, 27, 0.72);
  border: 1px solid rgba(242, 237, 226, 0.28);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--paper);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.video-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d46a4a;
  box-shadow: 0 0 0 3px rgba(212, 106, 74, 0.18);
}

.video-side h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.25;
}

.video-side > p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.video-meta {
  margin: 22px 0 0;
  border-top: 1px solid rgba(16, 26, 36, 0.14);
}

.video-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(16, 26, 36, 0.1);
  font-size: 12px;
}

.video-meta dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.video-meta dd {
  margin: 0;
  font-weight: 600;
}

.video-aside {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 26, 36, 0.14);
}

.video-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--text);
}

.video-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.video-points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.video-points li span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
}

/* ---------- 页内翻页 ---------- */

.page-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 26, 36, 0.16);
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.page-nav a:hover {
  color: var(--text);
}

.page-nav a b {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-nav .next {
  margin-left: auto;
  text-align: right;
}

/* ---------- 新生手册 ---------- */

.guide-section {
  margin-top: clamp(40px, 5vw, 64px);
}

.guide-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}

.guide-head h2 {
  margin-top: 8px;
}

.guide-head p {
  margin: 0;
  max-width: 330px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  text-align: right;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 26, 36, 0.16);
  border-radius: 10px;
  background: var(--paper-3);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.check:hover {
  border-color: rgba(16, 26, 36, 0.4);
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  border: 1.5px solid rgba(16, 26, 36, 0.42);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}

.check span {
  font-size: 13px;
  transition: color 0.2s ease;
}

.check input:checked + span {
  color: rgba(16, 26, 36, 0.42);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.check small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.check-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.check-progress .bar {
  flex: 1;
  max-width: 280px;
  height: 5px;
  background: rgba(16, 26, 36, 0.14);
}

.check-progress .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.5s var(--ease);
}

/* 课表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(16, 26, 36, 0.14);
  border-radius: 12px;
  background: var(--paper-3);
}

.timetable {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 12px;
}

.timetable th,
.timetable td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(16, 26, 36, 0.1);
}

.timetable tr:last-child th,
.timetable tr:last-child td {
  border-bottom: 0;
}

.timetable th {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: rgba(16, 26, 36, 0.04);
  white-space: nowrap;
}

.timetable td:first-child {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.course {
  display: block;
  margin-bottom: 5px;
  padding-left: 9px;
  border-left: 2px solid var(--blue);
  line-height: 1.5;
}

.course:nth-child(even) {
  border-left-color: var(--amber-deep);
}

.course small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.table-note {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* 地标 */
.landmarks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
}

.landmark {
  padding: 18px 0 0 18px;
  border-left: 2px solid var(--ink);
}

.landmark small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
}

.landmark h3 {
  margin: 7px 0 6px;
  font-family: var(--font-serif);
  font-size: 20px;
}

.landmark p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid rgba(16, 26, 36, 0.14);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 2px 18px;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* 进度面板 */
.progress-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: clamp(44px, 5vw, 64px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(28, 92, 156, 0.32), transparent 70%),
    var(--ink);
  color: var(--paper);
}

.progress-panel .hud {
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}

.progress-panel .btn {
  flex: none;
}

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px clamp(18px, 3vw, 36px) 46px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: rgba(236, 229, 214, 0.44);
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--d-muted);
}

.site-footer .foot-right {
  text-align: right;
}

/* ---------- 灯箱 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 13, 0.92);
  backdrop-filter: blur(10px);
}

.lb-inner {
  position: relative;
  width: min(1080px, 94vw);
  display: grid;
  gap: 14px;
  z-index: 1;
}

.lb-img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 10px;
  background: #05080d;
}

.lb-cap {
  display: grid;
  gap: 3px;
  color: var(--paper);
}

.lb-count {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.lb-cap h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
}

.lb-cap p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--d-muted);
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 237, 226, 0.3);
  border-radius: 50%;
  background: rgba(10, 17, 27, 0.68);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.lb-close {
  top: -58px;
  right: 0;
}

.lb-prev {
  left: -8px;
  top: 42%;
}

.lb-next {
  right: -8px;
  top: 42%;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 220;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
  white-space: nowrap;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 进场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1120px) {
  .site-header {
    gap: 16px;
  }

  .hud-items {
    gap: 10px;
  }

  .hud-item {
    width: 70px;
  }

  .hud-level {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  }

  .module-card {
    min-height: 410px;
  }
}

@media (max-width: 960px) {
  .site-header .hud {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    justify-content: flex-end;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-watermark {
    display: none;
  }

  .status-card {
    max-width: 520px;
  }

  .module-grid {
    grid-template-columns: 1fr 1fr;
  }

  .module-card:nth-child(3) {
    grid-column: span 2;
    min-height: 340px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .video-block {
    grid-template-columns: minmax(220px, 300px) 1fr;
  }

  .quick,
  .tips,
  .landmarks {
    grid-template-columns: 1fr 1fr;
  }

  .quick article:last-child,
  .tips .tip:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 18px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 18px;
    font-size: 12px;
    padding-bottom: 2px;
  }

  .page-title-row {
    align-items: flex-start;
  }

  .big-index {
    font-size: 76px;
    opacity: 0.7;
  }

  .gallery--2 .shot:nth-child(1),
  .gallery--2 .shot:nth-child(2),
  .gallery--3 .shot:nth-child(1),
  .gallery--3 .shot:nth-child(2),
  .gallery--3 .shot:nth-child(3),
  .gallery--4 .shot:nth-child(1),
  .gallery--4 .shot:nth-child(2),
  .gallery--4 .shot:nth-child(3),
  .gallery--4 .shot:nth-child(4) {
    grid-column: span 12;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .action-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .action-side {
    width: 100%;
    justify-items: start;
  }

  .action-side .btn {
    width: 100%;
  }

  .video-block {
    grid-template-columns: 1fr;
  }

  .video-frame {
    max-width: 340px;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .guide-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-head p {
    text-align: left;
  }

  .progress-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .progress-panel .hud {
    width: 100%;
  }

  .lb-prev {
    left: 4px;
  }

  .lb-next {
    right: 4px;
  }

  .lb-close {
    top: -52px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 40px;
  }

  .display {
    font-size: clamp(46px, 13vw, 68px);
  }

  .hero-actions .btn {
    flex: 1;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card,
  .module-card:nth-child(3) {
    grid-column: auto;
    min-height: 380px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .quick,
  .tips,
  .landmarks {
    grid-template-columns: 1fr;
  }

  .quick article:last-child,
  .tips .tip:last-child {
    grid-column: auto;
  }

  .cta {
    border-radius: 18px;
  }

  .cta::after {
    display: none;
  }

  .page-title-row {
    display: block;
  }

  .big-index {
    margin-top: 16px;
    line-height: 0.9;
  }

  .site-footer {
    display: block;
  }

  .site-footer .foot-right {
    margin-top: 14px;
    text-align: left;
  }

  .toast {
    width: calc(100% - 40px);
    text-align: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
