:root {
  color-scheme: light;
  --ink: #161622;
  --ink-soft: #4c4d62;
  --muted: #74768a;
  --paper: #f5f5f7;
  --paper-warm: #fffaf2;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --night: #14152b;
  --night-2: #232346;
  --pink: #ff6b8b;
  --pink-deep: #ec3f71;
  --lemon: #ffd166;
  --purple: #8a2be2;
  --mint: #00f5d4;
  --line: rgba(22, 22, 34, 0.12);
  --shadow: 0 24px 70px rgba(31, 30, 65, 0.18);
  --student-shadow: 0 30px 80px rgba(20, 21, 43, .16), 0 10px 28px rgba(255, 107, 139, .18);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: "Inter", "Montserrat", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 21, 43, .035) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(255, 107, 139, 0.18) 0, rgba(245, 245, 247, 0) 440px),
    linear-gradient(135deg, rgba(255, 209, 102, .16) 0 12%, rgba(245, 245, 247, 0) 12% 100%),
    var(--paper);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 21, 43, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 209, 102, .26), rgba(245, 245, 247, .9) 28%, rgba(255, 107, 139, .18)),
    rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  color: transparent;
  font-size: 0;
  border: 2px solid rgba(20, 21, 43, .13);
  background: #fff url("../img/favicon.ico") center / cover no-repeat;
  box-shadow: 0 8px 0 rgba(20, 21, 43, 0.08), 0 16px 34px rgba(255, 107, 139, 0.28);
}

.brand small {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--night);
  border: 1px solid rgba(20, 21, 43, .08);
  background: rgba(255, 209, 102, 0.42);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 -3px 0 rgba(255, 107, 139, .18);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--night);
  background: var(--lemon);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--panel-solid);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-open .nav-toggle span {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::before {
  opacity: 0;
}

.nav-open .nav-toggle span::after {
  transform: translateY(-2px) rotate(-90deg);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  background:
    linear-gradient(135deg, var(--purple) 0, var(--pink-deep) 62%, var(--pink) 100%);
  box-shadow: 0 14px 32px rgba(138, 43, 226, 0.28), 0 0 0 4px rgba(0, 245, 212, .08);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(236, 63, 113, 0.34);
}

.btn-secondary {
  color: var(--night);
  border: 1px solid rgba(20, 21, 43, 0.14);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 -3px 0 rgba(255, 209, 102, .4);
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 14px;
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  position: relative;
  min-height: calc(92svh - 72px);
  display: grid;
  align-items: center;
  padding: 36px 0 38px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 18px max(22px, calc((100vw - var(--max)) / 2)) auto auto;
  width: 235px;
  height: 88px;
  border: 2px solid rgba(255, 107, 139, .34);
  border-radius: var(--radius);
  transform: rotate(2deg);
  background:
    linear-gradient(90deg, rgba(255, 209, 102, .72), rgba(255, 107, 139, .28)),
    rgba(255, 255, 255, .55);
  box-shadow: 0 16px 40px rgba(255, 107, 139, .16);
  content: "";
}

.hero::after {
  position: absolute;
  left: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 16px;
  width: 180px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(20, 21, 43, .22);
  background:
    repeating-linear-gradient(90deg, rgba(20, 21, 43, .26) 0 5px, transparent 5px 12px),
    rgba(255, 255, 255, .48);
  opacity: .54;
  content: "";
}

.hero-grid {
  width: min(100%, var(--max));
  position: relative;
  display: block;
  min-height: 900px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-media {
  position: relative;
  z-index: 1;
  width: min(calc(100% + 144px), 1360px);
  margin: 0 -72px;
  min-height: 0;
  height: auto;
  border: 12px solid #fff;
  border-bottom-width: 54px;
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--student-shadow);
  background: #fff;
  isolation: isolate;
}

.hero-media picture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 790 / 451;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.hero-media::after {
  position: absolute;
  inset: 0 0 54px;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 21, 43, 0.84), rgba(20, 21, 43, 0.16) 46%, rgba(20, 21, 43, 0.74)),
    linear-gradient(180deg, transparent 55%, rgba(20, 21, 43, 0.84));
  content: "";
}

.hero-media::before {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  color: var(--muted);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0;
  content: "MINERVA BAY / SEASON 1";
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  border-radius: inherit;
}

.hero-copy {
  position: absolute;
  inset: auto 28px 82px;
  z-index: 2;
  width: min(620px, calc(100% - 540px));
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--night);
  border: 1px solid rgba(20, 21, 43, .12);
  background: linear-gradient(135deg, var(--lemon), #ffe49a);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(255, 107, 139, .24);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.hero h1 span,
.page-hero h1 span {
  display: block;
  color: var(--lemon);
}

.hero-lead,
.page-lead {
  width: min(100%, 720px);
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-card {
  position: absolute;
  top: 56px;
  right: 28px;
  z-index: 4;
  overflow: hidden;
  width: min(470px, calc(100% - 56px));
  height: auto;
  transform: scale(.9) rotate(1.35deg);
  transform-origin: top right;
  border: 1px solid rgba(20, 21, 43, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  background:
    linear-gradient(90deg, rgba(20, 21, 43, .28) 0 74px, transparent 74px 100%) left 0 top 0 / 100% 9px no-repeat,
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
    linear-gradient(135deg, rgba(255,107,139,.24), rgba(0,245,212,.16));
  box-shadow: var(--student-shadow);
}

.hero-card::before {
  position: absolute;
  left: 0;
  top: 36px;
  bottom: 36px;
  width: 9px;
  background: linear-gradient(180deg, var(--pink), var(--lemon), var(--mint));
  content: "";
}

.hero-card::after {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 86px;
  height: 86px;
  border: 14px solid rgba(138, 43, 226, .11);
  border-radius: 50%;
  content: "";
}

.student-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(20, 21, 43, 0.2);
}

.student-card-top strong {
  display: block;
  font-size: 24px;
  line-height: 1.22;
}

.student-card-top span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.card-badge {
  min-width: 78px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--night);
  background: linear-gradient(135deg, var(--mint), #62ffe8);
  font-weight: 1000;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 245, 212, .25);
}

.id-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.id-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(20, 21, 43, 0.08);
  padding-bottom: 9px;
  font-size: 14px;
}

.id-row span:first-child {
  color: var(--muted);
  font-weight: 800;
}

.id-row span:last-child {
  color: var(--night);
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.quick-chip {
  min-height: 82px;
  border: 1px solid rgba(20, 21, 43, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px;
  background: rgba(255, 250, 242, .88);
  box-shadow: inset 0 4px 0 rgba(255, 209, 102, .72);
}

.quick-chip strong {
  display: block;
  color: var(--night);
  font-size: 18px;
}

.quick-chip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.section {
  scroll-margin-top: 86px;
  padding: 76px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-dark {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .16) 0 1px, transparent 1px 36px) 0 0 / 36px 36px,
    linear-gradient(135deg, rgba(20, 21, 43, 0.98), rgba(35, 35, 70, 0.96) 72%, rgba(138, 43, 226, .74)),
    var(--night);
}

.section-warm {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .58), rgba(245, 245, 247, .96));
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .54), rgba(245, 245, 247, .96));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--mint);
}

h2,
.section-title {
  margin: 0;
  color: var(--night);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-dark h2,
.section-dark .section-title {
  color: #fff;
}

.section-desc {
  width: min(100%, 620px);
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admission-panel {
  position: relative;
  border: 1px solid rgba(20, 21, 43, .11);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 54px rgba(20, 21, 43, .08);
}

.admission-panel::before {
  display: none;
  content: "";
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .72fr);
  gap: 18px;
  align-items: stretch;
}

.intro-layout .summary-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(20, 21, 43, .96), rgba(35, 35, 70, .94) 64%, rgba(138, 43, 226, .72)),
    var(--night);
}

.intro-layout .summary-card::before {
  height: 7px;
  background: linear-gradient(90deg, var(--pink), var(--lemon), var(--mint));
}

.intro-layout .summary-card::after {
  display: none;
}

.intro-layout .info-table {
  min-height: 100%;
  box-shadow: 0 16px 44px rgba(20, 21, 43, .07);
}

.content-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-board .feature-card {
  min-height: 220px;
  padding: 22px;
  border-top: 5px solid var(--pink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
}

.content-board .feature-card:nth-child(2) {
  border-top-color: var(--lemon);
}

.content-board .feature-card:nth-child(3) {
  border-top-color: var(--mint);
}

.content-board .feature-card:nth-child(4) {
  border-top-color: var(--purple);
}

.content-board .feature-card:nth-child(5) {
  border-top-color: var(--pink);
}

.content-board .feature-card:nth-child(6) {
  border-top-color: var(--mint);
}

.content-board .feature-number {
  margin-bottom: 18px;
  color: #fff;
  background: var(--night);
  box-shadow: 0 10px 22px rgba(20, 21, 43, .14);
}

.section-gallery {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .12) 0 1px, transparent 1px 36px) 0 0 / 36px 36px,
    linear-gradient(135deg, rgba(20, 21, 43, .98), rgba(35, 35, 70, .96) 68%, rgba(138, 43, 226, .74)),
    var(--night);
}

.section-gallery h2 {
  color: #fff;
}

.section-gallery .section-kicker {
  color: var(--mint);
}

.section-gallery .section-desc {
  color: rgba(255, 255, 255, .78);
}

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

.scene-grid .media-card {
  margin: 0;
  border-width: 0;
  border-bottom-width: 0;
  transform: none;
  box-shadow: 0 22px 62px rgba(0, 0, 0, .28);
}

.scene-grid .media-card:nth-child(even) {
  transform: none;
}

.scene-grid .media-card::after {
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 21, 43, 0) 42%, rgba(20, 21, 43, .68));
}

.scene-grid .media-card img {
  aspect-ratio: 16 / 9;
}

.scene-grid .media-caption {
  top: 14px;
  bottom: auto;
  right: auto;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: #fff;
  background: rgba(20, 21, 43, .72);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .38);
}

.feature-list {
  counter-reset: feature;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-list .panel {
  position: relative;
  min-height: 150px;
  padding: 22px 22px 22px 78px;
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .08), transparent 42%),
    rgba(255, 255, 255, .92);
}

.feature-list .panel::before {
  counter-increment: feature;
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--night);
  background: var(--lemon);
  font-weight: 1000;
  content: counter(feature, decimal-leading-zero);
}

.feature-list .panel:nth-child(3n+2)::before {
  background: var(--mint);
}

.feature-list .panel:nth-child(3n)::before {
  color: #fff;
  background: var(--purple);
}

.resource-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-wall {
  align-items: stretch;
}

.story-log {
  position: relative;
  border: 1px solid rgba(20, 21, 43, .09);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .12) 0 2px, transparent 2px 100%) 0 0 / 100% 34px,
    rgba(255, 255, 255, .72);
}

.story-log .guide-step {
  margin-left: 10px;
}

.story-log .guide-step + .guide-step {
  margin-top: 12px;
}

.panel,
.feature-card,
.route-card,
.faq-item,
.timeline-item,
.index-card,
.article-card {
  border: 1px solid rgba(20, 21, 43, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
    var(--panel-solid);
  box-shadow: 0 14px 44px rgba(20, 21, 43, 0.07), inset 0 1px 0 rgba(255, 255, 255, .88);
}

.panel {
  padding: 24px;
}

.panel h3,
.feature-card h3,
.route-card h3,
.index-card h3,
.article-card h3 {
  margin: 0 0 10px;
  color: var(--night);
  font-size: 21px;
  line-height: 1.28;
}

.panel p,
.feature-card p,
.route-card p,
.index-card p,
.article-card p {
  margin: 0;
  color: var(--ink-soft);
}

.info-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-solid);
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row span {
  padding: 12px 15px;
}

.info-row span:first-child {
  color: var(--muted);
  background: rgba(255, 209, 102, 0.2);
  font-weight: 900;
}

.info-row span:last-child {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
}

.summary-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 32px 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 107, 139, 0.92) 0, rgba(138, 43, 226, 0.88) 62%, rgba(0,245,212,.52)),
    var(--purple);
  box-shadow: var(--shadow);
}

.summary-card::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 42px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .24) 0 16px, transparent 16px 24px),
    rgba(20, 21, 43, .16);
  content: "";
}

.summary-card::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 28px solid rgba(255, 209, 102, .42);
  border-radius: 50%;
  content: "";
}

.summary-card h2,
.summary-card h3,
.summary-card p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.summary-card p {
  margin: 12px 0 0;
}

.feature-card,
.route-card,
.index-card,
.article-card {
  overflow: hidden;
}

.feature-card {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .7) 0 7px, transparent 7px),
    linear-gradient(180deg, rgba(255, 250, 242, .96), rgba(255, 255, 255, .9));
}

.feature-card:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(255, 209, 102, .9) 0 7px, transparent 7px),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 245, 247, .9));
}

.feature-card:nth-child(3n) {
  background:
    linear-gradient(90deg, rgba(0, 245, 212, .7) 0 7px, transparent 7px),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 250, 242, .9));
}

.feature-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  color: var(--night);
  background: var(--lemon);
  font-weight: 1000;
}

.media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 9px solid #fff;
  border-bottom-width: 44px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--student-shadow);
  transform: rotate(-1deg);
}

.media-card:nth-child(even) {
  transform: rotate(1.2deg);
}

.media-card::after {
  position: absolute;
  inset: 0 0 44px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 21, 43, 0) 52%, rgba(20, 21, 43, .36));
  content: "";
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  padding: 0;
  color: var(--night);
  font-size: 13px;
  font-weight: 1000;
}

.route-card {
  display: grid;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 250, 242, .9));
}

.route-card picture img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.route-body {
  position: relative;
  padding: 18px;
}

.route-body::before {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  color: var(--night);
  background: var(--lemon);
  font-size: 12px;
  font-weight: 1000;
  content: "校园动态";
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(20, 21, 43, 0.11);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.chapter-board {
  display: grid;
  gap: 14px;
}

.chapter-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(0, 245, 212, .18), transparent 34%),
    rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.chapter-item strong {
  color: var(--lemon);
  font-size: 18px;
}

.chapter-item h3 {
  margin: 0 0 6px;
  color: #fff;
}

.chapter-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.guide-steps {
  counter-reset: guide;
  display: grid;
  gap: 14px;
}

.guide-step {
  position: relative;
  border-left: 0;
  border-radius: var(--radius);
  padding: 18px 18px 18px 74px;
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .18), transparent 44%),
    var(--panel-solid);
  box-shadow: 0 12px 34px rgba(20, 21, 43, 0.06);
}

.guide-step::before {
  counter-increment: guide;
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--night);
  background: var(--mint);
  font-weight: 1000;
  content: counter(guide);
}

.guide-step h3 {
  margin: 0 0 6px;
  color: var(--night);
}

.guide-step p {
  margin: 0;
  color: var(--ink-soft);
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
}

.timeline-date {
  color: var(--pink-deep);
  font-weight: 1000;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--night);
}

.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 16px 18px;
  color: var(--night);
  background: var(--panel-solid);
  font-weight: 1000;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: var(--lemon);
  content: "+";
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.index-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88));
}

.index-card .tag {
  align-self: flex-start;
  margin-bottom: 14px;
  color: var(--night);
  background: rgba(0, 245, 212, 0.32);
  box-shadow: inset 0 -2px 0 rgba(138, 43, 226, .18);
}

.index-card a {
  margin-top: auto;
  color: var(--purple);
  font-weight: 1000;
}

.resource-index .index-card {
  min-height: 188px;
  border-left: 5px solid var(--pink);
  padding: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 40px rgba(20, 21, 43, .06);
}

.resource-index .index-card:nth-child(3n+2) {
  border-left-color: var(--mint);
}

.resource-index .index-card:nth-child(3n) {
  border-left-color: var(--lemon);
}

.resource-index .index-card .tag {
  margin-bottom: 12px;
  background: rgba(255, 209, 102, .34);
}

.resource-index .index-card:nth-child(3n+2) .tag {
  background: rgba(0, 245, 212, .24);
}

.resource-index .index-card:nth-child(3n) .tag {
  background: rgba(255, 107, 139, .18);
}

.resource-index .index-card a {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 34px;
  margin-top: 16px;
  border-bottom: 2px solid rgba(138, 43, 226, .24);
  color: var(--night);
}

.links-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links-band a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.download-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 34px 30px;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 18px, transparent 18px 28px) left bottom / 100% 20px no-repeat,
    linear-gradient(135deg, rgba(20, 21, 43, 0.96), rgba(138, 43, 226, 0.82) 56%, rgba(255, 107, 139, .74)),
    var(--night);
  box-shadow: var(--shadow);
}

.download-band::after {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 92px;
  height: 92px;
  border-radius: var(--radius);
  border: 2px dashed rgba(0, 245, 212, .56);
  transform: rotate(4deg);
  content: "";
}

.download-band h2,
.download-band p {
  color: #fff;
}

.download-band p {
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 56px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 21, 43, .96), rgba(20, 21, 43, .74) 58%, rgba(255, 107, 139, .54)),
    var(--night);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: var(--page-hero-image, none) center / cover no-repeat;
  opacity: .28;
  content: "";
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--lemon) 0 38px, var(--pink) 38px 76px, var(--mint) 76px 114px, var(--purple) 114px 152px);
  opacity: .78;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.crumbs a {
  color: #fff;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  border: 1px solid rgba(0, 245, 212, 0.34);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.side-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.article-card {
  padding: 24px;
  border-top: 6px solid rgba(255, 209, 102, .78);
}

.article-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.article-card li + li {
  margin-top: 6px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.notice {
  border-left: 5px solid var(--mint);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--ink-soft);
  background:
    linear-gradient(90deg, rgba(0, 245, 212, 0.18), rgba(255, 255, 255, .8));
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(90deg, rgba(255, 107, 139, .14) 0 1px, transparent 1px 34px) 0 0 / 34px 34px,
    linear-gradient(135deg, var(--night), var(--night-2));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
  padding: 46px 22px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 22px 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 36px));
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #fff;
  background: rgba(20, 21, 43, .96);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 12px;
  color: #fff;
  background: var(--night);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

@media (max-width: 980px) {
  .hero-grid {
    display: grid;
    min-height: 0;
  }

  .hero-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: 100%;
    margin: 0;
  }

  .hero-media,
  .hero-card {
    height: auto;
  }

  .hero-media,
  .hero-media picture {
    min-height: 480px;
  }

  .hero-media img {
    min-height: 0;
  }

  .hero-copy {
    width: auto;
  }

  .hero-card {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    width: 100%;
    transform: none;
    order: 0;
  }

  .intro-layout {
    grid-template-columns: 1fr;
  }

  .content-board,
  .feature-list,
  .resource-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-strip,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 70px 12px auto;
    display: none;
    max-height: calc(100svh - 88px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(20, 21, 43, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-media,
  .hero-media picture {
    min-height: 430px;
  }

  .hero-media img {
    min-height: 0;
  }

  .hero-copy {
    inset: auto 18px 20px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero h1 span,
  .page-hero h1 span {
    font-size: .82em;
    line-height: 1.05;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .hero-lead,
  .page-lead {
    font-size: 16px;
  }

  .hero-card,
  .panel,
  .article-card,
  .summary-card,
  .download-band {
    padding: 20px;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .quick-strip,
  .scene-grid,
  .content-board,
  .feature-list,
  .resource-index {
    grid-template-columns: 1fr;
  }

  .feature-list .panel {
    min-height: auto;
    padding: 20px 20px 20px 68px;
  }

  .feature-list .panel::before {
    left: 20px;
    top: 22px;
  }

  .chapter-item,
  .timeline-item,
  .info-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .info-row span {
    padding: 10px 12px;
  }

  .guide-step {
    padding-left: 58px;
  }

  .site-footer .footer-links {
    grid-template-columns: 1fr;
  }
}

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