:root {
  --bg: #ffffff;
  --ink: #17181c;
  --soft: rgba(23, 24, 28, 0.6);
  --quiet: #f0f0f2;
  --accent: #e5484d;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 14px;
}

.lo { position: relative; display: flex; align-items: center; height: 56px; }
.lo button { flex: none; height: 56px; display: flex; align-items: center; border: 0; border-radius: 28px; font: inherit; font-size: 15.500px; font-weight: 720; font-stretch: 104%; letter-spacing: -0.005em; cursor: pointer; outline: none; overflow: hidden; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.lo button:focus-visible { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--ink); }
.lo__roll { display: block; height: 22px; line-height: 22px; overflow: hidden; }
.lo__roll > span { display: block; white-space: nowrap; }

/* the first half: the person and, while it asks, the way to stay */
.lo__a { gap: 10px; padding: 0 20px 0 10px; background: var(--quiet); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(23, 24, 28, 0.06); }
.lo__avatar { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #ffffff; font-size: 12.500px; font-weight: 760; letter-spacing: 0.02em; }

/* the second half: it comes out of the first. --fill and --text are tweened by the script */
.lo__b { --fill: var(--accent); --text: #ffffff; width: 0; margin-left: 0; gap: 8px; padding: 0 16px 0 20px; justify-content: space-between; background: var(--fill); color: var(--text); visibility: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 26px -16px var(--fill); }
.lo__door { flex: none; width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.900; stroke-linecap: round; stroke-linejoin: round; }

.lo__fly { position: absolute; left: 0; top: 0; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #ffffff; font-size: 12.500px; font-weight: 760; letter-spacing: 0.02em; pointer-events: none; }
.lo__meter { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: nowrap; font-size: 15.500px; font-weight: 720; font-stretch: 104%; letter-spacing: -0.005em; }
.lo__say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; pointer-events: none; opacity: 0; fill: var(--ink); stroke: #ffffff; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(23, 24, 28, 0.3)); z-index: 5; }
