body { 
  font-family: 'DM Sans', sans-serif; 
  background-color: #0d0d1a; 
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.game-lane { 
  border-right: 1px solid #1a1a2e; 
  background: rgba(255, 255, 255, 0.02); 
}

.game-lane:last-child { 
  border-right: none; 
}

.perfect-line {
  position: absolute;
  left: 0;
  width: 100%;
  top: 75%;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 12px #ffffff, 0 0 4px #ffffff;
  pointer-events: none; 
  z-index: 5;
}

.tile { 
  position: absolute; 
  width: 100%; 
  height: 60px; 
  border-radius: 4px; 
  cursor: pointer; 
  transition: background 0.05s; 
}

.tile.long-note {
  height: 200px;
  border-radius: 8px;
}

.tile.holding {
  opacity: 0.7;
  background: #ffffff !important;
  box-shadow: 0 0 20px #ffffff !important;
}

.tile.hit { 
  opacity: 0; 
  transform: scale(0.8); 
  transition: all 0.1s; 
}

.tile[data-type="0"] { background: #ff4757; border: 2px solid #ff6b81; box-shadow: 0 0 10px #ff4757; }
.tile[data-type="1"] { background: #ffa502; border: 2px solid #ff7f50; box-shadow: 0 0 10px #ffa502; }
.tile[data-type="2"] { background: #2ed573; border: 2px solid #7bed9f; box-shadow: 0 0 10px #2ed573; }
.tile[data-type="3"] { background: #1e90ff; border: 2px solid #70a1ff; box-shadow: 0 0 10px #1e90ff; }

.song-btn { transition: all 0.15s; }
.song-btn.selected { border-color: #3700ff; background: #3700ff20; }
.diff-btn.selected { background: #3700ff; color: #fff; border-color: #3700ff; }
.key-btn { min-width: 48px; }

#score-display, #judgment-display {
  pointer-events: none !important;
}

@keyframes judgmentPop {
  0% { opacity: 1; transform: scale(0.8) translateY(0); }
  50% { opacity: 1; transform: scale(1.2) translateY(-10px); }
  100% { opacity: 0; transform: scale(0.6) translateY(-40px); }
}

.judgment-animate {
  animation: judgmentPop 0.4s ease-out forwards;
}