/* ============================================================
   小圣的小窝 · style.css
   设计原则：舒适优先 —— 柔和的低饱和配色、大圆角、
   漫反射阴影、所有动效统一使用缓出曲线。
   布局：宽屏为 GitHub 式左侧边栏（可伸缩为图标栏），
   窄屏回退为顶部横栏。
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
  --bg: #fdf6f8;
  --bg-alt: #f7ecf2;
  --card: #ffffff;
  --text: #5c4a55;
  --text-soft: #96808e;
  --accent: #f2a7c3;
  --accent-deep: #e484ac;
  --accent-soft: #fbdce9;
  --lavender: #b9a7e6;
  --lavender-soft: #ece5fa;
  --ring: rgba(242, 167, 195, 0.35);
  --shadow: 0 10px 40px rgba(228, 132, 172, 0.12);
  --shadow-hover: 0 18px 50px rgba(228, 132, 172, 0.22);
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* 柔和缓出 */
  --speed: 0.6s;
  --sidebar-w: 236px;
  --sidebar-w-mini: 78px;
}

html[data-theme="dark"] {
  --bg: #211a20;
  --bg-alt: #2a2129;
  --card: #2f2630;
  --text: #eadfe7;
  --text-soft: #a894a1;
  --accent: #e89bbd;
  --accent-deep: #f0b0cb;
  --accent-soft: #4a3342;
  --lavender: #a58fd6;
  --lavender-soft: #372e47;
  --ring: rgba(232, 155, 189, 0.25);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Nunito", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  transition: background-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    padding-left var(--speed) var(--ease);
}

::selection { background: var(--accent-soft); color: var(--accent-deep); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ---------- 花瓣层 ---------- */
.petal-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -4vh;
  border-radius: 60% 40% 60% 40%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  opacity: 0;
  animation: petal-fall linear infinite;
  will-change: transform, opacity;
}

/* 春季樱花（默认） */
/* 夏季萤火虫 */
.petal--summer {
  border-radius: 50%;
  background: radial-gradient(circle, #ffe066 0%, #ffb347 50%, transparent 100%);
  box-shadow: 0 0 8px 2px rgba(255, 224, 102, 0.6);
  animation: petal-fall-flicker linear infinite;
}
@keyframes petal-fall-flicker {
  0%   { transform: translate3d(0, -5vh, 0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; transform: translate3d(0, 8vh, 0) scale(1); }
  30%  { opacity: 0.3; transform: translate3d(var(--sway, -10vw), 30vh, 0) scale(0.7); }
  50%  { opacity: 0.95; transform: translate3d(var(--sway, -10vw), 50vh, 0) scale(1.1); }
  70%  { opacity: 0.4; transform: translate3d(var(--sway, -10vw), 70vh, 0) scale(0.8); }
  90%  { opacity: 0.85; transform: translate3d(var(--sway, -10vw), 90vh, 0) scale(1); }
  100% { transform: translate3d(var(--sway, -10vw), 108vh, 0) scale(0.6); opacity: 0; }
}
/* 秋季枫叶 */
.petal--autumn {
  border-radius: 0 50% 0 50%;
  background: linear-gradient(135deg, #e8752a, #c0392b, #d35400);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
/* 冬季雪花 */
.petal--winter {
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #e8eaf6 60%, transparent 100%);
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.5);
}

@keyframes petal-fall {
  0%   { transform: translate3d(0, -5vh, 0) rotate(0deg);   opacity: 0; }
  8%   { opacity: var(--petal-opacity, 0.55); }
  92%  { opacity: var(--petal-opacity, 0.55); }
  100% { transform: translate3d(var(--sway, -24vw), 108vh, 0) rotate(560deg); opacity: 0; }
}

/* ---------- 特效画布（鼠标轨迹 + 飘雪） ---------- */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 200;
}

/* ---------- 星空模式 ---------- */
/* 背景层与星星画布由 assets/js/star.js 注入（全站统一）；
   这里只保留星空下的毛玻璃（导航 / 卡片） */

/* 星空模式：导航栏变毛玻璃液态玻璃，星云透过来 */
html[data-star="on"] .nav {
  background: linear-gradient(165deg, rgba(34, 38, 88, .55) 0%, rgba(24, 26, 66, .45) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(255, 255, 255, .04);
}
html[data-star="on"] .theme-toggle {
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 14px rgba(10, 12, 40, .35);
}
html[data-star="on"] .theme-toggle:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 8px 22px rgba(10, 12, 40, .5);
}
/* 宽屏侧边栏：玻璃边沿高光 */
@media (min-width: 900px) {
  html[data-star="on"] .nav {
    border-right: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset -1px 0 0 rgba(255, 255, 255, .05);
  }
}

/* 星空模式：卡片 / 气泡等方框统一半透明毛玻璃，星空透过来 */
html[data-star="on"] .quote,
html[data-star="on"] .corner__entry,
html[data-star="on"] .corner__card,
html[data-star="on"] .contact__item,
html[data-star="on"] .btn--ghost {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 26px rgba(6, 8, 32, .35);
}
/* 悬停浮层（卡片下方舒展的介绍）也换玻璃底 */
html[data-star="on"] .corner__entry p,
html[data-star="on"] .corner__card p {
  background: linear-gradient(rgba(34, 38, 88, .9), rgba(24, 26, 66, .82));
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 26px rgba(6, 8, 32, .4);
}

/* ---------- 导航（窄屏：顶栏） ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(228, 132, 172, 0.08);
  transition: background-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    width var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.nav__header { display: flex; align-items: center; }

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-deep);
  white-space: nowrap;
}

.nav__collapse { display: none; } /* 窄屏不提供伸缩 */

.nav__icon { display: none; } /* 窄屏顶栏只显示文字 */

.nav__links { display: flex; gap: 10px; }

.nav__links a {
  position: relative;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.35s var(--ease);
  padding: 4px 2px;
  white-space: nowrap;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__links a:hover { color: var(--accent-deep); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

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

.theme-toggle,
.star-toggle {
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--accent-deep);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color var(--speed) var(--ease);
}

.theme-toggle:hover,
.star-toggle:hover { transform: translateY(-2px) rotate(-14deg); box-shadow: var(--shadow-hover); }
.theme-toggle__icon { display: block; transition: transform 0.6s var(--ease); }
html[data-theme="dark"] .theme-toggle__icon { transform: rotate(360deg); }

.star-toggle__icon {
  display: block;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease), text-shadow 0.4s var(--ease);
}
.star-toggle:hover .star-toggle__icon { transform: rotate(24deg) scale(1.12); }

/* 星空模式开启：按钮亮起（深蓝紫底 + 金色星星 + 呼吸光晕） */
html[data-star="on"] .star-toggle {
  background: linear-gradient(135deg, #2a2a6e 0%, #4a3a8f 100%);
  box-shadow: 0 0 12px rgba(122, 91, 191, .65), 0 0 22px rgba(255, 215, 110, .25);
  animation: star-toggle-glow 2.6s ease-in-out infinite alternate;
}
html[data-star="on"] .star-toggle__icon {
  color: #ffd76e;
  text-shadow: 0 0 8px rgba(255, 215, 110, .9);
}
html[data-star="on"] .star-toggle:hover { transform: translateY(-2px) scale(1.05); }
@keyframes star-toggle-glow {
  from { box-shadow: 0 0 8px rgba(122, 91, 191, .5), 0 0 14px rgba(255, 215, 110, .15); }
  to   { box-shadow: 0 0 16px rgba(122, 91, 191, .8), 0 0 30px rgba(255, 215, 110, .4); }
}

/* ---------- 导航（宽屏：GitHub 式左侧边栏，可伸缩） ---------- */
@media (min-width: 900px) {
  body { padding-left: var(--sidebar-w); }
  body.nav-collapsed { padding-left: var(--sidebar-w-mini); }

  html { scroll-padding-top: 24px; }

  .nav {
    top: 0; left: 0; bottom: 0; right: auto;
    width: var(--sidebar-w);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 16px 22px;
    background: var(--card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-right: 1px solid var(--ring);
  }

  body.nav-collapsed .nav { width: var(--sidebar-w-mini); }

  .nav__left {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    width: 100%;
  }

  .nav__header {
    justify-content: space-between;
    gap: 8px;
    transition: flex-direction var(--speed) var(--ease);
  }

  .nav__logo { padding: 4px 6px; font-size: 1.12rem; overflow: hidden; }

  /* 伸缩按钮 */
  .nav__collapse {
    display: grid;
    place-items: center;
    width: 28px; height: 28px;
    flex: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: var(--bg-alt);
    color: var(--accent-deep);
    font-size: 0.95rem;
    transition: background-color 0.35s var(--ease), transform 0.45s var(--ease);
  }

  .nav__collapse:hover { background: var(--accent-soft); transform: scale(1.1); }

  .nav__collapse-icon {
    display: block;
    transition: transform 0.5s var(--ease);
  }

  /* 竖排链接：GitHub 边栏式药丸高亮 */
  .nav__links {
    flex-direction: column;
    gap: 4px;
  }

  .nav__links a {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    overflow: hidden;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  .nav__links a::after { display: none; }

  .nav__icon {
    display: inline-block;
    width: 22px;
    flex: none;
    text-align: center;
    margin-right: 10px;
    font-size: 1rem;
    transition: margin-right var(--speed) var(--ease);
  }

  .nav__text { white-space: nowrap; }

  .nav__links a:hover {
    background: var(--bg-alt);
    color: var(--accent-deep);
    transform: translateX(4px);
  }

  .nav__links a.nav__link--active {
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 800;
  }

  .nav__right {
    margin-top: auto;
    justify-content: center;
    padding-top: 18px;
  }

  /* ===== 收起状态：纯图标栏 ===== */
  body.nav-collapsed .nav__header {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  body.nav-collapsed .nav__logo { padding: 4px 0; }
  body.nav-collapsed .nav__logo-text { display: none; }

  body.nav-collapsed .nav__links a {
    justify-content: center;
    padding: 10px 0;
  }

  body.nav-collapsed .nav__links a:hover { transform: none; }
  body.nav-collapsed .nav__icon { margin-right: 0; }
  body.nav-collapsed .nav__text { display: none; }

  body.nav-collapsed .nav__collapse-icon { transform: rotate(180deg); }

  body.nav-collapsed .nav__right { flex-direction: column; align-items: center; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 24px 80px;
  background:
    radial-gradient(60vw 60vw at 15% 0%, var(--lavender-soft), transparent 60%),
    radial-gradient(55vw 55vw at 90% 20%, var(--accent-soft), transparent 55%);
  transition: background var(--speed) var(--ease);
}

@media (min-width: 900px) {
  .hero { padding: 80px 24px; }
}

.hero__avatar-wrap { position: relative; width: 168px; height: 168px; margin-bottom: 36px; }

/* 头像行：头像 + 右侧名言气泡（窄屏自动折行到头像下方） */
.hero__avatar-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4.5vw, 36px);
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__avatar-row .hero__avatar-wrap { margin-bottom: 0; flex: none; }

/* 名人名言气泡：点击随机换一句。固定尺寸（不挤头像），长句由 JS 缩字号适配 */
.quote {
  width: min(300px, 86vw);
  height: 118px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 10px;
  border: 1px solid var(--accent);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.quote__text {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
  transition: opacity 0.18s ease;
}
.quote__author {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.18s ease;
}
.quote.is-switching .quote__text,
.quote.is-switching .quote__author { opacity: 0; }
.quote__hint { display: block; margin-top: 6px; font-size: 0.72rem; color: var(--accent-deep); opacity: 0.75; }

.hero__avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

/* 悬停：均匀放大 */
.hero__avatar-wrap:hover .hero__avatar { transform: scale(1.12); box-shadow: var(--shadow-hover); }

/* 点击：更大的均匀放大（与 hover 同优先级，靠书写顺序覆盖） */
.hero__avatar-wrap .hero__avatar.hero__avatar--pop {
  transform: scale(1.22);
  box-shadow: var(--shadow-hover);
}

/* 头像连击旋转效果 */
.hero__avatar--spin {
  animation: avatar-spin 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero__avatar--spin-big {
  animation: avatar-spin-big 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes avatar-spin {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes avatar-spin-big {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* 彩虹背景闪烁 */
.rainbow-flash {
  animation: rainbow-bg 1s ease forwards;
}
@keyframes rainbow-bg {
  0% { background-color: #fdf6f8; }
  14% { background-color: #ff9a9e; }
  28% { background-color: #fecfef; }
  42% { background-color: #a1c4fd; }
  57% { background-color: #c2e9fb; }
  71% { background-color: #d4fc79; }
  85% { background-color: #96e6a1; }
  100% { background-color: #fdf6f8; }
}
html[data-theme="dark"] .rainbow-flash {
  animation-name: rainbow-bg-dark;
}
@keyframes rainbow-bg-dark {
  0% { background-color: #211a20; }
  14% { background-color: #5a2030; }
  28% { background-color: #4a2040; }
  42% { background-color: #203050; }
  57% { background-color: #203840; }
  71% { background-color: #2a4030; }
  85% { background-color: #204030; }
  100% { background-color: #211a20; }
}

.hero__avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px dashed var(--accent);
  opacity: 0.55;
  animation: ring-spin 24s linear infinite;
  pointer-events: none;
}

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

.hero__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: 0.04em; }

.hero__name {
  background: linear-gradient(120deg, var(--accent-deep), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.15em;
}

.hero__subtitle { margin-top: 14px; font-size: clamp(1rem, 2.6vw, 1.2rem); color: var(--accent-deep); font-weight: 600; }

.hero__weather { margin-top: 18px; color: var(--text-soft); font-size: clamp(0.95rem, 2.2vw, 1.05rem); }

.hero__weather-dot { margin: 0 0.55em; opacity: 0.5; }

.hero__actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color 0.45s var(--ease), color 0.45s var(--ease);
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 26px rgba(228, 132, 172, 0.38);
}

.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(228, 132, 172, 0.48); }

.btn--ghost { background: var(--card); color: var(--accent-deep); box-shadow: var(--shadow); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* 向下的箭头滚动提示 */
.hero__scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  opacity: 0.85;
}

.hero__scroll-hint span {
  display: block;
  width: 15px; height: 15px;
  border-right: 3px solid var(--accent-deep);
  border-bottom: 3px solid var(--accent-deep);
  border-radius: 2px;
  animation: arrow-dip 2.2s var(--ease) infinite;
}

@keyframes arrow-dip {
  0%, 100% { transform: rotate(45deg) translate(0, 0);     opacity: 1; }
  50%      { transform: rotate(45deg) translate(6px, 6px); opacity: 0.45; }
}

/* ---------- 区块通用 ---------- */
.section { padding: 110px 0; position: relative; z-index: 2; }
.section--alt { background: var(--bg-alt); transition: background-color var(--speed) var(--ease); }

.section__title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 48px;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--lavender));
}

/* ---------- 小角落 / 喜欢（大卡：全屏一排最多 5 个，小屏一排最多 4 个，悬停展开介绍） ---------- */
.corner__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  justify-content: center;
  justify-items: center;
  gap: 20px;
  align-items: start;
}

/* 入口小卡（歌单/相册/碎碎念/对弈） */
.corner__entry {
  position: relative;
  display: block;
  width: 100%;
  max-width: 230px;
  min-height: 170px;
  padding: 26px 16px 20px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 1;
  transition: transform 0.45s var(--ease), box-shadow var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.corner__entry:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); z-index: 30; }
.corner__entry-icon { display: block; font-size: 2.2rem; margin-bottom: 10px; }
.corner__entry h3 { margin: 0; font-size: 1.08rem; color: var(--accent-deep); }
/* 介绍：默认收起，悬停时从卡片下方半透明渐变往下舒展 */
.corner__entry p {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  width: 176px;
  margin: 0;
  padding: 10px 13px;
  background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .72));
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-soft);
  opacity: 0;
  visibility: hidden;
  z-index: 40;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease), visibility 0s 0.55s;
}
.corner__entry:hover p {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scaleY(1);
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease);
}

/* 在建中小卡（虚线款） */
.corner__card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 230px;
  min-height: 170px;
  padding: 26px 16px 20px;
  background: var(--card);
  border: 2px dashed var(--accent);
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  z-index: 1;
  transition: background-color var(--speed) var(--ease), transform 0.45s var(--ease), box-shadow var(--speed) var(--ease);
}
.corner__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); z-index: 30; }
.corner__wip { font-size: 2.1rem; margin-bottom: 10px; }
.corner__card h3 { margin: 0; font-size: 1.08rem; color: var(--accent-deep); }
.corner__card p {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  width: 176px;
  margin: 0;
  padding: 10px 13px;
  background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .72));
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-soft);
  opacity: 0;
  visibility: hidden;
  z-index: 40;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease), visibility 0s 0.55s;
}
.corner__card:hover p {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scaleY(1);
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease);
}
.corner__tease { display: block; margin-top: 6px; font-size: 0.88em; color: var(--accent); }

/* 暗色主题：浮层换成暗色半透明，依然渐变往下舒展 */
html[data-theme="dark"] .corner__entry p,
html[data-theme="dark"] .corner__card p {
  background: linear-gradient(rgba(47, 38, 48, .92), rgba(47, 38, 48, .72));
}

/* 窄屏：没有悬停，介绍直接常显，卡片自适应铺满 */
@media (max-width: 900px) {
  .corner__cards { grid-template-columns: repeat(4, 1fr); justify-content: stretch; gap: 12px; }
  .corner__entry, .corner__card { width: 100%; max-width: none; min-height: 0; padding: 14px 8px 12px; }
  .corner__entry-icon { font-size: 1.55rem; margin-bottom: 4px; }
  .corner__entry h3, .corner__card h3 { font-size: .82rem; }
  .corner__wip { font-size: 1.6rem; margin-bottom: 4px; }
  .corner__entry p, .corner__card p {
    position: static;
    transform: none;
    width: auto;
    margin-top: 6px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    font-size: .7rem;
    line-height: 1.5;
  }
}

/* 手机：卡片更紧凑，描述文字收起（只看图标和标题） */
@media (max-width: 480px) {
  .corner__entry p, .corner__card p { display: none; }
  .corner__entry, .corner__card { padding: 12px 6px 10px; }
  .corner__entry-icon { font-size: 1.4rem; }
  .corner__entry h3, .corner__card h3 { font-size: .78rem; }
}

/* ---------- 联系 ---------- */
.contact__list { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.contact__item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 20px 26px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color var(--speed) var(--ease);
}

.contact__item:hover { transform: translateX(8px); box-shadow: var(--shadow-hover); }

.contact__icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1.2rem;
  transition: transform 0.45s var(--ease), background-color var(--speed) var(--ease);
}

.contact__item:hover .contact__icon { transform: rotate(-10deg) scale(1.1); }

.contact__label { font-weight: 800; width: 4.5em; flex: none; }
.contact__value { color: var(--text-soft); font-size: 0.94rem; word-break: break-all; }

/* ---------- 右下角占卜扑克牌（三张斜叠，粉色为主，圆角软乎乎） ---------- */
.cards {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  pointer-events: none;
}
.cards__pile {
  position: relative;
  width: 148px;
  height: 168px;
  pointer-events: none;
}
.cards__card {
  position: absolute;
  width: 116px;
  height: 158px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  pointer-events: auto;
  background: linear-gradient(160deg, #ffe9f2 0%, #ffd3e4 60%, #fdc6dc 100%);
  box-shadow: 0 8px 20px rgba(217, 79, 130, .28), 0 2px 6px rgba(217, 79, 130, .18);
  transform-origin: 50% 100%;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.cards__card:hover { box-shadow: 0 14px 30px rgba(217, 79, 130, .4), 0 4px 10px rgba(217, 79, 130, .22); }
/* 三张牌错位斜叠 */
.cards__card--liuyao { right: 6px;  top: 0;    transform: rotate(7deg); }
.cards__card--qian   { right: 20px; top: 10px; transform: rotate(-2deg); }
.cards__card--lucky  { right: 32px; top: 24px; transform: rotate(-11deg); }
/* 悬停：牌立起转正 + 微微上浮摇摆 */
.cards__card--liuyao:hover { transform: rotate(2deg) translateY(-12px) scale(1.05); }
.cards__card--qian:hover   { transform: rotate(0deg) translateY(-14px) scale(1.05); }
.cards__card--lucky:hover  { transform: rotate(0deg) translateY(-14px) scale(1.05); }

.cards__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 22px;
  overflow: hidden;
}
/* 牌面花纹：四角小爱心 + 中间花型 */
.cards__face::before, .cards__face::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  background:
    radial-gradient(circle at 50% 50%, rgba(236, 111, 156, .35) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 30%, rgba(236, 111, 156, .25) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 30%, rgba(236, 111, 156, .25) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 70%, rgba(236, 111, 156, .25) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 70%, rgba(236, 111, 156, .25) 0 3px, transparent 4px);
  opacity: .8;
  transition: opacity .3s ease;
}
.cards__face::before { left: -14px; top: -14px; }
.cards__face::after { right: -14px; bottom: -14px; }
.cards__suit {
  font-size: 1.9rem;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(217, 79, 130, .3));
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.cards__label {
  font-size: 1.02rem;
  color: #d94f82;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease .05s, transform .35s cubic-bezier(.34, 1.56, .64, 1) .05s;
}
.cards__card:hover .cards__label,
.cards__card:focus-visible .cards__label { opacity: 1; transform: translateY(0); }
.cards__card:hover .cards__suit,
.cards__card:focus-visible .cards__suit { transform: scale(1.15) rotate(-8deg); }

/* 翻牌（点击跳转前） */
.cards__card.is-flip {
  animation: cards-flip .55s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes cards-flip {
  0%   { transform: rotate(0) translateY(0) scale(1); }
  35%  { transform: rotate(180deg) translateY(-34px) scale(1.12); }
  100% { transform: rotate(360deg) translateY(-6px) scale(.92); opacity: .35; }
}
.cards__card.is-tada { animation: cards-tada .8s ease; }
@keyframes cards-tada {
  0%   { transform: rotate(0) scale(1); }
  15%  { transform: rotate(-6deg) scale(1.08); }
  30%  { transform: rotate(5deg) scale(1.1); }
  45%  { transform: rotate(-3deg) scale(1.06); }
  60%  { transform: rotate(2deg) scale(1.04); }
  100% { transform: rotate(0) scale(1); }
}

/* 提示气泡 */
.cards__bubble {
  position: absolute;
  right: 4px;
  bottom: calc(100% + 10px);
  max-width: 230px;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.5;
  color: #d94f82;
  background: #fff;
  box-shadow: 0 8px 22px rgba(217, 79, 130, .22);
  opacity: 0;
  transform: translateY(8px) scale(.92);
  transform-origin: 90% 100%;
  pointer-events: none;
  transition: opacity .28s ease, transform .32s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 1;
}
.cards__bubble::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 3px;
}
.cards__bubble.is-on { opacity: 1; transform: translateY(0) scale(1); }
.cards__bubble.is-lucky {
  color: #6f5560;
  background: #fff7fb;
  border: 1.5px dashed rgba(236, 111, 156, .5);
}
.cards__bubble.is-lucky::after { background: #fff7fb; }

/* 夜晚模式：牌面换深梅子底，花纹亮粉 */
html[data-theme="dark"] .cards__card {
  background: linear-gradient(160deg, #4a3448 0%, #3a2a3c 60%, #33232f 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
}
html[data-theme="dark"] .cards__card:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .cards__label { color: #ff9ec6; }
html[data-theme="dark"] .cards__face::before,
html[data-theme="dark"] .cards__face::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 158, 198, .4) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 30%, rgba(255, 158, 198, .28) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 30%, rgba(255, 158, 198, .28) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 70%, rgba(255, 158, 198, .28) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 70%, rgba(255, 158, 198, .28) 0 3px, transparent 4px);
}
html[data-theme="dark"] .cards__bubble { background: #2f2633; color: #f28bb4; }
html[data-theme="dark"] .cards__bubble::after { background: #2f2633; }
html[data-theme="dark"] .cards__bubble.is-lucky { background: #332a38; color: #e8d9e3; border-color: rgba(255, 158, 198, .4); }
html[data-theme="dark"] .cards__bubble.is-lucky::after { background: #332a38; }

/* ---------- 今日小幸运结果卡片（屏幕中央） ---------- */
.lucky-result {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lucky-result.is-on {
  opacity: 1;
  pointer-events: auto;
}
.lucky-result__inner {
  max-width: 380px;
  width: 85vw;
  padding: 32px 28px 26px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  text-align: center;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lucky-result.is-on .lucky-result__inner {
  transform: scale(1) translateY(0);
}
.lucky-result__icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  animation: lucky-icon-bounce 0.6s ease 0.2s both;
}
@keyframes lucky-icon-bounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.lucky-result__text {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.lucky-result__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.lucky-result__color,
.lucky-result__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.lucky-result__hint {
  font-size: 0.72rem;
  color: var(--text-soft);
  opacity: 0.7;
}
html[data-theme="dark"] .lucky-result {
  background: rgba(0, 0, 0, 0.5);
}

/* ---------- 星星 tooltip ----------
   样式由 star.js cssOnce() 全站注入（.star-tooltip / .star-tooltip--wish），
   这里不再重复定义 */

/* ---------- 成就解锁通知 ---------- */
.achieve-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.achieve-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.achieve-toast__icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.achieve-toast__text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}
.achieve-toast__text strong {
  color: var(--accent-deep);
  font-size: 0.92rem;
}
html[data-theme="dark"] .achieve-toast {
  background: var(--card);
  border-color: var(--accent);
}

/* 移动端：三张叠成一把，只留最上面一张可点 */
@media (max-width: 640px) {
  .cards { right: 12px; bottom: 12px; }
  .cards__pile { width: 104px; height: 140px; }
  .cards__card { width: 92px; height: 130px; border-radius: 18px; }
  .cards__card--liuyao { right: 0; top: 0; transform: rotate(5deg); }
  .cards__card--qian { right: 12px; top: 12px; transform: rotate(-1deg); }
  .cards__card--lucky { right: 22px; top: 26px; transform: rotate(-9deg); }
  .cards__card--liuyao:hover { transform: rotate(1deg) translateY(-10px) scale(1.05); }
  .cards__card--qian:hover { transform: rotate(0) translateY(-10px) scale(1.05); }
  .cards__card--lucky:hover { transform: rotate(0) translateY(-10px) scale(1.05); }
  .cards__suit { font-size: 1.5rem; }
  .cards__bubble { right: 0; font-size: .82rem; max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .cards__card { transition: none; }
  .cards__card.is-flip, .cards__card.is-tada { animation: none; }
}

/* ---------- 页脚 ---------- */
.footer {
  padding: 36px 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* ---------- 入场 & 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal--in { opacity: 1; transform: translateY(0); }

/* Hero 内的 reveal 由 JS 立即触发，CSS 保证无 JS 时也可见 */
.no-js .reveal, .reveal--fallback { opacity: 1; transform: none; }

/* ---------- 尊重减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .petal-layer, .fx-canvas { display: none; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .nav { gap: 12px; }
  .nav__left { gap: 14px; }
  .nav__links { gap: 8px; }
  .nav__links a { font-size: 0.85rem; }
  .nav__logo { font-size: 1rem; }
  .section { padding: 80px 0; }
  .contact__label { width: auto; }
  .contact__item { flex-wrap: wrap; gap: 10px 14px; }
}

/* ---------- 音乐播放器页 ---------- */
.music-main { padding-top: 30px; }

.music__lead {
  text-align: center;
  color: var(--text-soft);
  margin: -10px 0 30px;
}

.player {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px 30px 26px;
  text-align: center;
  transition: background-color var(--speed) var(--ease);
}

/* 封面：旋转唱片 */
.player__disc {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--accent-soft);
  box-shadow: var(--shadow);
}

.player.is-playing .player__disc { animation: disc-spin 9s linear infinite; }
@keyframes disc-spin { to { transform: rotate(360deg); } }

.player__info h3 { font-size: 1.25rem; }
.player__info p { color: var(--text-soft); font-size: 0.9rem; margin: 2px 0 14px; }


/* 进度条 */
.player__progress {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--speed) var(--ease);
}

.player__progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--lavender));
}

.player__times {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: 0.8rem;
  margin: 6px 2px 16px;
}

/* 控制按钮 */
.player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.player__btn {
  border: none;
  background: var(--accent-soft);
  color: var(--accent-deep);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

.player__btn:hover { transform: scale(1.12); }

.player__btn--main {
  width: 60px;
  height: 60px;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.player__volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.player__volume input { accent-color: var(--accent-deep); width: 140px; }
.player__volume-pct {
  min-width: 40px;
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* 播放列表 */
.player__list { list-style: none; text-align: left; }

.player__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color var(--speed) var(--ease);
}

.player__list li:hover { background: var(--bg-alt); }
.player__list li.is-active { background: var(--accent-soft); color: var(--accent-deep); }
.player__list .no { width: 1.4em; color: var(--text-soft); font-weight: 800; }
.player__list .artist { margin-left: auto; color: var(--text-soft); font-size: 0.8rem; font-weight: 600; }

.player__credit {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.7;
}

.player__credit a { color: var(--accent-deep); }

/* 当前歌词行 */
.player__lyric {
  min-height: 1.6em;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  margin: -4px 0 12px;
  transition: opacity 0.15s var(--ease);
}

.player__lyric.fade { opacity: 0; }

/* 网易云歌单输入栏 */
.music__loader {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 22px;
}

.music__loader input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--accent-soft);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

.music__loader input:focus { border-color: var(--accent-deep); }

.music__loader button {
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  color: #fff;
  white-space: nowrap;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.music__loader button:hover { transform: translateY(-2px); }
.music__loader button:disabled { opacity: 0.55; cursor: wait; }
.music__loader button.ghost { background: var(--accent-soft); color: var(--accent-deep); }

/* 列表标题 + 可滚动列表 + 失败标记 */
.player__list-title {
  text-align: left;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-soft);
  margin: 0 4px 8px;
}

.player__list {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.player__list li.is-error { opacity: 0.4; text-decoration: line-through; }

/* ---------- 音乐页：Wallpaper 壁纸背景 + 玻璃拟态 ---------- */
body.music-page {
  background: #101828 url('../img/scene/cafe.jpg') center / cover no-repeat fixed;
}

/* 压暗层：保证文字可读（在壁纸之上、内容之下） */
body.music-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(14, 20, 32, 0.34);
  pointer-events: none;
  z-index: -1;
}

body.music-page .section__title,
body.music-page .hero__name { color: #fdf7fb; }

body.music-page .music__lead { color: rgba(253, 247, 251, 0.78); }

/* 播放器卡片：磨砂玻璃 */
body.music-page .player {
  background: rgba(24, 32, 48, 0.42);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  color: #f4eef3;
}

body.music-page .player h3 { color: #fdf7fb; }
body.music-page .player__info p { color: rgba(244, 238, 243, 0.68); }
body.music-page .player__lyric { color: #ffc4da; }
body.music-page .player__times { color: rgba(244, 238, 243, 0.62); }
body.music-page .player__progress { background: rgba(255, 255, 255, 0.16); }
body.music-page .player__volume { color: rgba(244, 238, 243, 0.68); }

body.music-page .player__btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffd7e8;
}

body.music-page .player__btn--main {
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  color: #fff;
}

/* 需要用户点一下才能出声时，主播放键呼吸闪烁 */
.player__btn--main.needs-gesture { animation: btn-pulse 1.6s ease-in-out infinite; }

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 167, 195, 0.55); }
  50%      { box-shadow: 0 0 0 14px rgba(242, 167, 195, 0); }
}

body.music-page .player__list-title { color: rgba(244, 238, 243, 0.62); }
body.music-page .player__list li { color: #efe8ee; }
body.music-page .player__list li:hover { background: rgba(255, 255, 255, 0.09); }
body.music-page .player__list li.is-active { background: rgba(242, 167, 195, 0.3); color: #ffe3ee; }
body.music-page .player__list .no,
body.music-page .player__list .artist { color: rgba(244, 238, 243, 0.52); }
body.music-page .player__credit { color: rgba(244, 238, 243, 0.55); }
body.music-page .player__credit a { color: #ffc4da; }

/* 歌单输入栏：半透明玻璃 */
body.music-page .music__loader input {
  background: rgba(24, 32, 48, 0.5);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fdf7fb;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.music-page .music__loader input::placeholder { color: rgba(253, 247, 251, 0.5); }
body.music-page .music__loader input:focus { border-color: var(--accent); }

body.music-page .music__loader button.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #ffd7e8;
}

body.music-page .footer { color: rgba(253, 247, 251, 0.6); }

/* 壁纸来自 Wallpaper Engine 场景壁纸的手工拼合静帧，暗色背景下
   隐藏主题切换按钮的浅色背景，保持画面干净 */
body.music-page .theme-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: #ffd7e8;
}

/* 壁纸页强制深色导航观感 */
body.music-page .nav__logo-text,
body.music-page .nav__text { color: inherit; }

/* ============================================================
   听歌 + 专注页：动态壁纸场景（Wallpaper Engine 重建 · Lo-Fi 咖啡店）
   - 底图 = workshop 2370927443 的 Base Image（Neon cafe，3840×2160）
   - 舞台固定 3840×2160 按 cover 缩放；底图外扩一圈，视差不露边
   - 动效 = 霓虹灯光晕闪烁 + 暖色萤火（focus.js 生成）+ Canvas 雨丝
   ============================================================ */
.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #101828;
}

.scene__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3840px;
  height: 2160px;
  transform: translate(-50%, -50%) scale(0.5); /* JS 会覆写 scale */
}

.scene__layer { position: absolute; will-change: transform; }
.scene__layer img { display: block; width: 100%; height: auto; }

/* 咖啡店底图：外扩一圈，cover 铺满 */
.scene__layer--cafe { inset: -60px; }
.scene__layer--cafe img { width: 100%; height: 100%; object-fit: cover; }

/* 霓虹灯光晕：屋顶招牌 + 窗口 LO-FI 杯（百分比坐标对齐底图） */
.scene__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: neon-flicker 5s linear infinite;
}
.scene__glow--sign {
  left: 33%; top: 5%;
  width: 34%; height: 9%;
  background: radial-gradient(closest-side, rgba(255, 170, 80, 0.34), transparent 72%);
}
.scene__glow--cup {
  left: 66.5%; top: 24%;
  width: 12%; height: 15%;
  background: radial-gradient(closest-side, rgba(90, 210, 255, 0.38), transparent 72%);
  animation-delay: -2.3s;
  animation-duration: 6.5s;
}
@keyframes neon-flicker {
  0%, 100% { opacity: 0.85; }
  8% { opacity: 0.45; }
  10% { opacity: 0.9; }
  24% { opacity: 0.7; }
  46% { opacity: 1; }
  70% { opacity: 0.6; }
  72% { opacity: 0.95; }
}

/* 暖色萤火 / 尘光（focus.js 生成，全高度漂浮） */
.scene__stars { position: absolute; inset: 0; }
.scene__stars i {
  position: absolute;
  border-radius: 50%;
  background: #ffd9a0;
  box-shadow: 0 0 8px 2px rgba(255, 200, 130, 0.55);
  opacity: 0.15;
  animation: star-twinkle 3s ease-in-out infinite;
}
@keyframes star-twinkle { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.9; } }

/* 雨丝画布（focus.js 绘制，铺满视口） */
.scene__rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 压暗层减轻一点，让夜景透出来（面板自带玻璃底保证可读） */
body.music-page::before { background: rgba(14, 20, 32, 0.22); }

/* ---------- 左上角头像（回首页） ---------- */
.focus-corner {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}
.focus-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: transform var(--speed) var(--ease);
}
.focus-avatar:hover { transform: scale(1.08) rotate(-3deg); }
.focus-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 专注大时钟：开始专注后浮在顶部约 1/3 处 ---------- */
.focus-bigclock {
  position: fixed;
  top: 30vh;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 15;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.focus-bigclock.is-on { opacity: 1; transform: translateX(-50%); }
.focus-bigclock__time {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  color: #fdf7fb;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55), 0 1px 6px rgba(0, 0, 0, 0.4);
}
.focus-bigclock__status {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 214, 232, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- Dock 弹层：统一玻璃观感 + 从 dock 上方弹出 ---------- */
.dock-panel {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 29;
  padding: 15px 15px 13px;
  background: rgba(24, 32, 48, 0.42);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  color: #f4eef3;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(16px) scale(0.94);
  transform-origin: bottom center;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s 0.28s;
}
.dock-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.dock-panel--focus { width: 272px; }
.dock-panel--todo { width: 300px; }
.dock-panel--wp { width: 268px; }

/* ---------- 底部 Dock：macOS 风功能栏（hover 放大由 focus.js 平滑驱动） ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 24px;
  background: rgba(24, 32, 48, 0.42);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
}
.dock__item {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform-origin: bottom center;
  transition: background 0.18s var(--ease);
}
.dock__item:hover { background: rgba(255, 255, 255, 0.2); }.dock__item.is-active {
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  border-color: transparent;
}
.dock__tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(24, 32, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fdf7fb;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.dock__item:hover .dock__tip { opacity: 1; transform: translateX(-50%); }

/* 更换壁纸弹层：继承 .dock-panel，内部网格样式如下 */
.wp-panel__title {
  margin: 0 2px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(244, 238, 243, 0.62);
}
.wp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wp-item {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.wp-item:hover { transform: translateY(-2px); }
.wp-item.is-active { border-color: rgba(255, 170, 200, 0.85); }
.wp-item img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wp-item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 6px 4px;
  font-size: 0.68rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* ---------- 液态玻璃观感由 .dock-panel 统一承担 ---------- */
.focus-wrap { display: contents; }

.focus-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 2px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(244, 238, 243, 0.62);
}

.focus-status, .focus-hint { font-weight: 600; font-size: 0.74rem; color: rgba(255, 196, 218, 0.75); }

.focus-clock {
  margin: 0 0 10px;
  text-align: center;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  color: #fdf7fb;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.focus-clock.is-done { animation: clock-pop 0.8s var(--ease) 3; }
@keyframes clock-pop { 50% { transform: scale(1.07); } }

.focus-presets { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.focus-presets button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #efe8ee;
  border-radius: 999px;
  padding: 4px 13px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.focus-presets button:hover { transform: translateY(-1px); }
.focus-presets button.is-on {
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  border-color: transparent;
  color: #fff;
}

.focus-actions { display: flex; gap: 10px; }
.focus-start, .focus-reset {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 10px 0;
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.focus-start {
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  color: #fff;
  box-shadow: 0 8px 24px rgba(242, 167, 195, 0.35);
}
.focus-reset { background: rgba(255, 255, 255, 0.12); color: #ffd7e8; }
.focus-start:hover, .focus-reset:hover { transform: translateY(-2px); }

/* Todo 标题：截图同款蓝紫色 */
.todo-title { color: #7ea8ff; font-size: 0.95rem; letter-spacing: 0.03em; }

.todo-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  max-height: 168px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.todo-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: #efe8ee;
  cursor: pointer;
  transition: background-color var(--speed) var(--ease);
}
.todo-list li:hover { background: rgba(255, 255, 255, 0.08); }
/* 未完成：蓝色实心圆点（截图同款）；完成：绿勾 + 删除线 */
.todo-list li::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6ea8ff;
  box-shadow: 0 0 7px rgba(110, 168, 255, 0.55);
}
.todo-list li.is-done::before {
  content: '✓';
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #4ecb8d;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
}
.todo-list li.is-done .todo-text { text-decoration: line-through; color: rgba(244, 238, 243, 0.42); }
.todo-list .todo-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo-list .todo-del {
  border: none;
  background: none;
  color: rgba(244, 238, 243, 0.45);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.todo-list li:hover .todo-del { opacity: 1; }
.todo-list .todo-empty {
  cursor: default;
  color: rgba(244, 238, 243, 0.45);
  font-weight: 600;
  font-size: 0.84rem;
}
.todo-list .todo-empty::before { display: none; }
.todo-list .todo-empty:hover { background: none; }

.todo-form { display: flex; gap: 8px; }
.todo-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fdf7fb;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color var(--speed) var(--ease);
}
.todo-form input::placeholder { color: rgba(253, 247, 251, 0.42); }
.todo-form input:focus { border-color: var(--accent); }
.todo-form button {
  flex: none;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--lavender));
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform var(--speed) var(--ease);
}
.todo-form button:hover { transform: scale(1.1); }

/* ---------- 播放器：Dock 弹层成员（定位/开关动画由 .dock-panel 承担，这里做紧凑覆写） ---------- */
body.music-page .focus-player {
  width: 312px;
  max-width: none;
  margin: 0;
  padding: 14px;
  text-align: left;
}

.focus-player__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.focus-player .player__disc { width: 58px; height: 58px; margin: 0; border-width: 3px; flex: none; }
.focus-player .player__info { min-width: 0; }
.focus-player .player__info h3 {
  margin: 0;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.focus-player .player__info p { margin: 2px 0 0; font-size: 0.8rem; }
.focus-player .player__lyric {
  margin: 4px 0 0;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.focus-player .player__viz { height: 28px; margin-bottom: 5px; }
.focus-player .player__times { margin-bottom: 10px; }

.focus-player__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.focus-player .player__controls { gap: 12px; margin-bottom: 0; }
.focus-player .player__btn { width: 36px; height: 36px; font-size: 0.9rem; }
.focus-player .player__btn--main { width: 46px; height: 46px; font-size: 1.1rem; }
.focus-player .player__volume { margin-bottom: 0; }
.focus-player .player__volume input { width: 72px; }

/* 歌单折叠区 */
.player__more { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 8px; }
/* 展开/收起由 focus.js 量高度做过渡，避免 details 生硬跳动 */
.player__more-body { overflow: hidden; transition: height 0.35s var(--ease); }
.player__more summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(244, 238, 243, 0.62);
  list-style: none;
  text-align: center;
}
.player__more summary::-webkit-details-marker { display: none; }
.player__more summary::after { content: ' ▾'; }
.player__more[open] summary::after { content: ' ▴'; }
.player__more .music__loader { margin: 12px 0 10px; max-width: none; }
.player__more .music__loader input { padding: 8px 14px; font-size: 0.82rem; }
.player__more .music__loader button { padding: 8px 14px; font-size: 0.82rem; }
.player__more .player__list { max-height: 200px; }
.player__more .player__credit { margin-top: 12px; font-size: 0.72rem; }

/* ---------- 小屏：dock 与弹层都是浮层，只需收窄限宽 ---------- */
@media (max-width: 860px) {
  .focus-corner { top: 16px; left: 16px; }
  .focus-avatar { width: 44px; height: 44px; }
  .dock { gap: 6px; padding: 8px 10px; bottom: 10px; }
  .dock__item { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 14px; }
  .dock-panel { bottom: 82px; }
  .dock-panel--focus { width: min(272px, 88vw); }
  .dock-panel--todo { width: min(300px, 88vw); }
  .dock-panel--wp { width: min(268px, 88vw); }
  body.music-page .focus-player { width: min(312px, 88vw); }
}

/* ---------- 减少动态偏好：场景静下来，只留静态壁纸 ---------- */
/* ---------- 页面过渡纱幕：首页 ⇄ 音乐页 ----------
   去音乐页盖「入夜」深色纱幕，回首页盖「天亮」粉白纱幕；
   进入页面时 --enter 自动把纱幕淡出（CSS 驱动，不依赖 JS） */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s ease;
}
.page-veil--night { background: linear-gradient(165deg, #262b4a 0%, #15172e 55%, #0e1020 100%); }
.page-veil--day { background: linear-gradient(165deg, #fff3f7 0%, #ffe7f0 55%, #ffd9e8 100%); }
.page-veil--dusk { background: linear-gradient(165deg, #efe6fb 0%, #e4d5f6 55%, #d5c1f0 100%); }
.page-veil--blush { background: linear-gradient(165deg, #ffd9e9 0%, #ffc3d9 55%, #e6d8f6 100%); }
/* 去占卜屋 = 星夜纱幕（白天亮紫、夜晚深紫，星光点点） */
.page-veil--mystic { background: linear-gradient(165deg, #e6dbfb 0%, #d3bef5 55%, #bda6ec 100%); }
.page-veil--mystic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 18% 30%, #8f76c9 0 2px, transparent 3px),
    radial-gradient(1.5px 1.5px at 72% 18%, #8f76c9 0 2px, transparent 3px),
    radial-gradient(2px 2px at 84% 62%, #8f76c9 0 2px, transparent 3px),
    radial-gradient(1.5px 1.5px at 34% 72%, #8f76c9 0 2px, transparent 3px),
    radial-gradient(1px 1px at 52% 44%, #8f76c9 0 1px, transparent 2px),
    radial-gradient(1.5px 1.5px at 10% 58%, #8f76c9 0 2px, transparent 3px),
    radial-gradient(1px 1px at 92% 84%, #8f76c9 0 1px, transparent 2px);
  animation: mystic-twinkle 1.6s ease-in-out infinite alternate;
}
@keyframes mystic-twinkle {
  from { opacity: .35; }
  to { opacity: 1; }
}
.page-veil--enter { animation: page-veil-out 0.6s ease 0.08s both; }
/* 夜晚模式：转场纱幕也换深色版（与主题联动） */
html[data-theme="dark"] .page-veil--day { background: linear-gradient(165deg, #2b2230 0%, #241a28 55%, #1b1320 100%); }
html[data-theme="dark"] .page-veil--dusk { background: linear-gradient(165deg, #2a2140 0%, #32284f 55%, #3b2f5c 100%); }
html[data-theme="dark"] .page-veil--night { background: linear-gradient(165deg, #1b1f38 0%, #12142a 55%, #0d0f1e 100%); }
html[data-theme="dark"] .page-veil--blush { background: linear-gradient(165deg, #3a2440 0%, #32203a 55%, #251b33 100%); }
html[data-theme="dark"] .page-veil--mystic { background: linear-gradient(165deg, #1d1533 0%, #2a1d45 55%, #3a2757 100%); }
@keyframes page-veil-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scene__glow, .scene__stars i { animation: none !important; }
  .scene__stars, .scene__rain { display: none; }
  .page-veil { transition: none; }
  .page-veil--enter { animation: none; }
}

