:root {
  --bg: #ffffff;
  --ink: #f1f7f4;
  --soft: #9db3ab;
  --pill-hi: #17382f;
  --pill-lo: #0b211b;
  --accent: #7df0b8;
}

*, *::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;
  place-items: center;
  padding: 16px;
}

.vet {
  position: relative;
  width: min(308px, calc(100vw - 32px));
  height: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 9px 0 8px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  box-shadow:
    0 1px 1px rgba(11, 33, 27, 0.3),
    0 12px 26px -12px rgba(11, 33, 27, 0.6),
    0 30px 50px -30px rgba(11, 33, 27, 0.45);
  transition: box-shadow 0.6s ease;
}
.vet.is-done {
  box-shadow:
    0 1px 1px rgba(11, 33, 27, 0.3),
    0 14px 30px -12px color-mix(in srgb, var(--accent) 55%, rgba(11, 33, 27, 0.4)),
    0 30px 54px -28px color-mix(in srgb, var(--accent) 60%, transparent);
}
.vet:focus-visible { outline: 2px solid var(--pill-hi); outline-offset: 4px; }
.vet__body { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(180deg, var(--pill-hi), var(--pill-lo)); z-index: -2; }
.vet__light { position: absolute; inset: 0; background: radial-gradient(120px 70px at var(--px, 50%) var(--py, 0%), rgba(255, 255, 255, 0.14), transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.vet.is-hot .vet__light { opacity: 1; }
.vet__edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.seat { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.12); display: grid; place-items: center; transition: background-color 0.5s ease; }
.vet.is-done .seat { background: var(--accent); }
.seat svg { width: 27px; height: 27px; overflow: visible; }
.seat ellipse, .seat g path { fill: var(--accent); }
.seat__tick { fill: none; stroke: var(--pill-lo); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* the paw prints walk over the place of the label, which steps aside while they pass */
.trail { position: absolute; left: 64px; right: 84px; top: 0; bottom: 0; pointer-events: none; }
.print { position: absolute; width: 19px; height: 19px; margin: -9.5px 0 0 -9.5px; opacity: 0; }
.print svg { display: block; width: 100%; height: 100%; fill: var(--accent); }

.label { flex: 1; min-width: 0; display: grid; gap: 1px; }
.label__main { height: 20px; overflow: hidden; font-size: 15.5px; line-height: 20px; font-weight: 630; font-stretch: 104%; letter-spacing: -0.006em; }
.label__sub { height: 15px; overflow: hidden; font-size: 11.5px; line-height: 15px; font-weight: 500; color: var(--soft); }
.label span span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tag { flex: none; min-width: 62px; height: 42px; padding: 0 12px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font-size: 14px; line-height: 42px; font-weight: 660; text-align: center; white-space: nowrap; transition: color 0.4s ease, background-color 0.4s ease; }
.tag span { display: block; }
.vet.is-done .tag { color: var(--pill-lo); background: var(--accent); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ghost {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  fill: #14151a;
  stroke: #ffffff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(20, 21, 26, 0.3));
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}
