:root {
  --paper: #f3ebff;
  --card: #fcf8ff;
  --ink: #2f1742;
  --ink-dark: #16081f;
  --marigold: #9b6cff;
  --rust: #7d56cf;
  --amber: #d8b7ff;
  --orchid: #7a3fb8;
  --dusk: #b68cff;
  --glass-purple: rgba(122, 63, 184, 0.2);
  --glass-purple-strong: rgba(73, 31, 124, 0.32);
  --glass-purple-edge: rgba(206, 182, 255, 0.28);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  font-family: Georgia, "Iowan Old Style", Cambria, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(155, 108, 255, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(122, 63, 184, 0.2), transparent 30%),
    linear-gradient(180deg, #16081f 0%, #27103a 18%, var(--paper) 100%);
  min-height: 100dvh;
}
button {
  font-family: inherit;
}

#intro-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 99999;
    background: #000;
    overflow: hidden;
    display: block;
}

#intro-screen.active {
    display: block;
}

#intro-screen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#intro-screen.finished {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}