/* KiraKiraHatsune — miku-ish teal, dark, subtle fx */
:root {
  --bg: #0b0f15;
  --bg2: #111922;
  --fg: #dfe6ee;
  --dim: #7d8b9c;
  --teal: #39c5bb;
  --teal-bright: #5ce0d5;
  --pink: #ff6fa5;
  --line: #1c2732;
  --glow: 0 0 24px rgba(57, 197, 187, 0.22);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  font: 16px/1.8 "Segoe UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg);
  background-image:
    /* 星点层（SVG 平铺） */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><g fill='%2339c5bb' fill-opacity='0.30'><circle cx='24' cy='38' r='0.9'/><circle cx='168' cy='72' r='1.1'/><circle cx='92' cy='156' r='0.7'/><circle cx='205' cy='190' r='0.9'/><circle cx='58' cy='200' r='0.6'/><circle cx='140' cy='18' r='0.8'/></g><g fill='%23ff6fa5' fill-opacity='0.22'><circle cx='120' cy='96' r='0.8'/><circle cx='30' cy='118' r='0.6'/><circle cx='196' cy='142' r='0.7'/></g></svg>"),
    /* 左上青色光晕 */
    radial-gradient(circle at 18% 8%, rgba(57,197,187,0.13), transparent 52%),
    /* 右下粉色光晕 */
    radial-gradient(circle at 82% 92%, rgba(255,111,165,0.07), transparent 50%),
    /* 底部声波带 */
    linear-gradient(180deg, transparent 0%, transparent 88%, rgba(57,197,187,0.05) 100%),
    /* 基础渐变 */
    linear-gradient(180deg, #0c1118 0%, #090d12 100%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, fixed, fixed, scroll, scroll;
}

/* 底部"频谱"装饰条 */
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='140' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' y1='1' x2='0' y2='0'><stop offset='0%' stop-color='%2339c5bb' stop-opacity='0.00'/><stop offset='70%' stop-color='%2339c5bb' stop-opacity='0.10'/><stop offset='100%' stop-color='%2339c5bb' stop-opacity='0.00'/></linearGradient></defs><path fill='url(%23g)' d='M0,140 L0,112 L30,112 L30,96 L60,96 L60,120 L90,120 L90,88 L120,88 L120,104 L150,104 L150,72 L180,72 L180,108 L210,108 L210,86 L240,86 L240,118 L270,118 L270,94 L300,94 L300,66 L330,66 L330,100 L360,100 L360,124 L390,124 L390,92 L420,92 L420,110 L450,110 L450,78 L480,78 L480,102 L510,102 L510,130 L540,130 L540,96 L570,96 L570,74 L600,74 L600,108 L630,108 L630,120 L660,120 L660,88 L690,88 L690,64 L720,64 L720,98 L750,98 L750,114 L780,114 L780,84 L810,84 L810,106 L840,106 L840,128 L870,128 L870,92 L900,92 L900,70 L930,70 L930,104 L960,104 L960,116 L990,116 L990,86 L1020,86 L1020,112 L1050,112 L1050,80 L1080,80 L1080,102 L1110,102 L1110,124 L1140,124 L1140,90 L1170,90 L1170,110 L1200,110 L1200,140 Z'/></svg>");
  background-size: 1200px 140px;
  background-repeat: repeat-x;
  background-position: bottom center;
}

/* 内容层要盖在装饰之上 */
.wrap { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
}
header {
  padding: 60px 0 38px;
  text-align: center;
}
header::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(57,197,187,0.5);
}
header h1 {
  margin: 0 0 10px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal-bright);
  text-shadow: var(--glow);
}
header h1 .star {
  color: var(--pink);
  font-size: 17px;
  vertical-align: middle;
  margin: 0 8px;
  animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.40; transform: scale(0.9) rotate(0deg); }
  50%      { opacity: 1;    transform: scale(1.15) rotate(12deg); }
}
header p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}
nav {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .18s;
}
nav a:hover {
  color: var(--teal-bright);
  background: rgba(57,197,187,0.07);
}
nav a.active {
  color: var(--teal-bright);
  border-color: rgba(57,197,187,0.38);
  background: rgba(57,197,187,0.09);
  box-shadow: 0 0 14px rgba(57,197,187,0.12);
}
main { padding-top: 46px; }
main h2 {
  font-size: 15px;
  color: var(--teal-bright);
  font-weight: 600;
  letter-spacing: 0.07em;
  margin: 46px 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
main h2::before {
  content: "\2726";
  color: var(--pink);
  font-size: 12px;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(255,111,165,0.5);
}
main h2:first-child { margin-top: 0; }
main p { margin: 0 0 16px; }
main p.dim {
  color: var(--dim);
  font-size: 14.5px;
}
main ul {
  margin: 0 0 16px;
  padding-left: 4px;
  list-style: none;
}
main li {
  margin: 7px 0;
  padding-left: 22px;
  position: relative;
}
main li::before {
  content: "\266A";
  position: absolute;
  left: 0;
  color: var(--teal);
  opacity: 0.65;
  font-size: 12px;
}
main a {
  color: var(--teal-bright);
  text-decoration: none;
  border-bottom: 1px dashed rgba(92,224,213,0.45);
}
main a:hover { border-bottom-style: solid; }
.status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--dim);
  border: 1px solid var(--line);
  margin: 0 6px 6px 0;
}
.status.dev {
  color: #ffd479;
  border-color: rgba(255,212,121,0.32);
  background: rgba(255,212,121,0.07);
}
.card {
  background: linear-gradient(180deg, rgba(17,25,34,0.75), rgba(13,19,26,0.75));
  backdrop-filter: blur(2px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 18px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: rgba(57,197,187,0.30);
  box-shadow: 0 0 20px rgba(57,197,187,0.06);
}
.card .date {
  display: block;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 600;
}
.card p {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: 14.5px;
}
.card p:last-child { margin-bottom: 0; }
code {
  background: rgba(57,197,187,0.10);
  border: 1px solid rgba(57,197,187,0.18);
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--teal-bright);
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.badge-row { display: flex; flex-wrap: wrap; margin-bottom: 18px; }
footer {
  margin-top: 80px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px;
  text-align: center;
  letter-spacing: 0.05em;
}
footer .heart { color: var(--pink); opacity: 0.8; }
@media (max-width: 600px) {
  body { font-size: 15px; }
  header { padding: 42px 0 28px; }
  header h1 { font-size: 21px; }
  .wrap { padding: 0 18px; }
  main { padding-top: 32px; }
  main h2 { margin: 34px 0 14px; }
  body::after { height: 90px; background-size: 800px 90px; }
}
