.learning-app .app-nav > [data-screen] {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b2038;
}
.learning-app .app-nav > [data-screen] svg {
  width: 23px;
  height: 23px;
  flex: none;
}
.learning-app .app-nav > [data-screen] span { margin: 0; }
.learning-app #lessonHook:empty,
.learning-app #lessonSubhead:empty,
.learning-app #appStatus:empty { display: none; }
.learning-app #preferencesLabel:empty { display: none; }
.learning-app #learningRoom .story,
.learning-app #learningRoom .translation { white-space: pre-line; }
.learning-app #learningRoom [data-result="correct"],
.learning-app #learningRoom [data-result="incorrect"] {
  border-inline-start: 4px solid currentColor;
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 600;
}
.learning-app #learningRoom [data-result="correct"] {
  color: #185438;
  background: #e4f1e7;
}
.learning-app #learningRoom [data-result="incorrect"] {
  color: #8e2534;
  background: #fae8e8;
}
.learning-app .app-nav > [data-screen]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
@media (max-width: 850px) {
  .learning-app .app-nav {
    background: #6b2038;
    border-top: 1px solid #501629;
    box-shadow: 0 -4px 18px #50162930;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 4px;
  }
  .learning-app .app-nav > [data-screen] {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px 1px;
    min-height: 56px;
    border-radius: 10px;
    color: #fff8ef;
  }
  .learning-app .app-nav > [data-screen] span {
    color: inherit;
    font-size: clamp(11px, 3.25vw, 14px);
    line-height: 1.15;
  }
  .learning-app .app-nav > [data-screen][aria-current="page"] {
    color: #501629;
    background: #d7df86;
    border-radius: 10px;
  }
  .learning-app .workspace-content {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}
