/* ══════════════════════════════════════════════════════════
   qwe5283 · 个人主页 v3 · 孟菲斯风格
   ══════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  color-scheme: light;
  --pink: #ff5d8f;
  --yellow: #ffcb2f;
  --teal: #00c2a8;
  --blue: #4d96ff;
  --red: #ff4d4d;
  --ink: #141414;          /* 描边 / 正文 / 硬阴影 */
  --cream: #fdf6e9;        /* 页面底色 */
  --paper: #fff;           /* 卡片纸面 */
  --muted: rgba(20,20,20,0.55);
  --text-soft: rgba(20,20,20,0.82);
  --banner-bg: #141414;
  --banner-fg: #fdf6e9;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Arial Rounded MT Bold, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; }
section { scroll-margin-top: 92px; }
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ====== 背景波点 ====== */
.bg-deco {
  position: fixed; inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255,93,143,0.45) 0 5px, transparent 6px),
    radial-gradient(circle, rgba(77,150,255,0.4) 0 5px, transparent 6px);
  background-size: 260px 260px, 340px 300px;
  background-position: 40px 60px, 150px 180px;
}
.deco {
  position: absolute; z-index: 0;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.deco:hover { transform: scale(1.3) rotate(10deg); }

/* ====== 页眉 ====== */
header {
  position: sticky; top: 0; z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px min(6vw, 60px);
  border-bottom: 4px solid var(--ink);
  background: var(--paper);
}
.logo {
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
}
.logo .dots { display: flex; gap: 5px; }
.logo .dots i { width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--ink); }
.logo .dots i:nth-child(1) { background: var(--pink); }
.logo .dots i:nth-child(2) { background: var(--yellow); }
.logo .dots i:nth-child(3) { background: var(--teal); }
.head-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
nav { display: flex; gap: 12px; flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 20px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
nav a:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--yellow);
}

/* 汉堡开关：桌面隐藏，窄屏显示并接管导航折叠 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.nav-toggle:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.nav-toggle .bars { display: grid; gap: 5px; }
.nav-toggle .bars i {
  width: 20px; height: 3.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ====== 主视觉 ====== */
.hero {
  position: relative;
  text-align: center;
  padding: 84px min(6vw, 60px) 96px;
  z-index: 1;
}
.hero .badge {
  display: inline-block;
  transform: rotate(-3deg);
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.3em;
  padding: 8px 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  margin-bottom: 34px;
}
.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}
.avatar {
  display: block;
  width: 104px; height: 104px;
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-3deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.avatar-wrap:hover .avatar { transform: rotate(0deg) scale(1.04); }
.avatar-wrap .star {
  position: absolute;
  top: -14px; right: -14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 17px;
  background: var(--red);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(10deg);
}
.hero h1 {
  font-size: clamp(44px, 9vw, 92px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-family: var(--mono);
}
.hero h1 .name {
  display: inline-block;
  transform: rotate(-1.5deg);
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  padding: 0 14px;
  cursor: pointer;
}
.roles {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.roles .r {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  padding: 7px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.roles .r:nth-child(1) { transform: rotate(-2deg); background: var(--yellow); }
.roles .r:nth-child(2) { transform: rotate(1.5deg); background: var(--teal); color: #000; }
.roles .r:nth-child(3) { transform: rotate(-1deg); background: var(--blue); }
.roles .r:nth-child(4) { transform: rotate(2deg); background: var(--pink); color: #000; }
.hero .intro {
  margin: 30px auto 0;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 500;
}
.hero .cta-row {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.cta {
  display: inline-block;
  padding: 15px 40px;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  color: var(--ink);
  background: var(--pink);
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.cta:hover {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.cta.ghost { background: var(--paper); }

/* ====== 区块骨架 ====== */
.sec {
  position: relative;
  padding: 26px min(6vw, 60px) 88px;
  z-index: 1;
}
.sec-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}
.sec-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 46px;
}
.sec-head .num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 17px;
  color: #fff;
  background: var(--red);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-6deg);
}
.sec-now .num { background: var(--blue); }
.sec-projects .num { background: var(--red); }
.sec-contact .num { background: var(--teal); }
.sec-head h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ====== 01 现在：双卡 ====== */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  max-width: 840px;
  margin: 0 auto;
}
.fact {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 32px 28px 28px;
  box-shadow: 9px 9px 0 var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fact:nth-child(1) { transform: rotate(-1.4deg); background: var(--yellow); }
.fact:nth-child(2) { transform: rotate(1.2deg); background: var(--teal); color: #000; }
.fact:nth-child(1):hover, .fact:nth-child(2):hover {
  transform: rotate(0deg) translateY(-8px);
}
.fact .icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 27px;
  border: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  margin-bottom: 18px;
  box-shadow: 4px 4px 0 var(--ink);
}
.fact:nth-child(1) .icon { border-radius: 50%; background: var(--pink); }
.fact:nth-child(2) .icon { border-radius: 50% 0 50% 50%; background: var(--red); }
.fact h3 { font-size: 23px; font-weight: 900; margin-bottom: 6px; }
.fact p {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
}
/* 最近在学：通栏宽卡，独占一行 */
.fact.learn {
  grid-column: 1 / -1;
  transform: rotate(0.8deg);
  background: var(--paper);
}
.fact.learn:hover { transform: rotate(0deg) translateY(-6px); }
.fact.learn .icon { border-radius: 50% 0 50% 50%; background: var(--blue); }

/* ====== 02 项目：大卡 ====== */
.projs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.proj {
  position: relative;
  display: block;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 56px 30px 30px;
  box-shadow: 9px 9px 0 var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.proj:nth-child(1) { transform: rotate(-1.2deg); }
.proj:nth-child(2) { transform: rotate(1.2deg); background: var(--yellow); }
.proj:nth-child(1):hover, .proj:nth-child(2):hover {
  transform: rotate(0deg) translateY(-8px);
}
/* 施工警示带：卡顶条纹 tape */
.proj::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  border-bottom: 3px solid var(--ink);
  border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(-45deg,
    var(--yellow) 0 14px, var(--ink) 14px 28px);
}
.proj .num {
  position: absolute;
  top: -18px; right: 22px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-weight: 900;
  background: var(--red);
  color: #fff;
  border: 4px solid var(--ink);
  border-radius: 50%;
}
.proj .icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  font-size: 30px;
  border: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  margin-bottom: 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.proj:nth-child(1) .icon { border-radius: 50%; background: var(--pink); }
.proj:nth-child(2) .icon { transform: rotate(45deg); border-radius: 12px; background: var(--blue); }
.proj:nth-child(2) .icon span { transform: rotate(-45deg); }
.proj-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.proj-top .name {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.proj-top .name:hover {
  text-decoration: underline wavy var(--pink) 2px;
  text-underline-offset: 6px;
}
.chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
  padding: 5px 11px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(2deg);
  white-space: nowrap;
}
.proj:nth-child(2) .chip { background: var(--paper); }
.proj .desc {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  font-weight: 500;
  color: var(--text-soft);
}
/* 展开施工细节：0fr/1fr 折叠动画 */
.more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.more-body { overflow: hidden; min-height: 0; }
.proj.open .more { grid-template-rows: 1fr; }
.more-body p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
  color: var(--text-soft);
}
.btn-more {
  display: inline-flex;
  margin-top: 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 3px solid var(--yellow);
  padding: 2px 2px 5px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-more:hover { background: var(--yellow); }
.proj .tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 11px;
  background: var(--cream);
}
.proj:nth-child(2) .tag { background: var(--paper); }
.proj .go-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 900;
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  transition: background 0.15s, color 0.15s, transform 0.12s, box-shadow 0.12s;
}
.proj-foot {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.last-push {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.proj:hover .go-pill {
  background: var(--ink);
  color: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ====== 大字横幅 ====== */
.banner {
  position: relative;
  background: var(--banner-bg);
  color: var(--banner-fg);
  text-align: center;
  padding: 68px min(6vw, 60px);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  z-index: 1;
}
.banner h2 {
  font-size: clamp(24px, 4.6vw, 44px);
  font-weight: 900;
  line-height: 1.5;
}
.banner h2 em { font-style: normal; color: var(--yellow); }
.banner h2 em.p { color: var(--pink); }
.banner h2 em.t { color: var(--teal); }

/* ====== 03 找我：联系卡 ====== */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.ct {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 8px 8px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ct:nth-child(1) { transform: rotate(-1.2deg); }
.ct:nth-child(2) { transform: rotate(1deg); background: var(--pink); }
.ct:nth-child(3) { transform: rotate(-0.8deg); background: var(--teal); }
.ct:nth-child(4) { transform: rotate(1.4deg); background: var(--yellow); }
.ct:nth-child(1):hover, .ct:nth-child(2):hover,
.ct:nth-child(3):hover, .ct:nth-child(4):hover {
  transform: rotate(0deg) translateY(-6px);
}
.ct .ct-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ct .icon {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  font-size: 23px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.ct:nth-child(1) .icon { border-radius: 50%; background: var(--blue); }
.ct:nth-child(2) .icon { border-radius: 50% 0 50% 50%; }
.ct:nth-child(3) .icon { transform: rotate(45deg); border-radius: 10px; }
.ct:nth-child(3) .icon span { transform: rotate(-45deg); }
.ct:nth-child(4) .icon { border-radius: 50% 50% 50% 0; background: var(--red); }
.ct .icon img {
  width: 26px; height: 26px;
  display: block;
}
.ct .label { font-size: 17px; font-weight: 900; }
.ct .value {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.85;
  overflow-wrap: anywhere;
}
.ct .act {
  margin-top: 6px;
  align-self: flex-end;
  font-weight: 900;
  font-size: 15px;
}
.btn-copy {
  margin-top: 10px;
  align-self: flex-start;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  color: var(--cream);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(20,20,20,0.35);
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn-copy:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(20,20,20,0.35);
}
.btn-copy.done { background: #2f9e6e; }

/* ====== 页脚 ====== */
footer {
  position: relative;
  text-align: center;
  padding: 48px 20px 64px;
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
}
footer .zig {
  display: block;
  margin: 0 auto 24px;
  width: 212px; height: 16px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 16px, var(--yellow) 16px 32px, var(--teal) 32px 48px, var(--blue) 48px 64px);
  border: 3px solid var(--ink);
  border-radius: 999px;
}
.hitokoto {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  min-height: 1.2em;
  margin-bottom: 14px;
  transition: color 0.15s;
}
.hitokoto:hover { color: var(--ink); }
.foot-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}
.foot-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
  transition: background 0.12s;
}
.foot-links a:hover { background: var(--yellow); }

/* ====== 响应式与动效 ====== */
@media (max-width: 860px) {
  .deco { display: none; }
}
@media (max-width: 700px) {
  .hero { padding-top: 56px; }
  .sec { padding-bottom: 68px; }
  .sec-head h2 { font-size: 28px; }
  nav a { padding: 7px 15px; font-size: 14px; }
  .projs, .contacts { gap: 30px; }
}
/* 窄屏：topBar 只留 logo + 汉堡，导航收进下方悬浮面板 */
@media (max-width: 560px) {
  header { flex-wrap: nowrap; }
  .nav-toggle { display: grid; }
  nav {
    position: absolute;
    top: calc(100% + 12px);
    right: min(6vw, 60px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: var(--paper);
    border: 4px solid var(--ink);
    border-radius: 18px;
    box-shadow: 7px 7px 0 var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0.92) translateY(-8px);
    transform-origin: top right;
    transition: opacity 0.18s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), visibility 0.25s;
    pointer-events: none;
  }
  nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  nav a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ====== 纸屑粒子 ====== */
.cf {
  position: fixed;
  top: 0; left: 0;
  z-index: 999;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ====== 深色模式：熄灯后的游乐场 ====== */
/* 策略：--ink 翻成奶油色 → 描边 / 硬阴影自动变"霓虹描边"；
   饱和色底（黄/粉/蓝）上的文字强制回深色，保证对比度。 */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --cream: #1e2136;          /* 页面底：深夜蓝 */
    --ink: #f6efdd;            /* 描边 / 文字 / 硬阴影 → 奶油霓虹 */
    --paper: #272b47;          /* 卡片纸面 */
    --muted: rgba(246,239,221,0.6);
    --text-soft: rgba(246,239,221,0.85);
    --banner-bg: #14162a;
    --banner-fg: #f6efdd;
  }
  ::selection { color: #141414; }
  /* 饱和色底上恢复深色文字 */
  .roles .r:nth-child(1),
  .roles .r:nth-child(3),
  .fact:nth-child(1),
  .proj:nth-child(2),
  .ct:nth-child(2),
  .ct:nth-child(3),
  .ct:nth-child(4),
  .chip,
  .btn-more:hover,
  nav a:hover,
  .foot-links a:hover,
  .cta:not(.ghost) { color: #141414; }
  /* 名字：荧光笔变整块黄牌子，避免奶油字压黄荧光笔 */
  .hero h1 .name {
    background: var(--yellow);
    color: #141414;
    border-radius: 10px;
  }
  /* 饱和亮底卡是"浅色孤岛"：内容不随深色翻转，与浅色完全一致 */
  /* 警示带两张卡统一钉死黄黑条纹 */
  .proj::before {
    background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #141414 14px 28px);
  }
  /* 黄色项目卡（xiaohongshu-clone）全套钉回浅色外观 */
  .proj:nth-child(2) .desc,
  .proj:nth-child(2) .more-body p { color: rgba(20,20,20,0.82); }
  .proj:nth-child(2) .last-push { color: rgba(20,20,20,0.55); }
  .proj:nth-child(2) .btn-more { color: #141414; }
  .proj:nth-child(2) .chip,
  .proj:nth-child(2) .tag { background: #fff; color: #141414; border-color: #141414; }
  .proj:nth-child(2) .go-pill {
    background: #fff;
    border-color: #141414;
    box-shadow: 3px 3px 0 #141414;
  }
  .proj:nth-child(2):hover .go-pill {
    background: #141414;
    color: var(--yellow);
    box-shadow: 1px 1px 0 #141414;
  }
  .proj:nth-child(2) .icon {
    border-color: #141414;
    box-shadow: 4px 4px 0 #141414;
  }
  /* 其他饱和底卡的图标盒 / 邮箱按钮同理保持浅色。
     注意：图标盒背景在浅色模式本就各异（在读=粉、在做=红、B站/小红书=白、Email=红），
     彩色背景是字面量不会翻转，只需钉住描边与硬阴影，切勿钉 background。 */
  .fact:nth-child(1) .icon,
  .fact:nth-child(2) .icon {
    border-color: #141414;
    box-shadow: 4px 4px 0 #141414;
  }
  .ct:nth-child(2) .icon,
  .ct:nth-child(3) .icon {
    background: #fff;
    border-color: #141414;
    box-shadow: 3px 3px 0 #141414;
  }
  .ct:nth-child(4) .icon {
    border-color: #141414;
    box-shadow: 3px 3px 0 #141414;
  }
  .ct:nth-child(4) .btn-copy {
    color: #fdf6e9;
    background: #141414;
    border-color: #141414;
    box-shadow: 3px 3px 0 rgba(20,20,20,0.35);
  }
  .proj:hover .go-pill { color: #141414; }
  .btn-copy { box-shadow: 3px 3px 0 rgba(0,0,0,0.45); }
  .btn-copy.done { color: #f6efdd; }
  /* 波点变"星星"：略提亮 */
  .bg-deco {
    background-image:
      radial-gradient(circle, rgba(255,93,143,0.5) 0 5px, transparent 6px),
      radial-gradient(circle, rgba(77,150,255,0.45) 0 5px, transparent 6px);
  }
}
