/* ==========================================================================
   萝莉公园 · Loli Park
   风格：二次元 / 毛玻璃 / 樱花 / 昼夜双主题
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  color-scheme: light;

  --pink: #ff9ec4;
  --pink-deep: #ff6fa5;
  --rose: #ffd3e2;
  --lav: #b79cff;
  --mint: #8fe3d0;
  --sky: #9fd8ff;
  --cream: #fff3e6;

  --bg: #fdf6f9;
  --bg-2: #f4ecff;
  --ink: #3b2f42;
  --ink-soft: #5b4c63;
  --muted: #786680;

  --glass-bg: rgba(255, 255, 255, 0.52);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-brd: rgba(255, 255, 255, 0.8);
  --glass-line: rgba(255, 255, 255, 0.55);
  --shadow: 0 24px 60px -28px rgba(158, 92, 140, 0.45);
  --shadow-sm: 0 10px 30px -16px rgba(158, 92, 140, 0.4);
  --ring: rgba(255, 111, 165, 0.45);

  --radius: 24px;
  --radius-sm: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui,
    -apple-system, "Segoe UI", sans-serif;
}

html[data-theme="night"] {
  color-scheme: dark;

  --bg: #141021;
  --bg-2: #1d1633;
  --ink: #f6efff;
  --ink-soft: #ded3f2;
  --muted: #a99cc0;

  --glass-bg: rgba(41, 30, 66, 0.5);
  --glass-bg-strong: rgba(38, 27, 62, 0.72);
  --glass-brd: rgba(255, 255, 255, 0.16);
  --glass-line: rgba(255, 255, 255, 0.1);
  --shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 12px 34px -18px rgba(0, 0, 0, 0.7);
  --ring: rgba(183, 156, 255, 0.55);
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font);
  font-size: clamp(15px, 0.55vw + 13.6px, 16.5px);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(255, 111, 165, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2 * clamp(16px, 4vw, 40px), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--pink-deep);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip:focus-visible {
  transform: none;
}

/* ---------- 3. 背景层：极光 / 颗粒 / 花瓣 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(70vw 60vh at 12% -8%, rgba(255, 190, 216, 0.75), transparent 62%),
    radial-gradient(60vw 55vh at 92% 4%, rgba(198, 176, 255, 0.6), transparent 60%),
    radial-gradient(55vw 50vh at 78% 92%, rgba(160, 226, 214, 0.5), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 52%, var(--bg) 100%);
  transition: background 0.6s ease;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: drift 26s var(--ease) infinite alternate;
}

.aurora__blob--1 {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -8vw;
  background: radial-gradient(circle, #ffc2dd, transparent 70%);
}

.aurora__blob--2 {
  width: 40vw;
  height: 40vw;
  top: 24vh;
  right: -12vw;
  background: radial-gradient(circle, #cdbcff, transparent 70%);
  animation-delay: -8s;
  animation-duration: 32s;
}

.aurora__blob--3 {
  width: 38vw;
  height: 38vw;
  bottom: -14vw;
  left: 22vw;
  background: radial-gradient(circle, #b6f0e2, transparent 70%);
  animation-delay: -15s;
  animation-duration: 38s;
}

html[data-theme="night"] .aurora {
  background:
    radial-gradient(70vw 60vh at 10% -10%, rgba(120, 66, 122, 0.55), transparent 62%),
    radial-gradient(60vw 55vh at 92% 2%, rgba(92, 74, 158, 0.55), transparent 62%),
    radial-gradient(55vw 50vh at 70% 95%, rgba(42, 96, 104, 0.45), transparent 62%),
    linear-gradient(180deg, #120f20 0%, #1b1533 55%, #120f20 100%);
}

html[data-theme="night"] .aurora__blob {
  opacity: 0.42;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4vw, 3vh, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-3vw, -2vh, 0) scale(0.95);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.petals {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* ---------- 4. 毛玻璃 ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme="night"] .glass {
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- 5. 顶栏 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  padding: clamp(10px, 1.6vw, 18px) 0;
  transition: padding 0.4s var(--ease);
}

.site-header.is-stuck {
  padding-top: 8px;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px 9px 16px;
  border-radius: 999px;
  transition: box-shadow 0.4s ease, background 0.4s ease, transform 0.4s var(--ease);
}

.site-header.is-stuck .header__inner {
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-right: 6px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(255, 111, 165, 0.45));
  animation: spin-slow 26s linear infinite;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
}

.brand__text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink-deep);
  opacity: 0;
  transform: translate(-50%, 6px) scale(0.4);
  transition: 0.3s var(--ease);
}

.nav a:hover {
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.34);
}

html[data-theme="night"] .nav a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav a[aria-current="true"] {
  color: var(--pink-deep);
}

.nav a[aria-current="true"]::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

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

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-line);
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

html[data-theme="night"] .icon-btn {
  background: rgba(255, 255, 255, 0.07);
}

.icon-btn:hover {
  transform: translateY(-2px) rotate(-6deg);
  color: var(--pink-deep);
  background: #fff;
}

html[data-theme="night"] .icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.theme-btn .i-moon,
html[data-theme="night"] .theme-btn .i-sun {
  display: none;
}

html[data-theme="night"] .theme-btn .i-moon {
  display: block;
}

.nav-toggle {
  display: none;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #ff8fbb, #ff6fa5 52%, #b79cff 130%);
  box-shadow: 0 16px 34px -14px rgba(255, 94, 156, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, filter 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.55), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -16px rgba(255, 94, 156, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn:hover::after {
  transform: translateX(120%);
}

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

.btn--ghost {
  color: var(--ink);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  color: var(--pink-deep);
  box-shadow: var(--shadow);
}

.btn--ghost::after {
  display: none;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 180px) 0 clamp(60px, 9vh, 110px);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 让插画在下缘自然溶进页面背景，避免和公告条之间出现一条硬边 */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.5) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.5) 82%, transparent 100%);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.04);
  animation: hero-pan 30s ease-in-out infinite alternate;
}

@keyframes hero-pan {
  to {
    transform: scale(1.12) translate3d(0, -1.5%, 0);
  }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253, 246, 249, 0.28) 0%, rgba(253, 246, 249, 0) 24%),
    radial-gradient(52% 42% at 50% 42%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 68%);
}

html[data-theme="night"] .hero__bg img {
  filter: saturate(0.85) brightness(0.55) hue-rotate(-12deg);
}

html[data-theme="night"] .hero__bg::after {
  background:
    linear-gradient(180deg, rgba(18, 15, 32, 0.6) 0%, rgba(18, 15, 32, 0.16) 32%, rgba(18, 15, 32, 0.32) 66%),
    radial-gradient(58% 48% at 50% 44%, transparent 26%, rgba(18, 15, 32, 0.45) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  animation: rise 0.9s var(--ease) both;
}

.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71d6a8;
  box-shadow: 0 0 0 4px rgba(113, 214, 168, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(113, 214, 168, 0);
  }
}

.hero__title {
  display: flex;
  align-items: baseline;
  gap: clamp(4px, 1vw, 14px);
  font-size: clamp(3rem, 12vw, 8.4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.95)) drop-shadow(0 18px 40px rgba(206, 86, 140, 0.32));
  animation: rise 1s var(--ease) 0.06s both;
}

.hero__title span {
  background: linear-gradient(165deg, #ffa6c6 0%, #ff5f9e 58%, #f2407f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title .accent {
  background: linear-gradient(122deg, #ffb3ce 0%, #c992ff 52%, #8f8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 22px rgba(255, 111, 165, 0.4));
}

html[data-theme="night"] .hero__title {
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.55));
}

.hero__en {
  font-size: clamp(0.68rem, 1.5vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  color: rgba(104, 68, 100, 0.72);
  animation: rise 1s var(--ease) 0.12s both;
}

html[data-theme="night"] .hero__en {
  color: rgba(255, 255, 255, 0.78);
}

.hero__desc {
  max-width: 34em;
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  color: var(--ink-soft);
  text-wrap: pretty;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.6);
  animation: rise 1s var(--ease) 0.18s both;
}

html[data-theme="night"] .hero__desc {
  text-shadow: 0 1px 12px rgba(10, 6, 20, 0.75);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  animation: rise 1s var(--ease) 0.24s both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 3vw, 42px);
  margin-top: clamp(18px, 3vh, 32px);
  padding: 16px clamp(18px, 3vw, 34px);
  border-radius: 22px;
  animation: rise 1s var(--ease) 0.3s both;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 5.5em;
}

.hero__stats b {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #ff6fa5, #b79cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vh, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  transform: translateX(-50%);
  transition: color 0.3s ease;
}

.hero__scroll:hover {
  color: var(--pink-deep);
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--pink-deep), transparent);
  animation: scroll-hint 2.2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 8. 公告跑马灯 ---------- */
.ticker {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  width: min(100% - 2 * clamp(16px, 4vw, 40px), var(--wrap));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 9px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.ticker__label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(120deg, #ff8fbb, #b79cff);
  box-shadow: 0 6px 16px -8px rgba(255, 94, 156, 0.9);
}

/* 裁切与两侧渐隐只作用在文字轨道上，标签永远不会被滚动的文字盖住 */
.ticker__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

/* 每组自带尾部间距，轨道宽度正好是两组，-50% 才是无缝循环 */
.ticker__group {
  display: flex;
  flex: none;
  gap: 44px;
  padding-right: 44px;
  white-space: nowrap;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 8.5 域名转让通知 ---------- */
.section--sale {
  padding-top: clamp(26px, 3vw, 40px);
  padding-bottom: clamp(26px, 3vw, 40px);
}

.sale {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) auto;
  gap: clamp(20px, 3.2vw, 48px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  overflow: hidden;
  background-image: linear-gradient(115deg, rgba(255, 143, 187, 0.14), rgba(183, 156, 255, 0.08) 46%, transparent 72%);
}

html[data-theme="night"] .sale {
  background-image: linear-gradient(115deg, rgba(255, 143, 187, 0.12), rgba(183, 156, 255, 0.1) 46%, transparent 72%);
}

.sale::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 187, 0.34), transparent 68%);
  pointer-events: none;
}

.sale__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(120deg, #ff8fbb, #ff6fa5 58%, #b79cff 140%);
  box-shadow: 0 10px 22px -12px rgba(255, 94, 156, 0.95);
}

.sale__tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2.4s ease-in-out infinite;
}

.sale__title {
  margin: 14px 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.sale__desc {
  max-width: 36em;
  font-size: 0.93rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.sale__desc b {
  color: var(--pink-deep);
  font-weight: 800;
}

.sale__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
}

.sale__meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
}

.sale__meta span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.sale__meta b {
  font-weight: 700;
  color: var(--ink-soft);
}

.sale__meta a {
  color: var(--pink-deep);
  border-bottom: 1px solid rgba(255, 111, 165, 0.42);
  transition: border-color 0.25s ease;
}

.sale__meta a:hover {
  border-color: var(--pink-deep);
}

.sale__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-left: clamp(18px, 2.4vw, 34px);
}

.sale__aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 111, 165, 0.5) 22%, rgba(183, 156, 255, 0.42) 78%, transparent);
}

.sale__label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.sale__price {
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #ff6fa5, #b79cff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sale__aside .btn {
  margin-top: 10px;
  padding: 11px 22px;
  font-size: 0.9rem;
}

.sale__hint {
  font-size: 0.72rem;
  color: var(--muted);
}

/* 常驻通知条 */
.sale-bar {
  position: fixed;
  left: 50%;
  bottom: clamp(10px, 2vw, 20px);
  z-index: 85;
  width: min(560px, calc(100% - 20px));
  transform: translateX(-50%);
  animation: bar-in 0.7s var(--ease) 0.35s both;
}

.sale-bar.is-hidden {
  display: none;
}

@keyframes bar-in {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

.sale-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  box-shadow: 0 22px 44px -20px rgba(120, 60, 100, 0.6), var(--shadow-sm);
}

.sale-bar__tag {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(120deg, #ff8fbb, #b79cff);
}

.sale-bar__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-bar__text b {
  color: var(--ink);
  font-weight: 800;
}

.sale-bar__text strong {
  color: var(--pink-deep);
  font-weight: 900;
}

.sale-bar__cta {
  flex: 0 0 auto;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #ff8fbb, #ff6fa5 58%, #b79cff 140%);
  box-shadow: 0 10px 20px -12px rgba(255, 94, 156, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.sale-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(255, 94, 156, 0.95);
}

.sale-bar__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.sale-bar__close:hover {
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.5);
}

html[data-theme="night"] .sale-bar__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sale-bar__close svg {
  width: 14px;
  height: 14px;
}

/* ---------- 9. 区块与标题 ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 118px) 0;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 54px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section__title {
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.section__title em {
  font-style: normal;
  background: linear-gradient(120deg, #ff6fa5, #b79cff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__desc {
  max-width: 38em;
  color: var(--muted);
  font-size: 0.93rem;
  text-wrap: pretty;
}

/* ---------- 10. 相册 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.chip {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.chip:hover {
  transform: translateY(-2px);
  color: var(--pink-deep);
}

.chip[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(120deg, #ff8fbb, #ff6fa5 60%, #b79cff 140%);
  border-color: transparent;
  box-shadow: 0 14px 28px -14px rgba(255, 94, 156, 0.95);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 296px), 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.shot {
  position: relative;
  border-radius: var(--radius);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.shot.is-hidden {
  display: none;
}

.shot__btn {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  text-align: left;
}

.shot__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffe1ee, #e5dcff 55%, #d9f4ec);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.4s ease, transform 0.5s var(--ease);
}

.shot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  filter: blur(14px) saturate(1.1);
  transition: opacity 0.8s ease, transform 1.1s var(--ease), filter 0.8s ease;
}

.shot__img.is-loaded {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.shot__shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.62) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 1.5s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.shot__frame.is-done .shot__shimmer {
  opacity: 0;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.shot__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(60, 20, 45, 0) 42%, rgba(60, 20, 45, 0.66) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.shot__btn:hover::after,
.shot__btn:focus-visible::after {
  opacity: 1;
}

.shot__btn:hover .shot__frame {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -30px rgba(158, 92, 140, 0.75);
}

.shot__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s var(--ease);
  text-shadow: 0 2px 12px rgba(50, 10, 35, 0.6);
}

.shot__btn:hover .shot__cap,
.shot__btn:focus-visible .shot__cap {
  opacity: 1;
  transform: none;
}

.shot__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #6b3a52;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gallery__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 38px);
}

/* ---------- 11. 灯箱 ---------- */
.lightbox {
  width: min(1080px, 94vw);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(28, 16, 34, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lightbox[open] {
  animation: lb-in 0.45s var(--ease) both;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
}

.lightbox__panel {
  position: relative;
  padding: 12px;
  border-radius: 26px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
}

.lightbox__img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 6px 2px;
}

.lightbox__cap {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lightbox__cap b {
  color: var(--ink);
}

.lightbox__count {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.lb-btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.lb-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.lb-btn--prev {
  left: -22px;
}

.lb-btn--next {
  right: -22px;
}

.lb-btn--close {
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  transform: none;
  z-index: 3;
}

.lb-btn--close:hover {
  transform: rotate(90deg);
}

.lb-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- 12. 特色 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 196, 0.5), transparent 68%);
  opacity: 0.7;
  transition: transform 0.6s var(--ease), opacity 0.5s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card:hover::before {
  transform: scale(1.35) translate(-12px, 12px);
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #ff9ec4, #b79cff);
  box-shadow: 0 14px 26px -12px rgba(160, 110, 210, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card:nth-child(2) .card__icon {
  background: linear-gradient(135deg, #8fe3d0, #6fb6ff 130%);
  box-shadow: 0 14px 26px -12px rgba(90, 170, 200, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card:nth-child(3) .card__icon {
  background: linear-gradient(135deg, #ffcf8f, #ff9ec4 120%);
  box-shadow: 0 14px 26px -12px rgba(220, 160, 110, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card:nth-child(4) .card__icon {
  background: linear-gradient(135deg, #c0a9ff, #8f7dff 120%);
  box-shadow: 0 14px 26px -12px rgba(140, 120, 220, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card__icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  text-wrap: pretty;
}

.card__num {
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 111, 165, 0.14);
  letter-spacing: -0.04em;
  pointer-events: none;
}

/* ---------- 13. 关于 ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.about__prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.about__prose p {
  text-wrap: pretty;
}

.about__prose strong {
  color: var(--pink-deep);
  font-weight: 800;
}

.quote {
  position: relative;
  margin-top: 8px;
  padding: 20px 24px 20px 30px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pink);
  background: linear-gradient(100deg, rgba(255, 158, 196, 0.16), transparent 80%);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.9;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--pink), var(--lav), transparent);
  opacity: 0.55;
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 158, 196, 0.2);
}

.timeline time {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--lav);
}

.timeline h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 2px 0 2px;
}

.timeline p {
  font-size: 0.86rem;
  color: var(--muted);
}

.rules {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.rules li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--glass-line);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

html[data-theme="night"] .rules li {
  background: rgba(255, 255, 255, 0.05);
}

.rules li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="night"] .rules li:hover {
  background: rgba(255, 255, 255, 0.09);
}

.rules b {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--pink-deep);
  padding-top: 3px;
}

/* ---------- 14. 留言板 ---------- */
.guestbook {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(18px, 2.6vw, 30px);
  align-items: start;
}

.gb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
}

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

.field label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  resize: vertical;
}

html[data-theme="night"] .field input,
html[data-theme="night"] .field textarea {
  background: rgba(255, 255, 255, 0.06);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 111, 165, 0.55);
  box-shadow: 0 0 0 4px var(--ring);
}

html[data-theme="night"] .field input:focus,
html[data-theme="night"] .field textarea:focus {
  background: rgba(255, 255, 255, 0.1);
}

.gb-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.fineprint {
  font-size: 0.74rem;
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--pink-deep);
  background: rgba(255, 111, 165, 0.13);
  word-break: break-all;
}

.nojs {
  margin-bottom: 18px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed var(--glass-line);
}

.gb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 111, 165, 0.4) transparent;
}

.gb-list::-webkit-scrollbar {
  width: 6px;
}

.gb-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 111, 165, 0.35);
}

.gb-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: rise 0.5s var(--ease) both;
}

.gb-item__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.gb-item__body {
  min-width: 0;
  flex: 1;
}

.gb-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.gb-item__name {
  font-weight: 800;
  font-size: 0.9rem;
}

.gb-item__time {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.gb-item__text {
  font-size: 0.88rem;
  color: var(--ink-soft);
  word-break: break-word;
  white-space: pre-wrap;
}

.gb-empty {
  padding: 30px 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: 18px;
  border: 1px dashed var(--glass-line);
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(34px, 5vw, 54px) 0 26px;
  border-top: 1px solid var(--glass-line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34));
}

html[data-theme="night"] .site-footer {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04));
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
}

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

.footer__brand .brand__mark {
  animation: none;
}

.footer__brand p {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 26em;
  margin-top: 4px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer__links a {
  position: relative;
  padding-bottom: 2px;
}

.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--lav));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.footer__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--glass-line);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: 0.4s var(--ease);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--pink-deep);
  transform: translateY(-4px);
}

/* ---------- 16. 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 900px) {
  .about,
  .guestbook {
    grid-template-columns: 1fr;
  }

  .gb-list {
    max-height: none;
  }

  .sale {
    grid-template-columns: 1fr;
  }

  .sale__aside {
    width: 100%;
    padding-left: 0;
    padding-top: 18px;
    border-top: 2px solid rgba(255, 111, 165, 0.16);
  }

  .sale__aside::before {
    display: none;
  }

  .sale__aside .btn {
    width: 100%;
  }

  body.has-sale-bar .to-top {
    bottom: 82px;
  }
}

@media (max-width: 420px) {
  .sale-bar__tag {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border-radius: 22px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-brd);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 11px 16px;
    border-radius: 14px;
  }

  .header__inner {
    position: relative;
  }

  .brand__text small {
    display: none;
  }

  .hero__title {
    letter-spacing: 0;
  }

  .lb-btn--prev {
    left: 4px;
  }

  .lb-btn--next {
    right: 4px;
  }

  .lb-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    width: min(100%, 340px);
    padding: 14px 18px;
  }

  .hero__stats li {
    min-width: 0;
  }

  .ticker__label {
    display: none;
  }

  .ticker {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__bottom {
    padding-bottom: 48px;
  }

  .lightbox__img {
    max-height: 62vh;
  }
}

/* ---------- 18. 可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .shot__img {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media print {
  .site-header,
  .petals,
  .aurora,
  .grain,
  .to-top,
  .hero__scroll,
  .ticker {
    display: none !important;
  }
}
