:root {
  --ink: #1a1a1a;
  --paper: #faf9f7;
  --muted: #6b6b6b;
  --line: #e8e6e3;
  --peacock: #1f6fd1;
  --feather: #2f9b48;
  --flute: #d9961a;
  --koi: #ec6a2b;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: linear(
    0,
    0.0471,
    0.1646,
    0.3209,
    0.4904,
    0.6539,
    0.7989,
    0.9179,
    1.0084,
    1.0707,
    1.108,
    1.1244,
    1.1248,
    1.114,
    1.0963,
    1.0754,
    1.0542,
    1.0345,
    1.0177,
    1.0044,
    0.9947,
    0.9884,
    0.9851,
    0.984,
    0.9848,
    0.9866,
    0.9891,
    0.9918,
    0.9944,
    0.9967,
    0.9986,
    1.0001,
    1.0011,
    1.0017,
    1.002,
    1.002,
    1.0018,
    1.0015,
    1.0012,
    1
  );
  --bounce: linear(
    0,
    0.0942,
    0.3216,
    0.6022,
    0.8702,
    1.0817,
    1.2159,
    1.2718,
    1.2628,
    1.2097,
    1.135,
    1.0585,
    0.9943,
    0.9502,
    0.928,
    0.9253,
    0.9366,
    0.9559,
    0.9773,
    0.9963,
    1.0104,
    1.0184,
    1.0208,
    1.0188,
    1.014,
    1.0082,
    1.0026,
    0.9982,
    0.9955,
    0.9943,
    0.9945,
    0.9957,
    0.9972,
    0.9988,
    1.0001,
    1.0011,
    1.0015,
    1.0016,
    1.0013,
    1
  );
}
::selection {
  background: rgba(31, 111, 209, 0.16);
  color: var(--ink);
}
:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
blockquote,
li,
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
[role="button"],
a,
button {
  -webkit-tap-highlight-color: transparent;
}
@media (hover: none) {
  [role="button"],
  a,
  button {
    transition: opacity 0.15s;
  }
  [role="button"]:active,
  a:active {
    opacity: 0.55;
  }
  button:active {
    opacity: 0.7;
  }
}
body::before {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: 1.4s steps(5) infinite grain;
}
@keyframes grain {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-31px, 17px, 0);
  }
  40% {
    transform: translate3d(23px, -41px, 0);
  }
  60% {
    transform: translate3d(-12px, 35px, 0);
  }
  80% {
    transform: translate3d(38px, 9px, 0);
  }
}
.reveal {
  transition:
    opacity 0.8s var(--ease-out),
    filter 0.9s var(--ease-out),
    transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms));
}
.js .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(var(--ty, 14px)) scale(0.985);
}
.js .reveal.visible {
  opacity: 1;
  filter: none;
  transform: none;
}
.reveal-split.settled .ch,
.reveal-split.settled .w,
.reveal.settled {
  transition-delay: 0s;
}
.split .ch,
.split .w {
  display: inline-block;
  white-space: pre;
}
.split .wd {
  display: inline-block;
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.reveal-split .ch,
.reveal-split .w {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.28em);
  transition:
    opacity 0.7s var(--ease-out),
    filter 0.8s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: calc(
    var(--ci, var(--wi, 0)) * var(--stagger, 38ms) + var(--d, 0ms)
  );
}
.reveal-split.visible .ch,
.reveal-split.visible .w {
  opacity: 1;
  filter: none;
  transform: none;
}
[data-lean].visible .ch.lean {
  font-style: italic;
  animation: lean 0.42s var(--ease-out);
}
[data-lean].visible .ch.unlean {
  animation: lean 0.42s var(--ease-out);
}
@keyframes lean {
  0% {
    filter: blur(0);
    transform: skewX(0);
  }
  35% {
    filter: blur(3px);
    transform: skewX(-9deg) translateY(-0.03em);
  }
  100% {
    filter: blur(0);
    transform: none;
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out 0.32s var(--ease-in-out) both;
}
::view-transition-new(root) {
  animation: vt-in 0.6s var(--ease-out) both;
}
@keyframes vt-out {
  to {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.992);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.008);
  }
}
.cursor-pill {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10001;
  pointer-events: none;
  padding: 7px 13px 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font:
    400 11px/1 "JetBrains Mono",
    monospace;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  scale: 0.4;
  transition:
    opacity 0.18s var(--ease-out),
    scale 0.45s var(--spring);
  will-change: transform;
}
.cursor-pill.on {
  opacity: 1;
  scale: 1;
}
[data-cursor] {
  cursor: none;
}
[data-cursor] a,
[data-cursor] button {
  cursor: pointer;
}
[data-spotlight] {
  position: relative;
  isolation: isolate;
}
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    280px circle at var(--mx, -999px) var(--my, -999px),
    rgba(26, 26, 26, 0.38),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mx, -999px) var(--my, -999px),
    rgba(255, 255, 255, 0.75),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
[data-spotlight]:hover::after,
[data-spotlight]:hover::before {
  opacity: 1;
}
.odo {
  display: inline-flex;
}
.odo-d {
  display: inline-block;
  height: 1.2em;
  height: 1lh;
  clip-path: inset(0 -0.5em);
  vertical-align: top;
}
.odo-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.6s var(--spring);
  transition-delay: calc(var(--k, 0) * 90ms);
}
.odo-strip span {
  display: flex;
  justify-content: center;
  height: 1.2em;
  height: 1lh;
}
.clock {
  font-variant-numeric: tabular-nums;
}
.clock-slot {
  display: inline-grid;
  height: 1.2em;
  height: 1lh;
  overflow: hidden;
  vertical-align: top;
}
.clock-slot > span {
  grid-area: 1/1;
}
[data-marquee] {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
[data-marquee].is-dragging {
  cursor: grabbing;
}
[data-marquee].is-dragging * {
  pointer-events: none;
}
.scrub .w {
  transition:
    color 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out);
  opacity: 0.22;
}
.scrub .w.lit {
  opacity: 1;
}
.me {
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.me.me-missing {
  visibility: hidden;
}
.me-art {
  position: absolute;
  inset: 0;
  transform-origin: 45% 100%;
  transform: rotate(var(--lean, 0deg));
}
.me-art img,
.me-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-drag: none;
}
.me-pupil {
  fill: var(--ink);
}
.me-brow {
  transition: transform 0.55s var(--spring);
}
.me-brow-l {
  transform-origin: 41% 37%;
}
.me-brow-r {
  transform-origin: 46% 37%;
}
.me.brows-up .me-brow {
  transform: translateY(-1.4%);
}
.me.brow-skeptic .me-brow-r {
  transform: translateY(-1.8%) rotate(-3deg);
}
.me.brow-skeptic .me-brow-l {
  transform: translateY(0.3%);
}
.me.brows-cross .me-brow-l {
  transform: translateY(0.6%) rotate(7deg);
}
.me.brows-cross .me-brow-r {
  transform: translateY(0.6%) rotate(-6deg);
}
.me-mouth {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.15s,
    transform 0.45s var(--spring);
}
.me-mouth-rest,
.me-mouth-smile {
  fill: none;
  stroke: var(--ink);
  stroke-width: 14;
  stroke-linecap: round;
}
.me-mouth-smile {
  stroke-width: 12;
}
.me-mouth-o {
  fill: var(--ink);
}
.me-mouth-o,
.me-mouth-smile {
  opacity: 0;
  transform: scale(0.4);
}
.me.mouth-o .me-mouth-rest,
.me.mouth-smile .me-mouth-rest {
  opacity: 0;
  transform: scale(0.5);
}
.me.mouth-o .me-mouth-o,
.me.mouth-smile .me-mouth-smile {
  opacity: 1;
  transform: none;
}
.me-blush {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.me.blush .me-blush {
  opacity: 1;
}
.me.shake .me-art {
  animation: me-shake 0.55s var(--ease-out);
}
@keyframes me-shake {
  0% {
    transform: rotate(0);
  }
  14% {
    transform: rotate(-4.5deg) translateX(-1%);
  }
  30% {
    transform: rotate(3.5deg);
  }
  46% {
    transform: rotate(-2deg);
  }
  62% {
    transform: rotate(1.2deg);
  }
  80% {
    transform: rotate(-0.4deg);
  }
  100% {
    transform: rotate(var(--lean, 0deg));
  }
}
.me.shake-hard .me-art {
  animation: me-shake-hard 0.75s var(--ease-out);
}
@keyframes me-shake-hard {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(-8deg) translate(-2%, 1%);
  }
  24% {
    transform: rotate(6.5deg) translateX(1%);
  }
  38% {
    transform: rotate(-4.5deg);
  }
  52% {
    transform: rotate(3deg);
  }
  66% {
    transform: rotate(-1.6deg);
  }
  82% {
    transform: rotate(0.6deg);
  }
  100% {
    transform: rotate(var(--lean, 0deg));
  }
}
.me.flinch .me-art {
  animation: me-flinch 0.45s var(--ease-out);
}
@keyframes me-flinch {
  0%,
  100% {
    transform: rotate(var(--lean, 0deg));
  }
  30% {
    transform: translateY(3%) rotate(-3deg) scale(0.97);
  }
}
.me.nodding .me-art {
  animation: 4.6s ease-in-out forwards me-nod;
}
@keyframes me-nod {
  0% {
    transform: rotate(var(--lean, 0deg));
  }
  28% {
    transform: rotate(-2.5deg) translateY(1.2%);
  }
  36% {
    transform: rotate(0.6deg) translateY(-0.4%);
  }
  46% {
    transform: rotate(0);
  }
  80% {
    transform: rotate(-3.4deg) translateY(1.6%);
  }
  100% {
    transform: rotate(-3deg) translateY(1.4%);
  }
}
.me.asleep .me-art {
  animation: 4s ease-in-out infinite me-breathe;
}
@keyframes me-breathe {
  0%,
  100% {
    transform: rotate(-3deg) translateY(1.4%);
  }
  50% {
    transform: rotate(-3.4deg) translateY(1.9%) scale(1.004);
  }
}
.me.startle .me-art {
  animation: me-startle 0.6s var(--ease-out);
}
@keyframes me-startle {
  0% {
    transform: rotate(-3deg) translateY(1.4%);
  }
  25% {
    transform: rotate(1.5deg) translateY(-3%);
  }
  55% {
    transform: rotate(-0.8deg) translateY(0.5%);
  }
  100% {
    transform: rotate(var(--lean, 0deg));
  }
}
.me-zzz {
  position: absolute;
  left: 71%;
  top: 22%;
  z-index: 3;
  pointer-events: none;
}
.me-zzz span {
  position: absolute;
  left: 0;
  bottom: 0;
  font: 400 var(--z, 14px)/1 var(--hand);
  color: var(--muted);
  text-shadow:
    0 0 3px var(--bg),
    0 0 7px var(--bg);
  opacity: 0;
  animation: 2.6s ease-out forwards me-z;
}
.me-zzz .still {
  opacity: 1;
  animation: none;
}
@keyframes me-z {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-8deg) scale(0.6);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(22px, -44px) rotate(-16deg) scale(1.1);
  }
}
.me-say {
  position: absolute;
  right: 70%;
  top: 6%;
  z-index: 3;
  padding: 7px 13px 8px;
  border: 1.6px solid var(--ink);
  border-radius: 18px 18px 5px;
  background: #fff;
  font-family: Kalam, "Comic Sans MS", cursive;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  filter: blur(4px);
  transform: translate(10px, 10px) scale(0.6) rotate(-3deg);
  transform-origin: 100% 100%;
  transition:
    opacity 0.2s var(--ease-out),
    filter 0.3s var(--ease-out),
    transform 0.5s var(--spring);
}
.me-say.on {
  opacity: 1;
  filter: none;
  transform: rotate(-3deg);
}
.sound-toggle {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: rgba(107, 107, 107, 0.8);
  transition:
    color 0.2s,
    background-color 0.2s;
}
.sound-toggle:hover {
  color: var(--ink);
  background-color: rgba(26, 26, 26, 0.05);
}
.sound-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.sound-toggle .spk {
  fill: currentColor;
  fill-opacity: 0.12;
}
.sound-toggle .w1,
.sound-toggle .w2 {
  transform-box: fill-box;
  transform-origin: 0% 50%;
  transition:
    opacity 0.25s,
    transform 0.5s var(--spring);
}
.sound-toggle .x {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4) rotate(-45deg);
  transition:
    opacity 0.2s,
    transform 0.45s var(--spring);
}
html.sound-off .sound-toggle .w1,
html.sound-off .sound-toggle .w2 {
  opacity: 0;
  transform: scale(0.3);
}
html.sound-off .sound-toggle .x {
  opacity: 1;
  transform: none;
}
html.sound-hint .sound-toggle {
  color: var(--ink);
  animation: sound-hint 1.4s var(--ease-out);
}
@keyframes sound-hint {
  0%,
  100%,
  50% {
    transform: none;
  }
  8% {
    transform: rotate(-12deg) scale(1.15);
  }
  18% {
    transform: rotate(10deg) scale(1.15);
  }
  28% {
    transform: rotate(-7deg) scale(1.08);
  }
  38% {
    transform: rotate(4deg);
  }
}
html.sound-pulse .sound-toggle .w1 {
  transform: scale(1.18);
}
html.sound-pulse .sound-toggle .w2 {
  transform: scale(1.12);
  transition-delay: 30ms;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 10002;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 11px 18px 12px 16px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.4);
  color: #ededed;
  font:
    400 12px/1.6 "JetBrains Mono",
    monospace;
  letter-spacing: 0.01em;
  pointer-events: none;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.25s var(--ease-out),
    filter 0.35s var(--ease-out),
    transform 0.55s var(--spring);
}
.toast.on {
  opacity: 1;
  filter: none;
  transform: none;
}
.toast.has-icon {
  padding-left: 11px;
}
.toast-text {
  min-width: 0;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast b {
  font-weight: 400;
  color: #7fd18b;
}
.toast-icon {
  display: none;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}
.toast.has-icon .toast-icon {
  display: grid;
}
.toast-icon svg {
  width: 16px;
  height: 16px;
}
.toast.busy .toast-icon svg {
  animation: 0.7s ease-in-out infinite toast-busy;
}
.toast.done .toast-icon svg {
  animation: toast-done 0.6s var(--spring);
}
@keyframes toast-busy {
  50% {
    opacity: 0.45;
    transform: scale(0.86);
  }
}
@keyframes toast-done {
  from {
    transform: scale(0.55) rotate(-12deg);
  }
}
.toast-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #54c5f8;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.toast.busy .toast-bar {
  opacity: 1;
  transform: scaleX(0.82);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.toast.done .toast-bar {
  opacity: 0;
  transform: scaleX(1);
  transition:
    transform 0.18s ease-out,
    opacity 0.35s 0.2s;
}
html {
  scrollbar-width: thin;
  scrollbar-color: #cfcbc4 transparent;
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: 0 0;
}
::-webkit-scrollbar-thumb {
  background: #d6d2cb;
  border-radius: 9px;
  border: 2px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover {
  background: #bdb8b0;
}
