/* ============================================================
   Misanay 主页导航 · 可爱粉色系 link-in-bio
   圆角规则：容器 22px / 卡片 18px / 徽章 13px / 药丸标签 999px
   强调色：莓果粉（正文均通过 WCAG AA 对比度）
   ============================================================ */

:root {
  --accent:        #C2346E;   /* 深莓果粉：小字号文字用 */
  --accent-bright: #F06292;   /* 亮粉：大字号与装饰用 */
  --ink:           #4A3B52;   /* 主文字：梅子深色 */
  --ink-soft:      #6F6080;   /* 次级文字 */
  --line:          #FFD9E8;   /* 描边粉 */
  --card-bg:       rgba(255, 255, 255, 0.82);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "YouYuan", "幼圆", "Hiragino Maru Gothic ProN", "Yuanti SC",
               "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, #FFF2F7 0%, #F7F2FF 48%, #EEF6FF 100%);
  background-attachment: fixed;
  min-height: 100dvh;
}

/* 波点底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(230, 105, 165, 0.07) 2px, transparent 2.6px),
    radial-gradient(rgba(167, 139, 255, 0.05) 2px, transparent 2.6px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
}

/* 柔和色块 */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  display: block;
  filter: blur(30px);
}
.blob-a {
  width: 520px; height: 520px;
  top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(255, 143, 190, 0.35), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-b {
  width: 560px; height: 560px;
  bottom: -220px; right: -170px;
  background: radial-gradient(circle, rgba(167, 139, 255, 0.30), transparent 65%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}

/* 漂浮装饰 */
.floaties { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.f {
  position: absolute;
  user-select: none;
  animation: floaty 7s ease-in-out infinite alternate;
}
.f1 { left: 7%;  top: 16%; font-size: 28px; color: rgba(233, 93, 150, 0.30);  animation-duration: 7.5s; }
.f2 { left: 86%; top: 20%; font-size: 24px; color: rgba(150, 110, 255, 0.25); animation-duration: 9s;   animation-delay: -3s; }
.f3 { left: 10%; top: 64%; font-size: 20px; color: rgba(233, 93, 150, 0.22);  animation-duration: 8s;   animation-delay: -5s; }
.f4 { left: 88%; top: 58%; font-size: 20px; color: rgba(150, 110, 255, 0.28); animation-duration: 6.5s; animation-delay: -1s; }
.f5 { left: 74%; top: 8%;  font-size: 22px; color: rgba(233, 93, 150, 0.26);  animation-duration: 8.5s; animation-delay: -4s; }
.f6 { left: 16%; top: 84%; font-size: 20px; color: rgba(150, 110, 255, 0.22); animation-duration: 7s;   animation-delay: -2s; }

/* 页面主体 */
.page {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ---------- 语言切换 ---------- */
.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 30px;
}
.lang-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover {
  border-color: #FFB7CF;
  color: var(--accent);
  transform: translateY(-1px);
}
.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lang-btn:focus-visible {
  outline: 3px solid rgba(194, 52, 110, 0.45);
  outline-offset: 2px;
}

/* ---------- 个人资料 ---------- */
.profile { text-align: center; }

.banner {
  position: relative;
  aspect-ratio: 3 / 1;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: url("Background%20image.jpg") center / cover no-repeat;
  box-shadow: 0 12px 32px rgba(190, 90, 140, 0.18);
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* 胶带贴纸 */
.banner::before,
.banner::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 96px;
  height: 26px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.banner::before {
  left: -26px;
  transform: rotate(-42deg);
  background: rgba(255, 143, 190, 0.45);
}
.banner::after {
  right: -26px;
  transform: rotate(42deg);
  background: rgba(176, 123, 255, 0.40);
}

.avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -58px;
  animation: rise 0.6s 0.15s ease backwards;
}
.avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(190, 90, 140, 0.25);
}
.heart-badge {
  position: absolute;
  left: calc(50% + 30px);
  top: 62px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent-bright);
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(190, 90, 140, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}

.name {
  margin-top: 14px;
  font-size: clamp(30px, 7vw, 38px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  background: linear-gradient(90deg, #FF7BB0, #B07BFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.6s 0.22s ease backwards;
}

.tagline {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  animation: rise 0.6s 0.28s ease backwards;
}

/* ---------- 状态栏（对外展示，随时间自动变化） ---------- */
.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 14px rgba(214, 96, 150, 0.14);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
  animation: rise 0.6s 0.32s ease backwards;
}
.status-emoji { font-size: 18px; line-height: 1; }
.status-label { min-width: 0; }

/* ---------- 分组 ---------- */
.group { margin-top: 38px; }

.group-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 10px rgba(233, 93, 150, 0.08);
}
.spark { color: #FF8FBF; font-size: 12px; }

/* ---------- 链接卡片 ---------- */
.links {
  list-style: none;
  display: grid;
  gap: 14px;
}
/* 贴纸感：轻微交错倾斜 */
.links li:nth-child(odd)  { transform: rotate(-0.4deg); }
.links li:nth-child(even) { transform: rotate(0.4deg); }

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(214, 96, 150, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: rise 0.55s cubic-bezier(0.22, 0.9, 0.36, 1) backwards;
}
.links li:nth-child(1) .card { animation-delay: 0.10s; }
.links li:nth-child(2) .card { animation-delay: 0.20s; }
.links li:nth-child(3) .card { animation-delay: 0.30s; }
.links li:nth-child(4) .card { animation-delay: 0.40s; }
.links li:nth-child(5) .card { animation-delay: 0.50s; }

.card:hover {
  transform: translateY(-4px);
  border-color: #FFB7CF;
  box-shadow: 0 12px 28px rgba(214, 96, 150, 0.2);
}
.card:active { transform: translateY(-1px) scale(0.985); }
.card:focus-visible {
  outline: 3px solid rgba(194, 52, 110, 0.45);
  outline-offset: 3px;
}

/* 徽章 */
.badge {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  user-select: none;
}
/* 徽章底色：全部为 Logo 图片，背景用各平台的柔和品牌色 */
.badge-patreon { background: #FFE7E9; }
.badge-fantia  { background: #EFEAFF; }
.badge-hedao   { background: #DFF1FF; }
.badge-ig      { background: #FFF0E8; }
.badge-x       { background: #ECECEF; }

/* 平台 Logo 图片：保持方形徽章，Logo 留白内缩 */
.badge-img {
  object-fit: contain;
  padding: 9px;
}

/* 文字区 */
.meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.row { display: flex; align-items: center; gap: 8px; }
.title { font-size: 16px; font-weight: 700; color: var(--ink); }
.sub { font-size: 12.5px; color: var(--ink-soft); }

/* 币种药丸 */
.pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.pill-patreon { background: #FFE7E9; color: #B93347; }
.pill-fantia  { background: #EFEAFF; color: #5B41C4; }
.pill-hedao   { background: #E2F7EE; color: #0B6E4A; }
.pill-ig      { background: #FFE9F3; color: #C13584; }
.pill-x       { background: #ECECEF; color: #1A1A1E; }

/* 箭头 */
.arrow {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FFF0F6;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.card:hover .arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(3px);
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 46px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

::selection { background: #FFD3E4; color: var(--ink); }

/* ---------- 动画 ---------- */
@keyframes pop {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes floaty {
  from { transform: translateY(0) rotate(-4deg); }
  to   { transform: translateY(-24px) rotate(5deg); }
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* ---------- 小屏适配 ---------- */
@media (max-width: 520px) {
  .page { padding: 24px 18px 48px; }
  .banner { border-radius: 18px; }
  .avatar { width: 96px; height: 96px; }
  .avatar-wrap { margin-top: -48px; }
  .heart-badge { left: calc(50% + 24px); top: 52px; }
  .card { padding: 14px 16px; gap: 12px; }
  .badge { width: 42px; height: 42px; }
  .f2, .f5 { display: none; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   v2 新增的可爱点缀（纯增量，不影响上方任何原有样式）
   柔和漂浮小物 + 探头的奶油猫猫 + 光标小爱心
   ============================================================ */

/* 更多漂浮小物：沿用 .f 的通用规则，只需额外位置与颜色 */
.f7 { left: 34%; top: 2%;  font-size: 20px; color: rgba(233, 93, 150, 0.28); animation-duration: 7s;   animation-delay: -2s; }
.f8 { left: 55%; top: 6%;  font-size: 18px; color: rgba(150, 110, 255, 0.30); animation-duration: 8.5s; animation-delay: -4s; }
.f9 { left: 5%;  top: 90%; font-size: 18px; color: rgba(233, 93, 150, 0.25); animation-duration: 7.5s; animation-delay: -1s; }
.f10{ left: 90%; top: 88%; font-size: 22px; opacity: 0.55; animation-duration: 9s; animation-delay: -3s; }

/* ---------- 角落探头猫猫 ---------- */
.kitty {
  position: fixed;
  left: 14px;
  bottom: -6px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  width: 148px;
  height: 148px;
  animation: kitty-bob 4.5s ease-in-out infinite;
}
/* 头像主体 */
.kitty-face {
  position: absolute;
  left: 50%;
  top: 26px;
  width: 86px;
  height: 74px;
  transform: translateX(-50%);
  background: linear-gradient(160deg, #FFF7FA, #FFE7F1);
  border: 2px solid #FFD2E3;
  border-radius: 46% 46% 42% 42%;
  box-shadow: 0 8px 20px rgba(214, 96, 150, 0.16);
}
/* 猫耳 */
.kitty-ear {
  position: absolute;
  top: 2px;
  width: 30px;
  height: 30px;
  background: linear-gradient(160deg, #FFE1EE, #FFC6DC);
  border: 2px solid #FFD2E3;
}
.kitty-ear-l {
  left: 22px;
  border-radius: 50% 50% 12% 50%;
  transform: rotate(-8deg);
}
.kitty-ear-r {
  right: 22px;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(8deg);
}
/* 眼睛 */
.kitty-eye {
  position: absolute;
  top: 34px;
  width: 8px;
  height: 11px;
  background: var(--ink);
  border-radius: 50%;
  animation: kitty-blink 4s ease-in-out infinite;
}
.kitty-eye-l { left: 20px; }
.kitty-eye-r { right: 20px; }
/* 腮红 */
.kitty-blush {
  position: absolute;
  top: 46px;
  width: 14px;
  height: 9px;
  background: rgba(255, 143, 190, 0.35);
  border-radius: 50%;
}
.kitty-blush-l { left: 8px; }
.kitty-blush-r { right: 8px; }
/* 鼻子与嘴 */
.kitty-nose {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 10px;
  height: 7px;
  transform: translateX(-50%);
  background: #F88AB0;
  border-radius: 50% 50% 60% 60%;
}
.kitty-mouth {
  position: absolute;
  top: 50px;
  left: 50%;
  width: 12px;
  height: 7px;
  transform: translateX(-50%);
  border-bottom: 2px solid #F49BBD;
  border-radius: 0 0 50% 50%;
}
/* 小手手 */
.kitty-paw {
  position: absolute;
  top: 92px;
  width: 24px;
  height: 20px;
  background: #FFF3F8;
  border: 2px solid #FFDFEB;
  border-radius: 10px 10px 14px 14px;
  animation: kitty-paw 3.2s ease-in-out infinite;
}
.kitty-paw-l { left: 26px; transform: rotate(8deg); }
.kitty-paw-r { right: 26px; transform: rotate(-8deg); }
/* 尾巴 */
.kitty-tail {
  position: absolute;
  right: 6px;
  top: 8px;
  width: 34px;
  height: 18px;
  border-left: 6px solid #FFC9DE;
  border-radius: 50% 0 0 50%;
  transform-origin: left center;
  animation: kitty-wag 2s ease-in-out infinite;
}
@keyframes kitty-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes kitty-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(0.1); }
}
@keyframes kitty-paw {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-4px); }
}
@keyframes kitty-wag {
  0%, 100% { transform: rotate(-12deg); }
  50%      { transform: rotate(16deg); }
}
@media (max-width: 520px) {
  .kitty { width: 120px; height: 120px; }
  .kitty-face { top: 22px; width: 70px; height: 60px; }
  .kitty-ear { width: 24px; height: 24px; }
  .kitty-ear-l { left: 18px; }
  .kitty-ear-r { right: 18px; }
  .kitty-eye { top: 28px; width: 7px; height: 9px; }
  .kitty-blush { top: 38px; }
  .kitty-nose { top: 36px; }
  .kitty-mouth { top: 41px; }
  .kitty-paw { top: 74px; width: 20px; height: 17px; }
  .kitty-paw-l { left: 22px; }
  .kitty-paw-r { right: 22px; }
  .kitty-tail { width: 28px; height: 14px; top: 6px; }
}
@media (max-width: 360px) {
  .kitty { display: none; }
}

/* ---------- 光标小爱心 ---------- */
.sparkle-holder {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.sparkle-glow {
  position: absolute;
  font-size: 18px;
  color: var(--accent-bright);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: sparkle-fly 1.4s ease-out forwards;
}
@keyframes sparkle-fly {
  0%   { opacity: 0.9; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 0;   transform: translate(-50%, -160%) scale(1.15); }
}

/* ============================================================
   v3 双栏布局已移除（最新视频、游戏专区已停用）
   ============================================================ */

.about-card {
  position: relative;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(214, 96, 150, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: rise 0.55s cubic-bezier(0.22, 0.9, 0.36, 1) backwards;
  animation-delay: 0.30s;
}
.about-note {
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}
/* 第一条提醒重点强调 */
.about-note span:first-child {
  font-weight: 700;
  color: var(--accent);
}
.about-link {
  color: var(--accent-bright);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed #F49BBD;
}
.about-link:hover { color: var(--accent); }
.about-emoji {
  display: inline;
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  margin: 0 1px;
  border-radius: 4px;
}
/* 配图画廊 */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.about-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  box-shadow: 0 3px 10px rgba(214, 96, 150, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(214, 96, 150, 0.2);
}
@media (max-width: 520px) {
  .about-card { padding: 15px 16px; }
  .about-gallery { gap: 7px; }
}

/* ============================================================
   v6 游戏专区（Minecraft）已停用
   ============================================================ */
