@font-face {
  font-family: 'Lilita One';
  src: url('lilita-one.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fredoka';
  src: url('fredoka.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #3a1c67;
  --ink-deep: #2a1250;
  --ink-night: #1a0838;
  --pink: #e756dc;
  --pink-soft: #ff9be8;
  --lavender: #c4b9f8;
  --cream: #f1e6fb;
  --sky: #48bbf8;
  --gold: #ffd23f;
  --gold-deep: #ffb02e;
  --mint: #6fe27a;
  --berry: #ff4f7a;
  --font-display: 'Lilita One', 'Trebuchet MS', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-body: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --dock-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)), rgba(58, 28, 103, 0.7);
  --panel-line: rgba(255, 255, 255, 0.22);
  --shadow-soft: 0 12px 26px rgba(20, 6, 50, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--ink-deep);
}

body {
  position: fixed;
  inset: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4,
strong,
.btn {
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

strong {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  margin: 0;
  cursor: pointer;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

canvas {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.icon {
  display: inline-flex;
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

.icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.icon .solid {
  fill: currentColor;
}

.piece-art {
  max-width: 100%;
  height: auto !important;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: var(--ink-deep);
}

[data-motion='off'] *,
[data-motion='off'] *::before,
[data-motion='off'] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
