.hc-sidebar-favorites .hc-sidebar-replaced-heading {
  display: none;
}

.hc-sidebar-favorite-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.hc-sidebar-disclosure,
.hc-sidebar-star {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.hc-sidebar-disclosure {
  justify-content: space-between;
  gap: 5px;
  min-height: 35px;
  margin-top: 6px;
  padding: 0 9px;
  color: #ffffffbf;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: left;
}

.hc-sidebar-disclosure svg,
.hc-sidebar-star svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-sidebar-disclosure[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.hc-sidebar-star {
  justify-content: center;
  min-width: 36px;
  min-height: 40px;
  color: #ffffff9c;
}

.hc-sidebar-star[aria-pressed="true"] {
  color: #e5c775;
}

.hc-sidebar-star[aria-pressed="true"] svg {
  fill: currentColor;
}

.hc-sidebar-disclosure:hover,
.hc-sidebar-star:hover,
.hc-sidebar-disclosure[aria-expanded="true"] {
  background: #ffffff16;
}

.hc-sidebar-disclosure:focus-visible,
.hc-sidebar-star:focus-visible {
  outline: 2px solid #e5c775;
  outline-offset: -2px;
}

@media (max-width: 900px) {
  .hc-sidebar-favorites .hc-sidebar-disclosure {
    order: -1;
    min-height: 44px;
    margin: 0;
    background: #ffffff0d;
  }

  .hc-sidebar-favorites .hc-sidebar-disclosure[aria-expanded="true"] {
    background: #ffffff22;
  }

  .hc-sidebar-favorite-row {
    grid-template-columns: auto auto;
    flex: 0 0 auto;
  }

  .hc-sidebar-star {
    min-width: 44px;
    min-height: 44px;
  }
}
