/* ============================================================
   yhanw · 个人主页 — 样式
   ============================================================ */

/* ---------- 设计 token（Material Design 3 · Mizuki 粉紫风） ---------- */
:root {
  color-scheme: light;

  /* M3 色板（亮色）· 浅绿基底 */
  --cream: #F1F9E6;          /* surface：全站浅绿基底 */
  --card: #FFFFFF;           /* surface-container-lowest（卡片） */
  --card-2: #E9F5DA;         /* surface-container（面板衬底） */
  --pink: #4E9E1F;           /* primary：MORE MORE JUMP! 绿 */
  --on-primary: #FFFFFF;
  --pink-deep: #10300A;      /* on-primary-container */
  --pink-soft: #D9F6BF;      /* primary-container */
  --lilac: #B8653A;          /* secondary：みのり 杏色 */
  --lilac-deep: #4A2410;     /* on-secondary-container */
  --lilac-soft: #FFE6D5;     /* secondary-container */
  --mint: #2F9E8F;
  --mint-deep: #1C6B60;
  --mint-soft: #D2F2ED;
  --lemon: #C9973A;
  --lemon-deep: #8A641C;
  --lemon-soft: #F7EBC9;
  --sky: #5F8FC9;
  --sky-deep: #3A6294;
  --sky-soft: #DCECFB;
  --ink: #1E2318;            /* on-surface */
  --ink-soft: #4C5646;       /* on-surface-variant */
  --ink-faint: #7A8771;      /* outline */
  --line: #CFE1C0;           /* outline-variant */

  /* 表面辅助 */
  --nav-bg: rgba(241, 249, 230, 0.85);
  --card-shine: rgba(255, 255, 255, 0.9);
  --bar-bg: #E5F2D5;
  --dots: rgba(78, 158, 31, 0.09);
  --stage-shadow: rgba(58, 70, 46, 0.16);

  /* 字体（Mizuki：思源宋体标题 + 思源黑体正文） */
  --font-display: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-latin: 'Roboto', 'Noto Sans SC', sans-serif;

  /* M3 形状与阴影 */
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(32, 26, 30, 0.05), 0 4px 16px rgba(32, 26, 30, 0.08);
  --shadow-pink: 0 6px 20px rgba(78, 158, 31, 0.22);
  --shadow-mint: 0 6px 20px rgba(47, 158, 143, 0.20);
  --shadow-lilac: 0 6px 20px rgba(184, 101, 58, 0.20);

  --nav-h: 68px;
  --container: 1100px;
}

/* 深色模式（Material You 夜间色板） */
html.dark {
  color-scheme: dark;

  --cream: #141A11;
  --card: #1C2318;
  --card-2: #232C1D;
  --pink: #A8E07A;
  --on-primary: #143307;
  --pink-deep: #D9F6BF;
  --pink-soft: #35661B;
  --lilac: #F0B994;
  --lilac-deep: #FFE6D5;
  --lilac-soft: #5A3A26;
  --mint: #7FD8CB;
  --mint-deep: #D2F2ED;
  --mint-soft: #1F4A44;
  --lemon: #E3C26B;
  --lemon-deep: #F7EBC9;
  --lemon-soft: #4A3F1E;
  --sky: #9CC7F0;
  --sky-deep: #DCECFB;
  --sky-soft: #33465E;
  --ink: #EEF4E7;
  --ink-soft: #CBD8C2;
  --ink-faint: #94A288;
  --line: #45523B;

  --nav-bg: rgba(28, 35, 24, 0.85);
  --card-shine: rgba(255, 255, 255, 0.04);
  --bar-bg: #2C3824;
  --dots: rgba(169, 199, 255, 0.07);
  --stage-shadow: rgba(0, 0, 0, 0.5);

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-pink: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-mint: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lilac: 0 6px 20px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.8;
  transition: color .3s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--pink); color: var(--on-primary); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 999;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ---------- 字体类 ---------- */
.font-display { font-family: var(--font-display); }
.font-latin { font-family: var(--font-latin); }

/* ============================================================
   统一图标：官方 MORE MORE JUMP!（unite02）团队 logo
   原四叶草图标全部改用该 logo 作为蒙版（--clover-url 变量名保留）
   ============================================================ */
:root {
  --clover-url: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cg%20fill%3D%27%23000%27%3E%3Cpath%20d%3D%27M12%2012C8.9%2010.2%207.7%206.9%209.5%204.9%2010.9%203.3%2013.1%203.3%2014.5%204.9%2016.3%206.9%2015.1%2010.2%2012%2012Z%27%2F%3E%3Cpath%20d%3D%27M12%2012C8.9%2010.2%207.7%206.9%209.5%204.9%2010.9%203.3%2013.1%203.3%2014.5%204.9%2016.3%206.9%2015.1%2010.2%2012%2012Z%27%20transform%3D%27rotate%2890%2012%2012%29%27%2F%3E%3Cpath%20d%3D%27M12%2012C8.9%2010.2%207.7%206.9%209.5%204.9%2010.9%203.3%2013.1%203.3%2014.5%204.9%2016.3%206.9%2015.1%2010.2%2012%2012Z%27%20transform%3D%27rotate%28180%2012%2012%29%27%2F%3E%3Cpath%20d%3D%27M12%2012C8.9%2010.2%207.7%206.9%209.5%204.9%2010.9%203.3%2013.1%203.3%2014.5%204.9%2016.3%206.9%2015.1%2010.2%2012%2012Z%27%20transform%3D%27rotate%28270%2012%2012%29%27%2F%3E%3Cpath%20d%3D%27M12%2012.3c.15%203.15.95%205.85%202.4%208.2%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.clover-ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--clover-url);
  mask-image: var(--clover-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
  vertical-align: -0.12em;
}

/* 区块小标签前的四叶草 */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.42em;
  background-color: currentColor;
  -webkit-mask-image: var(--clover-url);
  mask-image: var(--clover-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  vertical-align: -0.05em;
}

/* 区块标题前的小四叶草 */
.section-title::before {
  content: "";
  display: inline-block;
  width: 0.68em;
  height: 0.68em;
  margin-right: 0.34em;
  background-color: var(--pink);
  -webkit-mask-image: var(--clover-url);
  mask-image: var(--clover-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  vertical-align: 0.06em;
}

/* Hero 眉标前的小四叶草 */
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.4em;
  background-color: currentColor;
  -webkit-mask-image: var(--clover-url);
  mask-image: var(--clover-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  vertical-align: -0.05em;
}

/* 页脚品牌前的小四叶草 */
.footer-brand::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.38em;
  background-color: var(--pink);
  -webkit-mask-image: var(--clover-url);
  mask-image: var(--clover-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  vertical-align: -0.12em;
}

/* Hero 漂浮四叶草 */
.hero-clover {
  position: absolute;
  color: var(--pink);
  opacity: 0.5;
  animation: clover-float 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-clover.c1 { top: 12%; left: 6%; width: 30px; height: 30px; }
.hero-clover.c2 { top: 68%; right: 8%; width: 22px; height: 22px; color: var(--lilac); animation-delay: 1.6s; }
.hero-clover.c3 { bottom: 16%; left: 14%; width: 18px; height: 18px; color: var(--mint); animation-delay: 3s; }
@keyframes clover-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); opacity: .42; }
  50% { transform: translateY(-14px) rotate(8deg); opacity: .72; }
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin-top: 14px;
}
.nav-inner {
  width: min(1060px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled .nav-inner { box-shadow: 0 14px 34px var(--stage-shadow); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.nav-brand .mascot { width: 34px; height: 34px; }

/* 品牌四叶草字标 */
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7ED957, #3F8C18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(78, 158, 31, 0.35);
}
.brand-mark .clover-ico { width: 21px; height: 21px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .25s ease;
}
.nav-links a:hover { color: var(--pink-deep); background: var(--pink-soft); transform: translateY(-1px); }
.nav-links a.is-active { color: var(--pink-deep); background: var(--pink-soft); font-weight: 700; }

.nav-cta {
  margin-left: 10px;
  padding: 9px 20px !important;
  background: var(--pink) !important;
  color: var(--on-primary) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-pink);
}
.nav-cta:hover { transform: translateY(-2px) scale(1.03) !important; color: var(--on-primary) !important; }

.nav-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--pink-soft);
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink-deep);
  transition: all .3s ease;
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* 明暗主题切换（M3 图标按钮） */
.theme-toggle {
  margin-left: 6px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.06); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 90px 4vw auto 4vw;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--nav-bg);
    border: 2px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-16px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
  }
  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 16px; text-align: center; }
  .nav-cta { margin-left: 0; }
  .nav-burger { display: block; }
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--pink);
  color: var(--on-primary);
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(255, 123, 169, 0.4); }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--pink); color: var(--pink-deep); }

/* ---------- 区块标题 ---------- */
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-latin);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--pink-deep);
  background: var(--pink-soft);
  padding: 6px 18px;
  border-radius: 999px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
  margin-top: 16px;
  position: relative;
  display: inline-block;
}
/* 手绘波浪下划线 */
.section-title svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 100%;
  height: 12px;
}
.section-sub { color: var(--ink-soft); margin-top: 22px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h) - 60px);
  display: flex;
  align-items: center;
  padding: 70px 0 40px;
  position: relative;
}
.hero-grid { text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  color: var(--lilac-deep);
  background: var(--lilac-soft);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  animation: pop-in .7s cubic-bezier(.2, 1.4, .4, 1) both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 22px 0 6px;
  animation: pop-in .7s .1s cubic-bezier(.2, 1.4, .4, 1) both;
}
.hero-title .grad {
  background: linear-gradient(120deg, var(--pink), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero-title .grad::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 18 2 33 9 T 63 9 T 93 9 T 120 7' fill='none' stroke='%23FFC94D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.hero-rotate {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--pink-deep);
  min-height: 2.2em;
  margin-top: 8px;
}
.hero-rotate .jp { color: var(--ink-faint); font-size: 0.85em; margin-left: 6px; font-family: var(--font-body); }
.hero-desc { color: var(--ink-soft); margin: 14px auto 30px; max-width: 480px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; animation: pop-in .7s .25s cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; animation: pop-in .7s .35s cubic-bezier(.2, 1.4, .4, 1) both; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--card);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.chip-pink { background: var(--pink-soft); border-color: var(--pink); }
.chip-mint { background: var(--mint-soft); border-color: var(--mint); }
.chip-lilac { background: var(--lilac-soft); border-color: var(--lilac); }
.chip-lemon { background: var(--lemon-soft); border-color: var(--lemon); }
.chip-sky { background: var(--sky-soft); border-color: var(--sky); }

/* Hero 右侧：吉祥物舞台 */
.hero-stage { position: relative; display: flex; justify-content: center; animation: pop-in .8s .2s cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-stage::before {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 26px;
  background: radial-gradient(ellipse at center, var(--stage-shadow), transparent 70%);
  border-radius: 50%;
  animation: shadow-pulse 3.2s ease-in-out infinite;
}
.mascot-hero { width: clamp(210px, 24vw, 300px); height: auto; animation: float 4.5s ease-in-out infinite; }
.mascot-hero .m-face, .mascot .m-eyes { transform-box: fill-box; transform-origin: center; }
.mascot.is-blinking .m-eyes { animation: blink .16s linear 1; }

.stage-spark { position: absolute; width: 26px; height: 26px; color: var(--pink); animation: twinkle 2.6s ease-in-out infinite; }
.stage-spark.s1 { top: 6%; left: 6%; color: var(--lemon); }
.stage-spark.s2 { top: 16%; right: 4%; color: var(--mint); animation-delay: .5s; }
.stage-spark.s3 { bottom: 18%; left: 0; color: var(--lilac); animation-delay: 1s; }
.stage-spark.s4 { bottom: 4%; right: 14%; color: var(--sky); animation-delay: 1.5s; }

.stage-badge {
  position: absolute;
  top: 4%;
  right: -2%;
  background: var(--card);
  border: 2px dashed var(--pink);
  color: var(--pink-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 10px 18px;
  border-radius: 20px;
  transform: rotate(8deg);
  box-shadow: var(--shadow-pink);
  animation: pop-in .7s .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.stage-badge small { display: block; font-family: var(--font-latin); font-size: 0.62rem; letter-spacing: 2px; color: var(--ink-faint); text-align: center; }

.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-faint);
  font-family: var(--font-latin);
  font-size: 0.75rem;
  letter-spacing: 3px;
}
.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--ink-faint);
  border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--pink);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

/* ---------- 跑马灯 ---------- */
.marquee {
  padding: 18px 0;
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 14px; padding-right: 14px; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-soft);
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--line);
  white-space: nowrap;
}
.marquee-item .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

/* ---------- 面板区块 ---------- */
.panel {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4.5vw, 56px);
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  pointer-events: none;
  background: linear-gradient(140deg, var(--card-shine), transparent);
}
.panel-pink { background: linear-gradient(150deg, var(--card), var(--pink-soft)); border-color: var(--pink-soft); }
.panel-lilac { background: linear-gradient(150deg, var(--card), var(--lilac-soft)); border-color: var(--lilac-soft); }
.panel-mint { background: linear-gradient(150deg, var(--card), var(--mint-soft)); border-color: var(--mint-soft); }
.panel-lemon { background: linear-gradient(150deg, var(--card), var(--lemon-soft)); border-color: var(--lemon-soft); }

.section-block { padding: 90px 0; position: relative; z-index: 1; }

/* 装饰小星星（区块角落） */
.corner-star { position: absolute; color: var(--pink); opacity: .55; animation: twinkle 3s ease-in-out infinite; }

/* ---------- 关于我 ---------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.about-avatar { text-align: center; }
.avatar-y {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ED957, #3F8C18);
  color: #fff;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 26px rgba(78, 158, 31, 0.32);
}
.avatar-y img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}
.about-name { font-family: var(--font-display); font-size: 1.6rem; margin-top: 14px; }
.about-tagline { color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; }
.about-social { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 2px solid var(--line);
  color: var(--ink-soft);
  transition: all .25s ease;
}
.social-btn:hover { transform: translateY(-4px) rotate(-6deg); color: var(--on-primary); }
.social-btn.gh { background: linear-gradient(135deg, var(--ink), #6d5b8a); border-color: transparent; color: var(--on-primary); }
.social-btn.mail { background: linear-gradient(135deg, var(--pink), var(--lilac)); border-color: transparent; color: var(--on-primary); }
.social-btn.bl { background: linear-gradient(135deg, var(--sky), var(--mint)); border-color: transparent; color: var(--on-primary); }
.social-btn.st { background: linear-gradient(135deg, #2A475E, #171A21); border-color: transparent; color: #fff; }

.about-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.about-body p { color: var(--ink-soft); margin-bottom: 14px; font-size: 1rem; }
.about-label { font-size: 0.82rem; font-weight: 700; color: var(--ink-faint); margin: 18px 0 10px; letter-spacing: 1px; }
.about-facts a.chip { transition: transform .2s ease, box-shadow .2s ease; }
.about-facts a.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* GitHub 贡献图 */
.gh-chart { margin-top: 28px; position: relative; z-index: 1; }
.gh-chart img {
  width: 100%;
  border-radius: var(--r-md);
  border: 2px solid var(--line);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-soft);
}
.gh-chart .about-label { margin-top: 0; }

/* 关于区扩展：GitHub + Steam 并列 */
.about-extra { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 28px; position: relative; z-index: 1; }
.about-extra .gh-chart { margin-top: 0; }

/* 关于区内的推し块 */
.about-oshi { margin-top: 28px; position: relative; z-index: 1; }
.about-oshi .about-label { margin-top: 0; }
.about-oshi .oshi-list { box-shadow: none; }

/* 关于区内的技能块（GitHub 风格小方块） */
.about-skills { margin-top: 28px; position: relative; z-index: 1; }
.about-skills .about-label { margin-top: 0; }
.skill-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tile {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.skill-tile:hover { transform: translateY(-2px); border-color: var(--pink); color: var(--ink); }
.skill-tile .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* Steam 卡片 */
.steam-card {
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.steam-card .about-label { margin-top: 0; }
.steam-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.steam-avatar { width: 46px; height: 46px; border-radius: 10px; border: 2px solid var(--line); flex-shrink: 0; }
.steam-meta b { display: block; font-size: 0.98rem; }
.steam-meta a { font-size: 0.78rem; color: var(--pink-deep); font-weight: 600; }
.steam-games { display: flex; flex-direction: column; gap: 8px; }
.steam-game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px;
  border-radius: var(--r-sm);
  transition: background .2s ease, transform .2s ease;
}
.steam-game:hover { background: var(--pink-soft); transform: translateX(3px); }
.steam-game img { width: 62px; border-radius: 6px; flex-shrink: 0; }
.sg-name { flex: 1; font-size: 0.85rem; font-weight: 600; min-width: 0; }
.sg-hours { font-family: var(--font-latin); font-size: 0.78rem; color: var(--ink-faint); flex-shrink: 0; }

/* 网易云音乐播放器 */
.music-player { margin-top: 14px; }
.music-player iframe { width: 100%; max-width: 520px; height: 430px; border: none; border-radius: var(--r-md); background: var(--card-2); }

/* Hero 打字机 */
.typing-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--pink-deep);
  margin-left: 3px;
  vertical-align: -2px;
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* 卡片鼠标光晕 */
.spotlight { position: relative; overflow: hidden; }
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(78, 158, 31, 0.18), transparent 62%);
}
.spotlight:hover::after { opacity: 1; }

/* 彩蛋 */
.egg-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  z-index: 999;
}
.egg-toast.show { opacity: 1; transform: translate(-50%, 0); }
.spin-once { animation: spin-once 1.1s cubic-bezier(.2, .8, .3, 1) 1; }
@keyframes spin-once { to { transform: rotate(360deg); } }

/* 博客搜索框 */
.blog-search { max-width: 420px; margin: 0 auto 20px; position: relative; z-index: 1; }
.blog-search .input { border-radius: 999px; padding: 12px 22px; }
.about-body .hl { color: var(--pink-deep); font-weight: 700; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.stat-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 10px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow-pink); }
.stat-num {
  font-family: var(--font-latin);
  font-size: 2.1rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--pink), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.stat-label { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 技能 ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 1; }
.skill-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.skill-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.skill-card.ic-pink:hover { box-shadow: var(--shadow-pink); }
.skill-card.ic-lilac:hover { box-shadow: var(--shadow-lilac); }
.skill-card.ic-mint:hover { box-shadow: var(--shadow-mint); }
.skill-card.ic-lemon:hover { box-shadow: 0 14px 34px rgba(255, 201, 77, 0.28); }
.skill-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.ic-pink .skill-icon { background: var(--pink-soft); }
.ic-lilac .skill-icon { background: var(--lilac-soft); }
.ic-mint .skill-icon { background: var(--mint-soft); }
.ic-lemon .skill-icon { background: var(--lemon-soft); }
.skill-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.skill-card > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }

.skill-bar-row { margin-top: 14px; }
.skill-bar-top { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.skill-bar-top .pct { font-family: var(--font-latin); color: var(--ink-faint); }
.skill-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--bar-bg);
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--lilac));
  transition: width 1.1s cubic-bezier(.25, .8, .3, 1) .15s;
}
.skill-card.ic-mint .skill-bar-fill { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.skill-card.ic-lilac .skill-bar-fill { background: linear-gradient(90deg, var(--lilac), var(--pink)); }
.skill-card.ic-lemon .skill-bar-fill { background: linear-gradient(90deg, var(--lemon), var(--pink)); }

/* ---------- 项目 ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; position: relative; z-index: 1; }
.project-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: var(--shadow-soft); }
.project-cover {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  position: relative;
  overflow: hidden;
}
.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 90px at 80% 20%, rgba(255,255,255,.5), transparent 70%);
}
.pc-pink { background: linear-gradient(120deg, #FFD3E3, #FFA9C6); }
.pc-lilac { background: linear-gradient(120deg, #E3DAFF, #BFA9FB); }
.pc-mint { background: linear-gradient(120deg, #CFF7E7, #8FE8C4); }
.pc-lemon { background: linear-gradient(120deg, #FFF0C2, #FFD98A); }
.project-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-family: var(--font-display); font-size: 1.2rem; }
.project-body .proj-tag { font-size: 0.8rem; color: var(--lilac-deep); font-weight: 700; margin: 2px 0 8px; }
.project-body p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.project-tags span {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  font-weight: 600;
}
.project-links { display: flex; gap: 16px; margin-top: 14px; }
.project-links a { font-size: 0.9rem; font-weight: 700; color: var(--pink-deep); display: inline-flex; align-items: center; gap: 5px; }
.project-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.projects-more { text-align: center; margin-top: 34px; position: relative; z-index: 1; }
.lang-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.project-body h3 a:hover { color: var(--pink-deep); }

/* ---------- 友链 ---------- */
.friends-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; position: relative; z-index: 1; }
.friends-grid:has(.friend-card:only-child) { max-width: 420px; }
.friend-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.friend-card:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: var(--shadow-pink); }
.friend-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-soft), var(--lilac-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.friend-card div { min-width: 0; }
.friend-card b { font-size: 1rem; display: block; line-height: 1.5; overflow-wrap: anywhere; }
.friend-card p { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }

/* ---------- 推し（列表） ---------- */
.oshi-list {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 8px 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}
.oshi-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 8px;
  border-bottom: 1.5px dashed var(--line);
  position: relative;
  transition: background .25s ease, border-radius .25s ease;
}
.oshi-row:last-child { border-bottom: none; }
.oshi-row:hover { background: linear-gradient(90deg, var(--pink-soft), transparent 70%); border-radius: var(--r-sm); }
.oshi-row .oshi-avatar {
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 16px var(--stage-shadow);
}
.oshi-row .oshi-avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.95);
}
.oa-tae { background: linear-gradient(135deg, #D3E9FF, #2E9BFF); border-color: #2E9BFF; }
.oa-sayo { background: linear-gradient(135deg, #E4D9F9, #8C5BE1); border-color: #8C5BE1; }
.oa-kokoro { background: linear-gradient(135deg, #FFE7CC, #FF8F2C); border-color: #FF8F2C; }
.oa-rokka { background: linear-gradient(135deg, #FFD9D9, #FF5555); border-color: #FF5555; }
.oshi-row .oshi-avatar { border: 3px solid transparent; }
.oshi-row .oshi-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}
.oshi-info { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.oshi-name { font-family: var(--font-display); font-size: 1.15rem; }
.oshi-sub { font-family: var(--font-latin); font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.5px; }
.oshi-row .oshi-tags { margin-left: auto; justify-content: flex-end; }
.oshi-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.oshi-tags span { font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-deep); font-weight: 600; }
.oshi-tags span:nth-child(2) { background: var(--lilac-soft); color: var(--lilac-deep); }

/* 悬停萌娘百科气泡 */
.oshi-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 10px) scale(0.98);
  width: 270px;
  background: var(--card);
  border: 2px solid var(--pink-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pink);
  padding: 14px 18px 16px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 30;
}
.oshi-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--pink-soft);
}
.oshi-row:hover .oshi-tip,
.oshi-row:focus-within .oshi-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.tip-head { font-size: 0.78rem; font-weight: 700; color: var(--pink-deep); letter-spacing: 1px; }
.tip-name { font-family: var(--font-display); font-size: 1.05rem; margin: 6px 0 4px; }
.tip-name .font-latin { font-family: var(--font-latin); font-size: 0.75rem; color: var(--ink-faint); font-weight: 500; }
.tip-desc { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.7; }
.tip-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--on-primary);
  background: var(--pink);
  padding: 6px 14px;
  border-radius: 999px;
  transition: transform .2s ease;
}
.tip-link:hover { transform: translateY(-2px) scale(1.03); }

/* ---------- 时间线（纵向时间轴） ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: 6px 0;
  z-index: 1;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--pink), var(--lilac), var(--mint), var(--lemon), var(--sky));
  opacity: .45;
}
.tl-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0 9px 48px;
}
.tl-dot {
  position: absolute;
  left: 5px;
  top: 50%;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  background-color: var(--pink);
  -webkit-mask-image: var(--clover-url);
  mask-image: var(--clover-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: dot-breathe 2.8s ease-in-out infinite;
  z-index: 2;
}
.tl-item:nth-child(2) .tl-dot { background-color: var(--lilac); }
.tl-item:nth-child(3) .tl-dot { background-color: var(--mint); }
.tl-item:nth-child(4) .tl-dot { background-color: var(--lemon); }
.tl-item:nth-child(5) .tl-dot { background-color: var(--sky); }
.tl-item:nth-child(6) .tl-dot { background-color: var(--pink); }
.tl-item:nth-child(7) .tl-dot { background-color: var(--lilac); }
.tl-item:nth-child(8) .tl-dot { background-color: var(--mint); }
.tl-year {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pink-deep);
  letter-spacing: 1px;
  width: 58px;
  flex-shrink: 0;
}
.tl-item:nth-child(2) .tl-year { color: var(--lilac); }
.tl-item:nth-child(3) .tl-year { color: var(--mint-deep); }
.tl-item:nth-child(4) .tl-year { color: #b8860b; }
.tl-item:nth-child(5) .tl-year { color: var(--sky-deep); }
.tl-card {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tl-card:hover { transform: translateX(5px); box-shadow: var(--shadow-soft); }
.tl-card h3 { font-family: var(--font-display); font-size: 1.02rem; }
/* ---------- 联系 ---------- */
.contact-card {
  background: linear-gradient(135deg, var(--pink-deep), var(--lilac-deep));
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: var(--on-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.contact-card::before, .contact-card::after {
  content: "✦";
  position: absolute;
  font-size: 7rem;
  opacity: .12;
  animation: twinkle 4s ease-in-out infinite;
}
.contact-card::before { top: -30px; left: 4%; transform: rotate(-15deg); }
.contact-card::after { bottom: -40px; right: 5%; transform: rotate(12deg); animation-delay: 1.4s; }
.contact-card h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); }
html.dark .contact-card { background: linear-gradient(135deg, #35661B, #5A3A26); }
.contact-card .contact-sub { opacity: .92; margin: 12px auto 32px; max-width: 420px; font-size: 1rem; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn-white {
  background: #fff;
  color: var(--pink-deep);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}
.btn-white:hover { transform: translateY(-3px) scale(1.02); }
.btn-glass {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.3); }

/* ---------- 页脚 ---------- */
.footer { padding: 46px 0 40px; text-align: center; position: relative; z-index: 1; }
.footer .mascot { width: 56px; height: 56px; margin: 0 auto 10px; animation: float 5s ease-in-out infinite; }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.footer-links { display: flex; justify-content: center; gap: 20px; margin: 14px 0; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: var(--pink-deep); }
.footer-social { display: flex; justify-content: center; gap: 20px; margin: 14px 0; flex-wrap: wrap; }
.footer-social a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.footer-social a:hover { color: var(--pink-deep); }
.footer-copy { color: var(--ink-faint); font-size: 0.82rem; font-family: var(--font-latin); }
.footer-copy .jp { font-family: var(--font-body); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--pink);
  color: var(--on-primary);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-pink);
  opacity: 0;
  transform: translateY(16px) scale(.8);
  pointer-events: none;
  transition: all .35s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- 点击星光 ---------- */
.click-spark {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  width: 14px;
  height: 14px;
  animation: spark-fly .7s ease-out forwards;
}

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- 核心档案页 ---------- */
.page-hero { padding: 70px 0 30px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--ink); }
.page-title .grad {
  background: linear-gradient(120deg, var(--pink), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-sub { color: var(--ink-soft); margin-top: 14px; font-size: 1.02rem; }

.core-grid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; padding-bottom: 90px; position: relative; z-index: 1; }

.id-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  overflow: hidden;
}
.id-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;
  background: linear-gradient(120deg, var(--pink-soft), var(--lilac-soft));
}
.id-avatar { position: relative; width: 128px; height: 128px; margin: 6px auto 16px; }
.id-avatar .avatar-y { width: 128px; height: 128px; font-size: 4.2rem; margin: 0; box-shadow: none; }
.id-avatar .mascot { width: 128px; height: 128px; animation: float 4.5s ease-in-out infinite; }
.id-avatar .ring {
  position: absolute;
  inset: -8px;
  border: 3px dashed var(--pink);
  border-radius: 50%;
  animation: spin-slow 16s linear infinite;
}
.id-name { font-family: var(--font-display); font-size: 1.7rem; }
.id-title { color: var(--pink-deep); font-weight: 700; font-size: 0.95rem; margin-top: 2px; }
.id-rows { margin: 24px 0; text-align: left; }
.id-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-bottom: 1.5px dashed var(--line); font-size: 0.92rem; }
.id-row:last-child { border-bottom: none; }
.id-row .k { color: var(--ink-faint); font-weight: 600; }
.id-row .v { font-weight: 700; color: var(--ink); }
.id-row .v .pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 6px;
  animation: dot-breathe 1.6s ease-in-out infinite;
  vertical-align: 1px;
}
.id-foot { font-family: var(--font-latin); color: var(--ink-faint); font-size: 0.75rem; letter-spacing: 2px; }

.core-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.core-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-soft);
}
.core-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.core-card h2 .num {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  background: var(--pink-soft);
  color: var(--pink-deep);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* 属性面板（大条） */
.attr-row { margin-bottom: 18px; }
.attr-row:last-child { margin-bottom: 0; }
.attr-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.attr-name { font-weight: 700; font-size: 0.98rem; }
.attr-val { font-family: var(--font-latin); font-weight: 700; color: var(--pink-deep); font-size: 0.9rem; }
.attr-bar { height: 16px; border-radius: 999px; background: var(--bar-bg); overflow: hidden; }
.attr-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--lilac));
  transition: width 1.2s cubic-bezier(.25, .8, .3, 1);
  position: relative;
}
.attr-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-100%);
  animation: shine 2.8s ease-in-out infinite;
}
.attr-row:nth-child(2) .attr-fill { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.attr-row:nth-child(3) .attr-fill { background: linear-gradient(90deg, var(--lemon), var(--pink)); }
.attr-row:nth-child(4) .attr-fill { background: linear-gradient(90deg, var(--lilac), var(--mint)); }
.attr-row:nth-child(5) .attr-fill { background: linear-gradient(90deg, var(--sky), var(--lilac)); }

/* 环形仪表（已弃用） */
.gauge-wrap { text-align: center; padding: 10px 0; }
.gauge {
  width: 210px;
  height: 210px;
  margin: 0 auto;
  position: relative;
}
.gauge svg { transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--bar-bg); stroke-width: 16; stroke-linecap: round; }
.gauge .arc {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 565.5;
  stroke-dashoffset: 565.5;
  transition: stroke-dashoffset 1.6s cubic-bezier(.25, .8, .3, 1) .3s;
}
.gauge-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge-num b { font-family: var(--font-latin); font-size: 2.4rem; line-height: 1; background: linear-gradient(120deg, var(--pink), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gauge-num span { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }
.gauge-tip { margin-top: 16px; color: var(--ink-soft); font-size: 0.95rem; }
.gauge-tip .heart { color: var(--pink-deep); animation: heartbeat 1.4s ease-in-out infinite; display: inline-block; }

/* 技能 chips */
.skill-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.skill-chips li {
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all .25s ease;
  cursor: default;
}
.skill-chips li:hover { border-color: var(--lilac); transform: translateY(-3px) rotate(-2deg); box-shadow: var(--shadow-lilac); }
.skill-chips li:nth-child(3n) { background: var(--mint-soft); color: var(--mint-deep); }
.skill-chips li:nth-child(3n):hover { border-color: var(--mint); box-shadow: var(--shadow-mint); }
.skill-chips li:nth-child(3n+1) { background: var(--pink-soft); color: var(--pink-deep); }
.skill-chips li:nth-child(3n+1):hover { border-color: var(--pink); box-shadow: var(--shadow-pink); }

/* 推し chips：整块可点击 */
.oshi-chips li { padding: 0; }
.oshi-chips a { display: block; padding: 10px 20px; color: inherit; }

/* 技能/兴趣 chips 带链接：整块可点击 */
.skill-chips li.has-link { padding: 0; }
.skill-chips li.has-link a { display: block; padding: 10px 20px; color: inherit; }

/* 推し IP 徽章 / 分组标题 */
.oshi-ip, .oshi-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid;
  transition: transform .2s ease;
}
.oshi-ip { margin-bottom: 12px; }
.oshi-ip:hover, .oshi-group:hover { transform: translateY(-2px); }
.ip-pjsk { background: var(--mint-soft); color: var(--mint-deep); border-color: var(--mint); }
.ip-bd { background: var(--pink-soft); color: var(--pink-deep); border-color: var(--pink); }
.ip-d4dj { background: var(--lilac-soft); color: var(--lilac-deep); border-color: var(--lilac); }
.oshi-row.ip-pjsk { border-left: 5px solid var(--mint); }
.oshi-row.ip-bd { border-left: 5px solid var(--pink); }
.oshi-group { margin: 18px 0 12px; font-size: 0.85rem; }
.ip-group > .oshi-group:first-child { margin-top: 0; }
.ip-group .skill-chips { margin-bottom: 4px; }

/* 名言 */
.quote {
  background: linear-gradient(135deg, var(--pink-soft), var(--lilac-soft));
  border-radius: var(--r-md);
  padding: 28px 30px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.9;
  position: relative;
}
.quote::before { content: "“"; position: absolute; top: -14px; left: 16px; font-size: 4.5rem; color: var(--pink); opacity: .4; }
.quote .q-from { display: block; margin-top: 12px; font-family: var(--font-latin); font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 1px; }

.core-footer-links { text-align: center; padding-bottom: 80px; position: relative; z-index: 1; }

/* ---------- 动画 ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(26px) scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.08); } }
@keyframes shadow-pulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.86); opacity: .7; } }
@keyframes scroll-dot { 0% { opacity: 1; transform: translate(-50%, 0); } 70% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dot-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes shine { to { transform: translateX(100%); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.25); } 40% { transform: scale(.95); } 55% { transform: scale(1.2); } }
@keyframes spark-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.4) rotate(0deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.1) rotate(160deg); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-scroll { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-chips, .hero-actions { justify-content: center; }
  .hero-stage { order: -1; margin-bottom: 10px; }
  .hero { min-height: auto; padding-top: 50px; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .friends-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar .mascot { width: 160px; height: 160px; }
  .core-grid { grid-template-columns: 1fr; }
  .id-card { position: static; }
  .oshi-row { flex-wrap: wrap; }
  .oshi-row .oshi-tags { margin-left: 0; }
  /* 移动端：时间轴紧凑一些 */
  .tl-item { padding: 8px 0 8px 42px; gap: 10px; }
  .tl-year { width: 50px; font-size: 0.9rem; }
  .tl-card { padding: 10px 16px; }
  /* 移动端：气泡变为内嵌面板（点击链接跳转） */
  .oshi-tip {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    margin-top: 10px;
    border-style: dashed;
    box-shadow: none;
  }
  .oshi-tip::after { display: none; }
}

@media (max-width: 560px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .panel { padding: 26px 20px; }
  .tl-item { padding-left: 64px; }
  .contact-btns { flex-direction: column; align-items: stretch; }
  .contact-btns .btn { justify-content: center; }
  .stage-badge { right: 0; }
}

/* ============================================================
   博客 & 管理后台
   ============================================================ */

/* ---------- 博客侧边栏（Mizuki 风格 widgets） ---------- */
.blog-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; position: relative; z-index: 1; }
.blog-main { min-width: 0; }
.blog-side { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
.widget {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}
.widget-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--line);
}
.widget-about { display: flex; gap: 12px; align-items: center; }
.widget-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ED957, #3F8C18);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.widget-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.widget-about b { font-size: 1rem; }
.widget-about p { font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.widget-social { display: flex; gap: 8px; margin-top: 12px; }
.widget-social .social-btn { width: 36px; height: 36px; }
.widget-cats { display: flex; flex-direction: column; gap: 4px; }
.widget-cats button {
  text-align: left;
  background: none;
  border: none;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: background .2s ease, color .2s ease;
}
.widget-cats button:hover { background: var(--pink-soft); color: var(--pink-deep); }
.widget-cats button.is-active { background: var(--pink-soft); color: var(--pink-deep); font-weight: 700; }
.widget-cats .cnt { font-family: var(--font-latin); font-size: 0.75rem; color: var(--ink-faint); }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags span { font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; background: var(--lilac-soft); color: var(--lilac-deep); font-weight: 600; }
.widget-archives { display: flex; flex-direction: column; gap: 4px; }
.widget-archives .arch { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); padding: 6px 6px; }
.widget-archives .cnt { font-family: var(--font-latin); font-size: 0.75rem; color: var(--ink-faint); }
.widget-empty { color: var(--ink-faint); font-size: 0.85rem; }

/* ---------- 博客列表 ---------- */
.cat-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; position: relative; z-index: 1; }
.cat-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all .25s ease;
  font-family: var(--font-body);
}
.cat-btn:hover { transform: translateY(-2px); border-color: var(--pink); color: var(--pink-deep); }
.cat-btn.is-active {
  background: var(--pink);
  color: var(--on-primary);
  border-color: transparent;
  box-shadow: var(--shadow-pink);
}
.cat-btn .cnt { font-family: var(--font-latin); font-size: 0.72rem; opacity: 0.75; margin-left: 4px; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 1; }
.post-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.post-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--lilac), var(--mint));
  opacity: 0;
  transition: opacity .3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.post-card:hover::before { opacity: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink-faint); font-family: var(--font-latin); }
.post-cat { background: var(--lilac-soft); color: var(--lilac-deep); padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 0.75rem; }
.post-title { font-family: var(--font-display); font-size: 1.3rem; margin: 12px 0 8px; color: var(--ink); }
.post-summary { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.post-tags span { font-size: 0.75rem; background: var(--pink-soft); color: var(--pink-deep); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.post-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 5px; color: var(--pink-deep); font-weight: 700; font-size: 0.9rem; }
.post-more:hover { text-decoration: underline; text-underline-offset: 4px; }

.blog-empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); background: var(--card); border: 2px dashed var(--line); border-radius: var(--r-lg); position: relative; z-index: 1; }
.blog-empty .big { font-size: 2.6rem; margin-bottom: 10px; }

/* ---------- 404 页 ---------- */
.err-card { text-align: center; padding: 30px 20px; }
.err-code {
  font-family: var(--font-latin);
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err-actions { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- 文章页 ---------- */
.post-hero-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}
.post-hero-card h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 14px 0 10px; }
.post-hero-meta { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-faint); font-size: 0.85rem; font-family: var(--font-latin); }
.post-hero-meta .sep { opacity: .5; }

/* 目录 */
.toc-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.toc-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.toc-card ul { margin: 0; }
.toc-card li { margin: 5px 0; font-size: 0.88rem; }
.toc-card li.lv2 { padding-left: 16px; font-size: 0.84rem; }
.toc-card a { color: var(--ink-soft); }
.toc-card a:hover { color: var(--pink-deep); }

/* 评论区 */
.giscus-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.giscus-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.giscus-note { color: var(--ink-faint); font-size: 0.85rem; }

/* 顶部阅读进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pink), var(--lilac));
  z-index: 999;
}

/* 代码块复制按钮 */
.post-body pre { position: relative; }
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #e8ddf5;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s ease;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.3); }

/* 页面加载过渡 */
body { animation: page-in .5s ease both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.post-body {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
  margin-top: 22px;
  font-size: 1.02rem;
  position: relative;
  z-index: 1;
}
.post-body h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 2px dashed var(--line); }
.post-body h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 26px 0 10px; color: var(--pink-deep); }
.post-body p { margin: 12px 0; color: var(--ink); }
.post-body ul, .post-body ol { margin: 12px 0 12px 24px; }
.post-body li { margin: 6px 0; }
.post-body ul li::marker { color: var(--pink); }
.post-body ol li::marker { color: var(--lilac-deep); font-weight: 700; }
.post-body strong { color: var(--pink-deep); }
.post-body a { color: var(--lilac-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { background: linear-gradient(135deg, var(--pink-soft), var(--lilac-soft)); border-radius: var(--r-md); padding: 16px 20px; margin: 16px 0; color: var(--ink); }
.post-body code { background: var(--lilac-soft); color: var(--lilac-deep); padding: 2px 7px; border-radius: 7px; font-size: 0.9em; }
.post-body pre { background: #3d3250; color: #f3e9ff; border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; margin: 16px 0; font-size: 0.88rem; line-height: 1.7; }
.post-body pre code { background: none; color: inherit; padding: 0; }
.post-body img { border-radius: var(--r-md); margin: 16px 0; box-shadow: var(--shadow-soft); }
.post-body hr { border: none; border-top: 2px dashed var(--line); margin: 26px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; position: relative; z-index: 1; }
.post-nav a { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; font-size: 0.88rem; color: var(--ink-soft); transition: all .25s ease; flex: 1; text-align: center; }
.post-nav a:hover { border-color: var(--pink); color: var(--pink-deep); transform: translateY(-2px); }
.post-nav .label { display: block; font-size: 0.72rem; font-family: var(--font-latin); color: var(--ink-faint); letter-spacing: 1px; margin-bottom: 3px; }

/* ---------- 管理后台 ---------- */
.admin-wrap { max-width: 760px; margin: 0 auto 90px; position: relative; z-index: 1; }
.admin-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.admin-card h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.admin-card .sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: 0.78rem; }
.input, .textarea, .select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.textarea-lg { min-height: 340px; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.88rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--pink-deep); }
.admin-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn-danger { background: var(--card); color: #e0556e; border: 2px solid #ffc2cd; }
.btn-danger:hover { transform: translateY(-2px); border-color: #e0556e; background: #fff0f3; }
.admin-list .post-row { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1.5px dashed var(--line); }
.admin-list .post-row:last-child { border-bottom: none; }
.post-row .pr-title { flex: 1; font-weight: 700; font-size: 0.98rem; min-width: 0; }
.post-row .pr-title small { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.78rem; font-family: var(--font-latin); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; flex-shrink: 0; }
.pr-badge.draft { background: var(--lemon-soft); color: #c98a00; }
.pr-badge.pub { background: var(--mint-soft); color: var(--mint-deep); }
.pr-btn {
  border: none;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--font-body);
  flex-shrink: 0;
}
.pr-btn:hover { transform: translateY(-2px); }
.pr-btn.del { background: #fff0f3; color: #e0556e; }
.admin-error { background: #fff0f3; border: 2px solid #ffc2cd; color: #c2354f; border-radius: var(--r-sm); padding: 12px 16px; font-size: 0.88rem; margin-bottom: 16px; display: none; }
.admin-error.show { display: block; }
.token-note { background: var(--lemon-soft); border: 2px dashed var(--lemon); border-radius: var(--r-sm); padding: 12px 16px; font-size: 0.82rem; color: #8a6d1f; line-height: 1.7; margin-top: 14px; }
html.dark .token-note { color: #EAD9A8; }
.editor-preview { border: 2px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-top: 14px; background: var(--cream); display: none; }
.editor-preview.show { display: block; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--on-primary);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #e0556e; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .post-hero-card { padding: 28px 20px; }
  .admin-card { padding: 22px 18px; }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .skill-bar-fill, .attr-fill { width: var(--w, 0); transition: none; }
  .gauge .arc { stroke-dashoffset: var(--off, 565.5); transition: none; }
}

/* ============================================================
   关于我 — 规整卡片网格（bento）
   ============================================================ */
.about-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.about-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px 26px;
  margin: 0;
  position: relative;
}
.about-extra,
.about-skills,
.about-music,
.about-oshi { grid-column: 1 / -1; margin-top: 0; }
.about-card .about-label:first-child { margin-top: 0; }
.about-avatar.about-card { text-align: center; }
.about-avatar.about-card .avatar-y { margin-bottom: 12px; }
.about-body.about-card > p:last-of-type { margin-bottom: 0; }
.about-oshi .oshi-list {
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  background: none;
}
.about-music .music-player { margin-top: 12px; }
.about-music .music-player iframe { display: block; margin-inline: auto; }
.gh-chart {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
  margin-top: 0;
}
.gh-chart img { border: none; padding: 0; box-shadow: none; background: none; }
.about-extra { align-items: stretch; }

@media (max-width: 900px) {
  .about-bento { grid-template-columns: 1fr; }
  .about-card { padding: 20px 18px; }
}
/* 关于区布局微调：GitHub 整行铺满、卡片贴合内容 */
.about-bento { align-items: start; }
.gh-chart { grid-column: 1 / -1; }
.gh-chart img { width: 100%; height: auto; display: block; }
.steam-card { grid-column: auto; }
.about-music { grid-column: auto; }
.about-oshi { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .gh-chart, .steam-card, .about-music, .about-oshi { grid-column: 1 / -1; }
}
/* 推し：紧凑两列布局 */
.about-oshi .oshi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.about-oshi .oshi-row { padding: 8px 4px; gap: 12px; }
.about-oshi .oshi-row .oshi-avatar { width: 40px; height: 40px; font-size: 1.15rem; }
.about-oshi .oshi-row .oshi-avatar::after { inset: -4px; border-width: 1.5px; }
.about-oshi .oshi-name { font-size: 1rem; }
.about-oshi .oshi-sub { font-size: 0.72rem; }
.about-oshi .oshi-ip { font-size: 0.72rem; padding: 3px 10px; }
.about-oshi .oshi-tags span { font-size: 0.72rem; padding: 3px 10px; }
.about-oshi .oshi-row:nth-last-child(-n+2) { border-bottom: none; }

/* 音乐：整行 + 加高播放器 */
.about-music { grid-column: 1 / -1; }
.about-music .music-player iframe { max-width: 100%; width: 100%; height: 550px; }
.music-open { margin-top: 10px; text-align: center; font-size: 0.85rem; }
.music-open a { color: var(--pink-deep); font-weight: 600; }
.music-open a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .about-oshi .oshi-list { grid-template-columns: 1fr; }
  .about-oshi .oshi-row:nth-last-child(-n+2) { border-bottom: 1.5px dashed var(--line); }
  .about-oshi .oshi-row:last-child { border-bottom: none; }
  .about-music .music-player iframe { height: 450px; }
}
/* ============================================================
   关于区 — 紧凑 2 列网格（2×3）
   ============================================================ */
.about-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-card { padding: 20px 22px; }
.gh-chart { grid-column: auto; padding: 14px 16px; }
.steam-card { grid-column: auto; padding: 16px 18px; }
.about-music { grid-column: auto; }
.about-music .music-player iframe { height: 330px; max-width: 100%; }
.about-oshi { grid-column: auto; }
.about-oshi .oshi-list { grid-template-columns: 1fr; gap: 0; }
.about-oshi .oshi-row:nth-last-child(-n+2) { border-bottom: 1.5px dashed var(--line); }
.about-oshi .oshi-row:last-child { border-bottom: none; }
.gh-chart img { border-radius: var(--r-md); }
.music-open { margin-top: 8px; font-size: 0.8rem; }

@media (max-width: 900px) {
  .about-bento { grid-template-columns: 1fr; }
  .gh-chart, .steam-card, .about-music, .about-oshi { grid-column: 1 / -1; }
  .about-music .music-player iframe { height: 420px; }
  .about-oshi .oshi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .about-oshi .oshi-list { grid-template-columns: 1fr; }
}
/* ============================================================
   关于区 — 最终排版（去 GitHub 图后）
   2 列：资料卡｜简介卡 / Steam｜音乐 / 推し（整行两列）
   ============================================================ */
.about-oshi { grid-column: 1 / -1; }
.about-oshi .oshi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.about-oshi .oshi-row:nth-last-child(-n+2) { border-bottom: none; }
.about-music .music-player iframe { height: 300px; }

@media (max-width: 900px) {
  .about-oshi .oshi-list { grid-template-columns: 1fr; }
  .about-oshi .oshi-row:nth-last-child(-n+2) { border-bottom: 1.5px dashed var(--line); }
  .about-oshi .oshi-row:last-child { border-bottom: none; }
  .about-music .music-player iframe { height: 400px; }
}
/* ============================================================
   关于区 — 等高对齐修正
   ============================================================ */
.about-bento { align-items: stretch; }
.about-avatar.about-card,
.steam-card,
.about-music {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-body.about-card { display: flex; flex-direction: column; justify-content: flex-start; }
.about-oshi.about-card { justify-content: flex-start; }
/* ============================================================
   推し — 每行结构统一（头像｜IP徽章｜名字+组合｜标签 固定列）
   ============================================================ */
.about-oshi .oshi-row {
  display: grid;
  grid-template-columns: 40px 108px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  padding: 9px 4px;
}
.about-oshi .oshi-info { display: contents; }
.about-oshi .oshi-row .oshi-avatar { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.about-oshi .oshi-ip { grid-column: 2; grid-row: 1 / span 2; justify-self: start; white-space: nowrap; }
.about-oshi .oshi-name { grid-column: 3; grid-row: 1; margin: 0; }
.about-oshi .oshi-sub { grid-column: 3; grid-row: 2; }
.about-oshi .oshi-row .oshi-tags { grid-column: 4; grid-row: 1 / span 2; margin-left: 0; justify-content: flex-end; }

@media (max-width: 900px) {
  .about-oshi .oshi-row { grid-template-columns: 40px 100px minmax(0, 1fr); }
  .about-oshi .oshi-tags { grid-column: 2 / span 2 !important; grid-row: 3 !important; justify-content: flex-start !important; margin-top: 4px; }
}
/* 推し：名字后跟所属团队（同一行），单行网格 */
.about-oshi .oshi-row { grid-template-rows: auto; }
.about-oshi .oshi-name { grid-row: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.about-oshi .oshi-name .oshi-sub { font-size: 0.74rem; color: var(--ink-faint); font-weight: 400; letter-spacing: 0.3px; }
.about-oshi .oshi-ip { grid-row: 1; }
.about-oshi .oshi-row .oshi-tags { grid-row: 1; }
/* Steam 与音乐卡：内容顶部对齐（同排两块起始位置一致） */
.steam-card,
.about-music {
  justify-content: flex-start;
}
.about-music .music-player { margin-top: 0; }
.steam-card .steam-head { margin-bottom: 10px; }
.about-music .about-label,
.steam-card .about-label { min-height: 22px; }
/* 自我介绍：引导句 + 签名句（提升辨识度） */
.about-lead {
  font-size: 1.06rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.9;
}
.about-lead .hl { font-weight: 700; }

.about-body.about-card > p { margin-bottom: 12px; }
.about-body.about-card > p:last-of-type { margin-bottom: 0; }
/* ============================================================
   关于区底板 — MORE MORE JUMP! 四人透明立绘
   资料卡=みのり / 简介卡=遥 / Steam=愛莉 / 音乐=雫
   ============================================================ */
.about-card { position: relative; overflow: hidden; }
.about-card > * { position: relative; z-index: 1; }
.about-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  right: -6px;
  bottom: -6px;
  height: 88%;
  width: 46%;
  opacity: 0.20;
  transition: opacity .35s ease, transform .35s ease;
}
.about-card:hover::after { opacity: 0.32; transform: translateY(-4px); }
.mmj-minori::after { background-image: url("../assets/img/mmj/minori.png"); }
.mmj-haruka::after { background-image: url("../assets/img/mmj/haruka.png"); height: 92%; width: 42%; }
.mmj-airi::after { background-image: url("../assets/img/mmj/airi.png"); height: 94%; width: 40%; }
.mmj-shizuku::after { background-image: url("../assets/img/mmj/shizuku.png"); height: 92%; width: 38%; }

/* 音乐卡：播放器收窄，给雫留出位置 */
.about-music .music-player { max-width: 74%; }

/* 推し卡不加人物底图，保持列表清爽 */
.about-oshi.about-card::after { content: none; }

html.dark .about-card::after { opacity: 0.16; }
html.dark .about-card:hover::after { opacity: 0.26; }

@media (max-width: 900px) {
  .about-card::after { opacity: 0.14; height: 78%; width: 50%; }
  .about-music .music-player { max-width: 100%; }
}
/* 推し卡：允许溢出（悬停气泡不被裁剪） */
.about-oshi.about-card { overflow: visible; }
/* 底板立绘：缩小 + 渐隐遮罩（避免遮挡文字） */
.about-card::after {
  right: -4px;
  bottom: -4px;
  height: 76%;
  width: 34%;
  opacity: 0.13;
  -webkit-mask-image: linear-gradient(to top left, #000 30%, transparent 80%);
  mask-image: linear-gradient(to top left, #000 30%, transparent 80%);
}
.about-card:hover::after { opacity: 0.20; }
.mmj-minori::after { height: 76%; width: 34%; }
.mmj-haruka::after { height: 78%; width: 32%; }
.mmj-airi::after { height: 80%; width: 30%; }
.mmj-shizuku::after { height: 78%; width: 30%; }

/* 文字区域与立绘保持间距 */
.about-body.about-card { padding-right: 88px; }
.about-avatar.about-card { padding-bottom: 28px; }

html.dark .about-card::after { opacity: 0.11; }
html.dark .about-card:hover::after { opacity: 0.17; }

@media (max-width: 900px) {
  .about-card::after { height: 62%; width: 36%; opacity: 0.10; }
  .about-body.about-card { padding-right: 22px; }
}
/* 底板立绘：提高可见度（但仍保留渐隐，避免压字） */
.about-card::after {
  height: 86%;
  width: 38%;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(to top left, #000 42%, transparent 88%);
  mask-image: linear-gradient(to top left, #000 42%, transparent 88%);
}
.about-card:hover::after { opacity: 0.46; }
.mmj-minori::after { height: 86%; width: 38%; }
.mmj-haruka::after { height: 88%; width: 36%; }
.mmj-airi::after { height: 90%; width: 34%; }
.mmj-shizuku::after { height: 88%; width: 34%; }
html.dark .about-card::after { opacity: 0.28; }
html.dark .about-card:hover::after { opacity: 0.38; }

@media (max-width: 900px) {
  .about-card::after { height: 70%; width: 38%; opacity: 0.24; }
}
/* Steam 卡：内容右留白 + 愛莉立绘改为右上角小图（避免与游戏列表重叠） */
.steam-card.mmj-airi::after {
  top: 0;
  bottom: auto;
  right: 0;
  height: 56%;
  width: 26%;
  opacity: 0.30;
  background-position: top right;
  -webkit-mask-image: linear-gradient(to bottom left, #000 45%, transparent 88%);
  mask-image: linear-gradient(to bottom left, #000 45%, transparent 88%);
}
.steam-card .about-label,
.steam-card .steam-head,
.steam-card .steam-games { max-width: 74%; }
.steam-card:hover::after { opacity: 0.40; }
html.dark .steam-card.mmj-airi::after { opacity: 0.24; }
html.dark .steam-card:hover::after { opacity: 0.32; }

@media (max-width: 900px) {
  .steam-card .about-label,
  .steam-card .steam-head,
  .steam-card .steam-games { max-width: 100%; }
  .steam-card.mmj-airi::after { height: 40%; width: 30%; opacity: 0.16; }
}
/* Steam 卡：游戏列表在左、愛莉立绘独占右侧栏 */
.steam-card.mmj-airi::after {
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 30%;
  opacity: 0.9;
  background-position: bottom right;
  background-size: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%);
  mask-image: linear-gradient(to right, transparent 0%, #000 26%);
}
.steam-card .about-label,
.steam-card .steam-head,
.steam-card .steam-games { max-width: 66%; }
.steam-card:hover::after { opacity: 1; }
html.dark .steam-card.mmj-airi::after { opacity: 0.78; }
html.dark .steam-card:hover::after { opacity: 0.9; }

@media (max-width: 900px) {
  .steam-card .about-label,
  .steam-card .steam-head,
  .steam-card .steam-games { max-width: 100%; }
  .steam-card.mmj-airi::after { height: 100%; width: 26%; opacity: 0.55; }
}
/* ============================================================
   Steam 卡 — 真两栏结构（游戏列表 左 / 愛莉立绘 右，不会重叠）
   ============================================================ */
.steam-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 14px;
  align-items: start;
}
.steam-card::after { content: none; }
.steam-main { min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; }
.steam-main .about-label { margin-top: 0; }
.steam-art {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 140px;
}
.steam-art img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.92;
}
html.dark .steam-art img { opacity: 0.82; }

@media (max-width: 900px) {
  .steam-card { grid-template-columns: minmax(0, 1fr) 84px; gap: 10px; }
  .steam-art img { max-height: 200px; opacity: 0.8; }
}
@media (max-width: 620px) {
  .steam-card { grid-template-columns: 1fr; }
  .steam-art { display: none; }
}
/* Steam 卡右栏：立绘撑满整个格子高度 */
.steam-card { grid-template-columns: minmax(0, 1fr) 150px; }
.steam-art { align-items: stretch; }
.steam-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-md);
}
@media (max-width: 900px) {
  .steam-card { grid-template-columns: minmax(0, 1fr) 112px; }
  .steam-art img { object-position: top center; }
}
/* ============================================================
   四张底板立绘 — 统一深浅（适中一档）
   ============================================================ */
.about-card::after { opacity: 0.45; }
.about-card:hover::after { opacity: 0.58; }
html.dark .about-card::after { opacity: 0.36; }
html.dark .about-card:hover::after { opacity: 0.48; }

.steam-art img { opacity: 0.45; }
.steam-card:hover .steam-art img { opacity: 0.58; }
html.dark .steam-art img { opacity: 0.36; }
html.dark .steam-card:hover .steam-art img { opacity: 0.48; }

@media (max-width: 900px) {
  .about-card::after { opacity: 0.30; }
  html.dark .about-card::after { opacity: 0.24; }
  .steam-art img { opacity: 0.38; }
  html.dark .steam-art img { opacity: 0.30; }
}
/* Steam 游戏名：不换行（超出省略号），并给列表更多横向空间 */
.steam-card { grid-template-columns: minmax(0, 1fr) 128px; }
.steam-game img { width: 54px; }
.sg-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
}
.sg-hours { font-size: 0.72rem; }
.steam-games { gap: 6px; }
.steam-game { padding: 4px 5px; }

@media (max-width: 900px) {
  .steam-card { grid-template-columns: minmax(0, 1fr) 96px; }
}
/* 修正：Steam 卡内容不再限宽（消除列表与立绘间的空隙） */
.steam-card .about-label,
.steam-card .steam-head,
.steam-card .steam-games { max-width: 100%; }

/* 修正：简介卡右侧留白加大，遥的立绘与正文分离 */
.about-body.about-card { padding-right: 118px; }
.mmj-haruka::after { width: 32%; height: 82%; }

@media (max-width: 900px) {
  .about-body.about-card { padding-right: 22px; }
  .mmj-haruka::after { width: 44%; height: 70%; }
}
/* Steam 卡立绘：不裁切（完整显示含手部）+ 与其他三张一致的 hover 反馈 */
.steam-card { grid-template-columns: minmax(0, 1fr) 204px; }
.steam-art img {
  object-fit: contain;
  object-position: bottom center;
  transition: opacity .35s ease, transform .35s ease;
}
.steam-card:hover .steam-art img { transform: translateY(-4px); }

@media (max-width: 900px) {
  .steam-card { grid-template-columns: minmax(0, 1fr) 132px; }
  .steam-art img { object-position: bottom center; }
}
/* 立绘深浅：整体调深一档 */
.about-card::after { opacity: 0.58; }
.about-card:hover::after { opacity: 0.72; }
html.dark .about-card::after { opacity: 0.46; }
html.dark .about-card:hover::after { opacity: 0.60; }
.steam-art img { opacity: 0.58; }
.steam-card:hover .steam-art img { opacity: 0.72; }
html.dark .steam-art img { opacity: 0.46; }
html.dark .steam-card:hover .steam-art img { opacity: 0.60; }

@media (max-width: 900px) {
  .about-card::after { opacity: 0.42; }
  html.dark .about-card::after { opacity: 0.34; }
  .steam-art img { opacity: 0.50; }
  html.dark .steam-art img { opacity: 0.38; }
}
/* ============================================================
   项目入口卡（跳转 GitHub）
   ============================================================ */
.projects-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  max-width: 620px;
  margin-inline: auto;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.projects-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 55%, var(--pink-soft));
  opacity: .55;
  pointer-events: none;
}
.projects-link:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: var(--shadow-pink); }
.projects-link-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3F8C18, #7ED957);
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.projects-link-text { flex: 1; min-width: 0; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.projects-link-text b { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.projects-link-text em { font-style: normal; font-family: var(--font-latin); font-size: 0.82rem; color: var(--ink-faint); }
.projects-link-arrow {
  font-size: 1.4rem;
  color: var(--pink-deep);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform .28s ease;
}
.projects-link:hover .projects-link-arrow { transform: translateX(6px); }

@media (max-width: 620px) {
  .projects-link { padding: 20px; gap: 14px; }
  .projects-link-icon { width: 46px; height: 46px; border-radius: 14px; }
  .projects-link-text b { font-size: 1rem; }
}
/* ---------- 项目：GitHub Overview 风格小卡片 ---------- */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 17px 14px;
  min-height: 124px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.repo-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: var(--shadow-pink);
}
.repo-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.repo-ico { width: 15px; height: 15px; flex-shrink: 0; color: var(--ink-faint); }
.repo-name {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: .95rem;
  color: var(--pink-deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.repo-card:hover .repo-name { text-decoration: underline; text-underline-offset: 3px; }
.repo-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-latin);
  font-size: .66rem;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--ink-faint);
}
.repo-desc {
  margin: 0;
  flex: 1;
  font-size: .84rem;
  line-height: 1.62;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.repo-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  font-family: var(--font-latin);
  font-size: .76rem;
  color: var(--ink-faint);
}
.repo-lang, .repo-stat { display: inline-flex; align-items: center; gap: 5px; }
.repo-meta .lang-dot { width: 9px; height: 9px; margin: 0; }
.repo-meta svg { width: 13px; height: 13px; }
.repo-empty {
  grid-column: 1 / -1;
  padding: 30px 20px;
  text-align: center;
  font-size: .9rem;
  color: var(--ink-faint);
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
}
.projects-more { margin-top: 28px; }
@media (max-width: 620px) {
  .repo-grid { grid-template-columns: 1fr; gap: 12px; }
  .repo-card { min-height: 0; padding: 14px 15px; }
}
/* ============================================================
   音乐卡 — 「在网易云打开歌单」并入标题行，播放器铺满卡高
   （与同排 Steam / szk 卡等高）
   ============================================================ */
.about-music { justify-content: flex-start; }
.music-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  flex-wrap: wrap;
}
.music-head .about-label { margin: 0; }
.music-open {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pink-deep);
  white-space: nowrap;
}
.music-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-music .music-player {
  margin-top: 12px;
  margin-inline: 0;
  max-width: 74%;
  flex: 1 1 auto;
  min-height: 300px;
  display: flex;
}
.about-music .music-player iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  border-radius: var(--r-md);
}
@media (max-width: 900px) {
  .about-music .music-player { max-width: 100%; flex: 0 0 auto; min-height: 420px; }
}

/* 关于我：去掉抬头后，首屏留白收一点 */
#about.section-block { padding-top: 52px; }
/* ============================================================
   开头 — 「天使的幸运草」艺术字 + MMJ 四人团照透明蒙版
   文字只占左侧 ~36%，团照四人位于右侧（不遮挡）
   ============================================================ */
.site-open {
  position: relative;
  margin-bottom: 14px;
  min-height: 196px;
  padding: 26px 30px 26px 44px;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: var(--shadow-soft);
  background-color: #DDF1C3;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .20)), url("../assets/img/mmj-q/bg.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
/* 团照蒙版：左浅右实，四人完整保留在右侧（原色，不做绿色化） */
.site-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/img/mmj-q/group.jpg") center 34% / cover no-repeat;
  opacity: .34;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .55) 14%, #000 30%, #000 94%, rgba(0, 0, 0, .85) 100%), linear-gradient(to bottom, rgba(0, 0, 0, .78) 0%, #000 12%, #000 88%, rgba(0, 0, 0, .78) 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .55) 14%, #000 30%, #000 94%, rgba(0, 0, 0, .85) 100%), linear-gradient(to bottom, rgba(0, 0, 0, .78) 0%, #000 12%, #000 88%, rgba(0, 0, 0, .78) 100%);
  mask-composite: intersect;
  pointer-events: none;
}
/* 艺术字：绿色渐变填充 + 白色描边 + 立体投影 */
.site-open-title {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin: 0;
  max-width: 36%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: .08em;
  text-indent: .08em;
  text-align: left;
  color: #3F8C18;                       /* 适中的主题绿：不惨白也不发黑 */
  text-shadow:
    -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff,
    -2px 0 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, 0 2px 0 #fff,
    0 4px 10px rgba(16, 48, 10, .26);
}
.site-open-title::before { content: none; }
html.dark .site-open {
  background-image: linear-gradient(180deg, rgba(20, 26, 17, .58), rgba(20, 26, 17, .70)), url("../assets/img/mmj-q/bg.jpg");
}
html.dark .site-open::after { opacity: .26; }
html.dark .site-open-title { color: #EAF8D8; text-shadow: -2px -2px 0 #14210C, 2px -2px 0 #14210C, -2px 2px 0 #14210C, 2px 2px 0 #14210C, -2.5px 0 0 #14210C, 2.5px 0 0 #14210C, 0 -2.5px 0 #14210C, 0 2.5px 0 #14210C, 0 5px 12px rgba(0, 0, 0, .5); }

@media (max-width: 900px) {
  .site-open { padding: 22px 22px 22px 28px; min-height: 176px; }
  .site-open-title { max-width: 46%; }
}
@media (max-width: 620px) {
  .site-open { min-height: 148px; padding: 20px 16px; }
  .site-open::after { background-position: 72% 34%; opacity: .3; }
  .site-open-title { max-width: 62%; font-size: 1.45rem; }


}
/* ============================================================
   关于区 — 每张卡片各自配色：顶部色条 + 顶部淡色渐变 + 悬停浮起
   （替代原本统一的灰色边框）
   ============================================================ */
.about-bento > .about-card {
  border-top-width: 4px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-bento > .about-card:hover { transform: translateY(-3px); }
.about-bento > .mmj-minori.about-card {
  border-top-color: #FFCCAA;              /* みのり 杏色 */
  background-image: linear-gradient(180deg, rgba(255, 204, 170, .24), rgba(255, 204, 170, 0) 40%);
}
.about-bento > .mmj-minori.about-card:hover { box-shadow: 0 12px 28px rgba(184, 101, 58, .24); }
.about-bento > .mmj-haruka.about-card {
  border-top-color: #9AD3FF;              /* 遥 水色 */
  background-image: linear-gradient(180deg, rgba(154, 211, 255, .24), rgba(154, 211, 255, 0) 40%);
}
.about-bento > .mmj-haruka.about-card:hover { box-shadow: 0 12px 28px rgba(95, 143, 201, .24); }
.about-bento > .steam-card.about-card {
  border-top-color: #FFA6BE;              /* 愛莉 粉 */
  background-image: linear-gradient(180deg, rgba(255, 166, 190, .24), rgba(255, 166, 190, 0) 40%);
}
.about-bento > .steam-card.about-card:hover { box-shadow: 0 12px 28px rgba(214, 92, 132, .22); }
.about-bento > .mmj-shizuku.about-card {
  border-top-color: #99EEDD;              /* 雫 青绿 */
  background-image: linear-gradient(180deg, rgba(153, 238, 221, .26), rgba(153, 238, 221, 0) 40%);
}
.about-bento > .mmj-shizuku.about-card:hover { box-shadow: 0 12px 28px rgba(47, 158, 143, .24); }
.about-bento > .about-oshi.about-card {
  border-top-color: var(--pink);          /* 推し：主题绿 */
  background-image: linear-gradient(180deg, rgba(78, 158, 31, .16), rgba(78, 158, 31, 0) 36%);
}
.about-bento > .about-oshi.about-card:hover { box-shadow: 0 12px 28px rgba(78, 158, 31, .22); }
html.dark .about-bento > .about-card { background-image: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 40%); }
/* 友链头像（图片版） */
.friend-avatar { overflow: hidden; }
.friend-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* 开头艺术字稍微上抬 */
.site-open-title { transform: translateY(-14px); }
@media (max-width: 620px) {
  .site-open-title { transform: translateY(-9px); }
}