:root {
  color-scheme: light;
  --cream: #f2ede3;
  --ink: #17150f;
  --muted: #6b6455;
  --yellow: #f5b800;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--cream);
}
.stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.logo-button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}
.spinner {
  display: block;
  width: min(52vw, 220px);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3),
    filter 0.2s;
  will-change: transform;
}
body.pulling .spinner,
body.connecting .spinner {
  transition: none;
}
.mark {
  display: block;
  width: 100%;
  height: auto;
}
.mark-hi,
.mark-en {
  font-family: Mukta, sans-serif;
  fill: var(--ink);
}
.mark-hi {
  font-weight: 700;
  font-size: 52px;
}
.mark-en {
  font-weight: 800;
  font-size: 58px;
  letter-spacing: 1.16px;
}
.wordmark {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-family: Mukta, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
}
.status {
  margin: 40px 0 0;
  min-height: 1.5em;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  transition: color 0.2s;
}
body.ready .status,
body.connecting .status {
  color: var(--ink);
  font-weight: 600;
}
.logo-button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 12px;
  border-radius: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    transition: none;
  }
}
