/* =========================================================
   蒸汽电波 VaporTech
   经典蒸汽波霓虹日落 × nooc 式极简排版骨架
   品牌色刻意采用 vaporwave 粉/青/紫，源自频道身份与头像立绘
   ========================================================= */

:root {
  /* 背景层次（暗模式：靠透明白叠加 + 霓虹边做层级） */
  --bg-0: #07010f;
  --bg-1: #0d0320;
  --bg-2: #150a2e;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.09);

  /* 文字（避免纯白刺眼，带紫调） */
  --ink: #f1e6ff;
  --ink-soft: rgba(241, 230, 255, 0.74);
  --ink-mute: rgba(241, 230, 255, 0.58);

  /* 霓虹品牌色 */
  --pink: #ff6ad5;
  --magenta: #ff3ca0;
  --cyan: #21f7d4;
  --cyan-2: #00d4ff;
  --purple: #b072ff;
  --sun-top: #ff5db1;
  --sun-mid: #ff8e6e;
  --sun-low: #ffd56b;

  /* 辉光 */
  --glow-pink: 0 0 22px rgba(255, 106, 213, 0.5);
  --glow-cyan: 0 0 22px rgba(33, 247, 212, 0.45);

  /* 半径系统 */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* 排版 */
  --font-display: "Orbitron", "Noto Sans SC", sans-serif;
  --font-pixel: "DotGothic16", "Noto Sans JP", monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Noto Sans SC", "Noto Sans JP", sans-serif;

  --maxw: 1120px;
  --nav-h: 64px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* 防止任何宽元素在移动端撑大布局视口导致整页缩放 */
}

body {
  margin: 0;
  background: var(--bg-1);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--pink); color: #1a0530; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--pink);
  color: #1a0530;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top 0.18s ease;
}
.skip:focus { top: 14px; }

/* =========================================================
   背景：星空 / 日落 / 透视网格 / 扫描线
   ========================================================= */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: layout paint; /* 隔离变形/超宽背景，避免其影响外部布局与视口宽度 */
  background:
    radial-gradient(120% 80% at 50% 8%, #1c0a3e 0%, var(--bg-1) 42%, var(--bg-0) 100%);
}

.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 18%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.4px 1.4px at 42% 30%, rgba(255, 220, 255, 0.7), transparent),
    radial-gradient(1px 1px at 85% 26%, rgba(180, 230, 255, 0.7), transparent),
    radial-gradient(1px 1px at 12% 40%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 60% 38%, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0.7;
}

/* 日落圆盘 + 横向百叶切割线 */
.bg-sun {
  position: absolute;
  left: 50%;
  top: 6vh;
  width: min(520px, 78vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--sun-top) 0%,
    var(--sun-mid) 48%,
    var(--sun-low) 100%
  );
  /* 下半部用横向条纹遮罩做经典“百叶”太阳 */
  mask-image: linear-gradient(180deg, #000 52%, transparent 52%),
    repeating-linear-gradient(180deg, #000 0 7px, transparent 7px 12px);
  mask-composite: add;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 52%),
    repeating-linear-gradient(180deg, #000 0 7px, transparent 7px 12px);
  -webkit-mask-composite: source-over;
  filter: drop-shadow(0 0 60px rgba(255, 93, 177, 0.45));
  opacity: 0.92;
  transition: opacity 0.5s ease;
  animation: sun-breathe 6s ease-in-out infinite;
}

@keyframes sun-breathe {
  0%, 100% { filter: drop-shadow(0 0 50px rgba(255, 93, 177, 0.35)); }
  50% { filter: drop-shadow(0 0 80px rgba(255, 93, 177, 0.6)); }
}

/* 滚动进入正文后调暗日落，避免它压在下方标题上影响可读性 */
body.scrolled-deep .bg-sun { opacity: 0.16; }

/* 透视网格地面 */
.bg-grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10vh;
  height: 62vh;
  background-image:
    linear-gradient(rgba(33, 247, 212, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 213, 0.45) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  transform: perspective(420px) rotateX(74deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
  animation: grid-run 1.7s linear infinite;
  opacity: 0.85;
}

@keyframes grid-run {
  from { background-position: center 0; }
  to { background-position: center 48px; }
}

/* 扫描线 + 暗角 */
.bg-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.16) 0 1px,
      transparent 1px 3px
    ),
    radial-gradient(120% 100% at 50% 50%, transparent 58%, rgba(5, 0, 12, 0.55) 100%);
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* =========================================================
   导航
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 2, 18, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px); /* 仅导航条使用，面积小、低功耗代价可控 */
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-cjk {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-shadow: 0 0 12px rgba(255, 106, 213, 0.5);
}
.brand-lat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

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

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--panel);
}
.lang button {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  background: none;
  border: 0;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  min-height: 34px;
  touch-action: manipulation;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.lang button.on {
  color: #1a0530;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(33, 247, 212, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   通用区块
   ========================================================= */
section { position: relative; }

.hero-inner,
.about-grid,
.sec-head,
.cards,
.work-grid,
.works-foot,
.follow-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.eyebrow {
  font-family: var(--font-pixel);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(33, 247, 212, 0.4);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}
.eyebrow .dot { color: var(--pink); }
.eyebrow .kana { color: var(--pink); }
/* 把分隔符“/”和它后面的标签绑成一个不可断的整体，避免换行时“/”落单 */
.eyebrow-pair { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }

.sec-head { padding-top: 96px; }
.sec-head h2,
.about-head h2,
.follow-inner h2 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.2;
  text-wrap: balance;
  /* 深色光晕做可读性兜底（标题可能短暂经过明亮日落带），叠加原有紫色辉光 */
  text-shadow: 0 1px 2px rgba(7, 1, 15, 0.85), 0 3px 16px rgba(7, 1, 15, 0.55),
    0 0 28px rgba(176, 114, 255, 0.35);
}
.sec-lead {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* =========================================================
   按钮
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  color: #210733;
  background: linear-gradient(120deg, var(--pink), var(--purple));
  box-shadow: 0 0 22px rgba(255, 106, 213, 0.45), 0 0 2px rgba(255, 255, 255, 0.6) inset;
}
.btn-ghost {
  color: var(--ink);
  background: var(--panel);
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 0 rgba(33, 247, 212, 0);
}

@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 0 34px rgba(255, 106, 213, 0.7); transform: translateY(-2px); }
  .btn-ghost:hover { background: rgba(33, 247, 212, 0.12); box-shadow: var(--glow-cyan); transform: translateY(-2px); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 0;
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding-bottom: 80px;
}

.hero-title {
  margin: 8px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-title .cjk {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(48px, 11vw, 104px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: #ffe9fb;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.5),
    0 0 24px rgba(255, 106, 213, 0.9),
    0 0 52px rgba(176, 114, 255, 0.7),
    4px 4px 0 rgba(0, 212, 255, 0.55);
}
.hero-title .lat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 2.4vw, 19px);
  letter-spacing: 0.52em;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  padding-left: 4px;
}

.hero-tagline {
  font-size: clamp(18px, 2.5vw, 23px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
/* keep-all 只给中文：防绑定词（如“限制”）被拆行。日文需任意换行，否则长假名串会溢出导致整页被缩放 */
:lang(zh) .hero-tagline { word-break: keep-all; }
.hero-sub {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.8vw, 17px);
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 立绘 */
.hero-art { display: flex; justify-content: center; }
.portrait {
  position: relative;
  margin: 0;
  width: min(360px, 80%);
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 106, 213, 0.6), rgba(0, 212, 255, 0.5)) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 40px rgba(255, 106, 213, 0.35),
    0 0 80px rgba(0, 212, 255, 0.18);
  animation: float 7s ease-in-out infinite;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
}
.portrait-scan {
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.18) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: overlay;
}
.portrait-tag {
  position: absolute;
  left: 18px; right: 18px; top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.portrait-tag .rec { display: inline-flex; align-items: center; gap: 6px; text-shadow: 0 1px 4px #000; }
.portrait-tag .rec i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: var(--glow-pink);
  animation: blink 1.4s steps(1) infinite;
}
.portrait-tag .kana { color: var(--cyan); text-shadow: 0 1px 4px #000; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }

/* 滚动跑马灯 */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 2, 18, 0.5);
  padding: 13px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.marquee-track span { opacity: 0.85; }
.marquee-track .m-kana { font-family: var(--font-pixel); color: var(--pink); }
.marquee-track .m-acc { color: var(--cyan); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 110px 0 30px; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.about-body p {
  font-size: clamp(16px, 1.9vw, 18.5px);
  color: var(--ink-soft);
  line-height: 1.85;
  text-wrap: pretty;
  max-width: 62ch;
}
.stats {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stats li {
  flex: 1 1 120px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--panel);
  text-align: center;
}
.stats .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3.4vw, 34px);
  white-space: nowrap; /* 防止「975.6万」断成两行 */
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(33, 247, 212, 0.45);
}
.stats li:nth-child(1) .num { text-shadow: 0 0 18px rgba(255, 106, 213, 0.5); }
.stats li:nth-child(3) .num { text-shadow: 0 0 18px rgba(176, 114, 255, 0.55); }
.stats .lab {
  display: block;
  margin-top: 8px;
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}

/* =========================================================
   CONTENT 栏目
   ========================================================= */
.content { padding-bottom: 30px; }
.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 30px 26px 32px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, var(--accent-soft, transparent), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.card-pink { --accent: var(--pink); --accent-soft: rgba(255, 106, 213, 0.14); }
.card-cyan { --accent: var(--cyan); --accent-soft: rgba(33, 247, 212, 0.12); }
.card-purple { --accent: var(--purple); --accent-soft: rgba(176, 114, 255, 0.14); }

.card-ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: 0 0 18px -4px var(--accent);
  margin-bottom: 20px;
}
.card-ico svg { width: 30px; height: 30px; }
.card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
  text-wrap: pretty;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    box-shadow: 0 18px 50px -22px var(--accent), 0 0 0 1px var(--accent) inset;
  }
}

/* =========================================================
   WORKS 作品
   ========================================================= */
.works { padding-bottom: 40px; }
.work-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 张竖版一字排开 */
  gap: 18px;
}
.work {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease;
}
/* 标题在 DOM 中排在封面前（读屏先读标题），用 order 让封面仍在视觉上方 */
.work-cover { order: -1; }
.work-cover {
  position: relative;
  aspect-ratio: 3 / 4; /* 竖版视频封面 */
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  display: grid;
  place-items: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.work-cover img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.13) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, transparent 52%, rgba(8,2,18,0.6) 100%);
}
.play {
  position: relative;
  z-index: 1;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(8, 2, 18, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 17px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.views {
  position: absolute;
  z-index: 1;
  left: 10px; bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #fff;
  /* 深色药丸底：保证白字在任意封面上都达 WCAG AA，不依赖封面明暗 */
  background: rgba(8, 2, 18, 0.7);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.views::before { content: "\25B7"; color: var(--cyan); font-size: 11px; }
.work-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}
@media (hover: hover) {
  .work:hover { transform: translateY(-5px); }
  .work:hover .work-cover {
    border-color: rgba(255, 106, 213, 0.6);
    box-shadow: 0 16px 40px -18px rgba(255, 106, 213, 0.9);
  }
  .work:hover .work-title { color: var(--ink); }
  .work:hover .play { transform: scale(1.08); background: rgba(255, 60, 160, 0.55); }
  .work:hover img { filter: saturate(1.08); }
}
.works-foot { padding-top: 44px; text-align: center; }

/* =========================================================
   FOLLOW
   ========================================================= */
.follow { padding: 100px 0 80px; }
.follow-inner { text-align: center; max-width: 760px; }
.follow-inner .eyebrow { justify-content: center; }
.follow-body {
  margin: 18px auto 0;
  max-width: 48ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.follow-links {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.flink {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  text-align: left; /* button 默认居中，统一为左对齐 */
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* 抖音主卡 */
.flink.dy {
  --fc: var(--pink);
  padding: 20px 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 106, 213, 0.18), transparent 58%),
    radial-gradient(120% 140% at 100% 100%, rgba(33, 247, 212, 0.15), transparent 58%),
    var(--panel-2);
  border-color: rgba(255, 106, 213, 0.42);
}
.flink-top { display: flex; align-items: center; gap: 12px; }
.flink-badge {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #1a0530;
  background: var(--cyan);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.flink-handle { font-family: var(--font-pixel); font-size: 12px; letter-spacing: 0.03em; color: var(--ink-soft); }
.flink-stat { font-size: 15px; color: var(--ink-soft); margin-top: 2px; }
.flink-stat b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
/* 小红书等辅平台卡的紧凑数据行 */
.flink-mini { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.flink-mini b {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.flink-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flink-name { font-size: 17px; font-weight: 700; }
.flink-sub { font-family: var(--font-pixel); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-mute); }
.flink.xhs { --fc: #ff2e4d; }
.flink.bili { --fc: var(--cyan-2); }
.flink.wx { --fc: #2bd576; }
@media (hover: hover) {
  .flink:hover {
    transform: translateY(-4px);
    border-color: var(--fc);
    box-shadow: 0 0 26px -6px var(--fc);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  border-top: 1px solid var(--border);
  background: rgba(8, 2, 18, 0.5);
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot .brand-lat { font-size: 11px; }
.foot-copy { font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.foot-top { font-family: var(--font-pixel); font-size: 12px; color: var(--cyan); letter-spacing: 0.1em; display: inline-block; padding: 8px 6px; }
@media (hover: hover) { .foot-top:hover { text-shadow: var(--glow-cyan); } }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  background: var(--cyan);
  color: #08020f;
  font-weight: 700;
  border-radius: var(--r-pill);
  box-shadow: 0 0 26px rgba(33, 247, 212, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 150;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   背景音乐开关（默认静音，点击播放）
   ========================================================= */
.bgm {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 120;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 3, 26, 0.7);
  border: 1.5px solid var(--cyan);
  box-shadow: var(--glow-cyan);
  cursor: pointer;
  touch-action: manipulation;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.14s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.bgm:active { transform: scale(0.94); }
@media (hover: hover) { .bgm:hover { box-shadow: 0 0 26px rgba(33, 247, 212, 0.7); } }
.bgm-bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.bgm-bars i { width: 3px; height: 6px; border-radius: 2px; background: var(--cyan); }
.bgm.playing { border-color: var(--pink); box-shadow: 0 0 24px rgba(255, 106, 213, 0.6); }
.bgm.playing .bgm-bars i { background: var(--pink); animation: eq 0.9s ease-in-out infinite; }
.bgm.playing .bgm-bars i:nth-child(2) { animation-delay: 0.15s; }
.bgm.playing .bgm-bars i:nth-child(3) { animation-delay: 0.3s; }
.bgm.playing .bgm-bars i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }

.foot-credit-row { text-align: center; padding: 0 24px 22px; }
.foot-credit {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  transition: color 0.18s ease;
}
@media (hover: hover) { .foot-credit:hover { color: var(--cyan); } }

/* =========================================================
   滚动入场
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .eyebrow { justify-content: center; }
  .hero-tagline { max-width: none; }
  .hero-cta { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-body p { max-width: none; }
}

@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-inner { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .nav-right { gap: 10px; }
  .lang button { padding: 5px 9px; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    background: rgba(10, 3, 26, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--r);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden; /* 收起时移出键盘 Tab 焦点顺序 */
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-links a { padding: 13px 12px; border-radius: var(--r-sm); }
  .nav-links a::after { display: none; }
  @media (hover: hover) { .nav-links a:hover { background: rgba(255, 255, 255, 0.05); } }

  .cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .flink-row { grid-template-columns: 1fr; }
  /* 三个数据等宽排一行，避免“2 上 + 1 独占整行”的不平衡 */
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stats li { flex: none; padding: 16px 10px; }
  .sec-head { padding-top: 72px; }
  .about { padding-top: 80px; }
  .follow { padding-top: 80px; }
  .foot-inner { justify-content: center; }
}

@media (max-width: 420px) {
  .work-grid { gap: 12px; }
  .work-title { font-size: 13px; }
}

/* 窄屏 CTA 堆叠时等宽居中，避免英/日按钮宽度参差 */
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
}

/* =========================================================
   动效偏好：尊重 prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .bg-grid, .marquee-track, .portrait, .bg-sun { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
