/* ============================================================
   home.css — 首页（问候 hero / 四模块入口卡 / 文章卡流 / 热门榜）
   ============================================================ */

/* ---------- 全屏横幅 ---------- */
.site-banner {
  position: relative;
  height: 82vh;
  min-height: 540px;
  background-image: url('../images/bg/night.jpg');
  background-size: cover;
  background-position: center;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 32, .28);
}
.banner-content {
  position: absolute;
  inset: 0 0 190px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.banner-quote {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: clamp(22px, 3.6vw, 40px);
  letter-spacing: .12em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
  min-height: 1.5em;
}
.banner-sub {
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
  letter-spacing: .28em;
  text-indent: .28em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

/* ---------- 横幅液态玻璃统计条（压在背景图上：深玻璃 + 白字） ---------- */
.banner-glass {
  --bg-line: rgba(255, 255, 255, .22);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  margin: 0 auto;
  z-index: 3;
  width: min(1180px, calc(100% - 28px));
  padding: 14px clamp(18px, 3vw, 38px) 12px;
  border-radius: 22px;
  background: rgba(15, 21, 36, .38);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .1);
  text-align: center;
}
/* 玻璃肌理：细颗粒噪点 */
.banner-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: .06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 站点数据行：文章 / 字数 / 运行时长 + 在线胶囊 */
.lh-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  flex-wrap: wrap;
}
.lh-site-stats {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin: 0 auto;
}
.lh-item { font-size: 13.5px; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.lh-item b {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 2px;
  font-variant-numeric: tabular-nums;
}
.lh-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .8); opacity: .55; align-self: center; }
/* 桌面端：在线胶囊排到行尾；移动端覆盖为自然顺序（跟在“万字”后同排） */
.lh-site-stats .lh-online { order: 2; }
.lh-site-stats .lh-dot-d { order: 1; }
.lh-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .88);
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  white-space: nowrap;
}
.lh-online i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: lh-pulse 2s ease-out infinite;
}
@keyframes lh-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.banner-glass .vs-online { color: #fff; font-weight: 700; }

/* 访问统计条：无卡片，一行紧凑排布，细分隔线 */
.lh-statbar {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--bg-line);
}
.vs-item {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 2px clamp(14px, 2.6vw, 34px);
}
.vs-item + .vs-item { border-left: 1px solid var(--bg-line); }
.vs-num {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.3px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.vs-lbl { font-size: 12.5px; color: rgba(255, 255, 255, .66); letter-spacing: .04em; white-space: nowrap; }
.lh-refs {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--bg-line);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}
.vs-ref { color: rgba(255, 255, 255, .85); }

/* ---------- 快捷入口（横幅下方独立一行） ---------- */
.hero-actions { padding: 26px 0 8px; }
.hero-cta { display: flex; justify-content: center; align-items: center; }

/* 一体分段胶囊：主选项填充，细分隔线，悬停整段变色 */
.cta-seg {
  display: inline-flex;
  align-items: stretch;
  border-radius: var(--r-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.seg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--text-2);
  white-space: nowrap;
  transition: var(--t), filter .3s;
}
.seg-btn + .seg-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44%;
  background: var(--border);
  transition: opacity .3s;
}
.seg-btn:hover { background: var(--bg-hover); color: var(--text); }
.cta-seg:has(.seg-btn:hover) .seg-btn::before { opacity: 0; }
.seg-primary { background: var(--grad-brand); color: #fff; font-weight: 500; }
.seg-primary:hover { background: var(--grad-brand); color: #fff; filter: brightness(1.07) saturate(1.05); }

@media (max-width: 720px) {
  .lh-statbar { display: grid; grid-template-columns: repeat(3, 1fr); justify-content: center; gap: 12px 10px; }
  .vs-item { flex-direction: column; align-items: center; gap: 3px; border-left: none; padding: 0; }
  .vs-num { font-size: 19px; }
  .vs-lbl { font-size: 11.5px; }
}
@media (max-width: 640px) {
  /* 手机端横幅固定为一屏高：引句区弹性伸缩、玻璃统计条收底，
     打字机句子变长变短都不会顶动页面布局。
     用 svh（小视口高）：手机地址栏收起/弹出时高度保持不变，页面不会跟着"放大缩小" */
  .site-banner {
    height: 100vh; /* 老浏览器回退 */
    height: 100svh; /* Chrome/Edge 移动版 108+ 生效 */
    min-height: 540px;
    display: flex;
    flex-direction: column;
    padding-top: 170px; /* 时钟 + 音乐播放器高度 */
  }
  .banner-content { position: relative; inset: auto; flex: 1 1 0; min-height: 0; padding: 0 18px 20px; }
  .banner-quote { font-size: clamp(19px, 5.6vw, 24px); }
  .banner-sub { margin-top: 14px; font-size: 13px; }

  /* 紧凑版玻璃统计条 */
  .banner-glass { position: relative; bottom: auto; width: auto; margin: 0 10px 14px; padding: 11px 14px 10px; border-radius: 16px; }
  .lh-site { gap: 5px 14px; }
  .lh-site-stats { gap: 5px 10px; }
  .lh-item { font-size: 12px; }
  .lh-item b { font-size: 15.5px; }
  .lh-online { font-size: 11.5px; padding: 4px 11px; gap: 6px; }
  .lh-site-stats .lh-online { order: 0; }
  .lh-dot-d { display: none; }
  .lh-online i { width: 6px; height: 6px; }
  .lh-statbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 6px; margin-top: 9px; padding-top: 9px; }
  .vs-item { flex-direction: column; align-items: center; gap: 2px; border-left: none; padding: 0; }
  .vs-num { font-size: 17px; }
  .vs-lbl { font-size: 10.5px; }

  /* 快捷入口：分段胶囊铺满整行 */
  .hero-actions { padding: 16px 0 6px; }
  .cta-seg { display: flex; width: 100%; }
  .seg-btn { flex: 1 1 0; padding: 11px 4px; font-size: clamp(11.5px, 3.2vw, 13px); }
}

/* ---------- 四模块入口卡 ---------- *//* ---------- 四模块入口卡 ---------- */
.module-section { padding: 24px 0 6px; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .module-grid { grid-template-columns: 1fr; } }

.module-card {
  --mc: var(--brand);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--t);
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: var(--mc); }

/* 顶部装饰区：每个模块不同质感 */
.module-art {
  height: 96px;
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--mc) 8%, var(--bg-card));
  border-bottom: 1px solid var(--border);
}
.module-art .glyph {
  position: absolute;
  right: 14px;
  bottom: -8px;
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  color: color-mix(in srgb, var(--mc) 26%, transparent);
  line-height: 1;
  user-select: none;
}
.module-art .tagchip {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--mc);
  font-weight: 600;
}
/* 技术 · 点阵网格 */
.module-card.key-tech { --mc: var(--c-tech); }
.module-card.key-tech .module-art::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--c-tech) 30%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-tech) 30%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at 20% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 20%, transparent 80%);
}
/* 日记 · 和纸胶带 */
.module-card.key-diary { --mc: var(--c-diary); }
.module-card.key-diary .module-art::before {
  content: '';
  position: absolute;
  left: -14px; top: 18px;
  width: 110px; height: 26px;
  background: repeating-linear-gradient(45deg,
    color-mix(in srgb, var(--c-diary) 55%, transparent) 0 10px,
    color-mix(in srgb, var(--c-diary) 38%, transparent) 10px 20px);
  opacity: .8;
  transform: rotate(-6deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
/* 散文 · 纸张横线 */
.module-card.key-essay { --mc: var(--c-essay); }
.module-card.key-essay .module-art::before {
  content: '';
  position: absolute; inset: 10px 12px;
  background: repeating-linear-gradient(
    transparent 0 15px,
    color-mix(in srgb, var(--c-essay) 34%, transparent) 15px 16px);
}
.module-card.key-essay .module-art::after {
  content: '';
  position: absolute; left: 26px; top: 8px; bottom: 8px;
  width: 1px;
  background: color-mix(in srgb, #d66 55%, transparent);
}
/* 诗句 · 墨点与朱砂 */
.module-card.key-poem { --mc: var(--c-poem); }
.module-card.key-poem .module-art::before {
  content: '';
  position: absolute;
  left: 18px; top: 22px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(40, 40, 45, .16), rgba(40, 40, 45, .05) 55%, transparent 72%);
  filter: blur(1px);
}
.module-card.key-poem .module-art::after {
  content: '';
  position: absolute;
  right: 20px; top: 20px;
  width: 22px; height: 22px;
  background: var(--c-poem);
  border-radius: 4px;
  transform: rotate(6deg);
  box-shadow: inset 0 0 5px rgba(80, 10, 10, .55);
  opacity: .9;
}

.module-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.module-body .name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.module-body .name { font-size: 19px; font-weight: 700; color: var(--text); }
.module-body .count { font-size: 12.5px; color: var(--text-3); }
.module-body .latest {
  font-size: 13px;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 22px;
}
.module-body .go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  color: var(--mc);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.module-card:hover .go .arrow { transform: translateX(4px); }
.module-body .go .arrow { transition: var(--t); }

/* ---------- 最新技术文章 ---------- */
.home-section { padding: 30px 0 6px; }
.post-list { display: flex; flex-direction: column; gap: 16px; }

/* ---------- 精选 + 热门 双栏 ---------- */
.duo-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) { .duo-grid { grid-template-columns: 1fr; } }

.side-panel { padding: 22px 24px; }
.side-panel h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-panel h3::before {
  content: '';
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--brand);
}

.featured-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  align-items: center;
}
.featured-item:last-child { border-bottom: none; }
.featured-item img {
  width: 86px; height: 58px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--bg-secondary);
}
.featured-item .t {
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-item:hover .t { color: var(--brand); }
.featured-item .d { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* 热门榜：序号列表 */
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.rank-item:last-child { border-bottom: none; }
.rank-item .no {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  width: 30px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: var(--t);
}
.rank-item:nth-child(1) .no { color: #f59e0b; }
.rank-item:nth-child(2) .no { color: #94a3b8; }
.rank-item:nth-child(3) .no { color: #d97706; }
.rank-item .t {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-item:hover .no, .rank-item:hover .t { color: var(--brand); }
.rank-item .views { font-size: 12px; color: var(--text-3); flex-shrink: 0; }

/* ---------- 订阅条 ---------- */
.subscribe-strip { margin: 46px 0 0; }
.subscribe-strip details { overflow: hidden; }
.subscribe-strip summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--t);
}
.subscribe-strip summary::-webkit-details-marker { display: none; }
.subscribe-strip summary:hover { color: var(--brand); }
.subscribe-strip summary .hint { font-size: 13px; color: var(--text-3); font-weight: 400; }
.subscribe-form {
  border-top: 1px solid var(--border);
  padding: 20px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 860px) { .subscribe-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .subscribe-form { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 5px;
}
.field input {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-secondary);
  transition: var(--t);
  font-size: 14px;
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--brand-op);
}
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row img {
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  cursor: pointer;
}

/* ---------- 移动端微调 ---------- */
@media (max-width: 640px) {
  .home-hero { padding: 56px 0 40px; }
  .hero-float { display: none; }
  .hero-blob { filter: blur(44px); opacity: .4; }
  .hero-scroll-hint { margin-top: 30px; }
}

/* ---------- 今日诗句 × 最新留言 ---------- */
.poem-duo {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 860px) { .poem-duo { grid-template-columns: 1fr; } }

.poem-today {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 26px 22px;
  background:
    radial-gradient(circle at 85% 12%, rgba(224, 82, 82, .1), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(168, 107, 255, .1), transparent 40%),
    var(--bg-card);
  overflow: hidden;
}
.pt-corner { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.pt-badge {
  font-size: 11.5px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--c-poem);
  font-weight: 700;
}
.pt-seal {
  writing-mode: vertical-rl;
  font-family: var(--font-brush);
  color: #fff;
  background: var(--c-poem);
  border-radius: 3px;
  font-size: 12px;
  padding: 5px 3px;
  transform: rotate(4deg);
  box-shadow: inset 0 0 4px rgba(80, 10, 10, .5);
}
.pt-vertical {
  writing-mode: vertical-rl;
  height: 168px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: .32em;
  line-height: 2;
  color: var(--text);
  margin: 4px 0 10px;
}
.pt-meta { font-family: var(--font-serif); font-size: 12.5px; color: var(--text-3); letter-spacing: .1em; }
.pt-go { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--c-poem); }

.msg-latest { padding: 20px 22px 14px; display: flex; flex-direction: column; }
.ml-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ml-title { font-size: 15.5px; font-weight: 700; }
.ml-more { font-size: 12.5px; color: var(--brand); }
.ml-item {
  display: flex;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
}
.ml-item:last-of-type { border-bottom: none; }
.ml-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.ml-avatar[data-i="0"] { background: linear-gradient(135deg, #7c6cf0, #a78bfa); }
.ml-avatar[data-i="1"] { background: linear-gradient(135deg, #ff8fab, #fda4af); }
.ml-avatar[data-i="2"] { background: linear-gradient(135deg, #38bdf8, #818cf8); }
.ml-who { font-size: 13px; font-weight: 600; }
.ml-when { font-size: 11px; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.ml-text { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin-top: 2px; }
.ml-empty { color: var(--text-3); font-size: 13.5px; padding: 14px 0; }

@media (max-width: 640px) {
  .poem-today { padding: 34px 20px 18px; }
  .pt-vertical { height: 140px; font-size: 16px; }
}

/* 时段横幅（12 个时段实景桌面图，由后端小时数选择） */
.banner-midnight { background-image: url('../images/bg/midnight.jpg'); }
.banner-late_night { background-image: url('../images/bg/late_night.jpg'); }
.banner-dawn { background-image: url('../images/bg/dawn.jpg'); }
.banner-sunrise { background-image: url('../images/bg/sunrise.jpg'); }
.banner-morning { background-image: url('../images/bg/morning.jpg'); }
.banner-late_morning { background-image: url('../images/bg/late_morning.jpg'); }
.banner-noon { background-image: url('../images/bg/noon.jpg'); }
.banner-afternoon { background-image: url('../images/bg/afternoon.jpg'); }
.banner-late_afternoon { background-image: url('../images/bg/late_afternoon.jpg'); }
.banner-dusk { background-image: url('../images/bg/dusk.jpg'); }
.banner-evening { background-image: url('../images/bg/evening.jpg'); }
.banner-night { background-image: url('../images/bg/night.jpg'); }

/* 手机端（横幅全屏 100svh）改用竖版 9:19.5 图，避免横图被 cover 裁切 */
@media (max-width: 640px) {
  .banner-midnight { background-image: url('../images/bg/mobile/midnight.jpg'); }
  .banner-late_night { background-image: url('../images/bg/mobile/late_night.jpg'); }
  .banner-dawn { background-image: url('../images/bg/mobile/dawn.jpg'); }
  .banner-sunrise { background-image: url('../images/bg/mobile/sunrise.jpg'); }
  .banner-morning { background-image: url('../images/bg/mobile/morning.jpg'); }
  .banner-late_morning { background-image: url('../images/bg/mobile/late_morning.jpg'); }
  .banner-noon { background-image: url('../images/bg/mobile/noon.jpg'); }
  .banner-afternoon { background-image: url('../images/bg/mobile/afternoon.jpg'); }
  .banner-late_afternoon { background-image: url('../images/bg/mobile/late_afternoon.jpg'); }
  .banner-dusk { background-image: url('../images/bg/mobile/dusk.jpg'); }
  .banner-evening { background-image: url('../images/bg/mobile/evening.jpg'); }
  .banner-night { background-image: url('../images/bg/mobile/night.jpg'); }
}

/* 模拟时钟（横幅右上角，点击弹出北京时间气泡） */
.banner-clock {
  position: absolute;
  top: 26px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.banner-clock:focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 6px; border-radius: 14px; }
.banner-clock svg { width: clamp(84px, 8vw, 170px); height: clamp(84px, 8vw, 170px); display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.clk-face { fill: rgba(255, 255, 255, .94); stroke: rgba(0,0,0,.08); }
.clk-ticks line { stroke: #b9c2cf; stroke-width: 2.4; stroke-linecap: round; }
.clk-hand { stroke-linecap: round; }
.clk-h { stroke: #3a4150; stroke-width: 5; }
.clk-m { stroke: #3a4150; stroke-width: 3.4; }
.clk-s { stroke: #5b7cf0; stroke-width: 2; }
.clk-pin { fill: #3a4150; }
.clk-digital {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.4vw, 26px);
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  letter-spacing: .08em;
}

/* 时钟说话气泡：深玻璃质感，出现在时钟左侧（避开右下音乐播放器） */
.clock-bubble {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translateY(-50%) scale(.82);
  transform-origin: right center;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 18px 9px;
  border-radius: 16px;
  background: rgba(15, 21, 36, .55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .28);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .3, 1.25), visibility 0s linear .3s;
}
.clock-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .3, 1.25);
}
/* 气泡尾巴：指向时钟 */
.clock-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  transform: rotate(45deg);
  background: rgba(15, 21, 36, .55);
  border-top: 1px solid rgba(255, 255, 255, .26);
  border-right: 1px solid rgba(255, 255, 255, .26);
  border-radius: 2px;
}
.cb-hello { font-size: 11px; letter-spacing: .18em; color: rgba(255, 255, 255, .72); }
.cb-time {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
}
.cb-date { font-size: 11.5px; color: rgba(255, 255, 255, .82); }
@media (max-width: 640px) {
  .clock-bubble { right: calc(100% + 10px); padding: 8px 14px 7px; border-radius: 13px; }
  .cb-time { font-size: 18px; }
  .cb-hello { font-size: 10px; }
  .cb-date { font-size: 10.5px; }
}
@media (max-width: 640px) {
  .banner-clock svg { width: 58px; height: 58px; }
  .clk-digital { display: none; }
}

/* ---------- 归档快入口 ---------- */
.archive-teaser { padding: 20px 24px 14px; }
.at-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.at-title { font-size: 16px; font-weight: 700; }
.at-more { font-size: 13px; color: var(--brand); }
.at-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 9px 4px;
  border-bottom: 1px dashed var(--border);
  transition: var(--t);
}
.at-item:last-child { border-bottom: none; }
.at-item:hover { background: var(--bg-secondary); padding-left: 10px; }
.at-item .at-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); width: 86px; flex-shrink: 0; }
.at-item .at-t { flex: 1; font-size: 14.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-item:hover .at-t { color: var(--brand); }
.at-item .at-cat { font-size: 11.5px; color: var(--text-3); flex-shrink: 0; }

/* ---------- 访问统计：已并入横幅底部液态玻璃条（见文件前部 banner-glass / lh-statbar） ---------- */

/* ---------- 友情链接 ---------- */
.friend-links-section .fl-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.friend-links-section .fl-row:last-child { margin-bottom: 0; }
.fl-card {
  flex: 0 1 260px;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  transition: var(--t);
  overflow: hidden;
}
.fl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--brand); }
.fl-avatar, .fl-initial {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--bg-secondary);
}
.fl-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--brand);
  border: 1px solid var(--border);
}
.fl-info { display: flex; flex-direction: column; min-width: 0; }
.fl-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fl-card:hover .fl-name { color: var(--brand); }
.fl-desc {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 560px) { .fl-card { flex: 1 1 100%; max-width: none; } }
.fl-empty { text-align: center; color: var(--text-3); font-size: 14px; padding: 18px 0 6px; }
.fl-apply-row { text-align: center; margin-top: 20px; }
.fl-apply-row .fb-open { font-size: 13px; padding: 7px 22px; }

/* ---------- 精选三卡 ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .featured-grid { grid-template-columns: 1fr; } }
.feat-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--t);
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.feat-card .fc-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-secondary); }
.feat-card .fc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.4, 0, .25, 1); }
.feat-card:hover .fc-cover img { transform: scale(1.06); }
.feat-card .cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  color: #fff;
  background: var(--cat-color, var(--brand));
}
.feat-card .fc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-card:hover h3 { color: var(--brand); }
.feat-card .fc-excerpt {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-card .fc-meta { font-size: 12px; color: var(--text-3); }

/* ---------- 音乐播放器（液态玻璃 · 整卡可点） ---------- */
.music-player {
  position: absolute;
  right: 1.8vw;
  top: calc(30px + 8vw + 2vh);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.8vw, 16px);
  /* 按视口百分比自适应，并保证略宽于整个时钟（表盘 + 数字时间） */
  width: clamp(210px, 17%, 345px);
  padding: clamp(10px, 0.8vw, 15px) clamp(12px, 1vw, 18px);
  border-radius: clamp(14px, 1.2vw, 22px);
  cursor: pointer;
  user-select: none;
  /* 液态玻璃：高透 + 大模糊 + 高饱和 + 顶部高光 */
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, .38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(255, 255, 255, .12),
    0 14px 40px rgba(0, 0, 0, .35);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s, background .3s;
}
.music-player:hover {
  transform: translateY(-3px) scale(1.015);
  background: rgba(255, 255, 255, .2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    0 18px 50px rgba(0, 0, 0, .42);
}
.music-player:active { transform: scale(.985); }
.music-player.playing { border-color: rgba(255, 255, 255, .6); }

.mp-disc {
  width: 18%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 50% 50%, #4a5060 0 24%, #101318 25% 32%, rgba(255,255,255,.22) 32.5% 34%, #262b36 34% 100%);
  border: 2.5px solid rgba(255, 255, 255, .45);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(12px, 1vw, 19px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.mp-disc.spin { animation: disc-spin 3.4s linear infinite; }
@keyframes disc-spin { to { transform: rotate(360deg); } }

.mp-info { flex: 1; min-width: 0; }
.mp-title {
  font-size: clamp(13px, 0.95vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.mp-sub {
  margin-top: clamp(2px, 0.2vw, 4px);
  font-size: clamp(10px, 0.65vw, 12.5px);
  color: rgba(255, 255, 255, .72);
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-progress {
  margin-top: clamp(4px, 0.45vw, 9px);
  height: clamp(3px, 0.3vw, 6px);
  border-radius: 3px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}
.mp-bar { height: 100%; width: 0; background: #fff; border-radius: 3px; transition: width .3s linear; }

.mp-state { display: none; }

/* 手机端：同样置于右上角时钟正下方，避免遮挡（时钟底部约 26px + 58px） */
@media (max-width: 640px) {
  .music-player {
    top: 100px;
    right: 3vw;
    left: auto;
    bottom: auto;
    width: 70vw;
    padding: 2.5vw 3vw;
    gap: 2.5vw;
  }
  .mp-title { font-size: 3.6vw; }
  .mp-sub { font-size: 2.6vw; }
  .mp-disc { width: 12vw; }
}

/* ============================================================
   海边骑行鹈鹕 SVG 动画条（底部 100% 宽度 · 置于顶层）
   ============================================================ */
.home-main {
  display: flex;
  flex-direction: column;
}

.home-main + .site-footer {
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.pelican-seaside-section {
  position: relative;
  z-index: 20; /* 置于顶层 */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 60px;
  margin-bottom: 0;
  padding: 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .05);
  background: transparent;
  user-select: none;
  border-top: 1px solid var(--border);
}

.pelican-seaside-svg {
  display: block;
  width: 100%;
  vertical-align: bottom;
  overflow: hidden;
}

.pelican-desktop-svg {
  display: block;
  width: 100%;
  height: clamp(240px, 22vw, 360px);
}

.pelican-mobile-svg {
  display: none;
}

/* 桌面端鹈鹕骑行横向巡航 */
.pelican-cruise-track {
  animation: pelicanCruise 18s linear infinite;
  animation-delay: -6s; /* 加载时已在画面中骑行 */
}

@keyframes pelicanCruise {
  0% { transform: translateX(-240px); }
  100% { transform: translateX(1740px); }
}

/* 移动端鹈鹕骑行横向巡航 */
.pelican-cruise-track-mob {
  animation: pelicanCruiseMob 10s linear infinite;
  animation-delay: -3.5s;
}

@keyframes pelicanCruiseMob {
  0% { transform: translateX(-220px); }
  100% { transform: translateX(460px); }
}

/* 骑行交互主体（纯点击容器，不含任何 CSS transform 以免覆盖 SVG 定位） */
.pelican-bike-rider {
  cursor: pointer;
}

/* 骑行微颠簸（独立子层） */
.pelican-vibe-layer {
  animation: bikeVibe 0.18s ease-in-out infinite alternate;
}

@keyframes bikeVibe {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1.5px); }
}

/* 鹈鹕躯体起伏（随蹬踏节奏） */
.pelican-body-bob {
  transform-origin: 26px 216px;
  animation: pelicanBob 0.8s ease-in-out infinite;
}

@keyframes pelicanBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3.5px) rotate(-1.5deg); }
}

/* 鹈鹕大网兜/喉囊微晃 */
.pouch-wobble {
  transform-origin: 88px 143px;
  animation: pouchWobble 0.4s ease-in-out infinite alternate;
}

@keyframes pouchWobble {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.03, 0.97) translateY(1.5px); }
}

/* 飘扬红围巾 */
.scarf-stream-1 {
  transform-origin: -2px 1px;
  animation: scarfFlutter1 0.32s ease-in-out infinite alternate;
}

.scarf-stream-2 {
  transform-origin: -2px 3px;
  animation: scarfFlutter2 0.36s ease-in-out infinite alternate;
}

@keyframes scarfFlutter1 {
  0% { transform: rotate(0deg) scaleY(1); }
  100% { transform: rotate(-10deg) scaleY(0.85); }
}

@keyframes scarfFlutter2 {
  0% { transform: rotate(0deg) scaleY(1); }
  100% { transform: rotate(8deg) scaleY(1.15); }
}

/* 车筐小海鱼摇尾巴 */
.fish-tail-wag {
  transform-origin: -8px 0px;
  animation: fishWag 0.35s ease-in-out infinite alternate;
}

@keyframes fishWag {
  0% { transform: rotate(-16deg); }
  100% { transform: rotate(16deg); }
}

/* 鹈鹕眨眼 */
.pelican-eyelid {
  animation: birdBlink 4.5s ease-in-out infinite;
}

@keyframes birdBlink {
  0%, 93%, 100% { stroke-width: 0; }
  95%, 97% { stroke-width: 4px; }
}

/* 道路中央虚线流动效果 */
.road-dashes {
  animation: roadDash 1s linear infinite;
}

@keyframes roadDash {
  to { stroke-dashoffset: -56; }
}

/* 海浪涌动 */
.wave-mid {
  animation: waveRollMid 7s ease-in-out infinite alternate;
}

@keyframes waveRollMid {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50px); }
}

.wave-near {
  animation: waveRollNear 4.5s ease-in-out infinite alternate;
}

@keyframes waveRollNear {
  0% { transform: translateX(0); }
  100% { transform: translateX(-35px); }
}

/* 白云飘动 */
.clouds-far {
  animation: cloudsDriftFar 50s linear infinite;
}

@keyframes cloudsDriftFar {
  0% { transform: translateX(0); }
  100% { transform: translateX(-260px); }
}

.clouds-near {
  animation: cloudsDriftNear 32s linear infinite;
}

@keyframes cloudsDriftNear {
  0% { transform: translateX(0); }
  100% { transform: translateX(-400px); }
}

/* 海鸥扑翼 */
.g-wing-l {
  transform-origin: 0 0;
  animation: wingFlapL 0.75s ease-in-out infinite alternate;
}

.g-wing-r {
  transform-origin: 0 0;
  animation: wingFlapR 0.75s ease-in-out infinite alternate;
}

@keyframes wingFlapL {
  0% { transform: rotate(0deg) scaleY(1); }
  100% { transform: rotate(18deg) scaleY(-0.7); }
}

@keyframes wingFlapR {
  0% { transform: rotate(0deg) scaleY(1); }
  100% { transform: rotate(-18deg) scaleY(-0.7); }
}

/* 椰树叶风中轻摇 */
.palm-fronds-sway {
  transform-origin: 10px 0px;
  animation: palmSway 3s ease-in-out infinite alternate;
}

@keyframes palmSway {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-3.5deg); }
}

/* 灯塔探照光束扫射 */
.beacon-light-sweep {
  transform-origin: 12px 18px;
  animation: beaconSweep 5.5s ease-in-out infinite alternate;
}

@keyframes beaconSweep {
  0% { opacity: 0.15; transform: rotate(-8deg); }
  50% { opacity: 0.75; transform: rotate(4deg); }
  100% { opacity: 0.2; transform: rotate(11deg); }
}

/* 远方帆船轻晃 */
.sailboat-bob {
  animation: boatBob 3.8s ease-in-out infinite;
}

@keyframes boatBob {
  0%, 100% { transform: translate(640px, 155px) rotate(0deg); }
  50% { transform: translate(640px, 153px) rotate(-2deg); }
}

/* 太阳光晕微脉动 */
.sun-aura-pulse {
  animation: sunPulse 3.5s ease-in-out infinite alternate;
}

@keyframes sunPulse {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* 海面波光闪烁 */
.glimmer-1 { animation: glimmer 2.2s ease-in-out infinite alternate; }
.glimmer-2 { animation: glimmer 2.8s ease-in-out infinite alternate 0.7s; }
.glimmer-3 { animation: glimmer 1.9s ease-in-out infinite alternate 1.2s; }

@keyframes glimmer {
  0%, 100% { opacity: 0.25; transform: scaleX(0.8); }
  50% { opacity: 0.95; transform: scaleX(1.3); }
}

/* 车轮速度微气流与扬尘 */
.wind-line-1 { animation: speedWind 0.5s linear infinite; }
.wind-line-2 { animation: speedWind 0.45s linear infinite 0.1s; }
.wind-line-3 { animation: speedWind 0.6s linear infinite 0.2s; }

@keyframes speedWind {
  0% { stroke-dashoffset: 0; opacity: 0.8; }
  100% { stroke-dashoffset: 20; opacity: 0; }
}

.dust-1 { animation: dustPop 0.75s ease-out infinite; }
.dust-2 { animation: dustPop 0.75s ease-out infinite 0.35s; }

@keyframes dustPop {
  0% { opacity: 0.6; transform: translate(0, 0) scale(0.8); }
  100% { opacity: 0; transform: translate(-14px, -5px) scale(1.5); }
}

/* ---------- 暗色主题适配 ---------- */
[data-theme="dark"] .pelican-seaside-svg #skyGrad stop:nth-child(1),
[data-theme="dark"] .pelican-seaside-svg #skyGradMob stop:nth-child(1) { stop-color: #0b1120; }
[data-theme="dark"] .pelican-seaside-svg #skyGrad stop:nth-child(2),
[data-theme="dark"] .pelican-seaside-svg #skyGradMob stop:nth-child(2) { stop-color: #1e1b4b; }
[data-theme="dark"] .pelican-seaside-svg #skyGrad stop:nth-child(3),
[data-theme="dark"] .pelican-seaside-svg #skyGradMob stop:nth-child(3) { stop-color: #172554; }
[data-theme="dark"] .pelican-seaside-svg #skyGrad stop:nth-child(4),
[data-theme="dark"] .pelican-seaside-svg #skyGradMob stop:nth-child(4) { stop-color: #0c4a6e; }

[data-theme="dark"] .pelican-seaside-svg .celestial-sun circle:first-child { fill: #93c5fd; opacity: 0.25; }
[data-theme="dark"] .pelican-seaside-svg .celestial-sun circle:nth-child(2) { fill: #f8fafc; }
[data-theme="dark"] .pelican-seaside-svg .celestial-sun circle:nth-child(3) { fill: #e2e8f0; }

[data-theme="dark"] .pelican-seaside-svg #beachGrad stop:nth-child(1),
[data-theme="dark"] .pelican-seaside-svg #beachGradMob stop:nth-child(1) { stop-color: #475569; }
[data-theme="dark"] .pelican-seaside-svg #beachGrad stop:nth-child(2),
[data-theme="dark"] .pelican-seaside-svg #beachGradMob stop:nth-child(2) { stop-color: #334155; }
[data-theme="dark"] .pelican-seaside-svg #beachGrad stop:nth-child(3),
[data-theme="dark"] .pelican-seaside-svg #beachGradMob stop:nth-child(3) { stop-color: #1e293b; }

[data-theme="dark"] .pelican-seaside-svg #seaFar stop:nth-child(1),
[data-theme="dark"] .pelican-seaside-svg #seaFarMob stop:nth-child(1) { stop-color: #0f172a; }
[data-theme="dark"] .pelican-seaside-svg #seaFar stop:nth-child(2),
[data-theme="dark"] .pelican-seaside-svg #seaFarMob stop:nth-child(2) { stop-color: #1e293b; }

[data-theme="dark"] .pelican-seaside-svg #roadGrad stop:nth-child(1),
[data-theme="dark"] .pelican-seaside-svg #roadGradMob stop:nth-child(1) { stop-color: #334155; }
[data-theme="dark"] .pelican-seaside-svg #roadGrad stop:nth-child(4),
[data-theme="dark"] .pelican-seaside-svg #roadGradMob stop:nth-child(4) { stop-color: #0f172a; }

/* ---------- 护眼绿主题适配 ---------- */
[data-theme="green"] .pelican-seaside-svg #skyGrad stop:nth-child(1),
[data-theme="green"] .pelican-seaside-svg #skyGradMob stop:nth-child(1) { stop-color: #e8f5e9; }
[data-theme="green"] .pelican-seaside-svg #skyGrad stop:nth-child(2),
[data-theme="green"] .pelican-seaside-svg #skyGradMob stop:nth-child(2) { stop-color: #d1fae5; }
[data-theme="green"] .pelican-seaside-svg #skyGrad stop:nth-child(3),
[data-theme="green"] .pelican-seaside-svg #skyGradMob stop:nth-child(3) { stop-color: #a7f3d0; }
[data-theme="green"] .pelican-seaside-svg #skyGrad stop:nth-child(4),
[data-theme="green"] .pelican-seaside-svg #skyGradMob stop:nth-child(4) { stop-color: #5eead4; }

[data-theme="green"] .pelican-seaside-svg #beachGrad stop:nth-child(1),
[data-theme="green"] .pelican-seaside-svg #beachGradMob stop:nth-child(1) { stop-color: #bbf7d0; }
[data-theme="green"] .pelican-seaside-svg #beachGrad stop:nth-child(2),
[data-theme="green"] .pelican-seaside-svg #beachGradMob stop:nth-child(2) { stop-color: #86efac; }
[data-theme="green"] .pelican-seaside-svg #beachGrad stop:nth-child(3),
[data-theme="green"] .pelican-seaside-svg #beachGradMob stop:nth-child(3) { stop-color: #4ade80; }

/* ---------- 响应式画幅布局：桌面端横版 vs 移动端竖版 ---------- */
@media (min-width: 769px) {
  .pelican-desktop-svg {
    display: block !important;
    width: 100%;
    height: clamp(240px, 22vw, 360px);
  }
  .pelican-mobile-svg {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pelican-seaside-section {
    margin-top: 36px;
  }
  .pelican-desktop-svg {
    display: none !important;
  }
  .pelican-mobile-svg {
    display: block !important;
    width: 100%;
    height: clamp(440px, 122vw, 540px);
  }
}
