/* ============================================================
   伴旅 · 全站样式（批次 0）
   ------------------------------------------------------------
   新手请看这里：整个网站的配色、字号、间距都集中在下面这一段
   ":root { }" 里。想换颜色，只改这里的值，全站跟着变。
   ============================================================ */

:root {
  /* ============================================================
     一、颜色（2026 视觉升级：年轻 · 旅行 · 自然）
     ------------------------------------------------------------
     思路：把原来的"山青 + 米白"换成"湖水绿 + 天空蓝 + 日落橙"，
          主色更鲜亮、点缀色更活泼，整体像清晨的湖面。
     ============================================================ */

  --c-primary:        #0B8A64;  /* 主色：湖水绿（按钮、链接、强调） */
  --c-primary-dark:   #066B4C;  /* 主色加深（鼠标悬停） */
  --c-primary-soft:   #E1F7EE;  /* 主色淡底（浅色区块） */

  --c-mint:           #2ED8A0;  /* 亮青绿：只用于渐变高光、装饰线 */
  --c-sky:            #38A8E8;  /* 天空蓝：风景背景、次要点缀 */
  --c-sky-soft:       #E4F4FE;
  --c-dusk:           #7C8CF8;  /* 暮色蓝紫：远山、渐变收尾 */
  --c-sun:            #FFC93C;  /* 阳光黄：太阳、亮点 */

  --c-accent:         #E4552C;  /* 点缀色：日落橙（小标签、警示） */
  --c-accent-soft:    #FFEDE6;

  --c-bg:             #F5FBF8;  /* 页面底色：极浅的青白 */
  --c-surface:        #FFFFFF;  /* 卡片底色：纯白 */
  --c-tint:           #EDF8F4;  /* 交替区块的浅底 */

  --c-text:           #10231E;  /* 主要文字 */
  --c-text-2:         #536A63;  /* 次要文字 */
  --c-text-3:         #8A9B94;  /* 更淡的提示文字 */
  --c-border:         #E0EEE8;  /* 分隔线、边框 */

  /* —— 渐变（年轻感的关键，直接用 background: var(--grad-xxx)）—— */
  --grad-primary: linear-gradient(135deg, #14B37F 0%, #0B8A64 55%, #06704F 100%);
  --grad-sky:     linear-gradient(135deg, #6FD0F7 0%, #38A8E8 60%, #2B7FD4 100%);
  --grad-sunset:  linear-gradient(135deg, #FFC93C 0%, #FF8A3D 50%, #E4552C 100%);
  --grad-mint:    linear-gradient(135deg, #7DE8C4 0%, #2ED8A0 100%);

  /* —— 字体 —— */
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei",
          "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* —— 尺寸（圆角变大，是"年轻化"最省力的一招）—— */
  --radius:    18px;   /* 卡片圆角 */
  --radius-sm: 11px;   /* 按钮圆角 */
  --maxw:    1120px;   /* 页面内容最大宽度 */
  --pad-x:     24px;   /* 左右安全边距 */

  /* —— 阴影（柔和 + 带一点绿色，比纯黑阴影更"干净"）—— */
  --shadow-sm: 0 2px 10px rgba(9, 74, 55, .06);
  --shadow-md: 0 10px 28px rgba(9, 74, 55, .10);
  --shadow-lg: 0 22px 52px rgba(9, 74, 55, .16);

  /* —— 风景背景开关 ——
     留一个接口：将来你想换成真实风景照片，只要在这个变量里填图片网址，
     首页大图就会自动换成那张照片（底下画的山水会自动被盖住）。 */
  /* 首屏真实风景照（AI 生成）。填 none 可切回纯手绘风景 */
  --hero-photo: url("../img/hero.jpg");
}

/* ================= 基础重置 ================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  /* 底色不再是一块死白：叠了几团极淡的天光，页面看起来更透气 */
  background:
    radial-gradient(760px 420px at 88% -6%, rgba(56, 168, 232, .10), transparent 68%),
    radial-gradient(620px 380px at 4% 2%, rgba(46, 216, 160, .12), transparent 66%),
    var(--c-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* 页面内容居中容器 */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* 私信、聊天这类"一条一条读"的页面，窄一点更舒服 */
.container--narrow {
  max-width: 780px;
}

/* ================= 顶部导航 ================= */

.site-header {
  position: sticky;      /* 往下滚时导航吸在顶部 */
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--c-primary);
  flex-shrink: 0;
}

.logo-mark { width: 28px; height: 28px; }

.logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--c-text);
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
}

.nav-link {
  font-size: 15px;
  color: var(--c-text-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-link:hover { color: var(--c-primary); }

.nav-link.is-active {
  color: var(--c-text);
  font-weight: 500;
  border-bottom-color: var(--c-primary);
}

/* 右侧按钮区 */
.header-actions {
  margin-left: auto;   /* 把自己推到最右边 */
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ================= 按钮 ================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s,
              transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  white-space: nowrap;
  overflow: hidden;
}

.btn:active { transform: translateY(1px) scale(.985); }

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 999px; }

.btn-primary {
  background: var(--grad-primary);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 138, 100, .26);
  transition: background-position .45s ease, transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 138, 100, .34);
}
.btn-primary:active { transform: translateY(0) scale(.985); }

/* 按钮上划过的一道光泽（只有鼠标移上去才出现，不抢戏） */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg,
              rgba(255,255,255,0) 0%,
              rgba(255,255,255,.42) 50%,
              rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover::after {
  animation: sheen .75s ease-out;
}

.btn-outline {
  background: rgba(255, 255, 255, .7);
  color: var(--c-primary-dark);
  border-color: rgba(11, 138, 100, .35);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: var(--c-primary-soft);
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  color: var(--c-text-2);
}
.btn-ghost:hover { color: var(--c-primary); }

/* 手机上才显示的菜单按钮（三道杠） */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}

/* ================= 首屏 banner（风景版） =================
   这里没有用任何图片！天空、太阳、云、三层远山全部是用 CSS + SVG 画出来的。
   好处：打开页面不会白等一张大图，手机流量也省。
   以后想换成真实风景照：在 :root 的 --hero-photo 里填图片网址即可。
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 214px;
  isolation: isolate;               /* 把内部层级关起来，不污染外面 */
}

/* 整个风景背景的大容器 */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;                       /* 0 = 贴在正文下面 */
  pointer-events: none;             /* 背景不挡鼠标点击 */
  overflow: hidden;
  background:
    radial-gradient(720px 340px at 78% 6%, rgba(255, 227, 138, .55), transparent 62%),
    linear-gradient(180deg, #D9F0FF 0%, #E6F8F4 46%, #F2FBF7 100%);
}

/* —— 太阳 —— */
.scene-sun {
  position: absolute;
  top: 52px;
  right: 11%;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
              #FFF3B8 0%, #FFD860 40%, rgba(255, 201, 60, 0) 72%);
  animation: sunPulse 9s ease-in-out infinite;
}

/* —— 飘动的云（就是几团模糊的白色，成本极低但很有效）—— */
.scene-cloud {
  position: absolute;
  height: 40px;
  border-radius: 999px;
  background: #FFFFFF;
  filter: blur(17px);
  opacity: .9;
  animation: cloudFloat 26s ease-in-out infinite;
}

.scene-cloud::before {
  content: "";
  position: absolute;
  left: 16%;
  top: -15px;
  width: 48%;
  height: 34px;
  border-radius: 999px;
  background: #FFFFFF;
}

.scene-cloud--a { width: 210px; top: 74px;  left: 5%;  animation-duration: 27s; }
.scene-cloud--b { width: 300px; top: 152px; left: 42%; animation-duration: 36s; animation-delay: -8s;  opacity: .72; }
.scene-cloud--c { width: 170px; top: 36px;  left: 63%; animation-duration: 21s; animation-delay: -13s; opacity: .62; }
.scene-cloud--d { width: 250px; top: 208px; left: 16%; animation-duration: 31s; animation-delay: -4s;  opacity: .5; }

/* —— 三层远山（越远越淡、越蓝，这叫"空气透视"，是画出纵深感的诀窍）—— */
.scene-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  will-change: transform;           /* 告诉浏览器：这层会动，提前优化 */
}

.scene-ridge svg { width: 100%; height: 100%; display: block; }

.scene-ridge--back  { height: 64%; }
.scene-ridge--mid   { height: 46%; }
.scene-ridge--front { height: 31%; }

/* 山脚到页面的过渡雾，让风景和下面的正文接得自然 */
.scene-mist {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  z-index: 4;
  background: linear-gradient(180deg,
              rgba(245, 251, 248, 0) 0%,
              rgba(245, 251, 248, .68) 52%,
              var(--c-bg) 100%);
}

/* —— 真实风景照层 ——
   页面一打开它就是透明的；JS 确认图片加载成功后给 .hero 加 is-photo，
   照片才淡入显示。万一图片丢了，手绘的太阳/云/山继续顶班，页面永远不空白。 */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center var(--hero-py, 50%);  /* 视差就是微调这个值 */
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease;
  will-change: transform;
}

.hero.is-photo .hero-photo {
  opacity: 1;
  /* 缓慢的推拉镜头（Ken Burns），让静止照片有"活着"的感觉 */
  animation: heroKenBurns 34s ease-in-out infinite;
}

/* 压在照片上的可读性蒙版：左边深、右边浅，保证左侧白字看得清，
   同时让右侧的风景尽量完整地露出来 */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
  background:
    linear-gradient(97deg,
      rgba(5, 34, 27, .68) 0%,
      rgba(5, 34, 27, .46) 38%,
      rgba(5, 34, 27, .18) 62%,
      rgba(5, 34, 27, .02) 86%),
    linear-gradient(180deg,
      rgba(5, 34, 27, .32) 0%,
      rgba(5, 34, 27, 0) 34%,
      rgba(5, 34, 27, .34) 100%);
}

.hero.is-photo .hero-veil { opacity: 1; }

/* 照片就位后，手绘的太阳、云、山就光荣退休 */
.hero.is-photo .scene-sun,
.hero.is-photo .scene-cloud,
.hero.is-photo .scene-ridge { display: none; }

/* 静止照片的缓慢推拉镜头 */
@keyframes heroKenBurns {
  0%, 100% { transform: scale(1.06) translate3d(0, 0, 0); }
  50%      { transform: scale(1.12) translate3d(-1%, -0.8%, 0); }
}

/* —— 正文 —— */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary-dark);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(11, 138, 100, .18);
  backdrop-filter: blur(8px);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 50px;
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  /* 文字本身做一层渐变，比纯黑更有"年轻"的味道 */
  background: linear-gradient(120deg, #0B3B2E 0%, #0B8A64 58%, #2B8FD4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--c-text-2);
  max-width: 30em;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  display: inline-block;
  font-size: 13px;
  color: #3F5A51;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(6px);
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(11, 138, 100, .14);
}

/* —— 照片模式下的首屏文字 ——
   背景换成真实照片后，压在照片上的文字全部切换成"白字 + 淡淡投影"，
   这是旅游网站最经典的读法。图片没加载出来时这些规则不生效，
   上面的深色文字照常显示，两种模式各自都看得清。 */
.hero.is-photo .hero-eyebrow {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .38);
  box-shadow: none;
}

.hero.is-photo .hero-title {
  background: linear-gradient(120deg, #FFFFFF 0%, #F4FFFA 48%, #CFF3E6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 3px 16px rgba(5, 34, 27, .55));
}

.hero.is-photo .hero-desc {
  color: rgba(255, 255, 255, .93);
  text-shadow: 0 2px 14px rgba(5, 34, 27, .55);
}

.hero.is-photo .hero-note {
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .30);
}

.hero.is-photo .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, .9);
  background: rgba(10, 48, 38, .32);
  backdrop-filter: blur(6px);
}
.hero.is-photo .btn-outline:hover {
  background: rgba(10, 48, 38, .5);
}

/* 首屏文字逐个淡入上移，一进页面就有"登场"的感觉 */
.hero-text > * {
  animation: floatUp .78s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-text > *:nth-child(1) { animation-delay: .06s; }
.hero-text > *:nth-child(2) { animation-delay: .16s; }
.hero-text > *:nth-child(3) { animation-delay: .26s; }
.hero-text > *:nth-child(4) { animation-delay: .36s; }
.hero-text > *:nth-child(5) { animation-delay: .46s; }

/* 右侧演示卡片 */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: floatUp .9s cubic-bezier(.22, 1, .36, 1) .4s both;
}

.demo-card {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.demo-card--trip {
  position: relative;
  /* 卡片左边一道渐变彩条，就是"行程"的身份标识 */
  border-left: 4px solid transparent;
  background-image:
    linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
    var(--grad-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.demo-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--grad-sunset);
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.demo-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.demo-meta {
  font-size: 13px;
  color: var(--c-text-2);
}

.demo-card--person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 28px;   /* 稍微错开一点，显得有层次 */
  animation: bob 6s ease-in-out infinite;
}

.demo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-mint);
  flex-shrink: 0;
}

.demo-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ================= 通用区块 ================= */

.section { padding: 78px 0; }

/* 交替区块不再是一块纯色，上下做一点淡出，衔接更柔和 */
.section--tint {
  background: linear-gradient(180deg,
              rgba(237, 248, 244, 0) 0%,
              var(--c-tint) 18%,
              var(--c-tint) 82%,
              rgba(237, 248, 244, 0) 100%);
}

.section-title {
  position: relative;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 12px;
  padding-left: 18px;
}

/* 标题左边一道渐变竖条：全站统一的"年轻"记号 */
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 26px;
  margin-top: -13px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--c-mint), var(--c-primary));
}

.section-sub {
  font-size: 15px;
  color: var(--c-text-2);
  margin-bottom: 40px;
  max-width: 40em;
  padding-left: 18px;
}

/* ================= 三个特色 ================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34, 1.4, .64, 1),
              box-shadow .22s, border-color .22s;
}

/* 卡片顶部一道渐变细线，鼠标移上去才变亮 */
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: .3;
  transition: opacity .22s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 138, 100, .35);
}

.feature:hover::before { opacity: 1; }

.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #FFFFFF;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(11, 138, 100, .24);
  transition: transform .24s cubic-bezier(.34, 1.56, .64, 1);
}

.feature:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.feature-icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--c-text-2);
}

/* ================= 目的地（每张卡就是一小幅风景） ================= */

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

.dest {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;            /* 有照片之后卡片加高，风景才看得清 */
  min-height: 150px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  color: #FFFFFF;
  background: var(--grad-primary);
  box-shadow: var(--shadow-sm);
  transition: transform .24s cubic-bezier(.34, 1.4, .64, 1), box-shadow .24s;
}

/* 山峦剪影：六个目的地共用同一套山形，靠底色不同区分地方特色 */
.dest::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 62%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 120' preserveAspectRatio='none'%3E%3Cpath d='M0 82 L44 46 L78 74 L118 34 L156 70 L196 40 L236 74 L272 52 L300 78 L300 120 L0 120 Z' fill='%23ffffff' fill-opacity='0.22'/%3E%3Cpath d='M0 100 L40 74 L84 98 L130 66 L172 96 L214 70 L258 98 L300 76 L300 120 L0 120 Z' fill='%23ffffff' fill-opacity='0.30'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.dest:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.dest-name {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 60, 45, .3);
}

.dest-desc {
  position: relative;
  z-index: 1;
  font-size: 13px;
  opacity: .92;
}

/* 六个目的地各配一套"当地天色"的渐变 */
.dest:nth-child(1) { background: linear-gradient(135deg, #35C7A6 0%, #0B8A64 100%); } /* 川西 · 雪山绿 */
.dest:nth-child(2) { background: linear-gradient(135deg, #7BD16A 0%, #1E9E6B 100%); } /* 新疆 · 草原 */
.dest:nth-child(3) { background: linear-gradient(135deg, #6FC9F5 0%, #2B7FD4 100%); } /* 西藏 · 天空 */
.dest:nth-child(4) { background: linear-gradient(135deg, #9AA6FA 0%, #5A63C9 100%); } /* 甘南 · 暮色 */
.dest:nth-child(5) { background: linear-gradient(135deg, #FFB35C 0%, #E4552C 100%); } /* 云南 · 暖阳 */
.dest:nth-child(6) { background: linear-gradient(135deg, #4FD7D0 0%, #1D9BC4 100%); } /* 青海 · 湖蓝 */

/* —— 真实照片版目的地卡 ——
   HTML 里给每张卡加了 dest--photo 类，并用 style="--dest-img:url(...)"
   指定自己的照片。照片铺满整张卡，底部压一层深色渐变，
   保证"地名"两个字在任何风景上都看得清。
   万一照片没加载出来，上面的渐变兜底，卡片照样能用。
   （选择器写成 .dest.dest--photo 是为了在优先级上稳赢上面的
     .dest:nth-child(n) 渐变规则 —— 两边都是两级类，这里写在后面所以生效） */
.dest.dest--photo {
  background-image: var(--dest-img);
  background-size: cover;
  background-position: center;
}

/* 画出来的山形剪影在照片上会"打架"，直接关掉 */
.dest.dest--photo::after { display: none; }

.dest.dest--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
              rgba(6, 36, 29, .06) 0%,
              rgba(6, 36, 29, 0) 38%,
              rgba(6, 36, 29, .74) 100%);
}

.dest.dest--photo:hover { transform: translateY(-5px) scale(1.015); }

/* ================= 三步走 ================= */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  list-style: none;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.34, 1.4, .64, 1), box-shadow .22s;
}

/* 第一步→第二步之间连一条虚线（手机竖排时会自动藏起来） */
.step + .step::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 50%;
  width: 16px;
  border-top: 2px dashed rgba(11, 138, 100, .32);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-no {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--grad-primary);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--c-text-2);
}

/* ================= 底部号召（做成黄昏山景） ================= */

.cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  text-align: center;
  color: #FFFFFF;
  background:
    radial-gradient(520px 260px at 76% 10%, rgba(255, 227, 138, .55), transparent 64%),
    linear-gradient(135deg, #0E9E73 0%, #0B8A64 40%, #2B7FD4 100%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, 0% 50%;
  animation: gradShift 18s ease-in-out infinite;
}

/* 顶上再压一层山影，呼应首页的风景 */
.cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 130 L180 62 L340 124 L520 48 L700 122 L900 56 L1090 126 L1270 68 L1440 118 L1440 200 L0 200 Z' fill='%23000000' fill-opacity='0.16'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 28px;
}

/* CTA 里的按钮反色，否则一片绿看不见 */
.cta .btn-primary {
  background: #FFFFFF;
  color: var(--c-primary-dark);
  box-shadow: 0 14px 32px rgba(0, 40, 30, .28);
}
.cta .btn-primary:hover { background: #FFFFFF; color: var(--c-primary-dark); }
.cta .btn-primary::after { display: none; }

/* ================= 页脚 ================= */

.site-footer {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1FAF6 100%);
  border-top: 1px solid var(--c-border);
  padding-top: 52px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: var(--c-text-2);
  max-width: 26em;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-size: 14px;
  color: var(--c-text-2);
  transition: color .2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--c-text-3);
  max-width: 62em;
}

/* ================= 右下角提示条 ================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: #22322E;
  color: #fff;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 999;
  max-width: calc(100% - 48px);
  text-align: center;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   登录 / 注册 / 忘记密码 / 我的 —— 表单类页面样式
   （批次 1 新增）
   ============================================================ */

/* 工具类：加上它就隐藏 */
.is-hidden { display: none !important; }

.auth-main {
  padding: 56px 0 72px;
  min-height: calc(100vh - 68px - 160px);
  background:
    radial-gradient(700px 340px at 50% -10%, var(--c-primary-soft), transparent 70%),
    var(--c-bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px 34px;
}

.auth-card--wide { max-width: 560px; }

.auth-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 14px;
  color: var(--c-text-2);
  margin-bottom: 26px;
}

/* ---------- 标签页（密码登录 / 验证码登录） ---------- */

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--c-tint);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 9px 0;
  font-size: 14px;
  color: var(--c-text-2);
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.tab:hover { color: var(--c-text); }

.tab.is-active {
  background: var(--c-surface);
  color: var(--c-primary);
  font-weight: 500;
}

/* ---------- 表单 ---------- */

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 7px; }

.field-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text);
}

.field-hint {
  font-size: 12.5px;
  color: var(--c-text-3);
}

/* 输入框 */
.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.field input::placeholder { color: var(--c-text-3); }

/* 一行里放"输入框 + 按钮"（验证码那一行） */
.field-row {
  display: flex;
  gap: 10px;
}

.field-row input { flex: 1; min-width: 0; }

.field-row .btn { flex-shrink: 0; }

/* 勾选框那一行 */
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--c-text-2);
  line-height: 1.6;
}

.field--check input { margin-top: 4px; flex-shrink: 0; }

.field--check a { color: var(--c-primary); }

/* 整行按钮 */
.btn-block { width: 100%; }

/* ---------- 错误 / 提示条 ---------- */

.form-alert {
  display: none;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.form-alert.is-show { display: block; }

/* ---------- 表单下方的小字 ---------- */

.auth-helper {
  font-size: 13.5px;
  text-align: right;
}

.auth-helper a { color: var(--c-text-2); }
.auth-helper a:hover { color: var(--c-primary); }

.auth-foot {
  font-size: 14px;
  color: var(--c-text-2);
  text-align: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--c-border);
}

.auth-foot a { color: var(--c-primary); font-weight: 500; }

/* ---------- "我的"页面 ---------- */

.state-box { padding: 40px 0; text-align: center; }

.state-text { font-size: 14px; color: var(--c-text-2); }

.info-list {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 22px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  font-size: 14px;
}

.info-row + .info-row { border-top: 1px solid var(--c-border); }

.info-row dt { color: var(--c-text-2); flex-shrink: 0; }

.info-row dd {
  color: var(--c-text);
  text-align: right;
  word-break: break-all;
}

.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

/* 可折叠面板（修改密码） */
.panel {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  overflow: hidden;
}

.panel-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  text-align: left;
}

.panel-head:hover { background: var(--c-tint); }

.panel-arrow { color: var(--c-text-3); }

.panel-body {
  padding: 18px 16px 20px;
  border-top: 1px solid var(--c-border);
}

.action-row { display: flex; gap: 12px; }

/* ---------- 手机适配补充 ---------- */

@media (max-width: 900px) {
  .auth-main { padding: 36px 0 52px; }
  .auth-card { padding: 26px 20px; }
  .auth-title { font-size: 21px; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
}


/* ============================================================
   手机适配：屏幕宽度小于 900px 时，排版自动变成一列
   ============================================================ */

@media (max-width: 900px) {

  :root { --pad-x: 18px; }

  /* 导航折叠成下拉菜单 */
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 16px;
    margin-left: 0;
    display: none;
  }

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

  .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid var(--c-border);
  }

  .nav-link.is-active { border-bottom-color: var(--c-border); }

  .header-actions { display: none; }  /* 手机上把登录/注册收进菜单更清爽 */

  /* 首屏改成上下排（风景照样保留，只是山矮一点、给正文让位置） */
  .hero { padding: 56px 0 168px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 34px; letter-spacing: 1px; }
  .hero-desc { font-size: 16px; }
  .demo-card--person { margin-left: 0; }

  /* 手机上山水压扁一些，云少两朵，省电 */
  .scene-ridge--back  { height: 58%; }
  .scene-ridge--mid   { height: 42%; }
  .scene-ridge--front { height: 28%; }
  .scene-cloud--c,
  .scene-cloud--d { display: none; }
  .scene-sun { width: 92px; height: 92px; top: 30px; right: 8%; }

  /* 所有多列网格变成一列 */
  .feature-grid,
  .dest-grid,
  .steps { grid-template-columns: 1fr; }

  /* 竖排之后箭头没意义了，藏掉 */
  .step + .step::before { display: none; }

  .section { padding: 52px 0; }
  .section-title { font-size: 23px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .cta { padding: 56px 0 68px; }
  .cta h2 { font-size: 24px; }
}


/* ============================================================
   搭子名片（批次 2 新增）
   ============================================================ */

/* 名片编辑页比登录页宽一点，不然标签挤不下 */
.auth-card--form { max-width: 660px; }

/* 表单里的"必填"小红字 */
.req {
  font-style: normal;
  font-size: 11.5px;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 4px;
}

/* 两个输入框并排（年龄 + 常住城市） */
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* 数字输入框和文本域，样式跟文本框一致 */
.field input[type="number"],
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field textarea { resize: vertical; min-height: 76px; }

.field input[type="number"]:focus,
.field textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.field input[type="number"]::placeholder,
.field textarea::placeholder { color: var(--c-text-3); }

/* 成功提示：绿色（错误提示是橙色） */
.form-alert.is-ok {
  color: var(--c-primary-dark);
  background: var(--c-primary-soft);
}

/* ---------- 文字头像 ---------- */

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 26px;
  font-weight: 600;
  flex-shrink: 0;
  user-select: none;
}

.avatar--lg { width: 84px; height: 84px; font-size: 34px; }
.avatar--sm { width: 40px; height: 40px; font-size: 17px; }

/* ---------- 分段选择（性别） ---------- */

.seg { display: flex; gap: 8px; }

.seg-item { position: relative; flex: 1; }

.seg-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg-item span {
  display: block;
  text-align: center;
  padding: 9px 0;
  font-size: 14px;
  color: var(--c-text-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: all .15s;
  cursor: pointer;
}

.seg-item input:checked + span {
  background: var(--c-primary-soft);
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
  font-weight: 500;
}

/* ---------- 可选标签（省份、偏好） ---------- */

.chip-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 168px;      /* 34 个省份太多，限高可滚动 */
  overflow-y: auto;
  padding: 2px;
}

.chip {
  padding: 6px 13px;
  font-size: 13.5px;
  color: var(--c-text-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  transition: all .15s;
}

.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }

.chip.is-on {
  background: var(--c-primary-soft);
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
  font-weight: 500;
}

/* 只读的小标签（名片展示用） */
.chip-static {
  display: inline-block;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--c-text-2);
  background: var(--c-tint);
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

/* ---------- 名片展示 ---------- */

.card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.card-head--top {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--c-border);
}

.card-head-text { min-width: 0; }

.card-name {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.card-meta {
  font-size: 13.5px;
  color: var(--c-text-2);
  margin-top: 2px;
}

.card-badges { margin-top: 8px; }

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--c-tint);
  color: var(--c-text-2);
  margin-right: 6px;
}

.badge--primary { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.badge--accent  { background: var(--c-accent-soft);  color: var(--c-accent); }

.card-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

.card-section:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.card-label {
  font-size: 13px;
  color: var(--c-text-3);
  margin-bottom: 9px;
}

.card-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-text);
  white-space: pre-wrap;   /* 用户换行的地方保留换行 */
  word-break: break-word;
}

.card-actions { margin-top: 26px; }

/* "我的"页面里那张名片预览小块 */
.me-card-block {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  margin-bottom: 22px;
}

/* "我的"页面里的入口行（例如"我发布的行程"） */
.me-entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  margin-bottom: 22px;
  transition: border-color .18s, background .18s;
}

.me-entry-row:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }

.me-entry-text { display: flex; flex-direction: column; min-width: 0; }

.me-entry-title { font-size: 15px; font-weight: 500; color: var(--c-text); }

.me-entry-sub { font-size: 13px; color: var(--c-text-2); margin-top: 2px; }

.me-entry-arrow { font-size: 20px; color: var(--c-text-3); flex-shrink: 0; }

.phone-mask {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 1px;
  font-size: 16px;
}

/* 灰底说明块 */
.notice {
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-2);
  background: var(--c-tint);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}

.notice a { color: var(--c-primary); font-weight: 500; }

/* ---------- 手机端：只在菜单里显示的登录/退出入口 ---------- */

.nav-auth-mobile { display: none; }

@media (max-width: 900px) {

  .auth-card--form { max-width: 100%; }
  .field-pair { grid-template-columns: 1fr; }
  .card-head { gap: 14px; }
  .avatar--lg { width: 68px; height: 68px; font-size: 27px; }
  .card-name { font-size: 19px; }
  .chip-box { max-height: 200px; }

  /* 手机端顶部不显示"登录/注册/昵称"按钮，所以把它们放进折叠菜单里 */
  .nav-auth-mobile { display: block; }
}


/* ============================================================
   行程 · 列表 / 筛选 / 详情 / 我的行程（批次 3 新增）
   ============================================================ */

/* ---------- 列表页通用 ---------- */

.list-main {
  padding: 40px 0 72px;
  min-height: calc(100vh - 68px - 160px);
  background: var(--c-bg);
}

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

.list-title { font-size: 26px; font-weight: 600; }

.list-sub {
  font-size: 14px;
  color: var(--c-text-2);
  margin-top: 6px;
}

/* ---------- 筛选栏 ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 132px;
}

.filter-item--grow { flex: 1; min-width: 190px; }

.filter-label {
  font-size: 12.5px;
  color: var(--c-text-3);
}

.filter-item select,
.filter-item input[type="text"] {
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  outline: none;
}

.filter-item select:focus,
.filter-item input[type="text"]:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-2);
  padding-bottom: 10px;
}

.list-count {
  font-size: 13.5px;
  color: var(--c-text-2);
  margin-bottom: 16px;
}

/* ---------- 行程卡片网格 ---------- */

.trip-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(296px, 1fr));
  gap: 18px;
}

.trip-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.trip-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(15, 122, 99, 0.10);
}

.trip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.trip-card-when {
  font-size: 12.5px;
  color: var(--c-text-3);
}

.trip-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  word-break: break-word;
}

.trip-card-dest {
  font-size: 14px;
  color: var(--c-primary-dark);
  font-weight: 500;
  margin-bottom: 4px;
}

.trip-card-meta {
  font-size: 13.5px;
  color: var(--c-text-2);
  margin-bottom: 14px;
}

.trip-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.trip-card-facts span {
  font-size: 12.5px;
  color: var(--c-text-2);
  background: var(--c-tint);
  border-radius: 999px;
  padding: 4px 11px;
}

.trip-card-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.trip-card-nick {
  font-size: 13.5px;
  color: var(--c-text-2);
}

.trip-card-nick em { font-style: normal; color: var(--c-text-3); }

/* ---------- 状态徽章 ---------- */

.badge--open    { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.badge--closed  { background: #EDEDEA; color: var(--c-text-2); }
.badge--expired { background: var(--c-accent-soft); color: var(--c-accent); }

/* ---------- 空状态 ---------- */

.empty-box {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  padding: 52px 24px;
}

.empty-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.empty-text {
  font-size: 14px;
  color: var(--c-text-2);
  margin-bottom: 20px;
  line-height: 1.7;
}

.list-more { text-align: center; margin-top: 28px; }

/* ---------- 行程详情 ---------- */

.detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-countdown { font-size: 13px; color: var(--c-text-3); }

.detail-title {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
  word-break: break-word;
}

.detail-dest {
  font-size: 15px;
  color: var(--c-primary-dark);
  font-weight: 500;
}

.detail-facts { margin-top: 22px; margin-bottom: 0; }

/* 发起人那一行 */
.owner-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .18s, background .18s;
}

.owner-row:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }

.owner-row-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.owner-row-name { font-size: 15.5px; font-weight: 600; color: var(--c-text); }

.owner-row-meta { font-size: 13px; color: var(--c-text-2); margin-top: 2px; }

.owner-row-arrow { font-size: 13px; color: var(--c-primary); flex-shrink: 0; }

/* ---------- 危险按钮（删除） ---------- */

.btn-danger {
  color: #B3261E;
  border: 1px solid #F1C9C5;
  background: #FDF2F1;
}

.btn-danger:hover { background: #F9E1DE; border-color: #B3261E; }

/* ---------- 我发布的行程 ---------- */

.group-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-2);
  margin: 26px 0 12px;
}

.group-title:first-child { margin-top: 0; }

.my-trip-list { display: flex; flex-direction: column; gap: 12px; }

.my-trip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.my-trip-main { min-width: 0; flex: 1; }

.my-trip-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  word-break: break-word;
}

.my-trip-meta {
  font-size: 13px;
  color: var(--c-text-2);
  margin-bottom: 8px;
}

.my-trip-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.my-trip-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- 补充：日期输入框 / 单选标签池 / 提醒色 ---------- */

.field input[type="date"] {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  outline: none;
}

.field input[type="date"]:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

/* 单选的目的地标签池：比多选的高一点，34 个要都能滚到 */
.chip-box--single { max-height: 144px; }

.notice--warn {
  color: var(--c-accent);
  background: var(--c-accent-soft);
}

/* ---------- 手机端 ---------- */

@media (max-width: 900px) {

  .list-main { padding: 28px 0 56px; }

  .list-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .list-title { font-size: 22px; }

  .filter-bar { padding: 14px; gap: 12px; }

  .filter-item { min-width: 100%; }
  .filter-item--grow { min-width: 100%; }

  .filter-check { padding-bottom: 0; }

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

  .detail-title { font-size: 21px; }

  .my-trip-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .my-trip-actions { width: 100%; }
  .my-trip-actions .btn { flex: 1; text-align: center; }
}


/* ============================================================
   视觉升级（年轻 · 动感 · 风景）
   ------------------------------------------------------------
   这一段做三件事：
   1. 定义全站用到的动画（淡入、飘云、太阳呼吸、光带扫过…）
   2. 给"内页"（找搭子、我的、登录…）加上一道风景横幅，
      这样点进任何一页，风格都和首页是一家人
   3. 把卡片、筛选栏这些零件的阴影和圆角统一调软
   ============================================================ */

/* ================= 一、动画定义 ================= */

/* 从下往上淡入（首屏文字、卡片入场都用它） */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 轻轻上下浮动（首页那张人物卡） */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* 云朵慢慢飘 */
@keyframes cloudFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(42px, -10px); }
}

/* 太阳一呼一吸 */
@keyframes sunPulse {
  0%, 100% { transform: scale(1);    opacity: .95; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* 按钮上划过的那道光 */
@keyframes sheen {
  from { left: -60%;  opacity: 0; }
  35%  { opacity: 1; }
  to   { left: 120%;  opacity: 0; }
}

/* 底部号召区的渐变缓慢流动 */
@keyframes gradShift {
  0%, 100% { background-position: 0 0, 0% 50%; }
  50%      { background-position: 0 0, 100% 50%; }
}

/* 往下滚动时，元素依次浮现 */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 只有 JS 正常跑起来（给 html 加了 reveal-ready）才会隐藏元素，
   万一脚本被拦住，页面内容照样看得见，不会白屏。 */
html.reveal-ready [data-reveal] { opacity: 0; }

html.reveal-ready [data-reveal].is-in {
  opacity: 1;
  animation: revealUp .68s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--reveal-delay, 0s);
}

/* ================= 二、内页的风景横幅 =================
   用的是和首页同一套配色，但更淡，不抢正文。
   完全不用改 HTML —— 是挂在 <main> 上的，所有内页自动生效。
   ============================================ */

.list-main,
.auth-main { position: relative; }

.list-main::before,
.auth-main::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 250px;
  z-index: 0;
  pointer-events: none;
  /* 复用首页那张真实风景照，罩一层接近纯白的纱，
     让它只是"隐约可见"，不跟正文抢注意力 */
  background:
    linear-gradient(180deg,
      rgba(246, 251, 249, .90) 0%,
      rgba(246, 251, 249, .74) 46%,
      rgba(246, 251, 249, 0) 100%),
    url("../img/hero.jpg") center 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 44%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 44%, transparent 100%);
}

/* 让正文压在风景之上，否则文字会被背景蒙上一层 */
.list-main > .container,
.list-main > .auth-card,
.auth-main > .container,
.auth-main > .auth-card {
  position: relative;
  z-index: 1;
}

/* ================= 三、零件统一调软 ================= */

/* 顶部导航：毛玻璃加强，滚动时浮起一点阴影 */
.site-header {
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  transition: box-shadow .22s;
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(9, 74, 55, .09); }

.logo-mark { filter: drop-shadow(0 3px 7px rgba(11, 138, 100, .28)); }
.logo-text { font-weight: 700; letter-spacing: 2px; }

/* 卡片统一：圆角更大、阴影更柔 */
.auth-card,
.filter-bar,
.empty-box,
.info-list,
.panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.auth-card { padding: 38px 34px; }
.auth-title { font-weight: 700; letter-spacing: .5px; }
.list-title { font-weight: 700; letter-spacing: .5px; }

/* 行程卡片：鼠标移上去，顶上亮起一道渐变条 */
.trip-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trip-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.trip-card:hover::before { transform: scaleX(1); }

.trip-card:hover {
  border-color: rgba(11, 138, 100, .38);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* 徽章做成小圆点+文字的胶囊，比纯色块更轻快 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.badge--open,
.badge--closed,
.badge--expired { border-radius: 999px; }

/* 提示条：换成深青色，和整体更搭 */
.toast {
  background: linear-gradient(135deg, #16453A 0%, #0E3128 100%);
  box-shadow: 0 14px 34px rgba(9, 45, 35, .3);
}

/* 头像加一点点渐变光泽，比纯色更精神 */
.avatar {
  box-shadow: 0 6px 16px rgba(9, 74, 55, .18),
              inset 0 -4px 12px rgba(0, 0, 0, .10);
}

/* 筛选栏里被选中的下拉框，给一点主色描边 */
.filter-item select:focus,
.filter-item input[type="text"]:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(11, 138, 100, .14);
}

/* ================= 四、手机上的微调 ================= */

@media (max-width: 900px) {
  .list-main::before,
  .auth-main::before { height: 190px; background-size: cover; background-position: center 30%; }

  /* 手机上文字占满整行，蒙版改成"上下加深"，四边的白字都看得清 */
  .hero.is-photo .hero-veil {
    background:
      linear-gradient(180deg,
        rgba(5, 34, 27, .52) 0%,
        rgba(5, 34, 27, .34) 42%,
        rgba(5, 34, 27, .58) 100%);
  }

  /* 单列之后卡片会变得很宽，限一下高度，别让一张卡占满半屏 */
  .dest { max-height: 300px; }

  .hero-title { font-size: 33px; }
  .cta p { font-size: 15px; padding: 0 8px; }
}

/* ================= 五、照顾"不想看动效"的人 =================
   系统里开了"减少动态效果"的话，所有动画自动停掉。
   这不是可选项，是必须做的无障碍处理（有些人会因动效头晕）。
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.reveal-ready [data-reveal] { opacity: 1; }
  .scene-cloud, .scene-sun, .demo-card--person { animation: none !important; }
}


/* ============================================================
   私信（批次 4）
   ------------------------------------------------------------
   两块东西：会话列表（messages.html）和聊天窗（chat.html）。
   聊天窗是"竖着的三层"：对方信息条 → 交换面板 → 气泡区 → 输入框。
   ============================================================ */

/* ================= 一、会话列表 ================= */

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

.conv-row + .conv-row {
  border-top: 1px solid var(--c-border);
}

.conv-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 6px;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background .15s;
}

.conv-link:hover { background: var(--c-primary-soft); }

.conv-main {
  flex: 1;
  min-width: 0;           /* 让里面的文字能正常截断省略 */
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.conv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.conv-name {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.conv-time {
  font-size: 12px;
  color: var(--c-text-3);
  flex-shrink: 0;
}

.conv-preview {
  font-size: 14px;
  color: var(--c-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conv-preview-empty { color: var(--c-text-3); }

/* 有新消息：名字旁边一颗绿色小圆点 */
.unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(228, 85, 44, .15);
}

.conv-row.has-new .conv-name { color: var(--c-primary); }

/* ================= 二、聊天窗整体 ================= */

.chat-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;   /* 聊天窗要贴边，别用默认内边距 */
  overflow: hidden;
}

/* ---- 顶部：对方信息条 ---- */
.chat-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  flex-shrink: 0;
}

.chat-head .auth-title,
.chat-head .auth-sub { margin: 0; padding: 0 18px; }

.chat-peer {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  margin: -4px -6px;
  transition: background .15s;
}

.chat-peer:hover { background: var(--c-primary-soft); }

.chat-peer-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chat-peer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}

.chat-peer-meta {
  font-size: 13px;
  color: var(--c-text-3);
}

.chat-peer-arrow {
  font-size: 13px;
  color: var(--c-primary);
  flex-shrink: 0;
}

/* ---- 交换联系方式面板 ---- */
.swap-panel {
  padding: 12px 18px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-tint);
  font-size: 13px;
  color: var(--c-text-2);
  flex-shrink: 0;
}

.swap-panel[style*="display: none"],
.swap-panel.is-hidden { display: none; }

.swap-status { margin-bottom: 8px; }

.swap-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

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

.swap-label {
  font-size: 12px;
  color: var(--c-text-3);
  width: 72px;
  flex-shrink: 0;
}

.swap-phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 1px;
}

/* ---- 气泡区 ---- */
.msg-thread {
  flex: 1;
  min-height: 320px;
  max-height: 56vh;
  overflow-y: auto;
  padding: 18px 18px 10px;
  background:
    radial-gradient(600px 260px at 85% -8%, var(--c-primary-soft), transparent 70%),
    var(--c-bg);
  display: flex;
  flex-direction: column;
}

.msg-day {
  align-self: center;
  font-size: 12px;
  color: var(--c-text-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 3px 14px;
  margin: 10px 0;
}

.msg-row {
  display: flex;
  margin-bottom: 4px;
}

.msg-row.is-mine { justify-content: flex-end; }

.msg-col {
  max-width: 78%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.msg-row.is-mine .msg-col { align-items: flex-end; }

.bubble {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.6;
  padding: 9px 14px;
  border-radius: 16px 16px 16px 5px;   /* 左下角收窄，像聊天气泡的小尾巴 */
  word-break: break-word;
  white-space: pre-wrap;
}

.msg-row.is-mine .bubble {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  border-radius: 16px 16px 5px 16px;
}

/* 撤回后的那条灰字 */
.bubble--recalled {
  background: transparent;
  border-style: dashed;
  color: var(--c-text-3);
  font-size: 13px;
}

.msg-row.is-mine .bubble--recalled {
  background: rgba(11, 138, 100, .10);
  border: 1px dashed rgba(11, 138, 100, .3);
  color: var(--c-text-2);
}

.msg-meta {
  font-size: 11px;
  color: var(--c-text-3);
  padding: 0 4px;
}

/* 撤回小按钮 */
.recall-btn {
  border: none;
  background: none;
  font-size: 11px;
  color: var(--c-text-3);
  cursor: pointer;
  padding: 0 4px;
}

.recall-btn:hover { color: var(--c-danger, #C93B2B); }

/* ---- 输入框 ---- */
.chat-inputbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  resize: none;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  outline: none;
  max-height: 120px;
  transition: border-color .15s, box-shadow .15s;
}

.chat-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(11, 138, 100, .14);
}

/* ================= 三、手机适配 ================= */

@media (max-width: 900px) {
  .msg-thread { max-height: 48vh; min-height: 260px; }
  .msg-col { max-width: 88%; }
  .swap-panel { padding: 10px 14px; }
  .chat-head { padding: 12px 14px; }
}

/* ============================================================
   批次 5 · 举报 / 拉黑 / 协议页
   ============================================================ */

/* ---- 一、小字操作链接（举报 / 拉黑入口，低调但可点） ---- */
.link-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font: inherit;
  font-size: 13px;
  color: var(--c-text-3);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-border);
  transition: color .15s;
}

.link-btn:hover { color: var(--c-danger, #B3261E); }

/* 名片/聊天里的"拉黑 · 举报"那一行：靠右，字号小，不抢戏 */
.mini-actions {
  justify-content: flex-end;
  gap: 18px;
  margin-top: 6px;
}

/* ---- 二、聊天窗口顶部的举报/拉黑按钮 ---- */
.chat-head-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 2px 8px 0;
}

/* ---- 三、拉黑管理页：列表行改成"头像昵称 + 解除按钮"两栏 ---- */
.blocklist-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blocklist-row .conv-link { flex: 1; min-width: 0; }

.btn-small { padding: 7px 14px; font-size: 13px; flex-shrink: 0; }

/* ---- 四、举报弹窗 ---- */
.bw-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 30, 28, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: bwFadeIn .18s ease-out;
}

@keyframes bwFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bw-modal {
  background: var(--c-surface, #fff);
  border-radius: 18px;
  box-shadow: var(--shadow-lg, 0 18px 48px rgba(20, 40, 34, .18));
  width: 100%;
  max-width: 460px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 24px 22px 20px;
  animation: bwPop .2s ease-out;
}

@keyframes bwPop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.bw-modal-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text-1, #1c2b26);
}

.bw-modal-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--c-text-3);
}

.bw-reasons {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.bw-reason {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text-1, #1c2b26);
  transition: background .15s;
}

.bw-reason:hover { background: var(--c-primary-soft); }
.bw-reason input { accent-color: var(--c-primary); }

.bw-detail {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 70px;
}

.bw-detail:focus {
  outline: none;
  border-color: var(--c-primary);
}

.bw-modal-err {
  min-height: 18px;
  margin: 8px 0 2px;
  font-size: 13px;
  color: #B3261E;
}

.bw-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

/* ---- 五、协议页排版 ---- */
.doc-card { padding-bottom: 26px; }

.doc-notice {
  background: var(--c-primary-soft, #EAF6F1);
  border-left: 4px solid var(--c-primary);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-1, #1c2b26);
  margin-bottom: 8px;
}

.doc-section { margin-top: 26px; }

.doc-h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text-1, #1c2b26);
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--c-accent);
}

.doc-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-2, #3d4d47);
  margin: 0 0 8px;
}

/* ---- 六、页脚协议链接（main.js 自动注入） ---- */
.footer-links {
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--c-text-3); text-decoration: none; }
.footer-links a:hover { color: var(--c-primary); text-decoration: underline; }

/* ---- 七、被拉黑提示条（聊天窗内） ---- */
.block-notice {
  background: #FDF2EC;
  border: 1px solid #F2C9AE;
  color: #8A4B22;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 14px 0;
}

@media (max-width: 900px) {
  .bw-modal { padding: 18px 16px 16px; }
  .mini-actions { gap: 14px; }
}

/* ============================================================
   批次 6 · 评价互评 / 站长后台
   ============================================================ */

/* ---- 一、星星（展示用） ---- */
.stars { white-space: nowrap; }

.star {
  color: var(--c-border, #d8e0dc);
  font-size: 15px;
}

.star--on { color: #F5A623; }

/* ---- 二、星星（打分弹窗里可点的） ---- */
.star-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 4px;
}

.star-pick {
  background: none;
  border: none;
  font-size: 34px;
  line-height: 1;
  color: var(--c-border, #d8e0dc);
  cursor: pointer;
  padding: 2px 4px;
  transition: transform .12s, color .12s;
}

.star-pick:hover { transform: scale(1.15); }
.star-pick.is-on { color: #F5A623; }

.star-hint {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-3);
  margin: 0 0 12px;
  min-height: 18px;
}

/* ---- 三、评价条目 ---- */
.review-item {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--c-text-1, #1c2b26);
}

.review-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--c-text-3);
}

.review-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-2, #3d4d47);
}

/* ---- 四、站长后台 ---- */
.admin-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}

.stat-chip {
  flex: 1;
  min-width: 72px;
  background: var(--c-primary-soft, #EAF6F1);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.stat-chip b {
  display: block;
  font-size: 22px;
  color: var(--c-primary);
}

.stat-chip span {
  font-size: 12px;
  color: var(--c-text-3);
}

.stat-chip--warn { background: #FDF2EC; }
.stat-chip--warn b { color: #D2691E; }

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

.admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-top: 1px solid var(--c-border);
}

.admin-row:first-child { border-top: none; }

.admin-row-main { flex: 1; min-width: 0; }

.admin-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-1, #1c2b26);
}

.admin-row-top a { color: var(--c-primary); text-decoration: none; }
.admin-row-top a:hover { text-decoration: underline; }

.admin-row-time { font-size: 12px; color: var(--c-text-3); font-weight: 400; }

.admin-row-text {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-2, #3d4d47);
  word-break: break-word;
}

.admin-row-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--c-text-3);
}

.admin-row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .admin-row { flex-direction: column; align-items: stretch; }
  .admin-row-actions { flex-direction: row; }
}
