/* ============================================================
   1. 设计令牌
   ============================================================ */
:root {
  /* 主题底色：L/D 两组是常量，供两套渐变层交叉淡出用 */
  --bg1L: #F7F8FA; --bg2L: #E9EDF3;
  --bg1D: #0B0E13; --bg2D: #141922;

  /* 浅色（默认） */
  --bg1: var(--bg1L); --bg2: var(--bg2L);
  --ink: #141A24; --ink2: #4A5364; --ink3: #5F6B80;
  --line: #E4E8EE; --line2: #EDF0F4;
  --panel: #FFFFFF; --ctrl: #FFFFFF;
  --brand: #FF4655;
  --brandText: #FF4655;
  --on-brand: #FFFFFF;
  --live: #22C55E; --offline: #9CA3AF;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow2: 0 10px 30px -14px rgba(16, 24, 40, .22);

  --gridline: rgba(20, 26, 36, .085);
  --gl-bg: rgba(255, 255, 255, .26);
  --gl-bd: rgba(255, 255, 255, .34);
  --gl-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62),
               0 0 0 1px rgba(20, 26, 36, .07),
               0 18px 38px -30px rgba(16, 24, 40, .5);
  --btn-bd: rgba(20, 26, 36, .16);
  --btn-hv: rgba(20, 26, 36, .06);

  /* 圆角 */
  --r-xs: 4px; --r-sm: 8px; --r-md: 10px; --r-lg: 12px;
  --r-xl: 14px; --r-2xl: 18px; --r-pill: 999px;

  /* 字号 */
  --fs-2xs: 9px; --fs-xs: 10px; --fs-sm: 11px; --fs-base: 12px;
  --fs-md: 13px; --fs-lg: 14px; --fs-xl: 17px; --fs-2xl: 20px;
  --fs-3xl: 22px; --fs-4xl: 25px;

  /* 动效节拍 */
  --fx-e: cubic-bezier(.16, 1, .3, 1);
  --fx-ew: cubic-bezier(.77, 0, .175, 1);
}

html[data-theme="dark"] {
  --bg1: var(--bg1D); --bg2: var(--bg2D);
  --ink: #F2F4F8; --ink2: #B7C0CE; --ink3: #8B95A8;
  --line: #242B36; --line2: #1D232D;
  --panel: #151A22; --ctrl: #1B212B;
  --brandText: #C22336;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow2: 0 10px 30px -14px rgba(0, 0, 0, .75);

  --gridline: rgba(255, 255, 255, .09);
  --gl-bg: rgba(21, 26, 34, .26);
  --gl-bd: rgba(255, 255, 255, .07);
  --gl-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11),
               0 0 0 1px rgba(0, 0, 0, .55),
               0 18px 38px -30px rgba(0, 0, 0, .7);
  --btn-bd: rgba(255, 255, 255, .16);
  --btn-hv: rgba(255, 255, 255, .10);
}

/* ============================================================
   2. 基础
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg1);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft JhengHei", "Noto Sans SC", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 两套渐变层交叉淡出——CSS 渐变无法插值，这样主题切换才平滑 */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity .35s ease;
}

body::before { background: linear-gradient(180deg, var(--bg1L), var(--bg2L)); }
body::after  { background: linear-gradient(180deg, var(--bg1D), var(--bg2D)); opacity: 0; }

html[data-theme="dark"] body::before { opacity: 0; }
html[data-theme="dark"] body::after  { opacity: 1; }

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ============================================================
   3. 背景环境光（跟着光标逛的那团彩雾）
   ============================================================ */
.fxbgglow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(620px circle at var(--gx, 50%) var(--gy, 30%),
                              var(--gc, #FF4655), transparent 64%);
  opacity: 0;
  transition: opacity .5s ease;
}

.fxbgglow.on { opacity: .13; }

/* ============================================================
   4. 页面容器 + 底部网格纹理
   ============================================================ */
.app {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 60px;
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
  -webkit-mask-image: linear-gradient(#000 0%, #000 58%, rgba(0, 0, 0, .80) 100%);
  mask-image: linear-gradient(#000 0%, #000 58%, rgba(0, 0, 0, .80) 100%);
}

/* ============================================================
   5. 头部（薄雾毛玻璃条）
   ============================================================ */
header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
  background: var(--gl-bg);
  border: 1px solid var(--gl-bd);
  border-radius: var(--r-2xl);
  padding: 14px 16px;
  box-shadow: var(--gl-shadow);
  backdrop-filter: blur(2px) saturate(1.8);
  -webkit-backdrop-filter: blur(2px) saturate(1.8);
  view-transition-name: site-header;
  animation: fxIn .62s var(--fx-e) backwards;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform .45s var(--fx-e);
}

.brand-mark:hover { transform: translateY(-2px); }

.hnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.hnav > a:not(.ctrl) {
  padding: 0 6px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink2);
  transition: color .25s ease;
}

.hnav > a:not(.ctrl):hover { color: var(--ink); }

/* ---- 头像 + 一句话 ---- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding: 26px 28px;
  background: var(--gl-bg);
  border: 1px solid var(--gl-bd);
  border-radius: var(--r-2xl);
  box-shadow: var(--gl-shadow);
  backdrop-filter: blur(2px) saturate(1.8);
  -webkit-backdrop-filter: blur(2px) saturate(1.8);
  animation: fxIn .62s var(--fx-e) backwards;
  animation-delay: 70ms;
  transition: background .25s ease, border-color .25s ease;
}

.hero__avatar {
  position: relative;
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line2);
}

.hero__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__initial {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--on-brand);
  background: var(--brand);
}

.hero__avatar.is-fallback .hero__initial { display: grid; }

.hero__text { min-width: 0; }

.hero__name {
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.25;
}

.hero__line {
  margin-top: 6px;
  font-size: var(--fs-lg);
  color: var(--ink3);
}

.ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  background: var(--ctrl);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .45s var(--fx-e);
}

.ctrl:hover { transform: translateY(-2px); }

.ctrl svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 主题按钮：透明底 + 极浅描边，文案按主题切换 */
#btnTheme {
  background: transparent;
  border-color: var(--btn-bd);
  box-shadow: none;
}

#btnTheme:hover {
  background: var(--btn-hv);
  border-color: var(--btn-bd);
}

#btnTheme::after { content: "霞染"; }
html[data-theme="dark"] #btnTheme::after { content: "夜临"; }

#btnTheme .ico-sun { display: block; }
#btnTheme .ico-moon { display: none; }
html[data-theme="dark"] #btnTheme .ico-sun { display: none; }
html[data-theme="dark"] #btnTheme .ico-moon { display: block; }

/* ============================================================
   6. 分组标签 + 网格
   ============================================================ */
.group { margin-top: 34px; }
.group:first-of-type { margin-top: 22px; }

.glabel {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--ink3);
}

.glabel__n {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.grid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  align-items: start;
}

/* ============================================================
   7. 卡片
   ============================================================ */
.grid > .tile:nth-child(6n+1) { --acL: #43619B; --acD: #6E8AC0; }
.grid > .tile:nth-child(6n+2) { --acL: #0E8F6E; --acD: #109F7A; }
.grid > .tile:nth-child(6n+3) { --acL: #7C4DE0; --acD: #9975E7; }
.grid > .tile:nth-child(6n+4) { --acL: #C77800; --acD: #D49000; }
.grid > .tile:nth-child(6n+5) { --acL: #E5384A; --acD: #E95767; }
.grid > .tile:nth-child(6n+6) { --acL: #6E9300; --acD: #759C00; }

.tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;

  --ac: var(--acL);
  --acbg: rgba(128, 128, 128, .10);
  --acsh: rgba(128, 128, 128, .50);
  --acline: rgba(128, 128, 128, .30);
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --lift: 0px;

  background: var(--panel);
  background-image: linear-gradient(155deg, var(--acbg), transparent 58%);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
  color: var(--ink);

  transform: perspective(900px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--fx-e),
              box-shadow .28s ease, border-color .2s ease, background .25s ease;
  will-change: transform;
}

@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .tile {
    --acbg: color-mix(in srgb, var(--ac) 10%, transparent);
    --acsh: color-mix(in srgb, var(--ac) 50%, transparent);
    --acline: color-mix(in srgb, var(--ac) 30%, transparent);
  }
}

html[data-theme="dark"] .tile { --ac: var(--acD); }

/* 入场：四张一组、每张差 70ms 的呼吸波（backwards，避免和 hover 的 transform 打架） */
.grid > .tile {
  animation: fxIn .62s var(--fx-e) backwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fxIn {
  from { opacity: 0; transform: perspective(900px) translateY(16px); }
  to   { opacity: 1; transform: perspective(900px) translateY(0); }
}

.grid > .tile:nth-child(4n+1) { --d: 0ms; }
.grid > .tile:nth-child(4n+2) { --d: 70ms; }
.grid > .tile:nth-child(4n+3) { --d: 140ms; }
.grid > .tile:nth-child(4n+4) { --d: 210ms; }

.tile:hover {
  --lift: -3px;
  border-color: var(--ac);
  box-shadow: 0 16px 34px -16px var(--acsh);
}

/* ---- 特效层（在最底） ---- */
.tile > .fxhl {
  position: absolute;
  left: 0;
  top: 0;
  width: 680px;
  height: 680px;
  margin: -340px 0 0 -340px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--acsh), transparent 62%);
  opacity: 0;
  transition: opacity .34s ease;
  pointer-events: none;
  z-index: 0;
}

.tile:hover .fxhl { opacity: .32; }

.tile > .fxwipe {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(105deg, transparent 0 20px, var(--acsh) 20px 28px);
  opacity: 0;
  transform: translateX(-110%);
  pointer-events: none;
  z-index: 0;
}

.tile:hover > .fxwipe {
  opacity: .26;
  animation: fxwipe .72s var(--fx-ew) forwards;
}

@keyframes fxwipe {
  from { transform: translateX(-110%); }
  to   { transform: translateX(110%); }
}

/* ---- 内容层 ---- */
.tile > *:not(.fxhl):not(.fxwipe) {
  position: relative;
  z-index: 1;
}

/* 图标浮起（emoji 字形，不是 SVG）。
   flex:none + align-self:flex-start 不能省：.tile 是纵向 flex 容器，
   .te 作为子项默认被 stretch 撑满整行宽度，transform-origin 就会落到整张卡的
   宽度中心，一缩放图标就被甩出卡片（实测会飞到 left:-84px）。
   line-height:1 让盒高等同字号，避免字形上下留白把卡片撑高。 */
.te {
  display: block;
  flex: none;
  align-self: flex-start;
  font-size: 24px;
  line-height: 1;
  transition: transform .6s cubic-bezier(.34, 1.4, .5, 1);
}

.tile:hover .te { transform: translateY(-2px) rotate(360deg) scale(1.05); }

.trow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.tt {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.35;
}

.tkick {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--ink3);
  white-space: nowrap;
}

.tdesc {
  font-size: var(--fs-base);
  color: var(--ink3);
  line-height: 1.85;
}

.tstat {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tstat i {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--ac);
  background: var(--acbg);
  box-shadow: inset 0 0 0 1px var(--acline);
  padding: 1px 6px;
  border-radius: var(--r-xs);
  font-variant-numeric: tabular-nums;
}

.tgo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--ac);
}

.tgo svg {
  width: 11px;
  height: 11px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s;
}

.tile:hover .tgo svg { transform: translateX(3px); }

/* 还没填链接的卡片：降调，不暗示可点 */
.tile--soon { cursor: default; }

.tile--soon .tgo { color: var(--ink3); }

/* emoji 吃不到 color，要把它降调只能靠滤镜 */
.tile--soon .te {
  filter: grayscale(1);
  opacity: .55;
}

.tile--soon .tstat i {
  color: var(--ink3);
  background: var(--line2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.tile--soon:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

/* ============================================================
   8. 子页面（项目详情 / 关于）
   ============================================================ */
.panel {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 30px 32px 34px;
  background: var(--gl-bg);
  border: 1px solid var(--gl-bd);
  border-radius: var(--r-2xl);
  box-shadow: var(--gl-shadow);
  backdrop-filter: blur(2px) saturate(1.8);
  -webkit-backdrop-filter: blur(2px) saturate(1.8);
  animation: fxIn .62s var(--fx-e) backwards;
  animation-delay: 60ms;
  transition: background .25s ease, border-color .25s ease;
}

.back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 14px 0 10px;
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink2);
  transition: color .25s ease, background .25s ease;
}

.back:hover { color: var(--ink); background: var(--btn-hv); }

.back svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kick {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--brand);
}

.ptitle {
  margin-top: 5px;
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.3;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 66ch;
  margin-top: 20px;
}

.prose p {
  font-size: var(--fs-lg);
  line-height: 2.05;
  color: var(--ink2);
}

.prose p:first-child { color: var(--ink); }

/* 项目详情 */
.detail .te {
  font-size: 34px;
  margin-bottom: 14px;
}

.detail__lede {
  max-width: 44ch;
  margin-top: 12px;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink2);
}

.detail__kws {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--ink3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 19px;
  border-radius: var(--r-md);
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--fs-md);
  font-weight: 700;
  transition: transform .45s var(--fx-e), filter .25s ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s;
}

.btn:hover svg { transform: translateX(3px); }

.missing {
  font-size: var(--fs-lg);
  line-height: 1.9;
  color: var(--ink2);
}

/* ============================================================
   9. 页脚
   ============================================================ */
.foot {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.foot__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--ink3);
}

.foot__dot { color: var(--brand); }

.foot__link {
  color: var(--ink2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s ease;
}

.foot__link:hover { color: var(--ink); }

.noscript {
  position: relative;
  z-index: 1;
  padding: 20px 22px;
  text-align: center;
  font-size: var(--fs-md);
  color: var(--ink2);
}

.noscript a { color: var(--brandText); text-decoration: underline; }

/* ============================================================
   10. 窄屏
   ============================================================ */
@media (max-width: 560px) {
  .app { padding: 20px 14px 44px; }

  header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: var(--fs-md);
  }

  .hnav { gap: 6px; }

  .hnav > a:not(.ctrl) { padding: 0 4px; }

  .hero {
    gap: 16px;
    padding: 18px;
  }

  .hero__avatar {
    width: 78px;
    height: 78px;
    border-radius: var(--r-md);
  }

  .hero__name { font-size: var(--fs-2xl); }

  .hero__line { font-size: var(--fs-md); }

  .panel { padding: 20px 18px 24px; }

  .ptitle { font-size: var(--fs-2xl); }

  .prose p { font-size: var(--fs-md); line-height: 1.95; }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .tile { padding: 12px 10px 11px; gap: 8px; }

  .tt { font-size: var(--fs-lg); }

  .trow { flex-direction: column; gap: 2px; }

  .tdesc { font-size: var(--fs-sm); line-height: 1.75; }

  .te:hover { transform: none; }
}

/* ============================================================
   11. 可访问性：减少动效 / 触屏
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .fxbgglow,
  .tile,
  .ctrl,
  .hnav a,
  .back,
  .foot__link { transition: none; }

  header,
  .hero,
  .panel,
  .grid > .tile { animation: none; }

  .grid > .tile,
  .grid > .tile:hover { transform: none; }

  .tile > .fxhl,
  .tile > .fxwipe { display: none; }

  .te,
  .tgo svg,
  .brand-mark,
  .btn { transition: none; }

  .tile:hover .te,
  .tile:hover .tgo svg { transform: none; }
  .brand-mark:hover,
  .btn:hover { transform: none; }
}

@media (hover: none) {
  .tile > .fxhl,
  .tile > .fxwipe { display: none; }

  .tile:hover { --lift: 0px; border-color: var(--line); box-shadow: var(--shadow); }

  /* 触屏上 :hover 会粘住，图标不能被留在抬起状态 */
  .tile:hover .te { transform: none; }
}

/* ============================================================
   12. 跨页过渡（多页站才有用；浏览器不支持时静默跳过）
   ============================================================ */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vtOut .16s ease both; }
::view-transition-new(root) { animation: vtIn .32s cubic-bezier(.22, .9, .28, 1) both; }

@keyframes vtIn  { from { opacity: 0; transform: translateY(8px); } }
@keyframes vtOut { to   { opacity: 0; } }

/* 头部跨页不重画，只是轻轻挪一下 */
::view-transition-old(site-header) { animation: vtHdrOut .22s cubic-bezier(.5, 0, .75, 0) both; }
::view-transition-new(site-header) { animation: vtHdrIn .34s cubic-bezier(.22, .9, .28, 1) .08s both; }

@keyframes vtHdrIn  { from { opacity: 0; transform: translateY(-16px); } }
@keyframes vtHdrOut { to   { opacity: 0; transform: translateY(-16px); } }
