html,
body {
  margin: 0;
  padding: 0;
  background: #f5fbff;
  color: #203448;
  font-family: Arial, Helvetica, sans-serif;
}

.clock-game {
  box-sizing: border-box;
  width: 100%;
  min-height: 620px;
  padding: 14px;
  background: linear-gradient(#f8fcff, #eef7ff);
}

.clock-game-shell {
  max-width: 940px;
  margin: 0 auto;
}

.clock-topbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.clock-stat {
  min-height: 48px;
  border: 1px solid #b9cce0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(32, 52, 72, 0.12);
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #526b84;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clock-stat strong {
  display: block;
  margin-top: 2px;
  color: #18344e;
  font-size: 20px;
}

.question-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #aec5dc;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(32, 52, 72, 0.13);
}

.question-label {
  color: #5a7189;
  font-size: 14px;
  font-weight: bold;
}

.question-time {
  margin-top: 3px;
  color: #173a58;
  font-size: 34px;
  font-weight: bold;
  line-height: 1.1;
}

.feedback {
  min-width: 190px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f2f7fb;
  color: #24435f;
  font-weight: bold;
  text-align: center;
}

.feedback.correct {
  background: #e1f6de;
  color: #20621f;
}

.feedback.wrong {
  background: #ffe8e8;
  color: #923132;
}

.clock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.clock-choice {
  border: 2px solid #b2c5d7;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(32, 52, 72, 0.12);
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.1s ease, background 0.1s ease;
}

.clock-choice:hover,
.clock-choice:focus {
  border-color: #2f74ad;
  background: #f0f8ff;
  outline: none;
  transform: translateY(-1px);
}

.clock-choice.correct {
  border-color: #32a852;
  background: #effbea;
}

.clock-choice.wrong {
  border-color: #d54d4d;
  background: #fff0f0;
}

.clock-svg {
  display: block;
  width: 100%;
  height: auto;
}

.choice-label {
  padding: 0 8px 10px;
  color: #4f657c;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.clock-button,
.level-select {
  height: 34px;
  border: 1px solid #829bb4;
  border-radius: 5px;
  background: #fff;
  color: #183a58;
  font-weight: bold;
}

.clock-button {
  padding: 0 14px;
  cursor: pointer;
}

.level-select {
  padding: 0 8px;
}

.clock-button:hover {
  background: #eaf6ff;
}

@media (max-width: 760px) {
  .clock-topbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-panel {
    grid-template-columns: 1fr;
  }

  .feedback {
    min-width: 0;
  }

  .clock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
