.key-points .ai-key-point-title {
  padding: 0;
  color: #c9372c;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(201, 55, 44, 0.36);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-align: left;
  cursor: pointer;
}

.key-points-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0 0 36px;
  color: #98a2b3;
  font-size: 9px;
  line-height: 1.5;
}

.key-points-hint span {
  color: #c9372c;
  font-size: 11px;
  font-weight: 700;
}

.key-points .ai-keyword {
  padding: 0 1px;
  color: #c9372c;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(201, 55, 44, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.key-points .ai-key-point-title:hover,
.key-points .ai-keyword:hover {
  color: #a82d24;
  text-decoration-color: currentColor;
}

.key-points .ai-key-point-title:focus-visible,
.key-points .ai-keyword:focus-visible {
  outline: 2px solid rgba(201, 55, 44, 0.3);
  outline-offset: 2px;
}

.transcript-line.is-keyword-target {
  margin-right: -8px;
  margin-left: -8px;
  padding-right: 8px;
  padding-left: 8px;
  background: #fff8f6;
  border-left: 3px solid #c9372c;
  border-radius: 8px;
  animation: transcript-keyword-focus 700ms ease-out;
}

.transcript-line.is-keyword-context {
  background: rgba(255, 248, 246, 0.55);
}

.transcript-line .transcript-keyword-match {
  padding: 0 1px;
  color: #b42318;
  background: #ffe4de;
  border-radius: 3px;
  font-weight: 750;
}

.note-body p.is-embedded-transcript-target,
.note-body p.is-embedded-transcript-context {
  scroll-margin-block: 120px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.note-body p.is-embedded-transcript-target {
  margin-right: -12px;
  margin-left: -12px;
  padding: 10px 12px;
  background: #fff5f2;
  border-left: 3px solid #c9372c;
  border-radius: 8px;
}

.note-body p.is-embedded-transcript-context {
  padding: 7px 10px;
  background: rgba(255, 245, 242, 0.62);
  border-radius: 7px;
}

.note-body p.is-embedded-transcript-target::after {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  color: #a82d24;
  background: #ffe1da;
  border-radius: 999px;
  content: attr(data-transcript-focus-time);
  font-size: 9px;
  font-weight: 700;
  vertical-align: 2px;
}

.note-body mark.embedded-transcript-keyword {
  padding: 0 1px;
  color: #b42318;
  background: #ffe4de;
  border-radius: 3px;
  font-weight: 750;
}

.note-transcript-preview-line.is-keyword-target,
.note-transcript-preview-line.is-keyword-context {
  scroll-margin-block: 110px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.note-transcript-preview-line.is-keyword-target {
  margin-right: -10px;
  margin-left: -10px;
  padding-right: 10px;
  padding-left: 10px;
  background: #fff5f2;
  border-radius: 9px;
}

.note-transcript-preview-line.is-keyword-target::before {
  display: none;
}

.note-transcript-preview-line.is-keyword-context {
  background: rgba(255, 245, 242, 0.56);
  border-radius: 8px;
}

.keyword-annotation {
  position: fixed;
  z-index: 130;
  width: min(286px, calc(100vw - 24px));
  padding: 12px 14px;
  color: #f8fbf6;
  background: #17251d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  box-shadow: 0 16px 44px rgba(13, 28, 19, 0.26);
  pointer-events: none;
}

.keyword-annotation[hidden] {
  display: none;
}

.keyword-annotation strong {
  display: block;
  margin-bottom: 5px;
  color: #ffb4a6;
  font-size: 11px;
  font-weight: 750;
}

.keyword-annotation p {
  margin: 0;
  color: #f1f5f2;
  font-size: 11px;
  line-height: 1.65;
}

.keyword-annotation > span {
  display: block;
  margin-top: 7px;
  color: rgba(241, 245, 242, 0.55);
  font-size: 9px;
}

@keyframes transcript-keyword-focus {
  from {
    box-shadow: 0 0 0 3px rgba(201, 55, 44, 0.2);
  }
  to {
    box-shadow: 0 0 0 0 rgba(201, 55, 44, 0);
  }
}
