/* ============================================================
   九重紫 Kokonoyu.com · 原站精致美化版
   全站可爱圆润字体 · 柔和梦幻亮色 · 克制高级的装饰
   ============================================================ */

:root {
  /* 色彩 */
  --pink-100: #ffeaf2;
  --pink-200: #ffd3e2;
  --pink-300: #ffb3cd;
  --pink-400: #ff8fb8;
  --pink-500: #f26a9e;
  --pink-600: #e54f8b;
  --purple-100: #f4edfb;
  --purple-200: #e7d8f6;
  --purple-300: #cba9e9;
  --purple-400: #b088dd;
  --purple-500: #9a6fd0;
  --purple-600: #8358ba;
  --purple-700: #6e479f;
  --blue-100: #eaf5fb;
  --blue-300: #a8d6ee;
  --blue-400: #7fc0e4;
  --ink-900: #463a52;
  --ink-700: #655572;
  --ink-500: #8f7f9d;
  --ink-300: #b7aac2;

  /* 表面 */
  --glass: rgba(255, 255, 255, 0.4);
  --glass-strong: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.55);
  --line-soft: rgba(150, 110, 190, 0.14);
  --line-mid: rgba(150, 110, 190, 0.26);
  --shadow-soft: 0 12px 32px rgba(140, 92, 190, 0.12);
  --shadow-mid: 0 18px 42px rgba(140, 92, 190, 0.18);
  --shadow-pink: 0 10px 24px rgba(226, 96, 155, 0.28);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-full: 999px;

  --font-cute: "ZCOOL KuaiLe", "M PLUS Rounded 1c", "Yuanti SC", "YouYuan", "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease-spring: cubic-bezier(0.22, 1.25, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-cute);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  background:
    radial-gradient(1100px 640px at 10% -6%, rgba(255, 197, 222, 0.4), transparent 60%),
    radial-gradient(1000px 700px at 105% 16%, rgba(193, 160, 238, 0.32), transparent 62%),
    radial-gradient(900px 640px at 55% 112%, rgba(160, 214, 244, 0.28), transparent 58%),
    linear-gradient(165deg, #fff7fb 0%, #fdf5ff 40%, #f7f7ff 74%, #fff9fc 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 原站风格鼠标（默认魔法棒 / 可点击爱心） */
body,
html {
  cursor: url("../cursors/wand.svg") 4 3, auto;
}

a,
button,
label,
input,
textarea,
select,
[role="button"],
.nav-link,
.sbtn,
.g-item,
.music-playlist li,
.collection-card,
.video-card,
.works-back,
.design-zoom,
.page-btn,
.fab-btn,
.lightbox-btn,
.modal-close {
  cursor: url("../cursors/heart.svg") 12 12, pointer !important;
}

/* 点击花瓣 */
.click-spark {
  position: fixed;
  width: 10px;
  height: 8px;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(135deg, #ffb3cd, #e79ff0);
  pointer-events: none;
  z-index: 9998;
  animation: sparkFly 0.72s ease-out forwards;
}

@keyframes sparkFly {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx, 0px), var(--dy, -50px)) rotate(var(--rot, 120deg)) scale(0.2); opacity: 0; }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pink-400), var(--purple-500));
  box-shadow: 0 0 12px rgba(242, 106, 158, 0.45);
  border-radius: 0 999px 999px 0;
  z-index: 400;
}

/* 右下角樱花装饰 */
.decor-sakura {
  position: fixed;
  right: -12px;
  bottom: -14px;
  width: min(300px, 34vw);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  filter: drop-shadow(0 10px 26px rgba(242, 106, 158, 0.14));
}

.decor-sakura svg {
  width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: rgba(242, 106, 158, 0.26);
  color: var(--ink-900);
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink-300), var(--purple-300));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.65);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--pink-400), var(--purple-400)); }

:focus-visible {
  outline: 2.5px solid var(--purple-400);
  outline-offset: 3px;
  border-radius: 10px;
}

h1, h2, h3, h4 {
  font-family: var(--font-cute);
  font-weight: 400;
  color: var(--ink-900);
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 0.9em; }
strong { font-weight: 400; color: var(--purple-700); }

a { color: var(--purple-600); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--pink-500); }

img { max-width: 100%; }
button { font-family: inherit; border: none; background: none; padding: 0; }

/* ---------- 背景装饰 ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

/* ---------- 进入动画 ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fff7fb 0%, #fdf5ff 55%, #f6f7ff 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.no-loader .site-loader { display: none !important; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-rings {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(242, 106, 158, 0.14);
  border-top-color: #f26a9e;
  border-right-color: #b088dd;
  animation: loaderSpin 1s linear infinite;
}

.loader-ring-2 {
  inset: 12px;
  border-width: 2px;
  border-style: dashed;
  border-color: rgba(176, 136, 221, 0.38);
  animation: loaderSpin 2.4s linear infinite reverse;
}

.loader-sakura {
  width: 30px;
  height: 30px;
  animation: loaderPulse 1.6s ease-in-out infinite;
}

.loader-title {
  margin-top: 18px;
  font-family: var(--font-cute);
  font-size: 19px;
  letter-spacing: 0.3em;
  color: var(--purple-600);
  text-indent: 0.3em;
}

.loader-bar {
  width: 132px;
  height: 3px;
  margin-top: 15px;
  border-radius: 999px;
  background: rgba(242, 106, 158, 0.14);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8fb8, #b088dd);
  animation: loaderSlide 1.15s ease-in-out infinite;
}

@keyframes loaderSpin { to { transform: rotate(360deg); } }

@keyframes loaderPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(8deg); }
}

@keyframes loaderSlide {
  0% { transform: translateX(-115%); }
  100% { transform: translateX(345%); }
}

.bg-art {
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-character.webp");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.1;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  animation: blobFloat 20s ease-in-out infinite alternate;
}
.blob-1 {
  width: 500px;
  height: 500px;
  top: -130px;
  left: -110px;
  background: radial-gradient(circle, rgba(255, 168, 205, 0.5), transparent 70%);
}
.blob-2 {
  width: 440px;
  height: 440px;
  top: 26%;
  right: -150px;
  background: radial-gradient(circle, rgba(188, 150, 240, 0.42), transparent 70%);
  animation-delay: -7s;
}
.blob-3 {
  width: 400px;
  height: 400px;
  bottom: -110px;
  left: 22%;
  background: radial-gradient(circle, rgba(140, 200, 240, 0.4), transparent 70%);
  animation-delay: -14s;
}

@keyframes blobFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 28px, 0) scale(1.07); }
}

#petals {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 26px rgba(140, 92, 190, 0.08);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 10px 30px rgba(140, 92, 190, 0.14); }

.nav-bar {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 20px;
  position: relative;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; display: block; transition: transform 0.4s var(--ease-spring); }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-full);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
  white-space: nowrap;
  transition: color 0.25s, background 0.25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-400), var(--purple-400));
  transform: translateX(-50%);
  transition: width 0.28s var(--ease-soft);
}

.nav-link:hover { color: var(--purple-600); }
.nav-link:hover::after { width: 46%; }

.nav-link.active {
  color: var(--purple-700);
  background: linear-gradient(135deg, rgba(255, 214, 230, 0.55), rgba(222, 202, 246, 0.55));
}
.nav-link.active::after { width: 46%; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 10px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-full);
  flex: none;
}

.lang-btn {
  padding: 5px 13px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  transition: all 0.3s var(--ease-spring);
}

.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  box-shadow: 0 5px 14px rgba(226, 96, 155, 0.32);
}

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

/* 桌面端：菜单整体居中 */
@media (min-width: 861px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--pink-100), var(--purple-100));
  border: 1px solid var(--line-soft);
}

.menu-btn span {
  display: block;
  width: 19px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--purple-600);
  transition: transform 0.35s var(--ease-spring), opacity 0.25s;
}

.menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 主容器 ---------- */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 40px;
  min-height: calc(100vh - 180px);
}

.page-enter { animation: pageIn 0.6s var(--ease-soft) both; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section { margin: 44px 0; }
.section:first-child { margin-top: 8px; }

/* 区块标题：居中 + 渐变短线（无廉价符号） */
.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.section-head h1,
.section-head h2 {
  display: inline-block;
  margin: 0;
  font-size: 27px;
  color: var(--purple-700);
  letter-spacing: 0.1em;
}

.section-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-300), var(--purple-300), var(--blue-300));
}

.sec-sub {
  text-align: center;
  font-size: 14px;
  color: var(--ink-500);
  margin: -12px 0 24px;
}

/* 玻璃卡片 */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  padding: 30px;
}

.card-hover {
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-soft), border-color 0.3s;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid);
  border-color: rgba(255, 179, 205, 0.6);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--r-full);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #fff;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600) 52%, var(--purple-500));
  box-shadow: 0 12px 26px rgba(226, 96, 155, 0.32);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-180%) skewX(-22deg);
  transition: transform 0.65s var(--ease-soft);
}

.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 32px rgba(226, 96, 155, 0.4); }
.btn-primary:hover::after { transform: translateX(260%) skewX(-22deg); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(176, 136, 221, 0.45);
  box-shadow: 0 8px 20px rgba(140, 92, 190, 0.12);
}

.btn-ghost:hover { transform: translateY(-3px); border-color: var(--pink-400); color: var(--pink-600); }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* 官方平台图标（白底圆徽章 + 官方彩色 logo） */
.app-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 8px 18px rgba(140, 92, 190, 0.22);
  transition: transform 0.3s var(--ease-spring);
}

.app-icon svg {
  width: 22px;
  height: 22px;
}

.app-icon i { font-size: 20px; line-height: 1; }
.app-icon img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.icon-bili { color: #00a1d6; }
.icon-yt { color: #ff0000; }
.icon-x { color: #111111; }

/* 图标 + 名称按钮（一排居中） */
.sbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px 6px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 8px 18px rgba(140, 92, 190, 0.12);
  transition: transform 0.32s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.sbtn .app-icon { width: 36px; height: 36px; box-shadow: 0 4px 10px rgba(140, 92, 190, 0.14); }
.sbtn .app-icon svg { width: 19px; height: 19px; }
.sbtn .app-icon img { width: 28px; height: 28px; }

.sbtn-name {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--purple-700);
  white-space: nowrap;
}

.sbtn:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(226, 96, 155, 0.22); border-color: rgba(255, 179, 205, 0.6); }
.sbtn:hover .app-icon { transform: scale(1.08) rotate(-4deg); }
.sbtn:hover .sbtn-name { color: var(--pink-600); }

/* ---------- 首页 Hero ---------- */
.hero {
  text-align: center;
  padding: 30px 6px 14px;
}

.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, var(--pink-300), var(--purple-300), var(--blue-300), var(--pink-300));
  animation: ringSpin 14s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  opacity: 0.85;
}

.avatar-glow {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 205, 0.5), rgba(176, 136, 221, 0.28) 55%, transparent 72%);
  filter: blur(8px);
  animation: glowBreath 4.2s ease-in-out infinite;
}

.avatar-img {
  position: relative;
  width: 148px;
  height: 148px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(140, 92, 190, 0.3);
  transition: transform 0.45s var(--ease-spring);
}

.avatar-img:hover { transform: scale(1.06); }

@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes glowBreath {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 48px);
  margin: 0 0 4px;
  background: linear-gradient(115deg, #e95f97 10%, #b26ce0 55%, #6f9fe0 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 14px rgba(226, 96, 155, 0.2));
}

.hero-subname {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--purple-500);
  margin-bottom: 18px;
}

.hero-socials {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--ink-700);
}

.hero-desc br + br { display: none; }

/* ---------- 档案 ---------- */
.profile-card {
  padding: 30px;
}

.profile-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 4px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-700);
}

.profile-row + .profile-row {
  border-top: 1px dashed rgba(176, 136, 221, 0.3);
}

.profile-row strong {
  flex: 0 0 132px;
  display: block;
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  color: var(--purple-700);
  background: linear-gradient(135deg, var(--purple-100), var(--pink-100));
}

.profile-row .profile-label {
  flex: 0 0 132px;
}

.profile-row .profile-label strong {
  display: block;
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  color: var(--purple-700);
  background: linear-gradient(135deg, var(--purple-100), var(--pink-100));
}

.artist-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }

.artist-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--purple-600);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-mid);
  transition: all 0.3s var(--ease-spring);
}

.artist-link:hover { transform: translateY(-3px); border-color: var(--pink-300); color: var(--pink-600); box-shadow: 0 8px 18px rgba(226, 96, 155, 0.16); }

.design-link {
  color: var(--purple-600);
  border-bottom: 2px dashed rgba(176, 136, 221, 0.45);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}

.design-link:hover { color: var(--pink-500); border-color: var(--pink-300); }

/* 个人相关 / 相关梗 列表 */
.cute-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cute-list li {
  position: relative;
  padding: 16px 20px 16px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--glass-border);
  box-shadow: 0 7px 18px rgba(140, 92, 190, 0.08);
  font-size: 14px;
  color: var(--ink-700);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.cute-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink-300), var(--purple-300));
}

.cute-list li:hover { transform: translateX(6px); border-color: rgba(255, 179, 205, 0.6); box-shadow: 0 11px 24px rgba(140, 92, 190, 0.14); }

.cute-list li strong { color: var(--purple-700); }

/* ---------- 历程页 ---------- */
.milestone-counter {
  text-align: center;
  padding: 30px;
  margin-bottom: 34px;
  background:
    radial-gradient(420px 150px at 18% 10%, rgba(255, 179, 205, 0.24), transparent 65%),
    radial-gradient(420px 160px at 85% 90%, rgba(176, 136, 221, 0.22), transparent 65%),
    var(--glass);
}

.milestone-counter p {
  font-size: 15px;
  color: var(--ink-700);
  margin-bottom: 10px;
}

.days-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.days-num {
  font-size: clamp(44px, 7vw, 62px);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.days-unit { font-size: 18px; color: var(--purple-600); }

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink-300), var(--purple-300), var(--blue-300));
  opacity: 0.75;
}

.tl-item {
  position: relative;
  margin-bottom: 20px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(226, 96, 155, 0.4);
}

.tl-card {
  padding: 19px 24px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.tl-card:hover { transform: translateX(6px); box-shadow: var(--shadow-mid); }

.tl-date {
  display: inline-block;
  padding: 3px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--purple-600);
  background: linear-gradient(135deg, var(--purple-100), var(--pink-100));
  margin-bottom: 6px;
}

.tl-text { font-size: 14.5px; color: var(--ink-700); }
.tl-detail { display: block; font-size: 13px; color: var(--ink-500); margin-top: 4px; line-height: 1.7; }

/* ---------- 作品页 ---------- */
.collections-grid,
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.collection-card,
.video-card {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.collection-card:hover,
.video-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-mid); }

.thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, var(--purple-100), var(--pink-100));
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-soft);
}

.collection-card:hover .thumb-wrap img,
.video-card:hover .thumb-wrap img { transform: scale(1.06); }

.thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.32s var(--ease-spring);
}

.thumb-play i { font-size: 20px; color: var(--pink-600); }

.collection-card:hover .thumb-play,
.video-card:hover .thumb-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.card-body { padding: 14px 18px 16px; }

.card-title {
  font-size: 16px;
  color: var(--ink-900);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta { font-size: 12.5px; color: var(--ink-500); display: flex; align-items: center; gap: 6px; }
.card-meta i { font-size: 12px; color: var(--pink-400); }

.works-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  margin-bottom: 20px;
  border-radius: var(--r-full);
  font-size: 14px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid var(--line-mid);
  transition: all 0.3s var(--ease-spring);
}

.works-back:hover { transform: translateX(-4px); border-color: var(--pink-300); color: var(--pink-600); }

/* 视频弹窗 */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(60, 42, 78, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px;
}

.video-modal.show { display: flex; animation: fadeIn 0.28s ease both; }

.video-stage {
  position: relative;
  width: min(880px, 96vw);
  aspect-ratio: 16 / 9;
  animation: zoomPop 0.32s var(--ease-spring) both;
}

.video-stage iframe {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: -54px;
  right: -6px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease-spring);
}

.modal-close:hover { transform: rotate(90deg) scale(1.08); }

/* ---------- 音乐页 ---------- */
.music-card {
  display: flex;
  gap: 34px;
  padding: 36px 38px;
  align-items: center;
}

.music-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 300px;
}

.music-cover {
  width: 230px;
  height: 230px;
  border-radius: 22px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(160, 100, 220, 0.28);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}

.music-cover.is-playing {
  transform: scale(1.02);
  box-shadow: 0 22px 50px rgba(226, 96, 155, 0.38), 0 0 0 8px rgba(255, 179, 205, 0.16);
}

.music-song {
  font-size: 21px;
  color: var(--purple-700);
  margin: 16px 0 2px;
  line-height: 1.45;
  word-break: break-word;
}

.music-artist { font-size: 13.5px; color: var(--ink-500); margin-bottom: 16px; }

.music-status {
  display: none;
  margin: -8px 0 12px;
  font-size: 12.5px;
  color: var(--pink-600);
}

.music-status.show { display: block; }

.progress-wrap { width: 100%; margin-bottom: 16px; }

.progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  position: relative;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-100), var(--pink-100));
  box-shadow: inset 0 2px 5px rgba(140, 92, 190, 0.12);
  cursor: pointer;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-400), var(--purple-500));
  transition: width 0.12s linear;
}

.progress-fill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pink-500);
  box-shadow: 0 3px 9px rgba(226, 96, 155, 0.4);
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ctrl-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--purple-600);
  background: linear-gradient(145deg, #fff, var(--purple-100));
  border: 1px solid var(--line-soft);
  box-shadow: 0 7px 16px rgba(140, 92, 190, 0.16);
  transition: all 0.3s var(--ease-spring);
}

.ctrl-btn i { font-size: 17px; }

.ctrl-btn:hover { transform: translateY(-3px) scale(1.07); color: var(--pink-600); box-shadow: 0 11px 22px rgba(226, 96, 155, 0.26); }
.ctrl-btn:active { transform: scale(0.94); }

.play-big {
  width: 62px;
  height: 62px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  box-shadow: 0 14px 30px rgba(226, 96, 155, 0.38);
}

.play-big i { font-size: 24px; }

.music-right {
  flex: 1.25;
  min-width: 0;
}

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

.playlist-head i { font-size: 17px; color: var(--pink-500); }

.playlist-head h2 {
  font-size: 19px;
  margin: 0;
  color: var(--purple-700);
}

.playlist-count {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--purple-600);
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--purple-100);
}

.music-playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 400px;
  overflow-y: auto;
  display: grid;
  gap: 5px;
  padding-right: 4px;
}

.music-playlist li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--ink-700);
  border: 1px solid transparent;
  transition: all 0.26s var(--ease-soft);
}

.music-playlist li .song-index {
  flex: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  color: var(--purple-600);
  background: var(--purple-100);
}

.music-playlist li .song-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-playlist li:hover { background: rgba(244, 237, 251, 0.55); transform: translateX(4px); }

.music-playlist li.active {
  background: linear-gradient(135deg, rgba(255, 214, 230, 0.5), rgba(222, 202, 246, 0.5));
  color: var(--purple-700);
  box-shadow: 0 7px 16px rgba(140, 92, 190, 0.14);
}

.music-playlist li.active .song-index {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
}

/* ---------- 画廊 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.g-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  animation: itemIn 0.55s var(--ease-soft) both;
  background: linear-gradient(145deg, var(--purple-100), var(--pink-100));
  box-shadow: 0 10px 26px rgba(140, 92, 190, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

@keyframes itemIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-soft);
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(131, 88, 186, 0.38));
  opacity: 0;
  transition: opacity 0.32s;
}

.g-item .zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 12px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--purple-700);
  font-size: 12.5px;
  opacity: 0;
  transition: all 0.32s var(--ease-spring);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.g-item .zoom-hint i { font-size: 12px; color: var(--pink-500); }

.g-item:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(140, 92, 190, 0.24); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; }
.g-item:hover .zoom-hint { opacity: 1; transform: translate(-50%, 0); }

.gallery-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 44px 0;
  color: var(--ink-500);
  font-size: 14px;
}

.gallery-loading.show { display: flex; }

.gallery-loading i {
  font-size: 26px;
  color: var(--pink-400);
  animation: heartBeat 1.15s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.18); }
  30% { transform: scale(1); }
  45% { transform: scale(1.12); }
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(60, 42, 78, 0.58);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding: 32px;
}

.lightbox.show { display: flex; animation: fadeIn 0.28s ease both; }

.lightbox-stage {
  position: relative;
  max-width: min(940px, 92vw);
  max-height: 88vh;
  animation: zoomPop 0.32s var(--ease-spring) both;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transition: all 0.3s var(--ease-spring);
}

.lightbox-btn i { font-size: 18px; }

.lightbox-btn:hover { transform: translateY(-50%) scale(1.1); color: var(--pink-600); }

.lb-prev { left: -70px; }
.lb-next { right: -70px; }

.lightbox-count {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  background: rgba(60, 42, 78, 0.5);
  padding: 4px 15px;
  border-radius: 999px;
  white-space: nowrap;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomPop { from { opacity: 0; transform: scale(0.87); } to { opacity: 1; transform: scale(1); } }

/* ---------- 留言板 ---------- */
.gb-card { padding: 30px 32px; }

.gb-submit-row {
  display: flex;
  justify-content: flex-end;
}

.gb-divider {
  height: 1.5px;
  margin: 26px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(176, 136, 221, 0.35), transparent);
}

.gb-avatar-label {
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 12px;
}

.avatar-selector {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.avatar-selector label { position: relative; display: block; }
.avatar-selector input { position: absolute; opacity: 0; pointer-events: none; }

.avatar-selector img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: #fff;
  opacity: 0.62;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 10px rgba(140, 92, 190, 0.12);
}

.avatar-selector label:hover img { opacity: 0.9; transform: translateY(-3px) scale(1.05); }

.avatar-selector input:checked + img {
  opacity: 1;
  transform: scale(1.08);
  border-color: var(--pink-400);
  box-shadow: 0 8px 18px rgba(226, 96, 155, 0.32);
}

.gb-form { display: grid; gap: 13px; }

.field {
  width: 100%;
  padding: 13px 17px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-mid);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  resize: vertical;
  transition: all 0.3s var(--ease-soft);
}

.field:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 4px rgba(176, 136, 221, 0.16);
  background: rgba(255, 255, 255, 0.78);
}

.field::placeholder { color: var(--ink-300); }

.gb-submit { justify-self: end; }
.gb-submit:disabled { opacity: 0.55; pointer-events: none; }

.gb-list { display: grid; gap: 13px; margin-top: 22px; }

.comment-item {
  display: flex;
  gap: 15px;
  padding: 19px 21px;
}

.comment-avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 5px 14px rgba(140, 92, 190, 0.24);
}

.comment-body { flex: 1; min-width: 0; }

.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-name {
  font-size: 14px;
  color: var(--purple-700);
}

.comment-time {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-left: auto;
  white-space: nowrap;
}

.comment-content {
  font-size: 14px;
  color: var(--ink-700);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.gb-empty {
  text-align: center;
  padding: 34px 20px;
  color: var(--ink-500);
  font-size: 14px;
}

.gb-empty i {
  display: block;
  font-size: 24px;
  color: var(--purple-300);
  margin-bottom: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--purple-600);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-mid);
  transition: all 0.3s var(--ease-spring);
}

.page-btn:hover:not(:disabled):not(.active) { transform: translateY(-2px); color: var(--pink-600); border-color: var(--pink-300); }

.page-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  border-color: transparent;
  box-shadow: 0 7px 16px rgba(226, 96, 155, 0.3);
}

.page-btn:disabled { opacity: 0.4; pointer-events: none; }
.page-dots { color: var(--ink-500); padding: 0 2px; }

/* ---------- 设计页 ---------- */
.design-frame {
  display: block;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-mid);
  margin: 0 auto;
  max-width: 720px;
  background: linear-gradient(145deg, var(--purple-100), var(--pink-100));
}

.design-frame img { display: block; width: 100%; height: auto; }

.design-note {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-500);
}

/* ---------- 关于本站 ---------- */
.story-card p { font-size: 14.5px; color: var(--ink-700); }

.story-card h3 {
  font-size: 19px;
  color: var(--purple-700);
  margin: 26px 0 10px;
}

.story-card h3:first-child { margin-top: 0; }

.disclaimer-box {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 247, 250, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px dashed rgba(242, 106, 158, 0.38);
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.9;
}

.disclaimer-box strong { color: var(--pink-600); }

/* ---------- 页脚（极简） ---------- */
.site-footer {
  text-align: center;
  padding: 26px 20px 30px;
  font-size: 13px;
  color: var(--ink-500);
}

.footer-text { margin: 0; }
.footer-small { font-size: 12px; color: var(--ink-300); margin-top: 3px; }

/* ---------- 回到顶部 ---------- */
.fab-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 120;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #d87093;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid #ffd1df;
  box-shadow: 0 4px 15px rgba(216, 112, 147, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.85);
  transition: all 0.35s var(--ease-spring);
}

.fab-btn svg {
  width: 60%;
  height: 60%;
}

.fab-btn.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fab-btn:hover {
  transform: translateY(-5px) scale(1.08);
  background: #d87093;
  color: #fff;
  border-color: #d87093;
  box-shadow: 0 10px 22px rgba(216, 112, 147, 0.42);
}

/* ---------- 左下角迷你播放器 ---------- */
.mini-player {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 130;
  width: 255px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: 0 16px 38px rgba(140, 92, 190, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.92);
  transform-origin: left bottom;
  transition: opacity 0.45s var(--ease-soft), transform 0.45s var(--ease-spring), visibility 0.45s;
}

.mini-player.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mini-top {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.mini-cover {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(140, 92, 190, 0.25);
}

.mini-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.3;
}

.mini-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.mini-title:hover { color: var(--pink-600); }
.mini-artist {
  font-size: 12px;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mini-btn {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--purple-600);
  background: linear-gradient(145deg, #fff, var(--purple-100));
  border: 1px solid var(--line-soft);
  box-shadow: 0 5px 12px rgba(140, 92, 190, 0.16);
  transition: all 0.28s var(--ease-spring);
}

.mini-btn i { font-size: 15px; }
.mini-btn:hover { transform: translateY(-2px) scale(1.08); color: var(--pink-600); }

.mini-play {
  width: 52px;
  height: 52px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  box-shadow: 0 8px 18px rgba(226, 96, 155, 0.34);
}

.mini-play i { font-size: 19px; }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-soft), transform 0.65s var(--ease-soft);
}

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

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 20px; }

.notfound-big {
  font-size: clamp(80px, 16vw, 130px);
  line-height: 1;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 14px 28px rgba(226, 96, 155, 0.24));
}

.notfound h1 { font-size: 24px; margin: 8px 0 10px; }
.notfound p { color: var(--ink-500); margin-bottom: 24px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-link { padding: 9px 11px; font-size: 14px; }
  .decor-sakura { width: 220px; opacity: 0.45; }
}

/* 桌面端：个人档案分两栏 */
@media (min-width: 861px) {
  .profile-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 2px;
  }
  .profile-row { min-width: 0; }
  .profile-row + .profile-row { border-top: none; }
  .profile-row-full { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .menu-btn { display: flex; }

  .mini-player { display: none; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 14px 16px 18px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 24px 44px rgba(140, 92, 190, 0.18);
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--r-md);
  }

  .nav-link::after { display: none; }

  .lang-switch { margin: 8px 0 0 16px; align-self: flex-start; }

  .music-card { flex-direction: column; padding: 28px 20px; gap: 24px; }
  .music-left { min-width: 0; width: 100%; }
  .music-cover { width: 200px; height: 200px; }

  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lightbox-count { bottom: -36px; }
}

@media (max-width: 620px) {
  .page { padding: 22px 14px 30px; }
  .section { margin: 36px 0; }
  .section-head h1,
  .section-head h2 { font-size: 22px; }

  .glass-card { padding: 22px 18px; border-radius: var(--r-lg); }

  .profile-card { padding: 20px 16px; }
  .profile-row { gap: 8px; padding: 12px 2px; font-size: 13.5px; }
  .profile-row strong,
  .profile-row .profile-label {
    flex-basis: 104px;
  }
  .profile-row strong,
  .profile-row .profile-label strong {
    padding: 3px 8px;
    font-size: 12px;
    white-space: normal;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .collections-grid,
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-title { font-size: 14px; }

  .hero { padding-top: 18px; }
  .avatar-img { width: 128px; height: 128px; }
  .hero-socials { flex-wrap: wrap; gap: 6px; }
  .sbtn { padding: 3px 9px 3px 3px; gap: 5px; }
  .sbtn .app-icon { width: 28px; height: 28px; }
  .sbtn .app-icon svg { width: 14px; height: 14px; }
  .sbtn-name { font-size: 10.5px; }

  .timeline { padding-left: 28px; }
  .tl-item::before { left: -26px; width: 13px; height: 13px; }

  .music-playlist { max-height: 300px; }

  .comment-item { padding: 16px; }
  .comment-time { display: none; }
  .comment-avatar { width: 40px; height: 40px; }
  .gb-submit { width: 100%; }

  .fab-btn { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .decor-sakura { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .click-spark {
    display: none;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
