:root {
  --bg: #F8F9FA;
  --mist: #ECEFF1;
  --line: #B0BEC5;
  --ink: #455A64;
  --muted: #455A64;
  --soft: rgba(144, 202, 249, 0.34);
  --pink: rgba(252, 228, 236, 0.72);
  --glass: rgba(248, 249, 250, 0.72);
  --shadow: 0 24px 70px rgba(69, 90, 100, 0.15);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(176, 190, 197, 0.28) 50%, transparent calc(50% + 1px)),
    radial-gradient(circle at 50% 0%, rgba(144, 202, 249, 0.12), transparent 34rem),
    var(--bg);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.72;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(176, 190, 197, 0.2) 42.1% 42.35%, transparent 42.5%),
    linear-gradient(68deg, transparent 0 57%, rgba(176, 190, 197, 0.16) 57.1% 57.35%, transparent 57.5%),
    repeating-linear-gradient(180deg, rgba(176, 190, 197, 0.14) 0 1px, transparent 1px 96px);
  transform: translateY(calc(var(--scroll-y, 0) * -0.05px));
  opacity: 0.66;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 249, 250, 0.9), transparent 18%, transparent 82%, rgba(248, 249, 250, 0.9)),
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 32%), rgba(252, 228, 236, 0.42), transparent 16rem);
  filter: blur(18px);
  opacity: 0.85;
  transition: background-position 0.25s ease;
}

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

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

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(176, 190, 197, 0.5);
  background: rgba(248, 249, 250, 0.76);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(69, 90, 100, 0.3);
  border-radius: 50%;
  background:
    url("../img/favicon.ico") center / 76% 76% no-repeat,
    linear-gradient(180deg, rgba(248, 249, 250, 0.95), rgba(236, 239, 241, 0.8));
  box-shadow: 0 8px 22px rgba(144, 202, 249, 0.18);
  flex: 0 0 auto;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(176, 190, 197, 0.7);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.68);
  color: var(--muted);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle {
  gap: 5px;
  flex-direction: column;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(144, 202, 249, 0.16);
  border-color: rgba(144, 202, 249, 0.42);
}

.nav-cta {
  border: 1px solid rgba(144, 202, 249, 0.62);
  background: rgba(144, 202, 249, 0.18);
  cursor: pointer;
}

.nav-cta:hover {
  background: rgba(144, 202, 249, 0.28);
}

.progress-line {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: var(--progress, 0%);
  z-index: 80;
  background: linear-gradient(90deg, rgba(144, 202, 249, 0), rgba(144, 202, 249, 0.86), rgba(252, 228, 236, 0.86));
}

.hero {
  position: relative;
  min-height: calc(96svh - 68px);
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid rgba(176, 190, 197, 0.35);
  background:
    linear-gradient(90deg, rgba(236, 239, 241, 0.42) 0 1px, transparent 1px calc(50% - 150px), rgba(176, 190, 197, 0.22) calc(50% - 150px) calc(50% - 149px), transparent calc(50% - 149px) calc(50% + 149px), rgba(176, 190, 197, 0.22) calc(50% + 149px) calc(50% + 150px), transparent calc(50% + 150px)),
    var(--bg);
}

.hero-media {
  position: absolute;
  top: clamp(86px, 12svh, 132px);
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: clamp(78px, 11vw, 118px);
  height: clamp(78px, 11vw, 118px);
  transform: translateX(-50%);
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: 999px;
  background: var(--mist);
  box-shadow: 0 28px 80px rgba(144, 202, 249, 0.16);
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 64% 56%;
  filter: saturate(0.64) contrast(0.82) brightness(1.18) blur(0.25px);
  opacity: 0.78;
  transform: scale(2.8);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, transparent 42%, rgba(248, 249, 250, 0.42) 78%),
    linear-gradient(180deg, rgba(248, 249, 250, 0.12), rgba(236, 239, 241, 0.5));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(210px, 28svh, 260px) 0 58px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.wake-line {
  color: rgba(69, 90, 100, 0.58);
  font-size: clamp(1.25rem, 2.8vw, 2.5rem);
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-copy {
  max-width: 780px;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(176, 190, 197, 0.62);
  border-radius: 999px;
  background: rgba(248, 249, 250, 0.58);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-lead,
.page-lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-lead {
  margin-right: auto;
  margin-left: auto;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.hero-actions {
  justify-content: center;
}

.btn,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
}

.btn {
  border: 1px solid rgba(69, 90, 100, 0.14);
  background: rgba(248, 249, 250, 0.78);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(69, 90, 100, 0.1);
  cursor: pointer;
}

.btn-primary {
  border-color: rgba(144, 202, 249, 0.72);
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.92), rgba(144, 202, 249, 0.26)),
    rgba(248, 249, 250, 0.64);
}

.btn:hover,
.text-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(69, 90, 100, 0.13);
}

.text-link {
  border: 1px solid rgba(176, 190, 197, 0.58);
  color: var(--muted);
  background: rgba(248, 249, 250, 0.52);
}

.hero-spec {
  width: min(880px, 100%);
  border: 1px solid rgba(176, 190, 197, 0.46);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(69, 90, 100, 0.08);
  overflow: hidden;
}

.hero-spec picture {
  display: none;
}

.hero-spec img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.92);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 16px;
  border-top: 0;
  border-left: 1px solid rgba(176, 190, 197, 0.28);
  text-align: left;
}

.spec-list div:first-child {
  border-left: 0;
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: rgba(236, 239, 241, 0.46);
}

.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section h2,
.page-section h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 40px;
  align-items: center;
}

.story-section {
  background:
    linear-gradient(90deg, rgba(176, 190, 197, 0.2) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(248, 249, 250, 0.94), rgba(236, 239, 241, 0.36));
  background-size: 160px 100%, auto;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.story-copy {
  padding-left: 22px;
  border-left: 2px solid rgba(144, 202, 249, 0.68);
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.story-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  min-height: 430px;
  border-block: 1px solid rgba(176, 190, 197, 0.56);
}

.story-scene {
  position: relative;
  min-height: 430px;
  margin: 0;
  border-inline: 1px solid rgba(176, 190, 197, 0.48);
  background: var(--mist);
  overflow: hidden;
}

.story-scene picture,
.story-scene img {
  width: 100%;
  height: 100%;
}

.story-scene img {
  object-fit: cover;
  filter: saturate(0.78) contrast(0.92) brightness(1.03);
}

.story-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.04), rgba(69, 90, 100, 0.28)),
    linear-gradient(90deg, rgba(248, 249, 250, 0.08), transparent 58%);
}

.story-scene figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 12px 14px;
  border: 1px solid rgba(248, 249, 250, 0.62);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.78);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.story-facts {
  display: grid;
  margin: 0;
  border-right: 1px solid rgba(176, 190, 197, 0.48);
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.72), rgba(236, 239, 241, 0.48));
}

.story-facts div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 18px;
  border-bottom: 1px solid rgba(176, 190, 197, 0.42);
}

.story-facts div:last-child {
  border-bottom: 0;
}

.story-facts dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.story-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

.route-map-card {
  display: grid;
  grid-template-rows: minmax(310px, 1fr) auto;
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.52);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.route-map-card figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  background: var(--mist);
  overflow: hidden;
}

.route-map-card picture,
.route-map-card img {
  width: 100%;
  height: 100%;
}

.route-map-card img {
  object-fit: cover;
  filter: saturate(0.74) contrast(0.94) brightness(1.02);
}

.route-map-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.02), rgba(69, 90, 100, 0.28)),
    linear-gradient(90deg, rgba(144, 202, 249, 0.1), transparent 52%);
}

.route-map-card figcaption {
  position: relative;
  z-index: 1;
  margin: -58px 16px 16px;
  padding: 11px 13px;
  border: 1px solid rgba(248, 249, 250, 0.58);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.78);
  color: var(--ink);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

.route-hint {
  padding: 22px;
  border-top: 1px solid rgba(176, 190, 197, 0.42);
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.72), rgba(236, 239, 241, 0.54));
}

.route-hint span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.route-hint h3,
.route-step h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.35;
}

.route-hint p,
.route-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.route-content {
  display: grid;
  align-content: start;
}

.route-titlebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.route-titlebar + .section-copy {
  max-width: none;
}

.route-track {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.route-track::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 1px;
  background: linear-gradient(180deg, rgba(144, 202, 249, 0.76), rgba(176, 190, 197, 0.2));
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: auto;
  padding: 18px;
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.62);
  box-shadow: 0 14px 32px rgba(69, 90, 100, 0.07);
}

.route-index {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(144, 202, 249, 0.72);
  border-radius: 50%;
  background: rgba(248, 249, 250, 0.96);
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(144, 202, 249, 0.16);
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.feature-visual {
  display: grid;
  gap: 14px;
}

.feature-primary,
.feature-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: var(--mist);
}

.feature-primary {
  min-height: 420px;
}

.feature-primary picture,
.feature-primary img,
.feature-strip picture,
.feature-strip img {
  width: 100%;
  height: 100%;
}

.feature-primary img,
.feature-strip img {
  object-fit: cover;
  filter: saturate(0.8) contrast(0.92);
}

.feature-primary figcaption,
.feature-strip figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 249, 250, 0.58);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.76);
  color: var(--ink);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

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

.feature-strip figure {
  min-height: 180px;
}

.feature-copy {
  padding-left: 24px;
  border-left: 1px solid rgba(176, 190, 197, 0.5);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(176, 190, 197, 0.44);
}

.feature-list span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(144, 202, 249, 0.62);
  border-radius: 50%;
  background: rgba(144, 202, 249, 0.14);
  color: var(--muted);
  font-weight: 850;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.feature-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chapter-layout {
  align-items: start;
  gap: 28px;
}

.chapter-layout > * {
  min-width: 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.spotlight-card {
  padding: 18px;
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.66);
  box-shadow: 0 16px 34px rgba(69, 90, 100, 0.08);
  min-height: 150px;
}

.spotlight-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.spotlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.image-frame {
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.6);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.caption {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(176, 190, 197, 0.32);
}

.summary-band {
  border-block: 1px solid rgba(176, 190, 197, 0.4);
  background: linear-gradient(90deg, rgba(248, 249, 250, 0.68), rgba(144, 202, 249, 0.12), rgba(248, 249, 250, 0.76));
}

.summary-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.summary-label {
  color: var(--muted);
  font-weight: 800;
}

.summary-text {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.door-grid,
.feature-grid,
.guide-grid,
.gallery-grid,
.topic-grid,
.faq-grid,
.link-grid {
  display: grid;
  gap: 16px;
}

.door-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.door-panel,
.feature-card,
.guide-card,
.index-link,
.faq-item,
.record-item,
.link-grid a,
.info-row {
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.58);
  box-shadow: 0 16px 34px rgba(69, 90, 100, 0.08);
}

.door-panel {
  min-height: 210px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.door-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(176, 190, 197, 0.5);
  opacity: 0.7;
}

.door-panel:hover {
  transform: translateY(-4px);
  background: rgba(248, 249, 250, 0.8);
  border-color: rgba(144, 202, 249, 0.8);
}

.door-panel h3,
.feature-card h3,
.guide-card h3,
.index-link h3,
.record-item h3,
.faq-item h3 {
  position: relative;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.door-panel p,
.feature-card p,
.guide-card p,
.index-link p,
.record-item p,
.faq-item p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 26px;
}

.topic-card {
  min-height: 140px;
}

.feature-card,
.guide-card,
.index-link,
.record-item {
  padding: 20px;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.guide-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.step-no {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(144, 202, 249, 0.62);
  border-radius: 50%;
  background: rgba(144, 202, 249, 0.16);
  color: var(--muted);
  font-weight: 800;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  min-height: 240px;
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.92);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 12px 12px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 249, 250, 0.56);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.74);
  color: var(--ink);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

.feature-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
}

.feature-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-auto-rows: clamp(176px, 18vw, 226px);
  gap: 14px;
}

.feature-mosaic .gallery-item {
  min-height: 0;
  height: 100%;
}

.feature-mosaic .gallery-item img {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
}

.feature-mosaic .gallery-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.feature-mosaic .gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.feature-mosaic .gallery-item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.index-link {
  display: block;
  min-height: 176px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.index-link:hover {
  transform: translateY(-3px);
  border-color: rgba(144, 202, 249, 0.78);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.record-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
}

.record-date {
  color: var(--muted);
  font-weight: 800;
}

.faq-grid {
  margin-top: 28px;
}

.faq-item {
  overflow: hidden;
}

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

.faq-question::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(176, 190, 197, 0.7);
  border-radius: 50%;
  color: var(--muted);
}

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

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

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

.link-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 22px;
}

.link-grid a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--muted);
  text-align: center;
}

.page-hero {
  padding: 84px 0 58px;
  border-bottom: 1px solid rgba(176, 190, 197, 0.36);
  background:
    linear-gradient(180deg, rgba(236, 239, 241, 0.52), rgba(248, 249, 250, 0.9)),
    radial-gradient(circle at 74% 18%, rgba(252, 228, 236, 0.66), transparent 22rem);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  max-width: 930px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  border-bottom: 1px solid rgba(69, 90, 100, 0.24);
}

.page-section {
  padding: 64px 0;
}

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

.side-note {
  position: sticky;
  top: 92px;
  padding: 20px;
  border: 1px solid rgba(176, 190, 197, 0.48);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.62);
  color: var(--muted);
}

.info-table {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 16px;
}

.info-row dt {
  color: var(--muted);
  font-weight: 750;
}

.info-row dd {
  margin: 0;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0 18px;
  padding: 0;
  color: var(--muted);
}

.plain-list li {
  padding-left: 4px;
}

.site-footer {
  border-top: 1px solid rgba(176, 190, 197, 0.4);
  padding: 34px 0;
  background: rgba(236, 239, 241, 0.52);
  color: var(--muted);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  border-bottom: 1px solid rgba(69, 90, 100, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

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

.game-download-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(69, 90, 100, 0.36);
  backdrop-filter: blur(14px);
}

.game-download-modal-content {
  width: min(460px, 100%);
  border: 1px solid rgba(144, 202, 249, 0.72);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.game-download-modal-header,
.game-download-modal-body,
.game-download-modal-footer {
  padding: 18px;
}

.game-download-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(176, 190, 197, 0.4);
}

.game-download-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.game-download-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(176, 190, 197, 0.5);
  border-radius: 50%;
  background: rgba(248, 249, 250, 0.66);
  color: var(--muted);
  cursor: pointer;
}

.game-download-modal-body {
  color: var(--muted);
}

.game-download-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(176, 190, 197, 0.34);
}

.game-download-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(176, 190, 197, 0.58);
  background: rgba(248, 249, 250, 0.7);
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}

.game-download-btn-primary {
  border-color: rgba(144, 202, 249, 0.74);
  background: rgba(144, 202, 249, 0.22);
  color: var(--ink);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  max-width: min(380px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(176, 190, 197, 0.6);
  border-radius: var(--radius);
  background: rgba(248, 249, 250, 0.92);
  color: var(--muted);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .story-layout,
  .story-board,
  .route-layout,
  .feature-showcase,
  .page-grid,
  .summary-box {
    grid-template-columns: 1fr;
  }

  .story-copy,
  .feature-copy {
    padding-left: 0;
    border-left: 0;
  }

  .story-copy {
    padding-top: 18px;
    border-top: 2px solid rgba(144, 202, 249, 0.68);
  }

  .feature-copy {
    padding-top: 22px;
    border-top: 1px solid rgba(176, 190, 197, 0.5);
  }

  .story-board {
    min-height: 0;
  }

  .chapter-layout,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .hero-spec,
  .side-note {
    position: static;
  }

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

  .feature-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }

  .feature-mosaic .gallery-item:nth-child(1),
  .feature-mosaic .gallery-item:nth-child(2),
  .feature-mosaic .gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-mosaic .gallery-item {
    height: 220px;
    min-height: 220px;
  }

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

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

  .nav-links {
    position: absolute;
    inset: 68px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(176, 190, 197, 0.52);
    border-radius: var(--radius);
    background: rgba(248, 249, 250, 0.94);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 60px 0 48px;
    gap: 28px;
  }

  .section,
  .page-section {
    padding: 54px 0;
  }

  .door-grid,
  .feature-grid,
  .guide-grid,
  .gallery-grid,
  .spotlight-grid,
  .feature-strip,
  .index-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .story-section,
  .route-section,
  .feature-section {
    padding: 58px 0;
  }

  .story-scene,
  .feature-primary {
    min-height: 300px;
  }

  .story-facts div {
    padding: 16px;
  }

  .route-map-card figure {
    min-height: 270px;
  }

  .route-track::before {
    left: 23px;
  }

  .route-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding: 16px;
  }

  .route-index {
    width: 48px;
    height: 48px;
  }

  .feature-strip figure {
    min-height: 210px;
  }

  .feature-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
  }

  .feature-list span {
    width: 36px;
    height: 36px;
  }

  .guide-card,
  .record-item,
  .info-row,
  .spec-list div {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .spec-list div {
    border-left: 0;
    border-top: 1px solid rgba(176, 190, 197, 0.28);
  }

  .spec-list div:first-child {
    border-top: 0;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 210px;
  }

  .footer-inner,
  .game-download-modal-footer {
    flex-direction: column;
  }

  .game-download-btn {
    width: 100%;
  }
}

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

/* Managed news and download confirmation additions. Existing site styles remain unchanged. */
.my-news-home,
.my-news-page {
  --my-news-surface: rgba(255, 255, 255, 0.82);
  --my-news-text: var(--ink, #455a64);
  --my-news-muted: var(--muted, #607d8b);
  --my-news-accent: #547aa5;
  --my-news-line: var(--line, rgba(69, 90, 100, 0.24));
}

.my-news-home {
  width: 100%;
  color: var(--my-news-text);
  padding: 24px 16px 40px;
}

.my-news-home .my-news-shell,
.my-news-page .my-news-shell {
  width: min(var(--site-width, var(--max, 1180px)), calc(100% - 0px));
  margin: 0 auto;
}

.my-news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--my-news-line);
}

.my-news-kicker {
  margin: 0 0 2px;
  color: var(--my-news-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.my-news-heading h2,
.my-news-page h1,
.my-news-page h2,
.my-news-card h2,
.my-news-card h3 {
  color: var(--my-news-text);
}

.my-news-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.25;
}

.my-news-all-link,
.my-news-card a,
.my-news-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: var(--my-news-text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--my-news-accent);
}

.my-news-all-link:hover,
.my-news-card a:hover,
.my-news-back:hover { color: var(--my-news-accent); }

.my-news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.my-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 196px;
  padding: 20px;
  color: var(--my-news-text);
  background: var(--my-news-surface);
  border: 1px solid var(--my-news-line);
  border-radius: var(--radius, 8px);
  box-shadow: var(--shadow, 0 14px 36px rgba(0, 0, 0, 0.16));
}

.my-news-card h2,
.my-news-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.my-news-card time { display: block; margin: 10px 0 0; color: var(--my-news-muted); font-size: 0.86rem; }
.my-news-card p { margin: 10px 0 16px; color: var(--my-news-muted); }
.my-news-card a { margin-top: auto; }
.my-news-empty { grid-column: 1 / -1; margin: 0; padding: 20px; color: var(--my-news-muted); background: var(--my-news-surface); border: 1px dashed var(--my-news-line); border-radius: var(--radius, 8px); }

.my-news-page { min-height: 100vh; padding: 44px 16px 64px; }
.my-news-page .my-news-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--my-news-muted); }
.my-news-page .my-news-brand { margin: 0; color: var(--my-news-muted); font-size: 0.93rem; }
.my-news-page .my-news-intro { max-width: 760px; margin: 0 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-detail { max-width: 820px; padding: clamp(22px, 5vw, 44px); color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 14px 36px rgba(0, 0, 0, 0.16)); }
.my-news-page .my-news-detail h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.22; }
.my-news-page .my-news-detail time { display: block; margin: 16px 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-summary { margin: 0 0 20px; color: var(--my-news-muted); font-size: 1.05rem; }
.my-news-page .my-news-content { margin: 0; color: var(--my-news-text); white-space: pre-wrap; }
.my-news-page .my-news-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.download-confirm-backdrop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; background: rgba(0, 0, 0, 0.62); }
.download-confirm-panel { width: min(460px, 100%); padding: 24px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 24px 70px rgba(0, 0, 0, 0.35)); }
.download-confirm-panel h2 { margin: 0 0 10px; color: var(--my-news-text); font-size: 1.3rem; }
.download-confirm-panel p { margin: 0; color: var(--my-news-muted); }
.download-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download-confirm-actions button { min-height: 40px; padding: 0 16px; font: inherit; font-weight: 700; color: var(--my-news-text); background: transparent; border: 1px solid var(--my-news-line); border-radius: 6px; cursor: pointer; }
.download-confirm-actions .download-confirm-primary { color: #1b140c; background: var(--my-news-accent); border-color: var(--my-news-accent); }

@media (max-width: 640px) {
  .my-news-home { padding-inline: 12px; }
  .my-news-heading { align-items: flex-start; flex-direction: column; }
  .my-news-page { padding: 26px 12px 44px; }
  .my-news-page .my-news-topbar { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .my-news-card { min-height: 0; }
}
