@font-face {
  font-family: 'TWK Lausanne';
  src: url('fonts/TWKLausanne-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'TWK Lausanne';
  src: url('fonts/TWKLausanne-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #141110;
  color: #f5f5f5;
  font-family: 'TWK Lausanne', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
#stage canvas {
  display: block;
  opacity: 0;
  cursor: grab;
}
body.ready #stage canvas {
  opacity: 1;
}
#stage canvas:active {
  cursor: grabbing;
}
#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.diamond {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #f59e0b;
  transform: rotate(45deg);
  flex: none;
}
.place {
  position: absolute;
  top: max(22px, env(safe-area-inset-top));
  left: max(24px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 2px rgba(20, 17, 16, 0.55);
}
.label {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 6px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 150ms ease-out;
  text-shadow: 0 1px 2px rgba(20, 17, 16, 0.6);
  will-change: transform, opacity;
}
.label.on {
  opacity: 1;
}
.label .count {
  color: #a3a3a3;
  font-weight: 400;
}
.stick {
  position: absolute;
  left: max(28px, env(safe-area-inset-left));
  bottom: max(36px, env(safe-area-inset-bottom));
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 2px solid rgba(245, 245, 245, 0.55);
  pointer-events: auto;
  touch-action: none;
}
.stick-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.35);
  transform: translate(-50%, -50%);
}
@media (max-width: 600px) {
  .place {
    font-size: 15px;
  }
}
