.english-speaking-app {
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(255, 241, 232, 0.95), rgba(249, 251, 251, 0) 420px),
    #f8faf9;
  color: #2d342f;
}

.english-speaking-app .ket-brand b {
  background: #e15b2a;
}

.speak-hub,
.speak-shell {
  width: min(880px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 48px;
  --subject: #e15b2a;
  --subject-soft: #fff1e8;
}

.speak-hub-hero {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #f3d5c4;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(180, 70, 24, 0.08);
  display: grid;
  gap: 16px;
}

.speak-kicker {
  color: #c2410c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.speak-hub-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.speak-hub-hero p,
.speak-lead {
  margin: 0;
  color: #5b6560;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
}

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

.speak-stats span {
  padding: 12px 10px;
  border-radius: 16px;
  background: #fff6ef;
  display: grid;
  gap: 2px;
  text-align: center;
}

.speak-stats strong {
  font-size: 22px;
  color: #c2410c;
}

.speak-stats small {
  color: #6d5a4c;
  font-size: 12px;
  font-weight: 700;
}

.speak-progress {
  height: 10px;
  border-radius: 999px;
  background: #f3ddd0;
  overflow: hidden;
}

.speak-progress i {
  display: block;
  height: 100%;
  background: #e15b2a;
  border-radius: inherit;
}

.speak-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.speak-primary,
.speak-shell .ket-primary {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: #e15b2a;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.speak-primary:hover,
.speak-primary:focus-visible,
.speak-shell .ket-primary:hover,
.speak-shell .ket-primary:focus-visible {
  background: #c2410c;
  outline: none;
}

.speak-primary:disabled,
.speak-shell .ket-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

.speak-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.speak-choice-card,
.speak-phase-card,
.speak-stamp {
  width: 100%;
  min-height: 52px;
  padding: 14px;
  border: 2px solid #f0d6c6;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.speak-choice-card strong,
.speak-phase-card strong {
  display: block;
  margin-bottom: 4px;
}

.speak-choice-card small,
.speak-phase-card small {
  color: #66736f;
}

.speak-phases,
.speak-passport {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.speak-section-title {
  margin: 8px 0 0;
  font-size: 18px;
}

.speak-phase-list {
  display: grid;
  gap: 10px;
}

.speak-phase-card.is-locked {
  opacity: 0.55;
  cursor: default;
}

.speak-passport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
}

.speak-stamp {
  min-height: 92px;
  padding: 10px 8px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.speak-stamp.is-stamped {
  border-color: #16a34a;
  background: #ecfdf3;
  color: #166534;
}

.speak-stamp.is-progress {
  border-color: #e15b2a;
  background: #fff6ef;
}

.speak-stamp.is-locked {
  opacity: 0.45;
  cursor: default;
}

.speak-stamp em {
  display: block;
  font-style: normal;
  color: #9a7b68;
  font-weight: 700;
  font-size: 11px;
}

.speak-teaser {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7dd;
  color: #654c12;
  font-size: 14px;
  line-height: 1.55;
}

.speak-shell .ket-lesson-card {
  border-color: #f3d5c4;
}

.speak-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #eadfd6;
}

.speak-chunks {
  display: grid;
  gap: 10px;
}

.speak-chunk {
  padding: 12px 14px;
  border: 1px solid #eadfd6;
  border-radius: 16px;
  background: #fffaf6;
  display: grid;
  gap: 6px;
}

.speak-chunk b {
  font-size: 16px;
}

.speak-chunk small {
  color: #66736f;
}

.speak-listen {
  min-height: 44px;
  justify-self: start;
}

.speak-partner {
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef6ff;
  color: #1e3a5f;
  display: grid;
  gap: 8px;
}

.speak-choices {
  display: grid;
  gap: 10px;
}

.speak-choice {
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #dce5e3;
  border-radius: 15px;
  background: #fff;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.speak-choice.is-selected {
  border-color: #e15b2a;
  background: #fff6ef;
}

.speak-hint {
  display: grid;
  gap: 8px;
}

.speak-hint-panel {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7fbfa;
  display: grid;
  gap: 8px;
}

.speak-hint-panel ol,
.speak-hint-panel ul {
  margin: 0;
  padding-left: 18px;
}

.speak-recorder,
.speak-along {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #fff6ef;
}

.speak-recorder button,
.speak-along button {
  min-height: 52px;
}

.speak-recorder audio {
  width: 100%;
}

.speak-checklist {
  display: grid;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

.speak-checklist label {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7fbfa;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.speak-checklist input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.speak-timer {
  font-weight: 800;
  color: #c2410c;
}

.speak-shell .guide-video {
  margin-top: 4px;
}

.speak-shell .guide-video-frame {
  border-radius: 18px;
}

.speak-shell .guide-video-kicker {
  color: #c2410c;
}

.speak-model {
  text-align: left;
}

.speak-teach-card {
  gap: 14px;
}

.speak-teach-card .button {
  justify-self: start;
}

.speak-teach-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.speak-teach-option {
  min-height: 52px;
  padding: 14px 16px;
  border: 2px solid #f0d6c6;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: inherit;
}

.speak-teach-option.is-selected,
.speak-teach-option:hover,
.speak-teach-option:focus-visible {
  border-color: #e15b2a;
  background: #fff1e8;
}

.speak-teach-option.is-correct {
  border-color: #16a34a;
  background: #ecfdf3;
  color: #166534;
}

.speak-teach-option.is-wrong {
  border-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 720px) {
  .speak-stats,
  .speak-choice-grid {
    grid-template-columns: 1fr;
  }

  .speak-hub,
  .speak-shell {
    width: min(100% - 20px, 880px);
  }

  .speak-passport-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
