.topic-list {
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 0 15px;
  box-shadow: 0 2px 5px #00000003;
}

.topic-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.topic-row:last-child {
  border: 0;
}

.thumbnail {
  width: 32px;
  height: 32px;
  background: #f3f3f3;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.thumbnail .icon {
  width: 17px;
  height: 17px;
  opacity: 0.75;
}

.topic-copy {
  flex: 1;
  min-width: 0;
}

.topic-copy small {
  display: block;
  font-size: 10px;
  line-height: 1.4;
}

.topic-copy h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 4px 0;
}

.topic-row .btn {
  height: 27px;
  font-size: 11px;
  padding: 0 12px;
}

@media (max-width: 900px) {
  .topic-row {
    min-height: 76px;
  }
}

@media (max-width: 640px) {
  .topic-row {
    gap: 9px;
  }
  .topic-copy h3 {
    font-size: 12px;
  }
  .thumbnail {
    width: 27px;
    height: 27px;
  }
  .topic-row .btn {
    font-size: 10px;
    padding: 0 9px;
  }
  .topic-row .btn .icon {
    display: none;
  }
}

.topic-row .thumbnail {
  font-size: 19px;
}

.topic-copy small.course-chip {
  display: inline-block;
  font-size: 10px;
  background: #f4f4f4;
  border-radius: 5px;
  padding: 2px 5px;
  color: var(--color-muted);
  line-height: 1.4;
}

.topic-time {
  min-width: 52px;
  text-align: right;
  font-size: 11px;
  color: #555;
}

.topic-time small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #999;
}

@media (max-width: 640px) {
  .topic-time {
    min-width: 44px;
    font-size: 10px;
  }
}

.topic-row form {
  margin: 0;
  flex-shrink: 0;
}

@scope (body[data-design]) {
  .topic-details summary {
    cursor: pointer;
  }
}

@scope (body[data-design]) {
  .topic-details {
    font-size: 11px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-top: 8px;
  }
}

@scope (body[data-design]) {
  .topic-details p {
    margin: 8px 0;
  }
}
