@import url("https://fonts.googleapis.com/css2?family=Jua&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");
[hidden] {
  display: none !important;
}
.coach {
  margin-top: 24px;
  border: 1px solid #d5e2d2;
  border-radius: 22px;
  background: #f5f8ef;
  padding: 22px;
  text-align: left;
}
.coach-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.coach-heading img {
  width: 40px;
  height: 45px;
  object-fit: contain;
}
.coach-heading h3 {
  margin: 0;
  font-size: 17px;
}
.coach-heading small {
  font-size: 11px;
}
.coach-message {
  background: white;
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  margin: 10px 0;
  white-space: pre-line;
}
.coach-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.coach-form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid #9caf98;
  background: white;
  border-radius: 12px;
  padding: 10px;
  font-size: 14px;
}
.coach-form button {
  padding: 10px 15px;
}
.coach-message.user {
  background: #e1ebf6;
}
.sync {
  font-size: 11px;
  color: #576656;
  margin-top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.question > .voice-panel {
  margin-top: 20px;
}
.quiz-layout > *, .lesson-layout > *, .voice-panel > * {
  min-width: 0;
}
.voice-panel p, .voice-status, .transcript {
  overflow-wrap: anywhere;
}
.question > .voice-panel .privacy {
  margin-bottom: 0;
}
dialog::backdrop {
  background: #24344866;
}
dialog {
  max-width: calc(100% - 32px);
}
:root {
  --paper: #fffaf3;
  --ink: #243448;
  --muted: #64716e;
  --green: #235a48;
  --mint: #dfefe4;
  --coral: #e77459;
  --line: #e7e5d9;
  --cream: #fff0bd;
  --blue: #e3f0f9;
  --white: #fff;
  --focus: #155a8a;
  --error: #a23c2e;
  --shadow: 0 5px 0 #e8e7da;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
button {
  transition:
    transform 0.15s,
    background 0.15s;
}
button:active:not(:disabled) {
  transform: translateY(2px);
}
header {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 22px 36px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 49px;
  height: 55px;
  object-fit: contain;
  image-rendering: pixelated;
}
.brand span {
  font-size: 22px;
  font-family: Jua, sans-serif;
}
.brand b {
  font-weight: 400;
  color: var(--green);
}
.brand small {
  display: block;
  font:
    11px "Noto Sans KR",
    sans-serif;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.05em;
}
nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
nav a {
  font-size: 14px;
  padding: 12px 15px;
  border-radius: 14px;
  font-weight: 600;
}
nav a.active {
  background: var(--mint);
  color: var(--green);
}
nav span {
  background: white;
  padding: 1px 5px;
  border-radius: 6px;
  font-size: 11px;
}
main {
  max-width: 1168px;
  margin: 0 auto;
  padding: 36px 28px 65px;
  min-height: 75vh;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Jua, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.04em;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  min-height: 322px;
  background: var(--mint);
  border: 1px solid #cfdfd1;
  border-radius: 30px;
  padding: 38px 40px;
  overflow: hidden;
}
.hero p {
  color: #496354;
  font-size: 15px;
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero-art {
  position: relative;
  min-height: 245px;
  align-self: center;
}
.orb {
  position: absolute;
  inset: 2% 8%;
  border-radius: 50%;
  background: #f9f6e6;
}
.cat-main {
  position: absolute;
  width: 140px;
  height: 166px;
  object-fit: contain;
  left: 17%;
  bottom: 16px;
  image-rendering: pixelated;
}
.cat-friend {
  position: absolute;
  width: 154px;
  height: 158px;
  object-fit: contain;
  left: 48%;
  bottom: 10px;
}
.bubble {
  position: absolute;
  top: 5px;
  left: 13%;
  background: white;
  border: 1px solid #dce2d1;
  border-radius: 18px 18px 18px 4px;
  padding: 12px 20px;
  transform: rotate(-4deg);
  font-family: Jua;
  font-size: 21px;
  box-shadow: 0 4px 0 #00000005;
}
.floating-number {
  position: absolute;
  right: 8%;
  top: 28%;
  font-family: Jua;
  font-size: 30px;
  color: #986e36;
  transform: rotate(10deg);
}
.leaf {
  position: absolute;
  bottom: 6%;
  left: 3%;
  font-size: 35px;
  color: var(--green);
}
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 0 #143c30;
}
.btn.secondary {
  background: white;
  color: var(--green);
  border: 1px solid #ccd9cd;
  box-shadow: 0 3px 0 #e4e9de;
}
.btn.soft {
  background: var(--cream);
  color: var(--ink);
  box-shadow: none;
}
.textbtn {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 44px;
  padding: 8px 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero .btn {
  margin-right: 8px;
}
.home-strip {
  display: flex;
  gap: 16px;
  margin: 22px 0 40px;
}
.strip-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 17px 22px;
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: center;
}
.strip-symbol {
  font-family: Jua;
  font-size: 24px;
  color: var(--green);
  background: var(--mint);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.strip-item strong {
  font-size: 15px;
  display: block;
}
.strip-item small {
  font-size: 12px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 18px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.tag {
  display: inline-flex;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f4eddd;
  color: #6e604c;
  font-weight: 700;
}
.topic-group {
  margin-bottom: 28px;
}
.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}
.group-title span {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.topic-card {
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 207px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 23px;
  background: white;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.topic-card:hover {
  transform: translateY(-3px);
  border-color: #9cbfa4;
}
.topic-card h3 {
  margin: 0;
  max-width: 80%;
}
.topic-card p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.topic-card .example {
  font-family: Jua;
  font-size: 25px;
  color: var(--green);
  margin: 9px 0;
}
.topic-card .card-foot {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: var(--muted);
}
.topic-card .arrow {
  color: var(--green);
  font-size: 20px;
}
.mini-cat {
  position: absolute;
  right: 16px;
  top: 18px;
  width: 36px;
  height: 41px;
  object-fit: contain;
  image-rendering: pixelated;
}
.group-1 .example {
  color: #9a593d;
}
.group-2 .example {
  color: #456796;
}
.group-3 .example {
  color: #775b8e;
}
.group-4 .example {
  color: #676552;
}
.group-4 .topic-card {
  background: #f5f2ea;
}
.callout {
  background: #fff4d8;
  border: 1px solid #eedfb9;
  border-radius: 18px;
  padding: 20px 24px;
  font-size: 14px;
  margin-top: 28px;
}
.callout p:last-child {
  margin-bottom: 0;
}
.lesson-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
  margin-top: 24px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.lesson-example {
  font-family: Jua;
  font-size: 36px;
  text-align: center;
  padding: 32px 15px;
  background: var(--mint);
  border-radius: 20px;
  margin-bottom: 25px;
}
.lesson-copy {
  font-size: 18px;
  line-height: 1.9;
}
.field {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
}
.field select {
  display: block;
  width: 100%;
  min-height: 48px;
  background: var(--paper);
  border: 1px solid #c8cabe;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
}
.field small {
  display: block;
  font-weight: 400;
  margin-top: 8px;
  font-size: 12px;
}
.reading-cat {
  width: 150px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 5px auto 20px;
}
.crumb {
  font-size: 13px;
  color: var(--muted);
  display: inline-block;
  min-height: 44px;
  padding: 8px 0;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.quiz-top h2 {
  margin: 0;
  font-size: 21px;
}
.progress-track {
  height: 8px;
  border-radius: 8px;
  background: #e4e8dd;
  overflow: hidden;
  margin: 16px 0 28px;
}
.progress-fill {
  height: 100%;
  background: #6b9b75;
  border-radius: 8px;
  transition: width 0.3s;
}
.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 298px;
  gap: 24px;
}
.question {
  min-height: 420px;
  text-align: center;
  position: relative;
}
.question-number {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.prompt {
  font-family: Jua;
  font-size: clamp(28px, 4vw, 47px);
  line-height: 1.45;
  margin: 25px 0 12px;
  overflow-wrap: anywhere;
}
.prompt.big {
  font-size: 76px;
  color: var(--green);
  margin: 5px 0;
}
.instruction {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.answers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}
.answer-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.answer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.answer-field input {
  width: 94px;
  height: 62px;
  text-align: center;
  font-size: 28px;
  color: var(--ink);
  font-weight: 700;
  border: 2px solid #aebfae;
  border-radius: 14px;
  background: #fffef9;
  min-width: 0;
}
.answer-field.wide input {
  width: min(360px, 65vw);
  font-size: 22px;
}
.answer-field input:focus {
  border-color: var(--green);
}
.operator {
  font-size: 24px;
  margin-top: 20px;
}
.feedback {
  min-height: 35px;
  padding: 8px;
  font-size: 14px;
  margin: 10px 0;
  color: var(--green);
  border-radius: 10px;
}
.feedback.error {
  color: var(--error);
  background: #fff0e8;
}
.feedback.success {
  background: var(--mint);
}
.feedback p {
  margin: 5px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.voice-panel {
  background: #edf4e9;
  padding: 24px;
  border: 1px solid #d8e4ce;
  border-radius: 24px;
  align-self: start;
  text-align: center;
}
.voice-panel h3 {
  font-family: Jua;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 400;
}
.voice-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 164px;
  min-height: 170px;
  margin: 0 auto 18px;
  border: 2px solid #a9c69d;
  background: #fffef6;
  border-radius: 28px;
  box-shadow: 0 5px 0 #c7d9bd;
  color: var(--green);
  font-weight: 800;
}
.voice-button img {
  width: 83px;
  height: 97px;
  object-fit: contain;
  image-rendering: pixelated;
}
.voice-button.listening {
  border-color: var(--coral);
  background: #fff0e6;
  animation: pulse 1.4s infinite;
}
.voice-panel p {
  font-size: 13px;
  line-height: 1.7;
}
.voice-status {
  min-height: 46px;
  font-size: 13px;
  color: #475e3f;
}
.transcript {
  min-height: 38px;
  background: white;
  border-radius: 10px;
  padding: 8px;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.voice-options {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  font-size: 12px;
  margin: 15px 0;
}
.voice-options input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}
.privacy {
  font-size: 11px !important;
  color: #586550;
  line-height: 1.6;
}
.hint {
  background: #fff7df;
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  font-size: 14px;
  margin: 18px 0;
}
.hint summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 30px;
}
.hint p {
  margin: 10px 0 0;
}
.result {
  text-align: center;
  max-width: 750px;
  margin: 20px auto;
}
.result h1 {
  font-size: 38px;
}
.result-cat {
  height: 135px;
  max-width: 180px;
  object-fit: contain;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.stat {
  padding: 22px 12px;
  background: var(--mint);
  border-radius: 18px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: Jua;
  font-size: 32px;
  font-weight: 400;
}
.stat small {
  font-size: 12px;
}
.stat:nth-child(2) {
  background: var(--cream);
}
.stat:nth-child(3) {
  background: var(--blue);
}
.result-list {
  text-align: left;
  margin: 24px 0;
}
.result-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
}
.result-item p {
  margin: 0;
}
.result-item small {
  font-size: 11px;
}
.badge {
  padding: 4px 8px;
  background: var(--mint);
  border-radius: 8px;
  font-size: 11px;
  white-space: nowrap;
  align-self: center;
}
.badge.again {
  background: #fff0db;
}
.records {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.records td,
.records th {
  text-align: left;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
}
.records th {
  font-size: 12px;
  color: var(--muted);
}
.scroll-table {
  overflow: auto;
}
.empty {
  text-align: center;
  padding: 45px 20px;
}
.guide {
  max-width: 800px;
  margin: auto;
}
.guide h2 {
  margin-top: 30px;
}
.guide p,
.guide li {
  line-height: 1.9;
  font-size: 15px;
}
.guide a {
  text-decoration: underline;
}
.notice {
  font-size: 13px;
  color: var(--muted);
}
.stage-path {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 26px;
}
.stage-path span {
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--blue);
  padding: 24px 28px;
  border-radius: 22px;
  margin-top: 30px;
}
.download h3 {
  margin: 0 0 5px;
}
.download p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1168px;
  margin: auto;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.pause-cover {
  text-align: center;
  padding: 50px 20px;
}
.timing {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px #e7745925;
  }
}
@media (min-width: 1000px) {
  .hero-art {
    margin-right: 10px;
  }
}
@media (max-width: 900px) {
  header {
    padding: 18px 24px;
    flex-wrap: wrap;
    gap: 15px;
  }
  nav {
    margin-left: auto;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .quiz-layout {
    grid-template-columns: 1fr 250px;
    gap: 18px;
  }
  .lesson-layout {
    grid-template-columns: 1fr 280px;
  }
  .hero {
    padding: 30px;
  }
  .hero-art {
    min-height: 220px;
  }
  .cat-main {
    left: 10%;
  }
  .cat-friend {
    left: 45%;
  }
}
@media (max-width: 680px) {
  header {
    padding: 16px 18px;
    gap: 14px;
  }
  .brand span {
    font-size: 21px;
  }
  .brand img {
    width: 39px;
    height: 43px;
  }
  .brand small {
    font-size: 10px;
  }
  nav {
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 0;
  }
  nav a {
    padding: 9px 10px;
    font-size: 12px;
  }
  main {
    padding: 22px 16px 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 26px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hero-art {
    min-height: 200px;
    width: 270px;
    max-width: 100%;
    margin: 18px auto 0;
  }
  .cat-main {
    width: 110px;
    height: 136px;
    left: 13%;
    bottom: 6px;
  }
  .cat-friend {
    width: 118px;
    height: 135px;
    left: 47%;
    bottom: 3px;
  }
  .bubble {
    font-size: 17px;
    top: 0;
  }
  .floating-number {
    font-size: 24px;
  }
  .hero .btn {
    font-size: 13px;
    padding: 11px 15px;
  }
  .home-strip {
    gap: 8px;
    margin: 16px 0 28px;
  }
  .strip-item {
    padding: 12px 8px;
    display: block;
    text-align: center;
  }
  .strip-symbol {
    display: none;
  }
  .strip-item strong {
    font-size: 13px;
  }
  .strip-item small {
    font-size: 10px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading p {
    font-size: 11px;
    max-width: 130px;
  }
  .cards {
    gap: 11px;
  }
  .topic-card {
    padding: 17px 14px;
    min-height: 206px;
    border-radius: 18px;
  }
  .topic-card h3 {
    font-size: 16px;
    max-width: 100%;
    padding-right: 15px;
  }
  .topic-card p {
    font-size: 11px;
  }
  .topic-card .example {
    font-size: 21px;
  }
  .mini-cat {
    width: 24px;
    height: 28px;
    right: 8px;
    top: 9px;
    opacity: 0.7;
  }
  .topic-card .card-foot {
    font-size: 10px;
  }
  .lesson-layout,
  .quiz-layout {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 22px 18px;
  }
  .lesson-copy {
    font-size: 16px;
  }
  .lesson-example {
    font-size: 29px;
  }
  .question {
    min-height: 360px;
  }
  .voice-panel {
    padding: 20px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0 15px;
    text-align: left;
  }
  .voice-panel h3 {
    grid-column: 1/-1;
    text-align: center;
  }
  .voice-button {
    grid-column: 1;
    grid-row: 2/5;
    width: 115px;
    min-height: 142px;
    margin: 8px 0;
  }
  .voice-button img {
    width: 64px;
    height: 80px;
  }
  .voice-panel .voice-status,
  .voice-panel .transcript {
    grid-column: 2;
  }
  .voice-panel .voice-options,
  .voice-panel .privacy {
    grid-column: 1/-1;
  }
  .voice-panel #voice-example {
    grid-column: 2;
  }
  .voice-panel .textbtn {
    grid-column: 1/-1;
  }
  .question-number {
    font-size: 11px;
  }
  .answer-field input {
    width: 70px;
    height: 57px;
    font-size: 25px;
  }
  .answer-row {
    gap: 8px;
  }
  .answers {
    gap: 8px;
  }
  .operator {
    font-size: 20px;
  }
  .quiz-top h2 {
    font-size: 17px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 16px 7px;
  }
  .stat strong {
    font-size: 27px;
  }
  .stat small {
    font-size: 10px;
  }
  .download {
    padding: 21px;
    flex-direction: column;
    align-items: flex-start;
  }
  .download .btn {
    width: 100%;
  }
  footer {
    flex-direction: column;
    padding: 22px;
  }
  .records {
    min-width: 530px;
  }
  .result h1 {
    font-size: 32px;
  }
  .result-item {
    font-size: 12px;
  }
  .stage-path {
    font-size: 11px;
  }
  .group-title {
    font-size: 12px;
  }
  .btn {
    font-size: 14px;
  }
  .result .actions .btn {
    flex: 1;
  }
  .prompt {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.teacher-reply { display: flex; gap: 14px; align-items: flex-start; }
.teacher-portrait { position: relative; flex: 0 0 100px; width: 100px; height: 100px; background: #fff5df; border-radius: 24px; }
.teacher-portrait img { width: 100%; height: 100%; object-fit: contain; }
.teacher-body { min-width: 0; flex: 1; }
.teacher-body p { white-space: pre-line; margin: 8px 0; }
.teacher-status { display: block; color: #596855; font-size: 12px; }
.teacher-play { min-height: 44px; }
.teacher-mouth { display: none; position: absolute; left: 46%; top: 51%; width: 8%; height: 6%; border: 2px solid #4b291c; border-radius: 45% 45% 60% 60%; background: #d67c83; transform-origin: center top; }
.is-speaking .teacher-mouth { display: block; animation: teacher-talk 360ms infinite; }
@keyframes teacher-talk { 0%, 100% { transform: scaleY(.25); } 35% { transform: scaleY(1); } 70% { transform: scaleY(.5); } }
@media (max-width: 480px) { .teacher-portrait { flex-basis: 72px; width: 72px; height: 72px; } .teacher-reply { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .is-speaking .teacher-mouth { animation: none; transform: scaleY(.5); } }
