/* ============================================================
   finale.css —— 终章结算
   ============================================================ */

#finale {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: #010102;
  z-index: 1400;
  padding: 8vh 2rem 4rem;
  overflow-y: auto;
}
#finale.open { display: flex; }

.fin-inner { max-width: 560px; text-align: center; }

.fin-title {
  font-size: clamp(1.6rem, 7vw, 2.6rem);
  letter-spacing: 0.4em;
  color: #b89b5e;
  margin-bottom: 3rem;
  opacity: 0;
  animation: finTitle 2s ease 0.3s forwards;
}
@keyframes finTitle {
  from { opacity: 0; filter: blur(8px); }
  to   { opacity: 1; filter: blur(0); }
}

.fin-body p {
  font-size: clamp(0.98rem, 4.1vw, 1.18rem);
  color: #b8b8c0;
  line-height: 2.2;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.fin-body p.show { opacity: 1; transform: translateY(0); }

.fin-body p.fin-sep {
  color: #4a4a52;
  margin: 1.6rem 0;
}

.fin-btn {
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 0.95rem 2.4rem;
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.3em;
  color: #e8dcbf;
  background: rgba(184,155,94,0.1);
  border: 1px solid rgba(184,155,94,0.6);
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease, background 0.3s ease, box-shadow 0.3s ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.fin-btn.show { opacity: 1; }
.fin-btn:active {
  background: rgba(184,155,94,0.3);
  box-shadow: 0 0 26px rgba(184,155,94,0.5);
}
