body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0b0a0d;
  color: #f1e8d8;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(108, 63, 160, 0.22), transparent 55%),
    #0b0a0d;
}

.boot-screen h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(36px, 7vw, 76px);
  letter-spacing: 0.18em;
  color: #d8b46a;
}

.boot-screen p {
  margin: 0;
  color: rgba(241, 232, 216, 0.62);
  letter-spacing: 0.14em;
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(108, 63, 160, 0.24), transparent 55%),
    #0b0a0d;
}

.loading-mark {
  width: 96px;
  height: 96px;
  margin-bottom: 4px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5));
}

.loading-screen h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0.24em;
  color: #d8b46a;
}

.loading-screen p {
  margin: 0;
  color: rgba(241, 232, 216, 0.55);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.loading-screen p b {
  color: #d8b46a;
  letter-spacing: 0.2em;
}

.loading-bar {
  width: min(260px, 60vw);
  height: 2px;
  margin-top: 16px;
  background: rgba(241, 232, 216, 0.12);
  overflow: hidden;
}

.loading-bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #d8b46a, transparent);
  animation: loading-slide 1.4s ease-in-out infinite;
}

@keyframes loading-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.conn-banner {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(169, 47, 53, 0.4);
  border-radius: 99px;
  background: rgba(20, 8, 11, 0.94);
  color: #e7b4b6;
  font-size: 10px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.conn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a92f35;
  animation: conn-pulse 1s infinite;
}

@keyframes conn-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.sound-hint.is-hidden {
  display: none;
}

.landing-cards .card-num {
  --num-size: 44px;
}

.landing-cards .card-num.is-ten {
  --num-size: 36px;
}

.box-result-modal .modal-card {
  width: min(400px, 100%);
  text-align: center;
}

.box-result-card h2 {
  margin: 4px 0 14px;
  font-size: 24px;
  color: #d8b46a;
}

.box-result-art {
  width: 160px;
  height: 190px;
  margin: 0 auto 8px;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 32%, rgba(108, 63, 160, 0.3), transparent 62%);
  border: 1px solid rgba(216, 180, 106, 0.22);
}

.box-result-card h3 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 20px;
  color: #f1e8d8;
  margin: 4px 0;
}

.box-result-card p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(241, 232, 216, 0.55);
}

.box-result-card .modal-actions {
  justify-content: center;
}
