@font-face {
  font-family: "NJ Title";
  src: url("fonts/title.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "NJ Latin";
  src: url("fonts/latin.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "NJ Latin";
  src: url("fonts/latin-upright.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NJ Arabic";
  src: url("fonts/arabic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "NJ Korean";
  src: url("fonts/korean.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "NJ Japanese";
  src: url("fonts/japanese.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #F6F1E8;
  --paper-rgb: 246, 241, 232;
  --paper-intro: #F5EEE2;    /* 写字过场：比 --paper 只暖一丝，结束时退回 --paper */
  --ink: #1E1B18;
  --ink-soft: #5A524A;
  --cinnabar: #C83323;
  --teal: #0E6E6B;
  --gold: #C9A15A;
  --cjk: "NJ Title", "Kaiti SC", "STKaiti", "KaiTi", serif;
  --latin: "NJ Latin", "Cormorant Garamond", Georgia, serif;
  /* 舞台按 16:9 铺满视口（等同 background-size: cover），--u 为舞台宽度的 1% */
  --stage-w: max(100vw, 177.78vh);
  --stage-h: max(100vh, 56.25vw);
  --u: calc(var(--stage-w) / 100);
  --px: 0;
  --py: 0;
  --pu: .205vw;   /* 视差单位：手机的八成手感（.256vw = 手机满幅） */
}

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

html, body { height: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--cjk);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 写字过场的纸色：单独一层盖在米白上，只改透明度退场（交给合成器，不触发整页重绘） */
.paper-tint {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--paper-intro);
  opacity: 0;
  transition: opacity 2.6s ease;
  will-change: opacity;
}
.paper-tint::before {                 /* 淡淡的水渍 + 四周微微泛黄 */
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, transparent 55%, rgba(150, 112, 60, .1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1600'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0022' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .48  0 0 0 0 .36  0 0 0 0 .18  0 0 0 -2.4 1.3'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E") center / 1600px 1600px;
  opacity: .06;
}
.paper-intro .paper-tint { opacity: 1; }

/* 纸面纤维颗粒（最上层） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .3  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--stage-w);
  height: var(--stage-h);
  translate: -50% -50%;
}

/* ---------- 开场时间线（单位：秒）----------
   ① 书写（main.js）：字逐个墨晕渐入，自右而左一列列、每列自上而下；开头几字大而慢
   ② 镜头（main.js）独立于书写：右上角大特写 → 慢速笔直顺第一列往下两个字左右
      → 平滑曲线由竖转横、移向画卷中心并拉远；后段墨色淡成底纹，约 7.2 秒结束
   ③ 写名：校名（篆）逐字刷出，盖印
   ④ 天地：太阳 → 右下青山 → 远山 → 左下祥云 → 飘带
   ⑤ 卷轴自左向右展开，仙鹤随之出现，鹤鸣
   ⑥ 文字信息与语言栏                                                     */
:root {
  --at-name: 6.8s;
  --at-seal: 9.6s;
  --at-sun: 8.2s;
  --at-mountain: 8.8s;
  --at-peaks: 9.2s;
  --at-cloud: 9.6s;
  --at-flame: 10.0s;
  --at-scroll: 10.4s;
  --at-info: 11.8s;
  --at-langs: 12.6s;
}

/* 篆字：每个字是一张矢量字形（img/seal-glyphs.svg），按 1em 方块排 */
.g { display: inline-block; width: 1em; height: 1em; vertical-align: top; }
.g svg { display: block; width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: var(--ink, 0); stroke-linejoin: round; overflow: visible; }
/* 篆字笔画细：描一圈同色边让墨更饱满（只是绘制效果，字形本身不变） */
.classic { --ink: 14; }
.name    { --ink: 26; }
.msg     { --ink: 34; }
.msg .g  { margin-inline-end: .14em; }
.seal    { --ink: 40; }

/* ---------- 底纹经文 ---------- */
.classic {
  position: absolute;
  inset: 3% 2% 3% 2%;
  writing-mode: vertical-rl;
  font-size: calc(var(--u) * 4.4);
  line-height: 1.68;
  color: #15110E;
  opacity: .024;
  overflow: hidden;
  transform-origin: 0 0;
  will-change: transform, opacity;
}
.classic .c { margin-inline-end: .1em; }
/* ①② 镜头由 main.js 驱动：贴近、跟着笔锋移动，写到后段拉远并淡成底纹 */
.js .classic { opacity: 0; }

/* 每个字像校名一样逐字墨晕渐入（斜向软边扫过 + 由虚到实）；起笔时刻 --d、时长 --w 由 main.js 排定 */
.classic .c {
  -webkit-mask-image: linear-gradient(155deg, #000 42%, transparent 58%);
          mask-image: linear-gradient(155deg, #000 42%, transparent 58%);
  -webkit-mask-size: 100% 320%;
          mask-size: 100% 320%;
  animation: ink-char var(--w, .7s) var(--d, calc(var(--i) * 45ms)) cubic-bezier(.55, .1, .3, 1) both;
}
/* 与校名的 brush 同形，但不加模糊：十几个字同时晕开时，模糊滤镜会拖慢帧率 */
@keyframes ink-char {
  from { -webkit-mask-position: 0 100%; mask-position: 0 100%; opacity: .35; }
  40%  { opacity: 1; }
  to   { -webkit-mask-position: 0 0;    mask-position: 0 0;    opacity: 1; }
}

/* ---------- 图层 ---------- */
.layer {
  position: absolute;
  /* 位移 = 偏移量 × 深度 × 单位；单位随屏宽等比（手机 390px 宽时 ≈ 1px），大屏不至于动得太小 */
  translate: calc(var(--px) * var(--d, 0) * var(--pu)) calc(var(--py) * var(--d, 0) * var(--pu));
  transition: translate 1.2s cubic-bezier(.2,.7,.2,1);
}
.layer img { display: block; width: 100%; height: auto; }
/* 陀螺仪读数是连续流入的，过渡缩短，跟手又不抖 */
.gyro .layer { transition-duration: .45s; }

.l-flame    { left: 0;   top: 0;   width: 18%; --d: 14; }
.l-sun      { left: 75%; top: -15%; width: 30%; --d: 6; }   /* 露出大半个太阳 */
.l-peaks    { left: 53%; top: 14%; width: 47%; --d: 10; }
.l-mountain { left: 48%; top: 54%; width: 52%; --d: 24; }
.l-cloud    { left: 0;   top: 48%; width: 40%; --d: 30; }
.l-scroll   { left: 3%;  top: 52%; width: 81%; --d: 18; }

.l-peaks img, .l-mountain img { scale: -1 1; }

/* ④⑤ 入场，之后转入极慢的常态微动 */
.l-sun img      { transform-origin: 50% 50%;
                  animation: sun-in 2.8s var(--at-sun) cubic-bezier(.2,.7,.2,1) both,
                             sun-breathe 10s calc(var(--at-sun) + 2.8s) ease-in-out infinite alternate; }
.l-mountain img { animation: rise 2.6s var(--at-mountain) cubic-bezier(.2,.7,.2,1) both; }
.l-peaks img    { animation: rise-far 2.8s var(--at-peaks) cubic-bezier(.2,.7,.2,1) both; }
.l-cloud img    { animation: from-left 2.8s var(--at-cloud) cubic-bezier(.2,.7,.2,1) both,
                             drift 22s calc(var(--at-cloud) + 2.8s) ease-in-out infinite alternate; }
.l-flame img    { transform-origin: 0 100%;
                  animation: from-left 2.6s var(--at-flame) cubic-bezier(.2,.7,.2,1) both,
                             sway 14s calc(var(--at-flame) + 2.6s) ease-in-out infinite alternate; }
.l-scroll img   { animation: unroll 3.2s var(--at-scroll) cubic-bezier(.45,.05,.25,1) both,
                             float 11s calc(var(--at-scroll) + 3.2s) ease-in-out infinite alternate; }

@keyframes sun-in      { from { opacity: 0; translate: 0 14%; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes sun-breathe { from { scale: 1; filter: saturate(1); } to { scale: 1.035; filter: saturate(1.12) brightness(1.03); } }
@keyframes from-left   { from { opacity: 0; translate: -12% 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rise        { from { opacity: 0; translate: 0 14%; } to { opacity: 1; translate: 0 0; } }
@keyframes rise-far    { from { opacity: 0; translate: 0 6%; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes sway        { from { rotate: 0deg; } to { rotate: 2deg; } }
@keyframes drift       { from { translate: 0 0; } to { translate: 3.5% -1.2%; } }
@keyframes float       { from { translate: 0 0; } to { translate: 0 -2.5%; } }
/* 卷轴自左向右展开，边缘柔和 */
@keyframes unroll {
  from { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  12%  { opacity: 1; }
  to   { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.l-scroll img {
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
          mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 300% 100%;
          mask-size: 300% 100%;
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
}

/* ---------- 标题 ---------- */
.title {
  position: absolute;
  left: 50%;
  top: 15%;
  translate: -50% 0;
  width: min(92vw, 62rem);
  text-align: center;
  --t: min(5.6vw, 9.4vh);
}
@keyframes text-in {
  from { opacity: 0; filter: blur(10px); }
  to   { opacity: 1; filter: blur(0); }
}
.logo { animation: text-in 2s var(--at-name) ease both; }
.msgs, .domain { animation: text-in 2s var(--at-info) ease both; }

/* ③ 写名：每个字由左上向右下刷出（软边遮罩扫过 + 墨色由虚到实） */
.name .ch {
  display: inline-block;
  margin-inline-end: .14em;
  -webkit-mask-image: linear-gradient(155deg, #000 42%, transparent 58%);
          mask-image: linear-gradient(155deg, #000 42%, transparent 58%);
  -webkit-mask-size: 100% 320%;
          mask-size: 100% 320%;
  animation: brush 1.25s calc(var(--at-name) + .35s + var(--i) * .3s) cubic-bezier(.55, .1, .3, 1) both;
}
@keyframes brush {
  from { -webkit-mask-position: 0 100%; mask-position: 0 100%; filter: blur(2.5px); opacity: .6; }
  35%  { opacity: 1; }
  to   { -webkit-mask-position: 0 0;    mask-position: 0 0;    filter: blur(0);     opacity: 1; }
}

/* 校名：简体 / 繁体两套叠在同一格，随语言切换 */
h1 {
  display: grid;
  justify-items: center;
  font-weight: 400;
}
h1 .script {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: flex-start;
  gap: calc(var(--t) * .28);
  visibility: hidden;
}
h1 .script.active { visibility: visible; }
h1 .script.swap-in  { animation: ink-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
h1 .script.swap-out { visibility: visible; animation: ink-out 1.1s ease both; }
h1 .script.swap-in .seal { animation: stamp .9s .5s cubic-bezier(.3,1.6,.5,1) both; }
.name {
  font-size: var(--t);
  margin-right: -.14em;
  line-height: 1.2;
  white-space: nowrap;
}
.seal {
  flex: none;
  display: flex;
  flex-direction: column;    /* 两个篆字上下排 */
  align-items: center;
  justify-content: center;
  gap: .06em;
  width: calc(var(--t) * .56);
  height: calc(var(--t) * .96);
  margin-top: .1em;
  background: url("img/seal-red-blank.png") center / 100% 100% no-repeat;
  font-size: calc(var(--t) * .36);
  line-height: 1.05;
  letter-spacing: .02em;
  color: #FBF4EA;
  animation: stamp .9s var(--at-seal) cubic-bezier(.3,1.6,.5,1) both;
}
@keyframes stamp {
  from { opacity: 0; scale: 1.6; rotate: -8deg; }
  to   { opacity: 1; scale: 1; rotate: 0deg; }
}

.logo {
  display: block;
  width: calc(var(--t) * 1.25);
  height: auto;
  margin: 0 auto calc(var(--t) * .35);
}

.msgs {
  display: grid;
  margin-top: calc(var(--t) * .55);
  font-size: calc(var(--t) * .42);
  color: var(--ink-soft);
}
.msg {
  grid-area: 1 / 1;
  letter-spacing: .14em;
  opacity: 0;
  visibility: hidden;
}
.msg:lang(en), .msg:lang(fr), .msg:lang(es), .msg:lang(ru), .msg:lang(de) {
  font-family: var(--latin);
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: .06em;
}
.msg:lang(ar) { font-family: "NJ Arabic", "Geeza Pro", serif; letter-spacing: 0; font-size: 1.12em; }
.msg:lang(ko) { font-family: "NJ Korean", "AppleMyungjo", serif; }
.msg:lang(ja) { font-family: "NJ Japanese", var(--cjk); }

.msg.active  { visibility: visible; animation: ink-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
.msg.leaving { visibility: visible; animation: ink-out 1.1s ease both; }

/* 墨晕：由散而聚 / 由聚而散 */
@keyframes ink-in {
  from { opacity: 0; filter: blur(12px); scale: 1.04; }
  45%  { opacity: .9; }
  to   { opacity: 1; filter: blur(0); scale: 1; }
}
@keyframes ink-out {
  from { opacity: 1; filter: blur(0); scale: 1; }
  to   { opacity: 0; filter: blur(9px); scale: .97; }
}

.domain {
  margin-top: calc(var(--t) * .5);
  font-family: var(--latin);
  font-size: calc(var(--t) * .26);
  letter-spacing: .32em;
  color: var(--cinnabar);
  text-transform: uppercase;
}

/* ---------- 署名：电脑左下角、手机最底下，一行小字 ---------- */
.credit {
  position: absolute;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  margin: 0;
  font: 400 10.5px/1.4 "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .06em;
  color: rgba(90, 82, 74, .78);
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(var(--paper-rgb), .72);
  animation: text-in 2s var(--at-langs) ease both;
}
.credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(90, 82, 74, .25); }
.credit a:hover { color: var(--ink-soft); }
@media (max-width: 760px) {
  .credit { left: 50%; right: auto; translate: -50% 0; bottom: max(6px, env(safe-area-inset-bottom)); white-space: nowrap; font-size: 9.5px; }
}

/* ---------- 跳过开场：右上角图标，只在开场前段出现 ---------- */
.skip {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--paper-rgb), .8);
  color: var(--ink-soft);
  cursor: pointer;
  animation: text-in 1.2s .8s ease both;
  transition: opacity .8s ease, color .4s;
}
.skip svg { width: 20px; height: 20px; }
.skip[hidden] { display: none; }
.skip.gone { opacity: 0; pointer-events: none; }
.skip:hover { color: var(--ink); }
.skip:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 3px; }
@media (max-width: 760px) { .skip { width: 36px; height: 36px; top: max(14px, env(safe-area-inset-top)); right: 14px; } }

/* ---------- 声音按钮：全程显示 ---------- */
.sound {
  position: absolute;
  /* 右下角，与语言栏同一水平线；手机上移到语言栏上方 */
  bottom: max(2.4vh, env(safe-area-inset-bottom));
  right: max(18px, env(safe-area-inset-right));
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--paper-rgb), .8);
  color: var(--ink-soft);
  cursor: pointer;
  animation: text-in 1.2s .8s ease both;
  transition: color .6s, background-color .6s;
}
.sound[hidden] { display: none; }
.sound svg { width: 20px; height: 20px; }
.sound .wave { opacity: .35; transition: opacity .6s; }
.sound[aria-pressed="true"] { color: var(--cinnabar); }
.sound[aria-pressed="true"] .wave { opacity: 1; }
/* 浏览器拦下自动播放时，轻轻提示：点任意处或点这里就有声音 */
.sound.nudge { color: var(--cinnabar); animation: text-in 1.2s .8s ease both, nudge 2.4s 2s ease-in-out 4; }
@keyframes nudge { 50% { box-shadow: 0 0 0 8px rgba(200, 51, 35, .12); } }
.sound:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 3px; }

@media (max-width: 760px) {
  .sound { bottom: calc(max(2.4vh, env(safe-area-inset-bottom)) + 70px); right: 16px; width: 36px; height: 36px; }
}

/* ---------- 语言切换 ---------- */
.langs {
  position: absolute;
  left: 50%;
  bottom: max(2.4vh, env(safe-area-inset-bottom));
  translate: -50% 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem .9rem;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: .45rem 1.1rem;
  border-radius: 999px;
  background: rgba(var(--paper-rgb), .75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: text-in 2s var(--at-langs) ease both;
}
.langs button {
  appearance: none;
  border: 0;
  background: none;
  font: 500 .86rem/1.6 var(--latin);
  letter-spacing: .06em;
  color: var(--ink-soft);
  cursor: pointer;
  padding: .1rem 0;
  border-bottom: 1px solid transparent;
  transition: color 1s ease, border-color 1s ease;
}
.langs button:lang(zh-Hans) { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: .76rem; font-weight: 300; letter-spacing: .1em; }
.langs button:lang(zh-Hant) { font-family: "PingFang TC", "PingFang SC", "Microsoft JhengHei", sans-serif; font-size: .76rem; font-weight: 300; letter-spacing: .1em; }
.langs button:lang(ja) { font-family: "NJ Japanese", var(--cjk); font-size: .76rem; }
.langs button:lang(ko) { font-family: "NJ Korean", serif; font-size: .76rem; }
.langs button:lang(ar) { font-family: "NJ Arabic", serif; font-size: .9rem; letter-spacing: 0; }
.langs button:hover { color: var(--ink); }
.langs button[aria-current="true"] { color: var(--cinnabar); border-bottom-color: currentColor; }
.langs button:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 3px; }

/* ---------- 竖屏（手机） ---------- */
@media (max-aspect-ratio: 4/5) {
  :root { --pu: 1px; }
  :root { --u: 1vw; }
  .stage { width: 100%; height: 100%; }
  .classic { inset: 2% 6% 2% 3%; font-size: 8.4vw; }

  .l-sun      { left: auto; right: -14vw; top: -12vw; width: 60vw; }
  .l-flame    { left: -3vw; top: -2vw;   width: 25vw; }
  .l-peaks    { left: auto; right: -30vw; top: auto; bottom: 22svh; width: 96vw; }
  .l-mountain { left: auto; right: -20vw; top: auto; bottom: -1svh; width: 116vw; }
  .l-cloud    { left: -10vw; top: auto;   bottom: -2svh; width: 88vw; }
  .l-scroll   { left: -26vw; top: auto;   bottom: 10svh; width: 150vw; }   /* 压低，让后面的远山透出来 */

  .title { top: 35svh; --t: 7.4vw; }   /* 下移，填上与卷轴之间的空白 */
  .logo { width: calc(var(--t) * 1.6); }
  .name { letter-spacing: .08em; margin-right: -.08em; }
  .msgs  { font-size: calc(var(--t) * .56); }
  .domain { font-size: calc(var(--t) * .32); }

}

/* 窄屏：语言栏保持一行，横向滑动 */
@media (max-width: 760px) {
  .langs {
    bottom: calc(max(2.4vh, env(safe-area-inset-bottom)) + 16px);   /* 给最底下的署名让出一行 */
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100vw - 32px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  }
  /* 脚本缓动滚动期间关掉吸附，免得两者互相拉扯 */
  .langs.tweening { scroll-snap-type: none; }
  .langs::-webkit-scrollbar { display: none; }
  .langs button { flex: none; white-space: nowrap; scroll-snap-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .layer { transition: none; }
  /* 不播开场，直接呈现最终画面 */
  .js .classic { opacity: .024; }
  .layer img, .classic, .classic .c, .name .ch, .seal, .logo, .msgs, .domain, .credit, .langs, .sound, .skip { animation: none !important; }
  .classic .c, .name .ch { -webkit-mask-image: none; mask-image: none; }
  .l-scroll img { -webkit-mask-image: none; mask-image: none; }
  .msg.active  { animation: fade-in .6s ease both; }
  .msg.leaving { animation: fade-out .4s ease both; }
  @keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }
  @keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
}
