/* TL11 各课页 · 返回 index.html 学习目录 */
.top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.55rem;
}
.top-bar .l11-index-link {
  flex: 0 0 auto;
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
  font-weight: 800;
  color: #6b21a8;
  text-decoration: none;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 2px solid rgba(123, 31, 162, 0.4);
  background: rgba(243, 229, 245, 0.95);
  box-shadow: 1px 2px 0 rgba(93, 64, 55, 0.08);
  white-space: nowrap;
}
.top-bar .l11-index-link:hover {
  background: #f3e8ff;
  filter: brightness(1.03);
}
.handout-pdf-bar .l11-index-link {
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 2px solid #7b1fa2;
  background: #faf5ff;
  color: #6b21a8;
  font-weight: 800;
  text-decoration: none;
}
.handout-pdf-bar .l11-index-link:hover {
  background: #f3e8ff;
}
body.has-lesson-pager nav.lesson-pager a.l11-index-link {
  flex: 0.55 1 0;
  min-width: 3.2rem;
  color: #6b21a8 !important;
  background: linear-gradient(180deg, #faf5ff, #f3e8ff) !important;
  box-shadow: 2px 3px 0 rgba(93, 64, 55, 0.1) !important;
}
