:root {
  --paper: #fffdf9;
  --paper-deep: #f8f0e8;
  --ink: #2d3140;
  --muted: #606778;
  --pink: #ffb7c5;
  --pink-deep: #df718a;
  --sky: #4a90e2;
  --mint: #a3e4d7;
  --vermilion: #d35400;
  --line: rgba(65, 73, 91, 0.14);
  --glass: rgba(255, 253, 249, 0.78);
  --shadow: 0 18px 55px rgba(66, 54, 80, 0.12);
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.48;
  background-image: radial-gradient(
    rgba(211, 84, 0, 0.08) 0.75px,
    transparent 0.75px
  );
  background-size: 18px 18px;
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 200;
  padding: 8px 14px;
  color: #fff;
  background: var(--vermilion);
  border-radius: 4px;
}
.skip-link:focus {
  top: 14px;
}
.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--vermilion);
  border-radius: 50%;
  color: var(--vermilion);
  background: #fff8f3;
  font-size: 20px;
  line-height: 1;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 8px 8px;
  border-radius: 4px;
  color: #495264;
  font-size: 14px;
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: var(--vermilion);
  background: rgba(255, 183, 197, 0.28);
  outline: none;
}
@media (min-width: 761px) {
  .nav-wrap nav {
    flex: 1;
    min-width: 0;
  }
  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 68px));
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: #293a4b;
  overflow: hidden;
}
.hero-media,
.hero-media::after {
  position: absolute;
  z-index: -1;
  inset: 0;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: contain;
  object-position: center;
}
.hero-media::after {
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(25, 33, 49, 0.88) 0%,
      rgba(40, 46, 64, 0.61) 42%,
      rgba(35, 38, 57, 0.08) 78%
    ),
    linear-gradient(0deg, rgba(25, 30, 45, 0.64), transparent 55%);
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 7%;
  content: "千恋＊万花";
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--serif);
  font-size: clamp(42px, 9vw, 130px);
  white-space: nowrap;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
}
.hero-content {
  width: min(700px, 100%);
  margin-inline: max(20px, calc((100% - 1140px) / 2)) auto;
  padding: 100px 0 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #ffdde4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
.hero h1 {
  max-width: 640px;
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 20px rgba(15, 17, 25, 0.32);
}
.hero-lead {
  max-width: 500px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
  text-shadow: 0 2px 8px rgba(9, 13, 23, 0.8);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}
.hero-meta span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(18, 28, 43, 0.22);
  font-size: 13px;
}
.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #fff;
  background: var(--vermilion);
  box-shadow: 0 9px 22px rgba(160, 63, 10, 0.25);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  background: #b94300;
  box-shadow: 0 12px 27px rgba(160, 63, 10, 0.3);
  outline: none;
}
.button::before {
  content: "↓";
  font-size: 20px;
  line-height: 1;
}
.button-quiet {
  color: #3a4252;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}
.button-quiet::before {
  content: "↘";
  color: var(--vermilion);
}
.button-quiet:hover,
.button-quiet:focus-visible {
  color: #202633;
  background: #fff;
}
.hero-scroll {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  width: 1px;
  height: 43px;
  content: "";
  background: currentColor;
  opacity: 0.7;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #313b50;
}
.page-hero .hero-media img {
  animation: none;
  object-position: center 40%;
}
.page-hero .hero-media::after {
  background:
    linear-gradient(90deg, rgba(25, 33, 49, 0.86), rgba(25, 33, 49, 0.38)),
    linear-gradient(0deg, rgba(25, 33, 49, 0.67), transparent);
}
.page-hero .hero-content {
  padding: 86px 0 46px;
}
.page-hero h1 {
  margin: 0 0 12px;
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(35px, 5.2vw, 58px);
}
.page-hero p:last-child {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}
.breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
  opacity: 0.65;
}

.quick-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: -1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}
.quick-facts > div {
  padding: 17px 20px;
  background: rgba(255, 253, 249, 0.97);
}
.quick-facts strong,
.quick-facts span {
  display: block;
}
.quick-facts strong {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.quick-facts span {
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}
.section-tint {
  background: linear-gradient(
    120deg,
    rgba(255, 183, 197, 0.15),
    rgba(163, 228, 215, 0.16)
  );
}
.section-sky {
  background: #eff8ff;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: 0.02em;
}
.section-heading p {
  max-width: 595px;
  margin: 0;
  color: var(--muted);
}
.kicker {
  margin-bottom: 7px;
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}
.prose > * + * {
  margin-top: 18px;
}
.prose p {
  margin-bottom: 0;
  color: #444b5b;
}
.prose h2,
.prose h3 {
  font-family: var(--serif);
}
.prose h2 {
  margin-top: 46px;
  font-size: 30px;
}
.prose h3 {
  margin-top: 31px;
  margin-bottom: 8px;
  color: #343b4d;
  font-size: 22px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  color: #444b5b;
}
.prose li + li {
  margin-top: 7px;
}
.feature-media {
  position: relative;
  min-width: 0;
  margin: 0;
}
.feature-media::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 58%;
  height: 58%;
  content: "";
  border: 2px solid var(--pink);
}
.feature-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 4px;
  box-shadow: var(--shadow);
  object-fit: contain;
}
.media-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.art-gallery {
  margin-top: clamp(52px, 7vw, 82px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.gallery-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
}
.gallery-heading p:last-child {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.art-card {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(74, 144, 226, 0.16);
  border-radius: 4px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 10px 26px rgba(45, 49, 64, 0.06);
  backdrop-filter: blur(8px);
}
.art-card picture,
.art-card img {
  display: block;
  width: 100%;
}
.art-card img {
  height: auto;
  border-radius: 2px;
  object-fit: contain;
}
.art-card figcaption {
  padding: 9px 2px 1px;
  color: #495264;
  font-size: 13px;
  line-height: 1.5;
}
.fact-box {
  margin-top: 23px;
  padding: 21px 23px;
  border-left: 4px solid var(--sky);
  background: #f0f8ff;
}
.fact-box strong {
  display: block;
  margin-bottom: 5px;
}
.fact-box p {
  margin: 0;
  color: #425368;
  font-size: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.route-card {
  min-height: 225px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 8px 25px rgba(64, 58, 75, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.route-card:nth-child(2) {
  background: rgba(240, 248, 255, 0.9);
}
.route-card:nth-child(3) {
  background: rgba(239, 251, 246, 0.92);
}
.route-card:nth-child(4) {
  background: rgba(255, 244, 230, 0.9);
}
.route-card:nth-child(5) {
  background: rgba(255, 242, 246, 0.9);
}
.route-card:nth-child(6) {
  background: rgba(246, 242, 255, 0.93);
}
.route-num {
  color: var(--vermilion);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.route-card h3 {
  margin: 7px 0 9px;
  font-family: var(--serif);
  font-size: 23px;
}
.route-card p {
  margin: 0;
  color: #525a69;
  font-size: 14px;
  line-height: 1.75;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.index-card {
  display: flex;
  min-height: 172px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 249, 0.86);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.index-card:hover,
.index-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pink-deep);
  outline: none;
}
.index-card .index-no {
  color: var(--vermilion);
  font-family: var(--serif);
  font-weight: 800;
}
.index-card h3 {
  margin: 18px 0 3px;
  font-family: var(--serif);
  font-size: 20px;
}
.index-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.index-card .arrow {
  margin-top: 9px;
  color: var(--sky);
  font-size: 20px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 5px;
  border-top: 2px solid var(--mint);
}
.step {
  position: relative;
  padding: 25px 24px 15px 0;
}
.step + .step {
  padding-left: 24px;
}
.step + .step::before {
  position: absolute;
  left: 0;
  top: 22px;
  width: 1px;
  height: 75%;
  content: "";
  background: var(--line);
}
.step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--sky);
  font-size: 14px;
}
.step h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 20px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.highlight {
  position: relative;
  padding: clamp(29px, 5vw, 60px);
  border: 1px solid rgba(211, 84, 0, 0.25);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.93),
    rgba(255, 246, 242, 0.9)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
}
.highlight::after {
  position: absolute;
  right: -30px;
  bottom: -65px;
  content: "花";
  color: rgba(255, 183, 197, 0.45);
  font-family: var(--serif);
  font-size: 220px;
  line-height: 1;
}
.highlight > * {
  position: relative;
  z-index: 1;
}
.highlight h2 {
  max-width: 620px;
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 43px);
}
.highlight p {
  max-width: 690px;
  margin-bottom: 24px;
  color: #4b5261;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  position: absolute;
  left: 97px;
  top: 3px;
  bottom: 3px;
  width: 1px;
  content: "";
  background: var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 77px 1fr;
  gap: 20px;
  padding: 0 0 26px;
}
.timeline time {
  position: relative;
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.timeline time::after {
  position: absolute;
  right: -26px;
  top: 7px;
  width: 11px;
  height: 11px;
  content: "";
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 1px var(--sky);
}
.timeline h3 {
  margin: -5px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
}
.timeline p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  padding: 20px 46px 20px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  position: absolute;
  right: 8px;
  top: 22px;
  width: 17px;
  height: 17px;
  content: "+";
  color: var(--vermilion);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 15px;
  text-align: center;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list .answer {
  max-width: 850px;
  padding: 0 25px 21px 0;
  color: var(--muted);
}
.faq-list .answer p:last-child {
  margin-bottom: 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 58px;
  padding-top: 70px;
}
.aside-card {
  position: sticky;
  top: 93px;
  padding: 20px;
  border-top: 3px solid var(--sky);
  background: #f0f8ff;
}
.aside-card h2 {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: 19px;
}
.aside-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aside-card a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid rgba(74, 144, 226, 0.18);
  color: #466987;
  font-size: 14px;
}
.aside-card a:hover {
  color: var(--vermilion);
}
.last-updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}
.last-updated strong {
  color: var(--ink);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 25px 0;
}
.route-comparison th:first-child {
  min-width: 112px;
  white-space: nowrap;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 14px;
}
th,
td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: #3c5168;
  background: #edf8f5;
  font-weight: 700;
}
td {
  background: rgba(255, 255, 255, 0.55);
}
.note {
  padding: 19px 22px;
  border-left: 3px solid var(--pink-deep);
  background: #fff4f7;
  color: #5a5360;
  font-size: 14px;
}

.source-list {
  columns: 2;
  gap: 38px;
  margin: 0;
  padding-left: 1.3em;
}
.source-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}
.site-footer {
  padding: 56px 0 28px;
  color: #586170;
  background: #253243;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 44px;
}
.footer-brand {
  color: #fff;
}
.footer-brand .brand-mark {
  border-color: var(--pink);
  color: var(--pink);
  background: transparent;
}
.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
}
.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
}
.footer-links li {
  margin-bottom: 5px;
}
.footer-links a:hover {
  color: var(--pink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 41px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aab3be;
  font-size: 12px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 36px;
  color: var(--sky);
  font-weight: 700;
}
.back-home::before {
  content: "←";
  font-size: 18px;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 18px;
  border-radius: 4px;
  color: #fff;
  background: #253243;
  box-shadow: var(--shadow);
  font-size: 14px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.petal {
  position: fixed;
  z-index: -1;
  top: -30px;
  width: 10px;
  height: 7px;
  border-radius: 80% 0 80% 0;
  background: rgba(255, 183, 197, 0.55);
  pointer-events: none;
  animation: fall linear infinite;
}

@keyframes hero-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}
@keyframes fall {
  to {
    transform: translate3d(var(--drift), 110vh, 0) rotate(500deg);
  }
}

@media (max-width: 1000px) {
  .nav-list a {
    padding-inline: 8px;
    font-size: 13px;
  }
  .index-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-shell {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 35px;
  }
  .footer-grid {
    gap: 27px;
  }
}
@media (max-width: 1250px) and (min-width: 1001px) {
  .nav-wrap {
    gap: 10px;
  }
  .brand {
    font-size: 17px;
  }
  .nav-list {
    gap: 0;
  }
  .nav-list a {
    padding-inline: 7px;
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 15px;
  }
  .container {
    width: min(100% - 28px, 600px);
  }
  .nav-wrap {
    min-height: 60px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-list {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 14px 15px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 10px 25px rgba(36, 47, 64, 0.1);
  }
  .nav-list.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-list a {
    padding: 10px;
  }
  .hero {
    min-height: 660px;
  }
  .hero-media img {
    object-position: 62% center;
  }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(24, 31, 46, 0.86), rgba(24, 31, 46, 0.42)),
      linear-gradient(0deg, rgba(24, 31, 46, 0.65), transparent 60%);
  }
  .hero-content {
    padding: 80px 0 70px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-scroll {
    display: none;
  }
  .page-hero {
    min-height: 288px;
  }
  .page-hero .hero-content {
    padding: 64px 0 32px;
  }
  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: 0;
  }
  .quick-facts > div {
    padding: 14px;
  }
  .section {
    padding: 60px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    margin-bottom: 11px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-media {
    order: -1;
  }
  .feature-media::after {
    right: -7px;
    bottom: -7px;
  }
  .feature-media img {
    min-height: auto;
  }
  .gallery-heading {
    display: block;
  }
  .gallery-heading p:last-child {
    margin-top: 10px;
  }
  .route-grid,
  .index-grid {
    grid-template-columns: 1fr;
  }
  .route-card,
  .index-card {
    min-height: auto;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .step,
  .step + .step {
    padding: 21px 0 17px 52px;
  }
  .step + .step::before {
    display: none;
  }
  .step strong {
    position: absolute;
    top: 19px;
    left: 0;
  }
  .timeline::before {
    left: 13px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 34px;
  }
  .timeline time {
    text-align: left;
  }
  .timeline time::after {
    right: auto;
    left: -27px;
    top: 8px;
  }
  .article-shell {
    display: block;
    padding-top: 46px;
  }
  .aside-card {
    display: none;
  }
  .source-list {
    columns: 1;
  }
  .route-comparison {
    overflow: visible;
  }
  .route-comparison table {
    display: block;
    min-width: 0;
  }
  .route-comparison thead {
    display: none;
  }
  .route-comparison tbody {
    display: grid;
    gap: 12px;
  }
  .route-comparison tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  .route-comparison tbody th,
  .route-comparison tbody td {
    display: block;
    width: auto;
    border: 0;
    text-align: left;
  }
  .route-comparison tbody th {
    border-bottom: 1px solid var(--line);
  }
  .route-comparison tbody td + td {
    border-top: 1px solid var(--line);
  }
  .route-comparison .visually-hidden {
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 0 5px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    color: #3c5168;
    font-weight: 700;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p + p {
    margin-top: 6px;
  }
}

@media (max-width: 900px) {
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Color and layout direction from 颜色要求.txt */
:root {
  --paper-glass: rgba(255, 253, 249, 0.78);
}

body {
  background:
    radial-gradient(
      ellipse at 6% 18%,
      rgba(255, 183, 197, 0.12),
      transparent 29rem
    ),
    radial-gradient(
      ellipse at 94% 46%,
      rgba(163, 228, 215, 0.14),
      transparent 32rem
    ),
    var(--paper);
}

body::before {
  opacity: 0.32;
}

.site-header {
  border-bottom-color: rgba(74, 144, 226, 0.14);
  background: var(--paper-glass);
  box-shadow: 0 6px 24px rgba(45, 49, 64, 0.055);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.brand-mark {
  border-radius: 50% 50% 44% 44%;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  background: rgba(255, 183, 197, 0.35);
}

.hero {
  background: var(--sky);
  min-height: max(660px, min(800px, calc(100vh - 68px)));
  align-items: center;
  color: var(--ink);
}

.hero-media img {
  filter: saturate(1.08) brightness(1.06);
  transition: filter 1.2s ease;
}

.hero-media picture {
  position: relative;
  z-index: 0;
  display: block;
  height: 100%;
}

.hero[data-scene="morning"] .hero-media img {
  filter: saturate(1.12) brightness(1.13) sepia(0.06);
}

.hero[data-scene="day"] .hero-media img {
  filter: saturate(1.1) brightness(1.1);
}

.hero[data-scene="evening"] .hero-media img {
  filter: saturate(1.16) brightness(0.97) sepia(0.1);
}

.hero[data-scene="night"] .hero-media img {
  filter: saturate(0.95) brightness(0.88);
}

.hero-media::after {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      #fffdf9 0%,
      rgba(255, 253, 249, 0.96) 30%,
      rgba(255, 253, 249, 0.76) 47%,
      rgba(255, 253, 249, 0.04) 78%
    ),
    linear-gradient(0deg, rgba(255, 253, 249, 0.46), transparent 55%),
    linear-gradient(118deg, rgba(255, 183, 197, 0.2), rgba(163, 228, 215, 0.1));
}

.hero::after {
  z-index: 1;
  color: rgba(255, 183, 197, 0.22);
}

.hero-media {
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - 1140px) / 2));
  padding-block: clamp(55px, 9vh, 100px);
}

.hero h1 {
  color: var(--ink);
  text-shadow: none;
}

.eyebrow {
  color: var(--vermilion);
}

.hero-lead {
  color: #42495a;
  text-shadow: none;
}

.hero-meta span,
.tag {
  border-color: rgba(74, 144, 226, 0.22);
  color: #35475e;
  background: rgba(255, 253, 249, 0.68);
}

.hero-scroll {
  z-index: 2;
  color: #42495a;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 3;
  right: 88px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-controls button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(74, 144, 226, 0.4);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.72);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hero-carousel-controls button::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  content: "";
}

.hero-carousel-controls button.is-active {
  border-color: var(--vermilion);
  background: rgba(255, 253, 249, 0.94);
}

.hero-carousel-controls button.is-active::before {
  background: var(--vermilion);
  box-shadow: 0 0 0 4px rgba(211, 84, 0, 0.13);
}

.hero-carousel-controls button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.page-hero {
  background: var(--paper);
  color: var(--ink);
}

.page-hero .hero-media::after {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 249, 0.96) 0%,
      rgba(255, 253, 249, 0.86) 37%,
      rgba(255, 253, 249, 0.28) 78%
    ),
    linear-gradient(0deg, rgba(255, 253, 249, 0.52), transparent 70%);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
}

.page-hero .breadcrumb {
  color: rgba(45, 49, 64, 0.7);
}

.page-hero p:last-child {
  color: #42495a;
}

.hero-meta span,
.tag {
  border-color: rgba(255, 253, 249, 0.42);
  background: rgba(255, 253, 249, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quick-facts {
  border-color: rgba(74, 144, 226, 0.18);
  background: rgba(74, 144, 226, 0.18);
  box-shadow: 0 14px 38px rgba(45, 49, 64, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.quick-facts > div {
  background: rgba(255, 253, 249, 0.86);
}

.quick-facts > div:nth-child(3n + 1) {
  border-top: 2px solid var(--pink);
}

.quick-facts > div:nth-child(3n + 2) {
  border-top: 2px solid var(--sky);
}

.quick-facts > div:nth-child(3n) {
  border-top: 2px solid var(--mint);
}

.section {
  position: relative;
  padding-block: 92px;
}

.section-tint {
  background: linear-gradient(
    120deg,
    rgba(255, 183, 197, 0.2),
    rgba(255, 253, 249, 0.72) 48%,
    rgba(163, 228, 215, 0.2)
  );
}

.section-sky {
  background: linear-gradient(
    115deg,
    rgba(74, 144, 226, 0.11),
    rgba(255, 253, 249, 0.78) 56%,
    rgba(163, 228, 215, 0.2)
  );
}

.section-heading {
  position: relative;
  padding-left: 18px;
}

.section-heading::before {
  position: absolute;
  inset: 2px auto 2px 0;
  width: 3px;
  content: "";
  background: linear-gradient(var(--pink), var(--sky), var(--mint));
}

.feature-media img {
  outline: 1px solid rgba(255, 253, 249, 0.7);
  outline-offset: -8px;
}

.fact-box {
  background: linear-gradient(
    105deg,
    rgba(74, 144, 226, 0.11),
    rgba(163, 228, 215, 0.18)
  );
  backdrop-filter: blur(8px);
}

.route-card {
  padding: 27px 25px;
  border-color: rgba(74, 144, 226, 0.16);
  border-top: 3px solid var(--route-accent, var(--pink));
  background: linear-gradient(
    145deg,
    rgba(255, 253, 249, 0.84),
    var(--route-wash, rgba(255, 183, 197, 0.12))
  );
  box-shadow: 0 12px 32px rgba(45, 49, 64, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(var(--route-offset, 0));
  transform-style: preserve-3d;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.route-card:hover {
  transform: translateY(calc(var(--route-offset, 0) - 6px)) rotateY(1deg);
  box-shadow: 0 18px 42px rgba(45, 49, 64, 0.13);
}

.route-card:nth-child(1) {
  --route-accent: var(--pink);
  --route-wash: rgba(255, 183, 197, 0.16);
  --route-offset: 0px;
}

.route-card:nth-child(2) {
  --route-accent: var(--sky);
  --route-wash: rgba(74, 144, 226, 0.13);
  --route-offset: 26px;
}

.route-card:nth-child(3) {
  --route-accent: var(--mint);
  --route-wash: rgba(163, 228, 215, 0.2);
  --route-offset: 8px;
}

.route-card:nth-child(4) {
  --route-accent: var(--vermilion);
  --route-wash: rgba(211, 84, 0, 0.08);
  --route-offset: 12px;
}

.route-card:nth-child(5) {
  --route-accent: var(--pink);
  --route-wash: rgba(255, 183, 197, 0.16);
  --route-offset: 0px;
}

.route-card:nth-child(6) {
  --route-accent: var(--sky);
  --route-wash: rgba(74, 144, 226, 0.12);
  --route-offset: 23px;
}

.route-num {
  display: inline-block;
  min-width: 42px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(211, 84, 0, 0.08);
}

.index-grid {
  gap: 14px;
  align-items: start;
}

.index-card {
  min-height: 188px;
  border-color: rgba(74, 144, 226, 0.16);
  border-top: 3px solid var(--index-accent, var(--pink));
  background: linear-gradient(
    150deg,
    rgba(255, 253, 249, 0.92),
    var(--index-wash, rgba(255, 183, 197, 0.16))
  );
  box-shadow: 0 8px 24px rgba(45, 49, 64, 0.045);
  backdrop-filter: blur(10px);
}

.index-card:hover,
.index-card:focus-visible {
  border-color: var(--sky);
  box-shadow: 0 16px 33px rgba(45, 49, 64, 0.1);
}

.index-card:nth-child(3n + 1) {
  --index-accent: var(--pink);
  --index-wash: rgba(255, 183, 197, 0.17);
}

.index-card:nth-child(3n + 2) {
  --index-accent: var(--sky);
  --index-wash: rgba(74, 144, 226, 0.12);
}

.index-card:nth-child(3n) {
  --index-accent: var(--mint);
  --index-wash: rgba(163, 228, 215, 0.18);
}

.index-card:nth-child(2),
.index-card:nth-child(5) {
  transform: translateY(18px);
}

.index-card:nth-child(2):hover,
.index-card:nth-child(5):hover {
  transform: translateY(12px);
}

.step strong {
  color: var(--ink);
  background: var(--mint);
}

.step:nth-child(2) strong {
  background: var(--pink);
}

.step:nth-child(3) strong {
  color: #fff;
  background: var(--sky);
}

.step:nth-child(4) strong {
  color: #fff;
  background: var(--vermilion);
}

.aside-card {
  background: rgba(74, 144, 226, 0.1);
  backdrop-filter: blur(12px);
}

th {
  background: rgba(163, 228, 215, 0.32);
}

td {
  background: rgba(255, 253, 249, 0.75);
}

.note {
  background: rgba(255, 183, 197, 0.18);
}

.site-footer {
  border-top: 1px solid rgba(74, 144, 226, 0.16);
  color: #515a68;
  background: linear-gradient(
    115deg,
    rgba(255, 183, 197, 0.2),
    rgba(255, 253, 249, 0.86) 48%,
    rgba(163, 228, 215, 0.24)
  );
}

.footer-brand,
.footer-title {
  color: var(--ink);
}

.footer-brand .brand-mark {
  border-color: var(--pink);
  color: var(--vermilion);
  background: rgba(255, 253, 249, 0.72);
}

.footer-links a:hover {
  color: var(--vermilion);
}

.footer-bottom {
  border-top-color: rgba(74, 144, 226, 0.2);
  color: #626b78;
}

.toast {
  border: 1px solid rgba(255, 183, 197, 0.54);
  color: var(--ink);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
}

.petal {
  width: 8px;
  height: 5px;
  background: rgba(255, 183, 197, 0.43);
}

@media (max-width: 760px) {
  .section {
    padding-block: 60px;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
  }

  .hero-media {
    position: relative;
    inset: auto;
    flex: none;
    width: 100%;
    height: auto;
  }

  .hero-media picture,
  .hero-media img {
    height: auto;
  }

  .hero-media img {
    animation: none;
    filter: none;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(255, 253, 249, 0.2), transparent 30%);
  }

  .hero-content {
    width: calc(100% - 40px);
    max-width: 600px;
    margin-inline: auto;
    order: 1;
    padding-block: 28px 74px;
  }

  .hero-carousel-controls {
    right: 16px;
    bottom: 14px;
  }

  .hero-media img {
    object-position: 50% center;
  }

  .hero-lead {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .route-card,
  .route-card:nth-child(n),
  .index-card,
  .index-card:nth-child(n) {
    transform: none;
  }

  .route-card:hover,
  .index-card:nth-child(n):hover {
    transform: translateY(-3px);
  }

  .index-card {
    min-height: 150px;
  }
}

@media (max-width: 420px) {
  .hero-actions .button {
    flex: 1 1 100%;
  }

  .quick-facts span {
    font-size: 14px;
  }
}


/* Whitehat news slots, styled to follow each site's existing visual system. */
.seo-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.1rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: clamp(1.5rem, 4vw, 4rem); }
.article-main { min-width: 0; }
.article-main.prose h2 { margin: 2.4rem 0 1rem; color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.35; }
.article-main.prose p, .article-main.prose li { color: var(--muted, #606778); }
.seo-news-card { min-width: 0; padding: 1.35rem 1.45rem; border: 1px solid var(--line); background: rgba(255,255,255,.78); }
.seo-news-card h2, .seo-news-card h3 { margin: .4rem 0 .6rem; color: var(--ink, var(--violet)); font-size: 1.28rem; line-height: 1.45; }
.seo-news-card p { margin: .5rem 0 1rem; color: var(--muted, #5d5566); }
.news-meta { display: block; color: var(--muted, #5d5566); font-size: .82rem; }
.seo-news-grid .card { min-height: 0; }
.seo-news-card .text-link { margin-top: .25rem; }
.news-generated-content { max-width: 78ch; margin: 0; color: var(--ink, #333); white-space: normal; overflow-wrap: anywhere; }
.article-main img { height: auto; }
.article-aside { min-width: 0; }
.download-dialog { width: min(440px, calc(100% - 2rem)); padding: 0; color: var(--ink, #211b2d); border: 1px solid var(--vermilion, #c0392b); background: var(--paper, #fdfefe); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.download-dialog::backdrop { background: rgba(18,12,28,.68); backdrop-filter: blur(3px); }
.download-dialog form { padding: 1.5rem; }
.download-dialog-kicker { margin: 0; color: var(--vermilion, #c0392b); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.download-dialog h2 { margin: .25rem 0 .6rem; font-size: 1.35rem; }
.download-dialog-host { overflow-wrap: anywhere; color: var(--muted, #5d5566); }
.download-dialog-actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: 1.4rem; }
.download-dialog-actions button { min-height: 42px; padding: .55rem .9rem; cursor: pointer; }
.download-dialog-cancel { color: var(--ink, #211b2d); border: 1px solid var(--line); background: transparent; }
.download-dialog-continue { color: #fff; border: 1px solid var(--vermilion, #c0392b); background: var(--vermilion, #c0392b); font-weight: 800; }
@media (max-width: 760px) { .seo-news-grid { grid-template-columns: 1fr; } .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
