html, body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: 'Roboto Mono', monospace;
  text-align: center;
  background: #121212;
  color: #fff;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#touch-layer {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  z-index: 1;
  display: block;
}

#settings-btn, #mode-toggle {
  position: absolute;
  z-index: 10;
  font-size: 1em;
  padding: 10px 20px;
  background: #00e676;
  border: none;
  border-radius: 10px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

#settings-btn {
  top: 10px;
  left: 10px;
}

#mode-toggle {
  top: 10px;
  right: 10px;
}

#menu-modal {
  position: absolute;
  top: 50px;
  left: 10px;
  background: #222;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 20;
  display: none;
}

#menu-modal div {
  padding: 10px;
  cursor: pointer;
}

#menu-modal div:hover {
  background: #333;
}

#timer-container {
  margin-top: 12vh;
}

#timer-wrapper {
  position: relative;
  display: inline-block;
}

#timer {
  font-size: 3.5em;
  line-height: 1;
  margin-top: 12vh;
  pointer-events: none;
}

#timer span {
  font-size: 0.3em;
  vertical-align: middle;
  margin-right: 10px;
}

#status {
  font-size: 1.5em;
  margin-top: 10px;
  color: yellow;
  pointer-events: none;
}

#ao5 {
  margin-top: 10px;
  font-size: 1.2em;
  color: #00e676;
  pointer-events: none;
}

#record-list {
  margin-top: 20px;
  font-size: 0.9em;
  max-height: 40vh;
  overflow-y: auto;
  pointer-events: none;
}

.circle {
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  bottom: 8%;
}

#left-circle {
  left: 15%;
}

#right-circle {
  right: 15%;
}

/* Badge 스타일 */
.level-badge {
  display: inline-block;
  background: radial-gradient(circle at 30% 30%, gold, goldenrod);
  color: #000;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  font-size: 1em;
  font-weight: bold;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  margin-left: 8px;
}
