:root {
  --bg: #0a0b10;
  --panel: #13151b;
  --well: #1c1f27;
  --ink: #f2f3f7;
  --soft: rgba(242, 243, 247, 0.56);
  --faint: rgba(242, 243, 247, 0.32);
  --line: rgba(242, 243, 247, 0.09);
  --missing: #ff6156;
  --located: #f6ae3d;
  --moving: #5aa2ff;
  --done: #39d6a4;
  --tone: var(--missing);
}

*, *::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;
}

.lb { position: relative; width: min(308px, 100%); padding: 15px 16px 14px; border-radius: 26px; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--tone) 13%, transparent), transparent 64%), linear-gradient(180deg, #171920, var(--panel)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 56px -30px color-mix(in srgb, var(--tone) 34%, #000000); transition: box-shadow 0.6s ease; }
.lb[data-at="1"] { --tone: var(--located); }
.lb[data-at="2"] { --tone: var(--moving); }
.lb[data-at="3"] { --tone: var(--done); }

.lb__head { display: flex; align-items: center; gap: 11px; }
.lb__tile { position: relative; flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 16%, transparent); color: var(--tone); transition: background-color 0.5s ease, color 0.5s ease; }
.lb__tile svg { grid-area: 1 / 1; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.700; stroke-linecap: round; stroke-linejoin: round; }
.lb__ok { stroke-width: 2.300 !important; }
.lb__ok path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lb__titles h1 { font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lb__status { height: 17px; overflow: hidden; font-size: 12.500px; line-height: 17px; font-weight: 640; color: var(--tone); transition: color 0.5s ease; }
.lb__status span { display: block; }

/* the line of the steps: the suitcase stands on it and hops from one to the next */
.lb__track { margin: 10px -4px 0; }
.lb__track svg { display: block; width: 100%; height: auto; overflow: visible; }
.lb__rail { fill: none; stroke: var(--well); stroke-width: 3; stroke-linecap: round; }
.lb__done { stroke: var(--tone); stroke-width: 3; stroke-linecap: round; transition: stroke 0.5s ease; }
.lb__tick { fill: none; stroke: rgba(242, 243, 247, 0.4); stroke-width: 1.500; stroke-linecap: round; }
.lb__case { fill: var(--tone); stroke: var(--panel); stroke-width: 1.500; transition: fill 0.5s ease; }
.lb__grip { fill: none; stroke: var(--tone); stroke-width: 1.700; stroke-linecap: round; transition: stroke 0.5s ease; }
.lb__burst { fill: none; stroke: var(--done); stroke-width: 1.300; opacity: 0; }
.lb__steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2px; }
.lb__steps button { height: 26px; border: 0; border-radius: 9px; background: transparent; color: var(--faint); font: inherit; font-size: 11px; font-weight: 640; white-space: nowrap; cursor: pointer; outline: none; transition: color 0.3s ease, background-color 0.2s ease; -webkit-tap-highlight-color: transparent; }
.lb__steps button:first-child { text-align: left; padding-left: 4px; }
.lb__steps button:last-child { text-align: right; padding-right: 4px; }
.lb__steps button.is-past { color: var(--soft); }
.lb__steps button[aria-current="step"] { color: var(--ink); }
.lb__steps button:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
@media (hover: hover) { .lb__steps button:hover { background: rgba(242, 243, 247, 0.07); color: var(--ink); } }

.lb__note { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
.lb__what { height: 19px; overflow: hidden; font-size: 13.500px; line-height: 19px; font-weight: 640; white-space: nowrap; }
.lb__when { height: 16px; overflow: hidden; font-size: 12px; line-height: 16px; font-weight: 540; color: var(--soft); }
.lb__what span, .lb__when span { display: block; }

.lb__say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #f2f3f7; stroke: #13151b; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6)); z-index: 5; }
