
.quiz-height-wrapper {
  min-height: 590px;
 border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.typing-section {
text-align: center;
width: 100%;
padding-top: 18px;
min-height: 430px;
}

.brief-instructions {
  font-size: 16px;
  margin-top: 24px;
  color: #555;
  margin-bottom: 18px;
}

.word-box {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 36px;
  background-image: url("/images/vocabulary/memorize-cat.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30%;           /* 小貓會縮小！ */
  background-position: left 11% center; /* 小貓位置微調 */

}

/* 英文單字 */
.word-text {
  font-size: 38px;
  font-weight: bold;
  padding-bottom: 16px;
  text-align: center;
  font-family:Arial, Helvetica, sans-serif;
}

/* 中文字 */
.word-chinese {
  font-size: 21px;
  text-align: center;
  padding-bottom: 12px;
  font-weight: bold;
}

/* 音節 */
.word-syllable {
  font-size: 26px;
  text-align: center;
  color: #222;
}

.status-bar {
  display: flex;
  text-align: center;
  align-items: center; /* 垂直置中 */
  justify-content: center; /* 🟡 換成 center，中間排！ */
  gap: 12px;
  width: 100%;
  min-height: 40px;
}

#info-count {
  font-size: 28px; 
    color: #0066cc; 
    font-weight: bold;
    margin-right: 6px;
    position: relative;
    top: 4px; /* 表示這整塊向下移動 */
    display: inline-block;
  text-align: left;
   width: 92px;
  font-family:Arial, Helvetica, sans-serif;
}

#info-typed {
  width: 130px; /* 固定寬度，可以調整 */
  background-color: #d0f6ff;
  display: inline-block;
  text-align: center;
  padding: 9px 0;
  margin-right: 6px;
  font-size: 16px;
}

#info-time {
  background-color:#ffe1a8;
  width: 134px;
  display: inline-block;
  text-align: center;
  padding: 8px 0;
  margin-right: 12px;
  font-size: 16px;
  font-weight: normal;
}

.result-message {
  display: flex;
  justify-content: center; /* 🟡 不用 space-between了 */
  align-items: center;
  min-height: 36px;
  margin: 8px 11%;
  border-radius: 8px;
  overflow: hidden; /* 防止邊界溢出 */
}

.result-left {
  flex: 1;
  text-align: left;
  padding-left: 6px;
}

.result-message .correct {
   color: blue; 
   font-size: 20px;
}

.result-message .incorrect { 
  color: rgb(228, 24, 24); 
  font-size: 20px;
}

.result-info {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 36px;
  box-sizing: border-box;
}

#final-message {
  font-size: 18px;
  font-weight: bold;
  color: #e96b04;
}

.result-phonetic {
  flex: 1;
  text-align: right;
  margin-right: 12px;
  font-family:'Times New Roman', Times, serif;
  font-size: 26px;
}

input[type="text"] {
  font-size: 40px;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 78%;
  text-align: center;
  background-color: #fff;
  color: #333;
  outline: none;
  transition: none;
  user-select: none;
  border-radius: 6px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: #fffefd;
}

.lesson-main-button {
  background-color: #f7fbff;
  font-size: 16px;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #6a889e;
  margin: 6px;
  box-shadow: 2px 2px 4px rgba(0, 112, 192, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lesson-main-button:hover {
  background-color: #e7f8ff;
}

.lesson-main-button:active {
  background-color: #cfefff;
}

#example-section {
  margin: 0 11%;
  padding-left: 12px;
  border-left: solid 4px #e49124;
  margin-top: 36px;
}

#example-content {
  text-align: left;
  padding-top: 6px;
  padding-bottom: 2px;
}

.word-note {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 35px;
  font-size: 20px;
}

.example-line {
  margin-bottom: 18px;
}

.example-en {
  font-size: 22px;
  line-height: 34px;
  padding-bottom: 3px;
}

.example-zh {
  font-size: 17px;
  line-height: 30px;
}

.play-example {
  width: 22px;
  height: 22px;
  border: none;
  background-color: transparent;
  background-image: url('/images/vocabulary/icon-play-example.png');
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  margin-left: 4px;
  position: relative;
  top: 1px;
}
.play-example.playing {
  background-image: url('/images/vocabulary/icon-stop-example.png');
}

.memorize-instructions-wrapper {
  padding-top: 34px;
  min-height: 500px; /* 這是使用說明的高度，最後再設定 */
  padding-left: 80px;
  padding-right: 80px;
}

/* 小筆電：1366px 以下 */
@media (max-width: 1366px) {

#info-count {
  font-size: 26px; 
  position: relative;
  top: 3px; /* 表示這整塊向下移動 */
  margin-right: 0px;
}

input[type="text"] {
  font-size: 36px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 英文單字 */
.word-text {
  font-size: 35px;
  padding-bottom: 12px;
}

.word-chinese {
  font-size: 20px;
  padding-bottom: 9px;
}

.word-syllable {
  font-size: 23px;
}

/* 音標 */
.result-phonetic {
  font-size: 24px;
}

.memorize-instructions-wrapper {
  padding-left: 80px;
  padding-right: 80px;
}

.word-note {
  font-size: 16px;
}

.example-en {
  font-size: 20px;
}

.example-zh {
  font-size: 16px;
}

.play-example {
  width: 20px;
  height: 20px;
  position: relative;
  top: 2px;
  margin-left: 2px;
}

.lesson-main-button {
  font-size: 16px;
  padding: 9px 14px;
}

} /* 結尾 */

/* 大螢幕：1920px 以上，讓字稍微放大，看起來不太鬆 */
@media (min-width: 1920px) {

#info-count {
  font-size: 32px; 
  position: relative;
  top: 5px; 
  margin-right: 6px;
  width: 100px;
}

#info-typed {
  width: 156px; /* 固定寬度，可以調整 */
  padding: 11px 0;
  margin-right: 6px;
  font-size: 20px;
}

#info-time {
  width: 158px;
  padding: 10px 0;
  margin-right: 12px;
  font-size: 20px;
  font-weight: normal;
}

input[type="text"] {
  font-size: 45px;
  padding-top: 13px;
  padding-bottom: 13px;
}

/* 英文單字 */
.word-text {
  font-size: 44px;
  padding-bottom: 13px;
}

.word-chinese {
  font-size: 25px;
  padding-bottom: 12px;
}

.word-syllable {
  font-size: 30px;
}

/* 音標 */
.result-phonetic {
  font-size: 30px;
}

.result-message {
  min-height: 45px;
  margin: 8px 11%;
  padding-top: 12px;
}

.status-bar {
  min-height: 40px;
  padding-bottom: 12px;
}

.result-message .correct {
   font-size: 24px;
}

.result-message .incorrect { 
  font-size: 24px;
}

.brief-instructions {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 18px;
}

.memorize-instructions-wrapper {
  padding-left: 80px;
  padding-right: 80px;
}

.word-note {
  font-size: 22px;
}

.example-en {
  font-size: 24px;
}

.example-zh {
  font-size: 20px;
}

.play-example {
  width: 25px;
  height: 25px;
}

.example-line {
  margin-bottom: 24px;
}

.lesson-main-button {
  font-size: 20px;
  padding: 10px 16px;
}

#final-message {
  font-size: 22px;
}

} /* 結尾 */
