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

@font-face {
  font-family: "Nunito";
  src: url("nunito-round.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("nunito-heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a0833;
  --ink-2: #2c0d4e;
  --panel: rgba(42, 12, 74, 0.86);
  --gold: #ffd700;
  --gold-2: #ffb000;
  --orange: #ff6f00;
  --red: #c8102e;
  --cream: #fff6e4;
  --muted: #f0d2ae;
  --success: #c6f25a;
  --danger: #ff4b4b;
  --line: rgba(255, 246, 228, 0.16);
  --shadow: #7a1020;
  --top: calc(62px + env(safe-area-inset-top, 0px));
  --dock-space: calc(118px + env(safe-area-inset-bottom, 0px));
  --display: "Lilita One", "Trebuchet MS", sans-serif;
  --body: "Nunito", "Trebuchet MS", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.4;
}

body, button, input, a, h1, h2, h3, p, span, small, strong, th, td, label {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }

h1, h2, .wordmark, .btn, .sheet-title, .dock-btn, .signboard h1, .top-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

strong { font-weight: 800; }

:focus { outline: none; }

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

::selection { background: var(--red); color: white; }

input:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  caret-color: var(--cream);
  box-shadow: 0 0 0 1000px #3a1464 inset;
}

.ico { display: inline-flex; align-items: center; justify-content: center; }

.ico svg { width: 1.35em; height: 1.35em; display: block; }

.ico path, .ico circle, .ico ellipse { fill: currentColor; }

.ico .line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.star-row { display: inline-flex; gap: 2px; color: var(--gold); }

.star-row .is-off, .feather-row .is-off { opacity: 0.28; }

.kicker {
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.fine, small { color: var(--muted); font-size: 0.86rem; }
