* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

#canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  cursor: default;
}

#ui-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

#header {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(62, 39, 20, 0.45);
  letter-spacing: 0.5px;
  pointer-events: none;
  user-select: none;
}

#add-btn {
  position: absolute;
  bottom: 52px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(62, 39, 20, 0.12);
  color: rgba(62, 39, 20, 0.6);
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#add-btn:hover {
  background: rgba(62, 39, 20, 0.22);
  color: rgba(62, 39, 20, 0.85);
  transform: scale(1.08);
}

#add-btn:active {
  transform: scale(0.95);
}

#footer {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
  pointer-events: all;
}

#footer a {
  font-size: 11px;
  color: rgba(62, 39, 20, 0.3);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

#footer a:hover {
  color: rgba(62, 39, 20, 0.6);
}

#hint {
  position: absolute;
  bottom: 58px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(62, 39, 20, 0.25);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.8s ease;
}