/* ============================================================
   ██████  —  一处不留姓名的祭堂
   ============================================================ */

:root{
  --ink:        #07060a;
  --ink-2:      #0c0a10;
  --bone:       #cdc5b2;
  --bone-dim:   #8b8375;
  --bone-faint: #5d574d;
  --blood:      #7d1a1a;
  --blood-lit:  #a8302a;
  --ember:      #e0a35a;
  --paper:      #b9b1a0;

  --f-serif: "Songti SC","STSong","SimSun","Noto Serif SC","Source Han Serif SC","Songti TC",serif;
  --f-kai:   "Kaiti SC","STKaiti","KaiTi","Noto Serif SC",serif;
}

*{ box-sizing:border-box; }

html,body{ margin:0; padding:0; background:var(--ink); }

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

body{
  min-height:100%;
  color:var(--bone);
  font-family:var(--f-serif);
  letter-spacing:.06em;
  overflow-x:hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, #15110f 0%, #0a080c 42%, #050409 100%),
    var(--ink);
}

::selection{ background:rgba(125,26,26,.55); color:#f3ece0; }

/* ---------- 全屏氛围层 ---------- */

.grain,
.vignette,
.ash,
.glow,
.flicker{ position:fixed; inset:0; pointer-events:none; }

.grain{
  z-index:70;
  opacity:.075;
  mix-blend-mode:overlay;
  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='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grainShift 1.1s steps(4) infinite;
}
@keyframes grainShift{
  0%{ transform:translate3d(0,0,0); }
  25%{ transform:translate3d(-2%,1%,0); }
  50%{ transform:translate3d(1%,-2%,0); }
  75%{ transform:translate3d(-1%,-1%,0); }
  100%{ transform:translate3d(0,0,0); }
}

.vignette{
  z-index:60;
  background:
    radial-gradient(72% 58% at 50% 44%, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 64%, rgba(0,0,0,.74) 100%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 80%, rgba(0,0,0,.55) 100%);
}

.ash{ z-index:3; opacity:.55; }

.glow{
  z-index:2;
  width:420px; height:420px;
  inset:auto;
  border-radius:50%;
  background:radial-gradient(circle, rgba(224,163,90,.16) 0%, rgba(160,60,40,.07) 38%, rgba(0,0,0,0) 68%);
  filter:blur(14px);
  transform:translate(-50%,-50%);
  left:50%; top:40%;
  transition:opacity .8s ease;
  opacity:.9;
}

.flicker{
  z-index:65;
  opacity:0;
  background:#000;
  transition:opacity .07s linear;
}
.flicker.on{ opacity:.55; }
.flicker.on-hard{ opacity:.82; }

/* ---------- 入口 ---------- */

.gate{
  position:fixed; inset:0; z-index:90;
  display:grid; place-items:center;
  background:radial-gradient(80% 60% at 50% 48%, #0c0a0e 0%, #050408 70%, #030206 100%);
  transition:opacity 1.4s ease, visibility 1.4s;
}
.gate.out{ opacity:0; visibility:hidden; }

.gate-inner{ text-align:center; padding:0 28px; max-width:520px; }

.gate-mark{
  margin:0 0 26px;
  font-family:var(--f-kai);
  font-size:44px;
  line-height:1;
  color:var(--blood-lit);
  opacity:.72;
  letter-spacing:.1em;
  text-shadow:0 0 34px rgba(168,48,42,.45);
}

.gate-line{
  margin:0 0 18px;
  font-size:20px;
  letter-spacing:.5em;
  color:var(--bone);
  opacity:.88;
}

.gate-sub{
  margin:0 0 42px;
  font-size:13px;
  line-height:2;
  letter-spacing:.16em;
  color:var(--bone-dim);
}

.gate-btn{
  appearance:none;
  background:transparent;
  border:1px solid rgba(205,197,178,.28);
  color:var(--bone);
  font-family:var(--f-serif);
  font-size:15px;
  letter-spacing:.42em;
  padding:15px 34px 15px 40px;
  cursor:pointer;
  transition:border-color .6s, color .6s, box-shadow .6s, background .6s;
}
.gate-btn:hover,
.gate-btn:focus-visible{
  border-color:rgba(168,48,42,.7);
  color:#f0e7d8;
  background:rgba(125,26,26,.12);
  box-shadow:0 0 40px rgba(125,26,26,.28), inset 0 0 22px rgba(125,26,26,.12);
  outline:none;
}

.gate-tip{
  margin:46px 0 0;
  font-size:11px;
  letter-spacing:.22em;
  color:var(--bone-faint);
  opacity:.8;
}

/* ---------- 灵堂主体 ---------- */

.hall{
  position:relative;
  z-index:5;
  padding:clamp(44px,9vh,96px) 22px 80px;
  animation:hallIn 2.6s ease both;
}
@keyframes hallIn{
  from{ opacity:0; filter:blur(6px); }
  to{ opacity:1; filter:blur(0); }
}

.hall-inner{
  position:relative;
  max-width:680px;
  margin:0 auto;
}

/* ---------- 额上的奠 ---------- */

.plaque{
  position:relative;
  width:58px; height:58px;
  margin:0 auto 32px;
  display:grid;
  place-items:center;
  border:1px solid rgba(205,197,178,.22);
  box-shadow:
    0 0 32px rgba(143,31,28,.18),
    inset 0 0 20px rgba(143,31,28,.12);
}
.plaque::after{
  content:"";
  position:absolute;
  inset:3px;
  border:1px solid rgba(205,197,178,.07);
}
.plaque span{
  font-family:var(--f-kai);
  font-size:26px;
  line-height:1;
  color:#b3483c;
  opacity:.9;
  text-shadow:0 0 18px rgba(179,72,60,.5);
}

/* ---------- 挽联 ---------- */

.couplet{
  position:fixed;
  top:14vh;
  writing-mode:vertical-rl;
  text-orientation:upright;
  font-family:var(--f-kai);
  font-size:17px;
  letter-spacing:.42em;
  line-height:2.1;
  color:rgba(205,197,178,.5);
  z-index:6;
  transition:opacity 1.2s;
  text-shadow:0 0 18px rgba(0,0,0,.9);
}
.couplet-r{ right:clamp(18px,4vw,64px); }
.couplet-l{ left:clamp(18px,4vw,64px); opacity:.72; }

@media (max-width:1000px){
  .couplet{ font-size:14px; opacity:.38; }
  .couplet-l{ opacity:.3; }
}
@media (max-width:760px){
  .couplet{ display:none; }
}

/* ---------- 头部 ---------- */

.head{ text-align:center; }

.kicker{
  margin:0 0 26px;
  font-size:11px;
  letter-spacing:.46em;
  color:var(--bone-faint);
  opacity:.9;
}

.name{
  margin:0;
  font-size:clamp(28px,8.4vw,54px);
  font-weight:400;
  letter-spacing:.16em;
  color:var(--bone);
  white-space:nowrap;
  text-shadow:0 0 46px rgba(224,163,90,.16), 0 0 3px rgba(0,0,0,.9);
  animation:nameFlicker 9s infinite;
}
@keyframes nameFlicker{
  0%,96%,100%{ opacity:1; }
  96.6%{ opacity:.62; }
  97.2%{ opacity:1; }
  97.8%{ opacity:.5; }
  98.4%{ opacity:1; }
}

.dates{
  margin:20px 0 0;
  font-size:12.5px;
  letter-spacing:.2em;
  color:var(--bone-dim);
}
.dates span{
  display:inline-block;
  margin:0 .9em;
}
.origin{
  margin:10px 0 0;
  font-size:11px;
  letter-spacing:.24em;
  color:var(--bone-faint);
}

/* ---------- 遗像 ---------- */

.altar{
  margin:clamp(38px,7vh,64px) 0 0;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.portrait-box{ position:relative; }

.portrait{
  position:relative;
  width:152px;
  padding:8px;
  background:#050505;
  border:1px solid rgba(205,197,178,.32);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.9),
    0 18px 46px rgba(0,0,0,.75),
    0 0 60px rgba(224,163,90,.07);
}
.portrait::after{
  content:"";
  position:absolute; inset:3px;
  border:1px solid rgba(205,197,178,.1);
  pointer-events:none;
}

.portrait canvas{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:300/380;
  background:#0a0a0a;
  filter:contrast(1.15) brightness(.92);
}

.portrait-scan{
  position:absolute; inset:8px;
  pointer-events:none;
  background:repeating-linear-gradient(
    180deg,
    rgba(0,0,0,.32) 0px,
    rgba(0,0,0,.32) 1px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0) 4px
  );
  mix-blend-mode:multiply;
}

.portrait-cap{
  margin:12px 0 0;
  text-align:center;
  font-size:10.5px;
  letter-spacing:.3em;
  color:var(--bone-faint);
}

/* ---------- 供桌 / 蜡烛 / 香 ---------- */

.table{
  position:relative;
  margin:clamp(34px,6vh,52px) auto 0;
  width:min(100%,420px);
  height:150px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:0 30px 12px;
}
.table::after{
  content:"";
  position:absolute;
  left:-5%; right:-5%; bottom:0;
  height:8px;
  border-radius:2px;
  background:linear-gradient(180deg, rgba(70,56,42,.95) 0%, rgba(38,30,23,.95) 46%, rgba(12,9,7,.95) 100%);
  box-shadow:
    0 -1px 0 rgba(224,163,90,.14),
    inset 0 1px 0 rgba(224,163,90,.08),
    0 16px 30px rgba(0,0,0,.55);
}
.table::before{
  content:"";
  position:absolute;
  left:-6%; right:-6%; bottom:-26px;
  height:26px;
  background:linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0));
  filter:blur(6px);
}

.candle{
  position:relative;
  width:18px;
  height:104px;
  flex:0 0 auto;
}

.wax{
  position:absolute;
  left:50%; bottom:0;
  transform:translateX(-50%);
  width:16px; height:74px;
  border-radius:4px 4px 2px 2px;
  background:linear-gradient(90deg,#6f6552 0%,#cbbfa6 18%,#f2ead6 44%,#d7cbb2 68%,#8d8271 90%,#5d5546 100%);
  box-shadow:
    inset 0 -8px 12px rgba(0,0,0,.42),
    0 0 22px rgba(224,163,90,.16);
}
.wax::before{
  content:"";
  position:absolute;
  top:-4px; left:2px; right:2px;
  height:8px;
  border-radius:50%;
  background:radial-gradient(ellipse at 50% 40%, #fff6e0, #e8dcc0 60%, #b8ab90);
}
.wax::after{
  content:"";
  position:absolute;
  top:6px; right:1px;
  width:3px; height:26px;
  border-radius:0 0 3px 3px;
  background:linear-gradient(180deg, rgba(245,238,220,.85), rgba(216,203,178,.2));
}

.flame{
  position:absolute;
  left:50%; bottom:72px;
  width:13px; height:28px;
  margin-left:-6.5px;
  border-radius:50% 50% 46% 46% / 62% 62% 38% 38%;
  background:radial-gradient(ellipse at 50% 78%, #fffdf2 0%, #ffe9b0 32%, #ffb54a 58%, rgba(255,120,24,.35) 78%, rgba(255,90,10,0) 100%);
  filter:blur(1px) drop-shadow(0 0 12px rgba(255,176,72,.6)) drop-shadow(0 0 30px rgba(255,140,40,.28));
  transform-origin:50% 100%;
  animation:flame 3.1s ease-in-out infinite;
}
.flame::after{
  content:"";
  position:absolute;
  left:50%; top:34%;
  width:60px; height:74px;
  margin-left:-30px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,180,80,.16), rgba(255,150,40,0) 68%);
  pointer-events:none;
}
@keyframes flame{
  0%{   transform:scale(1,1) rotate(-1.2deg); opacity:.94; }
  18%{  transform:scale(.94,1.06) rotate(1.4deg); opacity:1; }
  37%{  transform:scale(1.04,.95) rotate(-.8deg); opacity:.9; }
  55%{  transform:scale(.9,1.1) rotate(2deg); opacity:.98; }
  71%{  transform:scale(1.02,.97) rotate(-1.6deg); opacity:.92; }
  88%{  transform:scale(.96,1.04) rotate(.9deg); opacity:1; }
  100%{ transform:scale(1,1) rotate(-1.2deg); opacity:.94; }
}

.censer{
  position:relative;
  width:140px;
  height:118px;
  flex:0 0 auto;
  display:flex;
  justify-content:center;
  align-items:flex-end;
}

.bowl{
  position:absolute;
  left:50%; bottom:0;
  width:140px; height:56px;
  transform:translateX(-50%);
  border-radius:50% 50% 44% 44% / 74% 74% 36% 36%;
  background:
    radial-gradient(ellipse at 50% 14%, #6b533c 0%, #443122 34%, #241a13 66%, #100b08 100%);
  box-shadow:
    inset 0 6px 14px rgba(0,0,0,.75),
    inset 0 -3px 8px rgba(224,163,90,.12),
    0 8px 22px rgba(0,0,0,.6);
}
.bowl::before{
  content:"";
  position:absolute;
  left:50%; top:-3px;
  width:120px; height:22px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at 50% 50%, #120d09 0%, #1d1510 62%, rgba(0,0,0,0) 100%);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.9);
}
.bowl::after{
  content:"";
  position:absolute;
  left:50%; bottom:-6px;
  width:96px; height:10px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse, rgba(0,0,0,.55), rgba(0,0,0,0) 72%);
  filter:blur(3px);
}

.stick{
  position:absolute;
  bottom:44px;
  width:2px;
  height:70px;
  background:linear-gradient(180deg, #8d7a63 0%, #5c4c3c 60%, #3a2f26 100%);
  transform-origin:50% 100%;
  z-index:2;
}
.stick.s1{ left:34%; transform:rotate(-7deg); }
.stick.s2{ left:50%; transform:rotate(0deg); height:76px; }
.stick.s3{ left:66%; transform:rotate(7deg); }

.stick i{
  position:absolute;
  top:-2px; left:50%;
  width:5px; height:5px;
  margin-left:-2.5px;
  border-radius:50%;
  background:#ff7a30;
  box-shadow:0 0 7px 3px rgba(255,110,40,.6), 0 0 16px 6px rgba(255,80,20,.22);
  animation:ember 4.3s ease-in-out infinite;
}
.stick.s1 i{ animation-delay:-1.1s; }
.stick.s3 i{ animation-delay:-2.7s; }
@keyframes ember{
  0%,100%{ opacity:.85; transform:scale(1); }
  42%{ opacity:1; transform:scale(1.18); }
  70%{ opacity:.7; transform:scale(.92); }
}

/* 烟：三层，慢慢化开 */
.stick b,
.stick u{
  position:absolute;
  top:-6px; left:50%;
  width:7px; height:7px;
  margin-left:-3.5px;
  border-radius:50%;
  background:rgba(214,209,198,.24);
  filter:blur(3px);
  opacity:0;
  animation:smoke 10s linear infinite;
}
.stick u{
  animation-duration:14s;
  animation-delay:-5s;
  background:rgba(198,192,180,.18);
}
.stick.s1 b{ animation-delay:-2s; }
.stick.s3 b{ animation-delay:-6.5s; }
.stick.s1 u{ animation-delay:-8s; }
.stick.s3 u{ animation-delay:-11s; }

@keyframes smoke{
  0%{   opacity:0;   transform:translate(0,0) scale(.6); }
  12%{  opacity:.5;  transform:translate(2px,-10px) scale(1); }
  45%{  opacity:.35; transform:translate(-5px,-44px) scale(2.6); }
  72%{  opacity:.15; transform:translate(6px,-78px) scale(4.2); }
  100%{ opacity:0;   transform:translate(-2px,-112px) scale(6); }
}

/* 上香时腾起的一团 */
.puff{
  position:absolute;
  bottom:98px;
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(228,222,208,.32);
  filter:blur(4px);
  pointer-events:none;
  animation:puffUp 3.8s ease-out forwards;
}
@keyframes puffUp{
  0%{   opacity:.75; transform:translate(0,0) scale(.5); }
  100%{ opacity:0;   transform:translate(var(--dx,0),-128px) scale(7); }
}

/* ---------- 上香按钮 ---------- */

.altar-act{
  margin:26px 0 0;
  text-align:center;
}

.btn-incense{
  appearance:none;
  background:transparent;
  border:1px solid rgba(205,197,178,.22);
  color:var(--bone);
  font-family:var(--f-kai);
  font-size:15px;
  letter-spacing:.5em;
  padding:12px 22px 12px 30px;
  cursor:pointer;
  transition:all .5s ease;
}
.btn-incense:hover,
.btn-incense:focus-visible{
  border-color:rgba(224,163,90,.55);
  color:#f4ecdc;
  box-shadow:0 0 32px rgba(224,163,90,.2), inset 0 0 18px rgba(224,163,90,.1);
  outline:none;
}
.btn-incense:active{ transform:translateY(1px); }

.tally{
  margin:14px 0 0;
  font-size:10.5px;
  letter-spacing:.26em;
  color:var(--bone-faint);
}

/* ---------- 祭文 ---------- */

.eulogy{
  margin:clamp(66px,11vh,110px) auto 0;
  max-width:520px;
}

.sec-title{
  margin:0 0 30px;
  text-align:center;
  font-weight:400;
  font-size:13px;
  letter-spacing:.5em;
  color:var(--bone-dim);
}
.sec-title span{
  position:relative;
  display:inline-block;
  padding:0 .3em;
}
.sec-title span::before,
.sec-title span::after{
  content:"";
  position:absolute;
  top:50%;
  width:clamp(28px,12vw,68px);
  height:1px;
  background:linear-gradient(90deg, rgba(205,197,178,0), rgba(205,197,178,.28));
}
.sec-title span::before{ right:100%; margin-right:.6em; transform:scaleX(-1); }
.sec-title span::after{ left:100%; margin-left:.6em; }

.eulogy-body p{
  margin:0 0 1.5em;
  font-size:14.5px;
  line-height:2.35;
  letter-spacing:.08em;
  color:#a9a191;
  text-indent:2em;
}
.eulogy-body p:first-child{
  text-indent:0;
  color:#bdb4a2;
}
.eulogy-body .sign{
  margin-top:2.2em;
  text-align:right;
  text-indent:0;
  font-family:var(--f-kai);
  font-size:12.5px;
  letter-spacing:.12em;
  color:var(--bone-faint);
}

/* ---------- 留言 ---------- */

.guestbook{
  margin:clamp(66px,11vh,110px) auto 0;
  max-width:520px;
}

.msgs{
  list-style:none;
  margin:0 0 34px;
  padding:0;
}

.msgs li{
  position:relative;
  padding:16px 0 16px 18px;
  border-bottom:1px solid rgba(205,197,178,.07);
  animation:msgIn .9s ease both;
}
.msgs li::before{
  content:"";
  position:absolute;
  left:0; top:22px;
  width:5px; height:5px;
  border-radius:50%;
  background:rgba(168,48,42,.5);
  box-shadow:0 0 10px rgba(168,48,42,.4);
}
@keyframes msgIn{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}

.msg-meta{
  display:flex;
  align-items:baseline;
  gap:12px;
  font-size:10.5px;
  letter-spacing:.2em;
  color:var(--bone-faint);
}
.msg-who{ color:var(--bone-dim); }
.msg-who.mine{ color:#9a8f78; }
.msg-text{
  margin:9px 0 0;
  font-size:13.5px;
  line-height:1.95;
  color:#a49c8c;
  letter-spacing:.06em;
  word-break:break-word;
}

.form-row{
  display:flex;
  gap:10px;
  align-items:stretch;
}

.form input[type="text"],
.form textarea{
  width:100%;
  background:rgba(255,255,255,.018);
  border:1px solid rgba(205,197,178,.16);
  color:var(--bone);
  font-family:var(--f-serif);
  font-size:13px;
  letter-spacing:.08em;
  padding:12px 14px;
  border-radius:0;
  transition:border-color .4s, background .4s;
}
.form textarea{ margin-top:10px; resize:vertical; line-height:1.9; }
.form input::placeholder,
.form textarea::placeholder{ color:var(--bone-faint); }
.form input:focus,
.form textarea:focus{
  outline:none;
  border-color:rgba(224,163,90,.4);
  background:rgba(255,255,255,.035);
}

.form button{
  flex:0 0 auto;
  appearance:none;
  background:transparent;
  border:1px solid rgba(205,197,178,.22);
  color:var(--bone-dim);
  font-family:var(--f-kai);
  font-size:12.5px;
  letter-spacing:.3em;
  padding:0 20px;
  cursor:pointer;
  transition:all .4s;
}
.form button:hover,
.form button:focus-visible{
  border-color:rgba(168,48,42,.55);
  color:#f0e7d8;
  outline:none;
}

.form-tip{
  margin:14px 0 0;
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--bone-faint);
  opacity:.7;
}

/* ---------- 页脚 ---------- */

.foot{
  margin:clamp(70px,12vh,120px) auto 0;
  padding-top:34px;
  border-top:1px solid rgba(205,197,178,.06);
  text-align:center;
}
.foot p{
  margin:0 0 12px;
  font-size:10.5px;
  letter-spacing:.3em;
  color:var(--bone-faint);
}
.foot .foot-fine{
  font-size:10px;
  letter-spacing:.12em;
  color:#3f3b35;
  opacity:.9;
}

/* ---------- 声音开关 ---------- */

.sound{
  position:fixed;
  right:clamp(12px,2.4vw,26px);
  bottom:clamp(12px,2.4vw,26px);
  z-index:80;
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 13px;
  background:rgba(8,7,11,.62);
  border:1px solid rgba(205,197,178,.14);
  color:var(--bone-dim);
  font-family:var(--f-serif);
  font-size:10.5px;
  letter-spacing:.14em;
  cursor:pointer;
  backdrop-filter:blur(6px);
  transition:border-color .4s, color .4s;
}
.sound:hover{ border-color:rgba(205,197,178,.32); color:var(--bone); }

.sound-bars{
  display:flex;
  align-items:flex-end;
  gap:2px;
  height:11px;
}
.sound-bars i{
  display:block;
  width:1.5px;
  height:100%;
  background:currentColor;
  transform-origin:50% 100%;
  animation:bar 1.4s ease-in-out infinite;
}
.sound-bars i:nth-child(2){ animation-delay:-.2s; }
.sound-bars i:nth-child(3){ animation-delay:-.5s; }
.sound-bars i:nth-child(4){ animation-delay:-.8s; }
@keyframes bar{
  0%,100%{ transform:scaleY(.28); }
  50%{ transform:scaleY(1); }
}
.sound.muted .sound-bars i{ animation:none; transform:scaleY(.14); opacity:.5; }
.sound.muted .sound-txt{ color:var(--bone-faint); }

/* ---------- 低语的浮字 ---------- */

.whisper{
  position:fixed;
  z-index:66;
  pointer-events:none;
  font-family:var(--f-kai);
  font-size:clamp(13px,2.4vw,17px);
  letter-spacing:.34em;
  color:rgba(205,197,178,.34);
  text-shadow:0 0 16px rgba(0,0,0,.9);
  animation:whisper 5.6s ease-in-out forwards;
  white-space:nowrap;
}
@keyframes whisper{
  0%{ opacity:0; filter:blur(5px); transform:translateY(6px); }
  22%{ opacity:1; filter:blur(0); transform:translateY(0); }
  68%{ opacity:.8; }
  100%{ opacity:0; filter:blur(4px); transform:translateY(-10px); }
}

/* ---------- 手机 ---------- */

@media (max-width:520px){
  .hall{ padding:52px 18px 62px; }
  .dates span{ display:block; margin:6px 0; }
  .table{ height:132px; padding:0 22px 12px; }
  .censer{ width:118px; transform:scale(.92); transform-origin:50% 100%; }
  .bowl{ width:118px; height:50px; }
  .eulogy, .guestbook{ margin-top:58px; }
  .msgs li{ padding-left:14px; }
  .form-row{ flex-wrap:wrap; }
  .form button{ width:100%; padding:11px 0; }
  .sound{ font-size:9.5px; padding:8px 10px; }
  .sound-txt{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  .grain,.flame,.stick b,.stick u,.name,.sound-bars i{ animation:none !important; }
  .hall{ animation:none; }
}
