@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&family=Noto+Sans+Math&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Noto Sans Math", sans-serif;
  margin: 0;
  padding: 0;
  background-color: hsl(215, 30%, 98%);
  color: hsl(215, 15%, 25%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-weight: 600;
  color: #21252c;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

a {
  color: hsl(210, 70%, 55%);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: hsl(210, 70%, 40%);
  text-decoration: underline;
}

input[type=text],
input[type=number],
textarea {
  padding: 10px 12px;
  border: 1px solid hsl(215, 25%, 88%);
  border-radius: 4px;
  font-family: "Noto Sans JP", "Noto Sans Math", sans-serif;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
input[type=text]:focus,
input[type=number]:focus,
textarea:focus {
  outline: none;
  border-color: hsl(210, 70%, 55%);
  box-shadow: 0 0 0 3px hsla(210, 70%, 55%, 0.2);
}

.app-container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.sidebar {
  width: 280px;
  background-color: white;
  border-right: 1px solid hsl(215, 25%, 88%);
  padding: 20px;
  overflow-y: auto;
  flex-shrink: 0;
}

.title-section {
  text-align: center;
  width: 100%;
  padding-bottom: 30px;
}
.title-section h1 {
  font-size: 2.5rem;
  color: hsl(210, 70%, 40%);
  margin-top: 0;
  margin-bottom: 0;
}
.title-section h2 {
  font-size: 1.5rem;
  color: hsl(215, 15%, 55%);
  font-weight: 400;
  margin-top: 0.5em;
  margin-bottom: 0;
}

.main-content {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}

.dynamic-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.leaderboard-panel {
  width: 320px;
  background-color: white;
  border-left: 1px solid hsl(215, 25%, 88%);
  padding: 20px;
  overflow-y: auto;
  flex-shrink: 0;
}

.quiz-select-container h3 {
  margin-bottom: 1.2em;
  color: hsl(210, 70%, 40%);
  border-bottom: 2px solid hsl(210, 70%, 85%);
  padding-bottom: 0.5em;
}

.subject-section {
  margin-bottom: 12px;
  border: 1px solid hsl(215, 25%, 94%);
  border-radius: 8px;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0 1px 3px hsla(215, 15%, 50%, 0.05);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.subject-section:hover {
  box-shadow: 0 3px 8px hsla(215, 15%, 50%, 0.08);
}
.subject-section.subject-addition {
  border-left: 4px solid #8bc34a;
}
.subject-section.subject-subtraction {
  border-left: 4px solid #4caf50;
}
.subject-section.subject-multiplication {
  border-left: 4px solid #03a9f4;
}
.subject-section.subject-division {
  border-left: 4px solid #2196f3;
}
.subject-section.subject-number {
  border-left: 4px solid #ff9800;
}
.subject-section.subject-geometry {
  border-left: 4px solid #ff5722;
}
.subject-section.subject-statistics {
  border-left: 4px solid #f44336;
}
.subject-section.subject-algebra {
  border-left: 4px solid #9c27b0;
}
.subject-section.subject-time {
  border-left: 4px solid #795548;
}
.subject-section.subject-random {
  border-left: 4px solid #06011f;
}

.collapsible-header {
  background-color: transparent;
  padding: 12px 15px;
  margin: 0;
  cursor: pointer;
  user-select: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.collapsible-header:hover {
  background-color: hsl(215, 20%, 96%);
}

.quiz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), padding 0.4s ease;
}
.subject-section.expanded .quiz-list {
  max-height: 400px;
  padding: 10px 0;
  border-top: 1px solid hsl(215, 25%, 94%);
}
.quiz-list li {
  padding: 10px 20px 10px 30px;
  cursor: pointer;
  border-bottom: 1px solid hsl(215, 25%, 94%);
  transition: background-color 0.25s ease, color 0.25s ease;
  position: relative;
}
.quiz-list li:last-child {
  border-bottom: none;
}
.quiz-list li:hover {
  background-color: hsl(210, 70%, 85%);
  color: hsl(210, 70%, 40%);
}
.quiz-list li.selected {
  background-color: hsl(210, 70%, 55%);
  color: white;
  font-weight: 600;
}
.quiz-list li.selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: hsl(210, 70%, 40%);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.quiz-list li.selected::after {
  content: "✓";
  font-weight: bold;
  margin-left: 8px;
  color: #e9f2fb;
  float: right;
}

.current-selection-display {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: hsl(215, 20%, 95%);
  border-radius: 4px;
  border: 1px solid hsl(215, 25%, 88%);
  font-style: italic;
  color: hsl(215, 15%, 55%);
  font-size: 0.9rem;
  text-align: center;
}

.start-section {
  text-align: center;
  background-color: hsl(0, 0%, 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(215, 20%, 50%, 0.1);
  padding: 20px;
  max-width: 500px;
}
.start-section h2 {
  color: hsl(210, 70%, 40%);
  margin-bottom: 0.5em;
}
.start-section p {
  color: hsl(215, 15%, 55%);
  font-size: 1.1rem;
  margin-bottom: 1.5em;
}
.start-section button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #614a05;
  background-color: hsl(45, 90%, 60%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.1);
  font-size: 1.1rem;
  padding: 12px 25px;
}
.start-section button:hover:not(:disabled) {
  background-color: #f7d264;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}
.start-section button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}
.start-section button:disabled {
  background-color: #e8e0c9;
  color: #d1c294;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.quiz-section {
  width: 100%;
  max-width: 650px;
  background-color: hsl(0, 0%, 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(215, 20%, 50%, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid hsl(215, 25%, 94%);
  font-size: 1rem;
  font-weight: 600;
}
.quiz-header .timer {
  color: hsl(210, 70%, 55%);
  background-color: hsl(210, 70%, 85%);
  padding: 5px 12px;
  border-radius: 4px;
}
.quiz-header .progress {
  color: hsl(215, 15%, 55%);
}

.question {
  text-align: center;
}
.question h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5em;
  line-height: 1.4;
  color: hsl(215, 15%, 25%);
  font-family: "Noto Sans Math", "Noto Sans JP", "Noto Sans Math", sans-serif;
}
.question form {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.question form input[type=text] {
  min-width: 150px;
  padding: 12px 15px;
  font-size: 1.1rem;
  text-align: center;
}
.question form button[type=submit] {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background-color: hsl(145, 60%, 50%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.1);
  padding: 12px 25px;
}
.question form button[type=submit]:hover:not(:disabled) {
  background-color: #54d489;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}
.question form button[type=submit]:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}
.question form button[type=submit]:disabled {
  background-color: #b9c6be;
  color: white;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.choice-button-quiz-container {
  width: 100%;
  text-align: center;
}
.choice-button-quiz-container h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5em;
  line-height: 1.4;
  color: hsl(215, 15%, 25%);
  font-family: "Noto Sans Math", "Noto Sans JP", "Noto Sans Math", sans-serif;
}

.choice-options {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  margin-top: 20px;
  gap: 30px;
}

.choice-option-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: hsl(215, 15%, 25%);
  background-color: hsl(215, 20%, 90%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.1);
  padding: 25px 40px;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Noto Sans Math", "Noto Sans JP", "Noto Sans Math", sans-serif;
  border: 2px solid hsl(215, 25%, 88%);
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(215, 20%, 50%, 0.1);
  flex: 1;
  min-width: 150px;
  max-width: 250px;
}
.choice-option-button:hover:not(:disabled) {
  background-color: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}
.choice-option-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}
.choice-option-button:disabled {
  background-color: white;
  color: #bfbfbf;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.choice-option-button:hover:not(:disabled) {
  background-color: hsl(215, 20%, 85%);
  border-color: hsl(215, 20%, 75%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}

.comparison-separator {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(215, 15%, 55%);
  display: flex;
  align-items: center;
}

.result-section {
  text-align: center;
  background-color: hsl(0, 0%, 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(215, 20%, 50%, 0.1);
  padding: 20px;
  max-width: 500px;
}
.result-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5em;
  font-weight: 700;
}
.result-section h2.success {
  color: hsl(145, 65%, 45%);
}
.result-section h2.failure {
  color: hsl(0, 70%, 55%);
}
.result-section .result-actions {
  margin-top: 25px;
}
.result-section .result-actions button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #614a05;
  background-color: hsl(45, 90%, 60%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.1);
  font-size: 1.1rem;
  padding: 12px 25px;
}
.result-section .result-actions button:hover:not(:disabled) {
  background-color: #f7d264;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}
.result-section .result-actions button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}
.result-section .result-actions button:disabled {
  background-color: #e8e0c9;
  color: #d1c294;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.leaderboard-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.leaderboard-container h2 {
  text-align: center;
  color: hsl(210, 70%, 40%);
  margin-bottom: 0;
}

.submit-score {
  background-color: hsl(0, 0%, 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(215, 20%, 50%, 0.1);
  padding: 20px;
  background-color: hsl(210, 70%, 85%);
  border: 1px solid #93bfec;
}
.submit-score h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: hsl(210, 70%, 40%);
  text-align: center;
  margin-bottom: 1em;
}
.submit-score p {
  text-align: center;
  font-weight: 600;
  color: hsl(215, 15%, 25%);
  margin-bottom: 1em;
}
.submit-score form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.submit-score form input[type=text] {
  text-align: center;
}
.submit-score form button[type=submit] {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background-color: hsl(210, 70%, 55%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.1);
}
.submit-score form button[type=submit]:hover:not(:disabled) {
  background-color: #5fa1e3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}
.submit-score form button[type=submit]:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}
.submit-score form button[type=submit]:disabled {
  background-color: #c2ccd6;
  color: white;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.status-message {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}
.status-message.success {
  background-color: #d5f6e3;
  color: #1f9350;
}
.status-message.error {
  background-color: #f7d4d4;
  color: #c32222;
}

.leaderboard-container > p {
  text-align: center;
  font-style: italic;
  color: hsl(215, 15%, 55%);
}
.leaderboard-container > p.error {
  color: hsl(0, 70%, 55%);
  font-weight: 600;
  background-color: #f7d4d4;
  padding: 10px;
  border-radius: 4px;
}

.leaderboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  background-color: hsl(0, 0%, 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(215, 20%, 50%, 0.1);
  padding: 20px;
  padding: 0;
  overflow: hidden;
}
.leaderboard-table th,
.leaderboard-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid hsl(215, 25%, 94%);
}
.leaderboard-table th {
  background-color: hsl(215, 20%, 96%);
  color: hsl(215, 15%, 25%);
  font-weight: 600;
  text-align: center;
}
.leaderboard-table td:nth-child(1) {
  width: 50px;
  text-align: center;
  font-weight: 600;
  color: hsl(210, 70%, 55%);
}
.leaderboard-table td:nth-child(2) {
  font-weight: 500;
}
.leaderboard-table td:nth-child(3) {
  text-align: right;
  font-weight: 600;
}
.leaderboard-table tbody tr {
  transition: background-color 0.25s ease;
}
.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}
.leaderboard-table tbody tr:hover {
  background-color: hsl(210, 70%, 85%);
}
.leaderboard-table tbody tr:nth-child(1) td:nth-child(1) {
  background-color: hsl(45, 100%, 85%);
}
.leaderboard-table tbody tr:nth-child(2) td:nth-child(1) {
  background-color: hsl(210, 20%, 88%);
}
.leaderboard-table tbody tr:nth-child(3) td:nth-child(1) {
  background-color: hsl(30, 50%, 85%);
}

@media (max-width: 1024px) {
  .app-container {
    flex-direction: column;
    height: auto;
    overflow-y: auto;
  }
  .sidebar,
  .leaderboard-panel {
    width: 100%;
    max-height: 50vh;
    border: none;
    border-bottom: 1px solid hsl(215, 25%, 88%);
    overflow-y: auto;
  }
  .main-content {
    min-height: 50vh;
    padding: 20px;
  }
  .quiz-section {
    max-width: 95%;
  }
  .comparison-options {
    gap: 15px;
  }
  .comparison-option {
    padding: 15px 25px;
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .sidebar,
  .leaderboard-panel {
    padding: 15px;
  }
  .main-content {
    padding: 15px;
  }
  .question h2,
  .question form,
  .comparison-options {
    flex-direction: column;
    align-items: stretch;
  }
  .comparison-separator {
    margin: 10px 0;
  }
  .leaderboard-table {
    font-size: 0.9rem;
  }
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 8px;
  }
}
.top-users-podium-container {
  width: 100%;
  max-width: 330px;
  margin: 5px auto 10px auto;
}
.top-users-podium-container .podium-title {
  font-size: 0.85rem;
  color: hsl(215, 15%, 55%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-align: center;
}
.top-users-podium-container .podium-status {
  font-size: 0.8rem;
  color: hsl(215, 15%, 55%);
  text-align: center;
  padding: 15px 0;
  font-style: italic;
}
.top-users-podium-container .podium-status.error {
  color: hsl(0, 70%, 55%);
  font-weight: 600;
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  min-height: 80px;
  position: relative;
}

.podium-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 6px;
  border-radius: 4px 4px 0 0;
  text-align: center;
  color: white;
  width: 90px;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.15);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  position: relative;
}
.podium-step.empty {
  background-color: hsl(215, 25%, 94%);
}
.podium-step.empty:first-child {
  min-height: 55px;
}
.podium-step.empty:nth-child(2) {
  min-height: 70px;
}
.podium-step.empty:last-child {
  min-height: 50px;
}
.podium-step .podium-rank {
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}
.podium-step .podium-name {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 2px;
}
.podium-step .podium-count {
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 2px;
}
.podium-step.first-place {
  background-color: hsl(42, 85%, 60%);
  min-height: 70px;
  order: 2;
  transform: translateY(-8px);
  z-index: 1;
}
.podium-step.second-place {
  background-color: hsl(210, 20%, 75%);
  min-height: 55px;
  order: 1;
}
.podium-step.third-place {
  background-color: hsl(30, 60%, 65%);
  min-height: 50px;
  order: 3;
}
.podium-step:hover {
  transform: translateY(-4px) scale(1.5);
  box-shadow: 0 3px 8px hsla(0, 0%, 0%, 0.2);
}
.podium-step:hover.first-place {
  transform: translateY(-11px) scale(1.5);
}

.title-section {
  text-align: center;
  width: 100%;
  padding-bottom: 10px;
}
.title-section h1 {
  font-size: 2.5rem;
  color: hsl(210, 70%, 40%);
  margin-top: 0;
  margin-bottom: 0;
}

.podium-medals {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 0.85rem;
  flex-wrap: nowrap;
  line-height: 1;
  padding: 3px 0;
}
.podium-medals .medal {
  display: inline-flex;
  align-items: center;
  text-shadow: 0px 1px 2px hsla(0, 0%, 0%, 0.2);
  transition: transform 0.15s ease-out;
}
.podium-medals .medal:hover {
  transform: scale(1.5);
}

.analog-clock-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0px 0;
  gap: 10px;
}
.analog-clock-container .period-indicator {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: hsl(0, 0%, 100%);
  border: 2px solid;
  box-shadow: 0 2px 4px hsla(215, 20%, 50%, 0.1);
  text-align: center;
}
.analog-clock-container .period-indicator.morning {
  color: hsl(210, 70%, 40%);
  border-color: hsl(210, 70%, 85%);
  background-color: #e1edfa;
}
.analog-clock-container .period-indicator.afternoon {
  color: #c2940a;
  border-color: #fae39e;
  background-color: #fefcf5;
}

.analog-clock-svg .clock-face {
  fill: white;
  stroke: #899db8;
  stroke-width: calc(var(--clock-viewbox-size, 200) * 0.01);
}
.analog-clock-svg .hour-marker {
  stroke: hsl(215, 15%, 55%);
  stroke-width: calc(var(--clock-viewbox-size, 200) * 0.0125);
  stroke-linecap: round;
}
.analog-clock-svg .minute-marker {
  stroke: hsl(215, 25%, 88%);
  stroke-width: calc(var(--clock-viewbox-size, 200) * 0.0075);
  stroke-linecap: round;
}
.analog-clock-svg .hour-number {
  font-family: "Noto Sans JP", "Noto Sans Math", sans-serif;
  font-size: calc(var(--clock-viewbox-size, 200) * 0.08);
  font-weight: 600;
  fill: hsl(215, 15%, 25%);
  text-anchor: middle;
  dominant-baseline: central;
}
.analog-clock-svg .hour-hand {
  stroke: black;
  stroke-width: calc(var(--clock-viewbox-size, 200) * 0.025);
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.25));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.analog-clock-svg .minute-hand {
  stroke: hsl(215, 15%, 25%);
  stroke-width: calc(var(--clock-viewbox-size, 200) * 0.0175);
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.2));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.analog-clock-svg .center-dot {
  fill: hsl(210, 70%, 55%);
  stroke: #1b5998;
  stroke-width: calc(var(--clock-viewbox-size, 200) * 0.005);
  r: calc(var(--clock-viewbox-size, 200) * 0.02);
  filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.3));
}

.clock-question {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.clock-question h2 {
  font-size: 1.6rem;
  margin-bottom: 0;
  color: hsl(215, 15%, 25%);
  text-align: center;
  line-height: 1.4;
  font-family: "Noto Sans Math", "Noto Sans JP", "Noto Sans Math", sans-serif;
}
.clock-question .clock-display {
  margin-bottom: 10px;
}
.clock-question .clock-input-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.clock-question .clock-input-section .clock-instruction {
  font-size: 0.95rem;
  color: hsl(215, 15%, 55%);
  text-align: center;
  margin-bottom: 0;
}
.clock-question .clock-input-section form {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.clock-question .clock-input-section form .clock-time-input {
  min-width: 100px;
  max-width: 140px;
  padding: 10px 12px;
  font-size: 1.2rem;
  text-align: center;
  font-family: "Noto Sans Math", "Noto Sans JP", "Noto Sans Math", sans-serif;
  border-radius: 4px;
  border: 1px solid hsl(215, 25%, 88%);
}
.clock-question .clock-input-section form .clock-time-input:focus {
  outline: none;
  border-color: hsl(210, 70%, 55%);
  box-shadow: 0 0 0 3px hsla(210, 70%, 55%, 0.2);
}
.clock-question .clock-input-section form .clock-submit-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background-color: hsl(145, 60%, 50%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.1);
  padding: 12px 25px;
}
.clock-question .clock-input-section form .clock-submit-btn:hover:not(:disabled) {
  background-color: #54d489;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(215, 20%, 50%, 0.15);
}
.clock-question .clock-input-section form .clock-submit-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}
.clock-question .clock-input-section form .clock-submit-btn:disabled {
  background-color: #b9c6be;
  color: white;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
