/* 环宇303工段 · 北国暖冬 透亮文旅设计系统（移动端优先） */

:root {
  color-scheme: light;
  --paper: #F5F7FA;
  --paper-2: #ECF0F5;
  --paper-3: #DFE6EE;
  --card: #FFFFFF;
  --ink: #16221C;
  --ink-2: #4A5A52;
  --ink-3: #7A8B82;
  --line: rgba(22, 34, 28, 0.08);
  --pine: #165B43;
  --pine-deep: #0F3F2E;
  --pine-soft: #E5F3ED;
  --stamp: #E04332;
  --stamp-deep: #C23020;
  --stamp-soft: #FEECE9;
  --ice: #2B7DE9;
  --ice-soft: #EBF3FE;
  --amber: #E89624;
  --amber-soft: #FEF4E4;
  --radius: 14px;
  --radius-lg: 22px;
  --edge: 16px;
  --max-w: 1040px;
  --header-h: 56px;
  --nav-h: 64px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow: 0 4px 20px rgba(18, 42, 32, 0.06), 0 1px 3px rgba(18, 42, 32, 0.04);
  --shadow-lg: 0 12px 34px rgba(18, 42, 32, 0.12);
}

@media (min-width: 768px) {
  :root {
    --edge: 28px;
    --header-h: 64px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 60px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 8px);
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

body.page-map {
  padding-bottom: 0;
  overflow: hidden;
  background: #D6B27C;
}

body.modal-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, picture, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--stamp);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--max-w), calc(100% - 2 * var(--edge)));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ 顶栏 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.page-home .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(12, 28, 22, 0.52) 0%, rgba(12, 28, 22, 0) 100%);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
}

.page-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand img {
  width: 34px;
  height: 30px;
  object-fit: contain;
}

.brand b {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brand small {
  display: block;
  font-size: 10.5px;
  opacity: 0.72;
  line-height: 1.25;
}

.desktop-nav {
  display: none;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
    gap: 8px;
  }
  .desktop-nav a {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
  }
  .desktop-nav a:hover {
    background: rgba(22, 91, 67, 0.08);
  }
  .desktop-nav a[aria-current="page"] {
    background: var(--pine);
    color: #fff;
  }
  .page-home .site-header:not(.is-scrolled) .desktop-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
  }
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 91, 67, 0.22);
  background: var(--pine-soft);
  color: var(--pine);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.page-home .site-header:not(.is-scrolled) .header-call {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.header-call .icon {
  width: 14px;
  height: 14px;
}

/* ============ 底部毛玻璃导航 ============ */
.mobile-nav {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(22, 34, 28, 0.06);
  box-shadow: 0 -6px 24px rgba(18, 42, 32, 0.06);
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  position: relative;
}

.mobile-nav .icon {
  width: 22px;
  height: 22px;
}

.mobile-nav a[aria-current="page"] {
  color: var(--stamp);
}

.mobile-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--stamp);
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
  .page-map .mobile-nav {
    display: grid;
    inset: auto auto 18px 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
  }
}

/* ============ 现代圆润按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn-stamp {
  background: linear-gradient(135deg, #216E53 0%, #154B38 100%);
  color: #fff;
  border-color: rgba(255, 224, 168, 0.36);
  box-shadow: 0 8px 20px rgba(15, 56, 42, 0.28);
}

.btn-pine {
  background: linear-gradient(135deg, #1E7557 0%, #14533C 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 91, 67, 0.22);
}

.btn-warm {
  background: linear-gradient(135deg, #B94B3E 0%, #98372C 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(152, 55, 44, 0.22);
}

.btn-line {
  border-color: var(--paper-3);
  color: var(--ink);
  background: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============ 章节标题 ============ */
.section {
  padding: 36px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--stamp-soft);
  color: var(--stamp);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(23px, 6.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.lead {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ============ 彩色胶囊标签 ============ */
.stamp {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEECE9 0%, #FDE2DC 100%);
  color: var(--stamp-deep);
  font-size: 12px;
  font-weight: 700;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.chip-pine {
  background: var(--pine-soft);
  color: var(--pine);
}

.chip-stamp {
  background: var(--stamp-soft);
  color: var(--stamp-deep);
}

.chip-ice {
  background: var(--ice-soft);
  color: var(--ice);
}

.chip-amber {
  background: var(--amber-soft);
  color: #B4690E;
}

/* ============ 精美圆角大图卡片 ============ */
.photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}

.photo-frame {
  position: relative;
  width: 100%;
  flex: none;
  overflow: hidden;
  background: #DCE5E0;
  aspect-ratio: var(--ratio, 4 / 3);
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo:hover .photo-frame img {
  transform: scale(1.03);
}

.photo.is-old .photo-frame img {
  filter: sepia(0.18) contrast(1.03);
}

.photo figcaption,
.photo .cap {
  display: block;
  flex: 1;
  width: 100%;
  padding: 12px 15px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.photo .cap b {
  color: var(--ink);
  font-weight: 700;
}

.photo .src {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-3);
}

.photo .zoom {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 34, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photo .zoom .icon {
  width: 15px;
  height: 15px;
}

/* ============ 视频卡 ============ */
.film {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #101C17;
  aspect-ratio: var(--ratio, 16 / 9);
  box-shadow: var(--shadow-lg);
}

.film-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  display: block;
}

.film-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 30%, rgba(10, 22, 17, 0.78) 100%);
}

.film-play {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 2;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #EC543F 0%, #D43424 100%);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-play .icon {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.film-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  text-align: left;
}

.film-meta strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.film-meta span {
  font-size: 12px;
  opacity: 0.88;
}

.film video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* ============ 通透实景大图页头（内页） ============ */
.page-head {
  position: relative;
  padding: 36px 0 32px;
  background: linear-gradient(135deg, #1A6B4F 0%, #24788E 100%);
  color: #fff;
  overflow: hidden;
}

.page-head.has-bg {
  padding: 46px 0 34px;
  background: #14362B;
}

.page-head-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.page-head.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 46, 36, 0.32) 0%, rgba(16, 46, 36, 0.78) 100%);
}

.page-head .wrap {
  position: relative;
  z-index: 2;
}

.page-head .eyebrow {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

.page-head h1 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 7.8vw, 42px);
  font-weight: 700;
  line-height: 1.22;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}

.page-head p {
  margin-top: 8px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
}

/* 吸顶胶囊目录条 */
.toc {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(245, 247, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.toc-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px var(--edge);
}

.toc-inner::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .toc-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 0;
  }
}

.toc a {
  flex: none;
  padding: 6px 15px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(18, 42, 32, 0.05);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.toc a.is-active {
  background: linear-gradient(135deg, #1E7557 0%, #14533C 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 91, 67, 0.26);
}

/* ============ 页脚 ============ */
.site-footer {
  margin-top: 48px;
  padding: 34px 0 32px;
  background: linear-gradient(160deg, #154A37 0%, #0E3326 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13.5px;
  border-radius: 26px 26px 0 0;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-top img {
  width: 40px;
  height: 36px;
  object-fit: contain;
}

.footer-top strong {
  display: block;
  font-size: 18px;
  color: #fff;
}

.footer-list {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}

.footer-list b {
  color: #FFD18C;
  font-weight: 600;
  margin-right: 6px;
}

.footer-links {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.footer-links a,
.footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-link-btn {
  color: rgba(255, 255, 255, 0.65);
}

.footer-link-btn:hover {
  color: #fff;
}

/* 制作方联系弹窗 */
.maker-dialog {
  width: min(340px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.maker-dialog::backdrop {
  background: rgba(12, 24, 19, 0.55);
  backdrop-filter: blur(6px);
}

.maker-box {
  padding: 20px 18px 22px;
}

.maker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.maker-head strong {
  font-size: 17px;
  color: var(--pine);
}

.maker-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.maker-info {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.maker-info dt {
  font-size: 12px;
  color: var(--ink-3);
}

.maker-info dd {
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.maker-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.maker-actions .btn {
  min-height: 42px;
  min-width: 0;
  padding: 0 10px;
  font-size: 13.5px;
}

/* ============ 灯箱 ============ */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 18, 15, 0.96);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(10, 18, 15, 0.94);
}

.lightbox-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px calc(env(safe-area-inset-bottom, 0px) + 14px);
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
}

.lightbox-count {
  font-size: 13px;
  opacity: 0.78;
}

.lightbox-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.lightbox-cap {
  padding: 12px 6px 0;
}

.lightbox-cap strong {
  display: block;
  font-size: 16px;
}

.lightbox-cap p {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.8;
}

/* 10 格配图渐变展板快捷按钮（首页与展板页共用：手机 2×5，宽屏 5×2） */
.board-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 720px) {
  .board-tiles {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}

.board-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 92px;
  padding: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #14362B;
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 42, 32, 0.14);
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.board-tile:active {
  transform: scale(0.97);
}

.board-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0.78;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.board-tile:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

.board-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(16, 48, 37, 0.28) 0%, rgba(12, 34, 26, 0.84) 100%);
}

.board-tile[aria-current="page"] {
  box-shadow: 0 0 0 2.5px #E8A849, 0 8px 20px rgba(16, 42, 32, 0.24);
}

.board-tile-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.board-tile strong {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.board-tile-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.board-tile-play .icon {
  width: 11px;
  height: 11px;
  margin-left: 1px;
}

.board-tile small {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ Toast 轻提示 ============ */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 90;
  transform: translate(-50%, 12px);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(22, 34, 28, 0.92);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 进入视口轻快渐显 */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
