* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

#app {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  text-align: center;
}

.screen.active {
  display: flex;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.btn {
  padding: 16px 48px;
  font-size: 1.2rem;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.1s;
  min-width: 200px;
}

.btn:active {
  transform: scale(0.95);
}

#test-area {
  width: 100%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff4444;
  transition: background 0.2s;
  cursor: pointer;
  user-select: none;
}

#test-area.ready {
  background: #000;
}

#test-area.go {
  background: #00ff00;
}

#instruction {
  font-size: 2rem;
  margin: 0;
}

#results {
  margin-bottom: 2rem;
}

.result-item {
  font-size: 1.3rem;
  margin: 0.5rem 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.result-avg {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

#verdict {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding: 20px;
  border-radius: 12px;
}

#verdict.good {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
}

#verdict.warning {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
}

#verdict.bad {
  background: rgba(255, 0, 0, 0.2);
  color: #ff4444;
}

#running-results {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  min-height: 80px;
}

.running-round {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.running-avg {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ff00;
  margin-top: 8px;
}

