:root {
  /* 深蓝色调色彩系统 */
  --primary-bg: #e3eef5;
  --primary-ink: #1a3a52;
  --primary-deep: #0c2840;
  --accent-red: #8c3130;
  --accent-yellow: #d4b16a;
  --accent-brown: #7a6a53;
  --neutral-bg: #f4f7fa;
  --neutral-text: #1e2d38;
  --neutral-muted: #4a5d6b;

  /* 兼容旧变量名 */
  --color-lake-blue: var(--primary-ink);
  --color-lake-blue-soft: var(--primary-bg);
  --color-earth-brown: var(--accent-brown);
  --color-earth-brown-soft: rgba(212, 177, 106, 0.22);
  --color-warm-orange: var(--accent-yellow);
  --color-warm-orange-deep: var(--accent-red);
  --color-cream: var(--neutral-bg);
  --color-ink: var(--neutral-text);
  --color-muted: var(--neutral-muted);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --shadow-soft: 0 16px 40px rgba(26, 58, 82, 0.15);
  --shadow-card: 0 14px 34px rgba(26, 58, 82, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC",
    "Microsoft YaHei", system-ui, sans-serif;
  color: var(--color-ink);
  background-color: var(--neutral-bg);
}

body {
  line-height: 1.6;
  font-size: 16px;
}

.hero-title,
.section-header h2,
.value-card h3,
.route-card h3,
.card-body h3,
.footer-col h3,
.login-modal__header h2 {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 251, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 91, 127, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(42, 91, 127, 0.15);
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
}

.brand-slogan {
  font-size: 12px;
  color: var(--color-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  color: var(--color-muted);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-lake-blue), var(--color-warm-orange));
  transition: width 0.2s ease-out;
}

.main-nav a:hover {
  color: var(--color-ink);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-bar {
  position: relative;
}

.search-bar input {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  font-size: 13px;
  min-width: 190px;
}

.search-bar input::placeholder {
  color: #94a3ac;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Buttons */

.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-ink), rgba(42, 91, 127, 0.72));
  color: rgba(249, 250, 251, 0.98);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  background: rgba(249, 250, 251, 0.9);
  color: var(--color-ink);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: rgba(249, 250, 251, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid rgba(42, 91, 127, 0.22);
}

.btn-outline:hover {
  background: rgba(249, 250, 251, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-radius: 999px;
  padding: 6px 10px;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Hero */

.hero {
  position: relative;
  height: 74vh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
  color: #ffffff;
  background-image: linear-gradient(
      135deg,
      rgba(42, 91, 127, 0.55),
      rgba(42, 44, 48, 0.55)
    ),
    url("../网页设计照片库/1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
}

.hero-slide {
  grid-area: 1/1;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(1.08);
}

/* 可以替换为真实图片地址 */
.hero-slide--1 {
  background-image: linear-gradient(
      135deg,
      rgba(0, 38, 73, 0.4),
      rgba(0, 0, 0, 0.45)
    ),
    url("../网页设计照片库/1.jpg");
}

.hero-slide--2 {
  background-image: linear-gradient(
      135deg,
      rgba(11, 56, 83, 0.6),
      rgba(42, 44, 48, 0.5)
    ),
    url("../网页设计照片库/4.jpg");
}

.hero-slide--3 {
  background-image: linear-gradient(
      135deg,
      rgba(7, 57, 74, 0.5),
      rgba(42, 44, 48, 0.6)
    ),
    url("../网页设计照片库/5.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 0%,
      rgba(232, 242, 248, 0.22),
      transparent
    ),
    radial-gradient(circle at 85% 100%, rgba(42, 91, 127, 0.18), transparent);
  z-index: -1;
}

/* 图片统一：5%宣纸纹理 + 暗角柔光 */
.hero::before,
.card-image::before,
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      rgba(0, 0, 0, 0) 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      rgba(0, 0, 0, 0) 4px
    );
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.hero::after,
.card-image::after,
.map-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
  opacity: 0.6;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 32px;
  padding-bottom: 48px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.96;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

@media (min-width: 901px) {
  .hero-title {
    white-space: nowrap;
  }
}

.hero-photo-wrap {
  margin: 4px 0 14px;
  max-width: 400px;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero-photo-wrap:hover {
  transform: scale(1.02);
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-subtitle {
  font-size: 15px;
  max-width: 520px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */

.section {
  padding: 120px 0;
}

.section-header {
  text-align: left;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 8px;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
  max-width: 560px;
}

.section-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-muted);
}

/* Cards & grids */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(249, 250, 251, 0.92);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(42, 91, 127, 0.12);
}

.card-image {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.card-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--color-muted);
}

.card-tags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f5f7;
}

.card-desc {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--color-muted);
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(247, 243, 234, 0.9);
  font-size: 13px;
  margin-right: 6px;
}

.link-pill:hover {
  background: #f7f3ea;
}

/* Lakes */

.lakes {
  background: radial-gradient(
    circle at top left,
    rgba(232, 242, 248, 0.75),
    var(--neutral-bg)
  );
}

.lake-card {
  position: relative;
  align-items: stretch;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lake-card .card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.lake-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.lake-card:hover {
  animation: sway 0.6s ease-in-out;
}

.lake-card--placeholder {
  flex-direction: column;
}

.lake-card--placeholder .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.lake-card__image {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/6.jpg");
}

.lake-card__image--erhai {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/7.jpg");
}

.lake-card__image--fuxian {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/抚仙湖.jpg");
}

.lake-card__image--lugu {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/5.jpg");
}

.lake-card__image--placeholder {
  background-image: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/8.jpg");
}

.lake-card--placeholder .card-body {
  min-height: 130px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.lake-card--placeholder .card-body h3 {
  text-align: center;
  width: 100%;
}

.lake-card--placeholder .card-desc {
  text-align: center;
  width: 100%;
  margin: 0;
}

.lake-card .card-body {
  padding: 18px 18px 20px;
}

.lake-tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-size: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-hover-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.15s ease-out;
  flex-wrap: wrap;
}

.lake-card:hover .card-hover-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Stay */

.stay {
  background: #ffffff;
}

.tabs {
  margin-top: 8px;
}

.tabs-nav {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #f3f5f7;
  margin-bottom: 12px;
}

.tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-muted);
}

.tab.active {
  background: #ffffff;
  color: var(--color-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.stay-card__image--homestay {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/6.jpg");
}

.stay-card__image--module {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/vv.jpg");
}

.stay-card__image--family {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/3.jpg");
}

.stay-card__image--senior {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.05)
    ),
    url("../网页设计照片库/抚仙湖.jpg");
}

.stay-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stay-card:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 46px rgba(42, 91, 127, 0.18);
}

.price {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--color-earth-brown);
}

/* Routes */

.routes {
  background: radial-gradient(
    circle at top right,
    rgba(232, 242, 248, 0.75),
    var(--neutral-bg)
  );
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26, 58, 82, 0.2);
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(26, 58, 82, 0.06), transparent);
  pointer-events: none;
}

/* Stations */

.stations {
  background: linear-gradient(180deg, #eef4fa 0%, #f5f9fc 100%);
}

.stations-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.8fr);
  gap: 20px;
  align-items: stretch;
}

.stations-services h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-muted);
}

.icon-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.icon-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--color-warm-orange-deep);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.pill-grid--2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 12px;
}

.pill-group {
  padding: 10px 12px;
  background: rgba(26, 58, 82, 0.08);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(26, 58, 82, 0.12);
}

.pill-group:hover {
  animation: sway 0.6s ease-in-out;
  box-shadow: 0 8px 24px rgba(26, 58, 82, 0.15);
  background: rgba(26, 58, 82, 0.12);
}

.pill-group--portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
}

.pill-group__portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px;
  border: 2px solid rgba(26, 58, 82, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pill-group__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-group--portrait:hover .pill-group__portrait {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(26, 58, 82, 0.25);
}

@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

.pill-group h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.pill-group p {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.stations-map {
  display: flex;
  align-items: stretch;
}

.map-placeholder {
  background-image: linear-gradient(
      135deg,
      rgba(3, 35, 63, 0.3),
      rgba(12, 83, 128, 0.35)
    ),
    url("../网页设计照片库/底图真.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}

.map-placeholder p {
  margin: 0 0 10px;
}

.map-note {
  font-size: 12px;
  color: var(--color-muted);
}

/* Fullscreen map modal */

.map-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.map-modal.is-open {
  display: flex;
}

.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.map-modal__content {
  position: relative;
  z-index: 1;
  max-width: 96vw;
  max-height: 94vh;
  border-radius: 18px;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}

.map-modal__image {
  display: block;
  max-width: none;
  max-height: none;
}

.map-modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

.map-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.map-modal__carousel {
  position: relative;
  padding: 0;
  overflow: visible;
}

.map-carousel {
  position: relative;
  max-width: 96vw;
  max-height: 90vh;
  overflow: hidden;
}

.map-carousel__img {
  display: none;
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.map-carousel__img.active {
  display: block;
}

.map-carousel__prev,
.map-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.map-carousel__prev {
  left: 12px;
}

.map-carousel__next {
  right: 12px;
}

.map-carousel__prev:hover,
.map-carousel__next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.map-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.map-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.map-carousel__dot.active {
  background: rgba(255, 255, 255, 1);
}

/* Hero carousel modal */
.hero-carousel-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 55;
}

.hero-carousel-modal.is-open {
  display: flex;
}

.hero-carousel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.hero-carousel-modal__content {
  position: relative;
  z-index: 1;
  max-width: 96vw;
  max-height: 94vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.hero-carousel {
  position: relative;
}

.hero-carousel__img {
  display: none;
  max-width: 96vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero-carousel__img.active {
  display: block;
}

.hero-carousel__prev,
.hero-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-carousel__prev {
  left: 12px;
}

.hero-carousel__next {
  right: 12px;
}

.hero-carousel__prev:hover,
.hero-carousel__next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.hero-carousel__dot.active {
  background: rgba(255, 255, 255, 1);
}

.hero-carousel-modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  z-index: 3;
}

.hero-carousel-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Register modal */
.register-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.register-modal.is-open {
  display: flex;
}

.register-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 44, 48, 0.55);
}

.register-modal__content {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 40px));
  border-radius: 22px;
  padding: 24px;
  background: rgba(249, 250, 251, 0.98);
  border: 1px solid rgba(42, 91, 127, 0.16);
  box-shadow: 0 26px 70px rgba(42, 91, 127, 0.22);
}

.register-modal__content h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.register-modal__content > p {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 14px;
}

.register-form {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.register-modal__close {
  display: block;
  margin-top: 8px;
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  cursor: pointer;
}

.register-modal__close:hover {
  color: var(--color-ink);
}

/* Login modal */

.modal-open main,
.modal-open header,
.modal-open footer {
  filter: blur(10px) saturate(0.95);
}

.modal-open {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.login-modal.is-open {
  display: flex;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 44, 48, 0.55);
}

.login-modal__content {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 40px));
  border-radius: 22px;
  padding: 18px 18px 20px;
  background: rgba(249, 250, 251, 0.92);
  border: 1px solid rgba(42, 91, 127, 0.16);
  box-shadow: 0 26px 70px rgba(42, 91, 127, 0.22);
}

.login-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.login-modal__header h2 {
  margin: 0;
  font-size: 20px;
}

.login-modal__close {
  border: none;
  background: transparent;
  color: var(--neutral-muted);
  cursor: pointer;
  font-size: 13px;
}

.login-modal__close:hover {
  color: var(--neutral-text);
}

.login-modal__hint {
  margin: 0 0 12px;
  color: var(--neutral-muted);
  font-size: 13px;
}

.login-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  color: var(--neutral-muted);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(42, 91, 127, 0.18);
  background: rgba(249, 250, 251, 0.92);
  outline: none;
}

.field input:focus {
  border-color: rgba(42, 91, 127, 0.5);
  box-shadow: 0 0 0 4px rgba(232, 242, 248, 0.9);
}

.field-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.field-row input {
  flex: 1;
}

/* Value */

.value {
  background: linear-gradient(180deg, #e8f0f8 0%, #f0f5fa 100%);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.value-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 14px 16px 16px;
  transition: transform 0.3s ease;
}

.value-card:hover {
  animation: sway 0.6s ease-in-out;
}

.value-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.value-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.partner-banner {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.link-text {
  color: var(--color-lake-blue);
  text-decoration: underline;
}

/* Stories */

.stories {
  background: #ffffff;
}

.ai-chat {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(44, 126, 161, 0.12);
  background: linear-gradient(180deg, rgba(225, 237, 247, 0.75), #ffffff);
}

.ai-chat__header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-chat__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.ai-chat__badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(44, 126, 161, 0.12);
  color: #0c3c5f;
}

.ai-chat__subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.ai-chat__panel {
  padding: 12px;
}

.ai-chat__messages {
  height: 260px;
  overflow: auto;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-msg {
  display: flex;
  margin-bottom: 10px;
}

.ai-msg--bot {
  justify-content: flex-start;
}

.ai-msg--user {
  justify-content: flex-end;
}

.ai-msg__bubble {
  max-width: min(560px, 85%);
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.ai-msg--bot .ai-msg__bubble {
  background: #eef6ff;
  color: var(--color-ink);
  border: 1px solid rgba(44, 126, 161, 0.18);
}

.ai-msg--user .ai-msg__bubble {
  background: linear-gradient(
    135deg,
    var(--color-lake-blue),
    var(--color-warm-orange-deep)
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ai-chat__composer {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.ai-chat__input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  font-size: 13px;
  outline: none;
}

.ai-chat__input:focus {
  border-color: rgba(61, 139, 233, 0.7);
  box-shadow: 0 0 0 4px rgba(61, 139, 233, 0.15);
}

.story-card {
  padding: 12px 14px 16px;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(42, 91, 127, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Interludes */
.interlude {
  position: relative;
  padding: 86px 0;
}

.interlude__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.interlude__kicker--large {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 4px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.interlude--collage:hover .interlude__kicker--large {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 6px 24px rgba(0, 0, 0, 0.5);
}

.interlude__title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.interlude--collage .interlude__title {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.interlude__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}

.interlude__hover {
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.interlude .interlude__hover:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 6px 24px rgba(0, 0, 0, 0.45);
}

.interlude--quote {
  color: #fff;
  overflow: hidden;
  padding: 130px 0;
}

.interlude--quote .interlude__content {
  position: relative;
  z-index: 1;
}

.interlude--quote .interlude__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      135deg,
      rgba(10, 28, 48, 0.78),
      rgba(12, 40, 72, 0.42)
    ),
    url("../网页设计照片库/3.jpg");
  background-size: cover;
  background-position: center;
}

.interlude--quote {
  transition: transform 0.2s ease;
}

.interlude--quote:hover {
  transform: translateY(-1px);
}

.interlude--page {
  position: relative;
  overflow: hidden;
  background-image: url("../网页设计照片库/𝟚𝟘𝟚𝟝 - 𝙖𝙣𝙣𝙪𝙖𝙡 𝙨𝙪𝙢𝙢𝙖𝙧𝙮_1_破则号_来自小红书网页版.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 96px 0;
  transition: transform 0.25s ease;
}

.interlude--page:hover {
  transform: translateY(-1px);
}

.interlude--page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

.interlude-page {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.interlude-page__media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.interlude--page .interlude__kicker {
  color: rgba(255, 255, 255, 0.8);
}

.interlude--page .interlude__title {
  color: #fff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.interlude--page .interlude__subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.interlude-page__bullets {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.interlude-page__bullets strong {
  display: inline-block;
  min-width: 68px;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
  .interlude-page {
    grid-template-columns: 1fr;
  }
}

/* Interlude: collage carousel */
.interlude--collage {
  overflow: hidden;
  padding: 96px 0;
  transition: transform 0.2s ease;
}

.interlude--collage:hover {
  transform: scale(1.001);
}

.interlude--collage .interlude__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 28, 48, 0.9), rgba(12, 40, 72, 0.55));
}

.interlude-collage {
  position: relative;
  z-index: 1;
}

.interlude-collage {
  max-width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.interlude-collage--full {
  max-width: 100%;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.collage-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collage-frame:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 38px 96px rgba(0, 0, 0, 0.58);
}

.collage-frame--row {
  overflow: hidden;
}

.collage-row {
  display: flex;
  width: 200%;
  animation: collage-loop 16s linear infinite;
}

.collage-row .collage-img {
  flex: 0 0 12.5%;
  width: 12.5%;
  min-height: 280px;
  object-fit: cover;
}

@keyframes collage-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  width: 100%;
}

.collage-grid .collage-img {
  width: 100%;
  object-fit: cover;
}

.collage-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.35s ease;
}

.collage-img {
  min-height: 220px;
}

.collage-frame:hover .collage-img {
  transform: scale(1.02);
}

.collage-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62));
}

.collage-overlay .interlude__subtitle {
  max-width: 680px;
}

@media (max-width: 900px) {
  .collage-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .collage-img {
    min-height: 210px;
  }
}

.story-name {
  margin: 0;
  font-size: 14px;
}

.story-role {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
}

.story-text {
  margin: 0;
  font-size: 13px;
  color: var(--color-ink);
}

/* Footer */

.site-footer {
  background: #181e22;
  color: #d7dde2;
  padding: 28px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 20px;
  font-size: 13px;
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.footer-col p {
  margin: 0 0 8px;
}

.footer-contact {
  color: #aab4bd;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: #d7dde2;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 14px;
  padding-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #aab4bd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-qr img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.footer-qr span {
  font-size: 12px;
  color: #aab4bd;
}

/* QR modal */
.qr-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.qr-modal.is-open {
  display: flex;
}

.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.qr-modal__content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.qr-modal__content h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.qr-modal__content img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 12px;
}

.qr-modal__content p {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 14px;
}

.qr-modal__close {
  display: block;
  margin: 0 auto;
  padding: 8px 20px;
  border: none;
  background: var(--color-lake-blue);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.qr-modal__close:hover {
  opacity: 0.9;
}

/* Modal */

.audience-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.audience-modal.is-open {
  display: flex;
}

.audience-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.audience-modal__content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: calc(100% - 40px);
  background: #ffffff;
  border-radius: 24px;
  padding: 20px 20px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.audience-modal__content h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.audience-modal__content p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-muted);
}

.audience-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.audience-modal__close {
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  cursor: pointer;
}

.audience-modal__close:hover {
  color: var(--color-ink);
}

/* AI 智能路线定制器 */

.ai-route {
  background: linear-gradient(
    165deg,
    rgba(227, 238, 245, 0.95) 0%,
    var(--neutral-bg) 55%,
    #ffffff 100%
  );
}

.ai-route-panel {
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(42, 91, 127, 0.14);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-route-panel .ai-route-tags,
.ai-route-panel .ai-route-result {
  width: 100%;
  align-self: stretch;
}

.ai-route-tags {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.ai-route-tag-group__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.ai-route-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-route-tag {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 91, 127, 0.2);
  background: #f8fafb;
  font-size: 13px;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.ai-route-tag:hover {
  border-color: rgba(42, 91, 127, 0.35);
  color: var(--color-ink);
}

.ai-route-tag.active {
  background: linear-gradient(135deg, var(--primary-ink), rgba(42, 91, 127, 0.78));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(26, 58, 82, 0.22);
}

.btn-ai-generate {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(
    120deg,
    var(--primary-deep) 0%,
    var(--primary-ink) 40%,
    var(--accent-yellow) 120%
  );
  background-size: 200% auto;
  box-shadow: 0 14px 32px rgba(12, 40, 64, 0.28);
  animation: ai-btn-shimmer 4s ease-in-out infinite;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.btn-ai-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(12, 40, 64, 0.34);
}

.btn-ai-generate__icon {
  font-size: 18px;
  animation: ai-icon-spin 3s linear infinite;
}

@keyframes ai-btn-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes ai-icon-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ai-route-result {
  margin-top: 20px;
  padding-top: 4px;
}

.ai-route-result[hidden] {
  display: none;
}

.ai-route-loading {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-md);
  background: rgba(227, 238, 245, 0.5);
  border: 1px dashed rgba(42, 91, 127, 0.2);
}

.ai-route-loading[hidden],
.ai-route-output[hidden] {
  display: none;
}

.ai-route-loading__spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid rgba(42, 91, 127, 0.15);
  border-top-color: var(--primary-ink);
  animation: ai-spinner 0.85s linear infinite;
}

@keyframes ai-spinner {
  to {
    transform: rotate(360deg);
  }
}

.ai-route-loading p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.ai-route-output {
  padding: 18px 16px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(227, 238, 245, 0.35));
  border: 1px solid rgba(42, 91, 127, 0.12);
}

.ai-route-output__summary {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-muted);
}

.ai-route-timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-bottom: 16px;
}

.ai-route-node {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid rgba(42, 91, 127, 0.16);
  box-shadow: 0 6px 14px rgba(26, 58, 82, 0.08);
}

.ai-route-node--station {
  border-color: rgba(212, 177, 106, 0.55);
  background: rgba(212, 177, 106, 0.12);
}

.ai-route-arrow {
  color: var(--accent-brown);
  font-size: 14px;
  padding: 0 2px;
}

.btn-export-guide {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(42, 91, 127, 0.35);
  background: transparent;
  color: var(--primary-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.btn-export-guide:hover {
  background: rgba(227, 238, 245, 0.6);
  border-style: solid;
}

/* 装配式驿舍跨区订阅 */

.subscription-card {
  position: relative;
  margin-top: 22px;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(212, 177, 106, 0.45);
  background: linear-gradient(
    135deg,
    rgba(26, 58, 82, 0.04) 0%,
    rgba(212, 177, 106, 0.14) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

.subscription-card__glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(
    120deg,
    rgba(42, 91, 127, 0.35),
    rgba(212, 177, 106, 0.55),
    rgba(42, 91, 127, 0.35)
  );
  z-index: 0;
  opacity: 0.65;
  animation: subscription-glow 3s ease-in-out infinite;
  filter: blur(6px);
}

@keyframes subscription-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.01);
  }
}

.subscription-card__inner {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
}

.subscription-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(140, 49, 48, 0.1);
  color: var(--accent-red);
  margin-bottom: 10px;
}

.subscription-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
}

.subscription-card__plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.subscription-card__lake {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(227, 238, 245, 0.8);
  border: 1px solid rgba(42, 91, 127, 0.12);
}

.subscription-card__arrow {
  font-size: 20px;
  color: var(--accent-yellow);
}

.subscription-card__desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.55;
}

.subscription-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.subscription-card__price-label {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
}

.subscription-card__price-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-red);
}

.subscription-card__price-value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
}

.subscription-card__cta {
  animation: cta-breathe 2.5s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(26, 58, 82, 0.22);
  }
  50% {
    box-shadow:
      0 10px 28px rgba(26, 58, 82, 0.22),
      0 0 0 6px rgba(212, 177, 106, 0.25),
      0 0 24px rgba(42, 91, 127, 0.35);
  }
}

/* 乡创大院 · 创客社区 */

.makers {
  background: radial-gradient(
    circle at 10% 0%,
    rgba(212, 177, 106, 0.18),
    var(--neutral-bg) 45%
  );
}

.makers__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.makers__header > div {
  margin-bottom: 0;
  flex: 1;
  min-width: 240px;
}

.makers__cta {
  flex-shrink: 0;
  align-self: center;
  box-shadow: var(--shadow-soft);
}

.makers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.maker-card {
  display: flex;
  flex-direction: column;
}

.maker-card--featured {
  border-color: rgba(212, 177, 106, 0.4);
}

.maker-card__media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.maker-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maker-card__media--coffee {
  background-image: linear-gradient(
      to top,
      rgba(12, 40, 64, 0.55),
      rgba(12, 40, 64, 0.1)
    ),
    url("../网页设计照片库/全屏封神挑战｜洱海_1_雲游四海（藏地📸）_来自小红书网页版.jpg");
  background-size: cover;
  background-position: center;
}

.maker-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.maker-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.maker-card__status--active {
  color: #1a6b4a;
}

.maker-card__status--vote {
  color: var(--primary-ink);
}

.maker-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.maker-card__vote-bar {
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: #eef2f5;
  overflow: hidden;
}

.maker-card__vote-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-ink), var(--accent-yellow));
}

/* 摇动交互动效 */

@keyframes wobble-soft {
  0%,
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
  25% {
    transform: rotate(0.35deg) translate3d(0, -2px, 0);
  }
  50% {
    transform: rotate(-0.35deg) translate3d(0, 1px, 0);
  }
  75% {
    transform: rotate(0.25deg) translate3d(-1px, 0, 0);
  }
}

@keyframes wobble-text {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  33% {
    transform: translate3d(1px, -1px, 0) rotate(0.4deg);
  }
  66% {
    transform: translate3d(-1px, 1px, 0) rotate(-0.4deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-interactive .section-header h2,
  .page-interactive .section-header p,
  .page-interactive .hero-title,
  .page-interactive .hero-subtitle,
  .page-interactive .hero-eyebrow,
  .page-interactive .interlude__title,
  .page-interactive .interlude__subtitle,
  .page-interactive .interlude__kicker,
  .page-interactive .brand-name,
  .page-interactive .brand-slogan {
    animation: wobble-text 5s ease-in-out infinite;
  }

  .page-interactive .card,
  .page-interactive .ai-route-panel,
  .page-interactive .subscription-card,
  .page-interactive .ai-chat,
  .page-interactive .guide-map-frame,
  .page-interactive .guide-budget-bar,
  .page-interactive .guide-stop,
  .page-interactive .guide-review-card,
  .page-interactive .package-card,
  .page-interactive .guide-rent-form,
  .page-interactive .guide-villagers,
  .page-interactive .community-block,
  .page-interactive .btn-primary,
  .page-interactive .btn-ai-generate,
  .page-interactive .register-modal__content,
  .page-interactive .login-modal__content {
    animation: wobble-soft 6s ease-in-out infinite;
  }

  .page-interactive .card:nth-child(2n),
  .page-interactive .guide-stop:nth-child(2n),
  .page-interactive .community-block:nth-child(2n) {
    animation-delay: 0.8s;
  }

  .page-interactive .card:nth-child(3n),
  .page-interactive .community-block:nth-child(3n) {
    animation-delay: 1.6s;
  }

  .page-interactive .card:hover,
  .page-interactive .section-header:hover h2,
  .page-interactive .btn:hover,
  .page-interactive .interlude__hover:hover,
  .page-interactive .guide-map-frame:hover,
  .page-interactive .community-block:hover {
    animation: wobble-soft 0.55s ease-in-out 2;
  }

  .page-interactive .section-header h2:hover,
  .page-interactive .hero-title:hover,
  .page-interactive .interlude__title:hover {
    animation: wobble-text 0.5s ease-in-out 2;
  }
}

.register-form__error {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--accent-red);
}

.register-form__error[hidden] {
  display: none;
}

/* Utilities */

.card-grid--lakes {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid--stories {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Responsive */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }

  .header-right {
    margin-left: auto;
  }

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

  .hero {
    height: auto;
    min-height: 420px;
    background-attachment: scroll;
  }

  .lake-card {
    flex-direction: column;
  }

  .lake-card .card-image,
  .lake-card .card-body {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 80px 0;
  }
  .hero-content {
    padding-top: 40px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .search-bar input {
    min-width: 0;
    width: 160px;
  }

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

  .makers__header {
    flex-direction: column;
  }

  .makers__cta {
    width: 100%;
    align-self: stretch;
  }

  .subscription-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .subscription-card__cta {
    width: 100%;
  }

  .ai-route-timeline {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-route-arrow {
    transform: rotate(90deg);
  }
}

