.llm-listen {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 0.4rem;
}

.llm-listen-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.llm-listen-sep {
  color: #8a7a62;
  font-weight: 650;
  line-height: 1;
}

.llm-listen-btn {
  box-sizing: border-box;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid #c9b896;
  border-radius: 10px;
  background: #f4efe3;
  color: #0c2848;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.llm-listen-btn:hover,
.llm-listen-btn:focus {
  background: #e8eef6;
  outline: 2px solid #1e4a7a;
  outline-offset: 1px;
}

.llm-learn-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #1e4a7a;
  background: #1e4a7a;
  color: #faf8f2;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.llm-learn-link:hover,
.llm-learn-link:focus {
  filter: brightness(1.08);
}

.llm-listen-note {
  font-size: 0.68rem;
  color: #8a7a62;
}

.llm-card-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
}

.llm-nav-btn {
  min-height: 2.4rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid #c9b896;
  border-radius: 8px;
  background: #fffef9;
  color: #0c2848;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

.llm-nav-btn:hover,
.llm-nav-btn:focus {
  background: #e8eef6;
  outline: 2px solid #1e4a7a;
  outline-offset: 1px;
}

.llm-speaker-cue,
.llm-pada {
  margin: 0 0 0.22rem;
  border-radius: 6px;
  padding: 0.04rem 0.18rem;
}

.llm-speaker-cue {
  font-weight: 700;
}

.llm-speaker-cue.is-active,
.llm-pada.is-active {
  background: rgba(201, 162, 39, 0.42);
}

@media (max-width: 540px) {
  .llm-listen-row {
    gap: 0.3rem;
  }

  .llm-listen-btn {
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  .llm-learn-link {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }
}
