:is(.saved-phrase-detail .card-actions, .result-favorite) .favorite-button {
  position: relative;
  isolation: isolate;
  min-height: 54px;
  gap: 8px;
  overflow: visible;
  border-color: #dbc08a;
  background: linear-gradient(145deg, #fffdf0, #fff1cf 58%, #f8e4b9);
  color: #735626;
  box-shadow:
    inset 0 2px 0 #fff,
    0 3px 0 #ccb07b,
    0 6px 10px #9d70251c;
}
:is(.saved-phrase-detail .card-actions, .result-favorite)
  .favorite-button[aria-pressed="true"] {
  border-color: #d49b45;
  background: linear-gradient(
    145deg,
    #fff4b3,
    #ffe08a 48%,
    #f6be67 82%,
    #eda755
  );
  color: #674515;
  box-shadow:
    inset 0 2px 0 #fffbd6,
    0 3px 0 #ba8137,
    0 7px 12px #be8b292b;
}
.result-favorite {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}
.result-favorite .favorite-button {
  width: 100%;
}
.favorite-symbol {
  position: relative;
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  transform-origin: 50% 55%;
  pointer-events: none;
  transition: transform 150ms ease;
}
.favorite-star {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.favorite-star-main {
  fill: #fff9de;
  stroke: #aa8850;
  stroke-width: 1.35;
  stroke-linejoin: round;
}
.favorite-star-highlight {
  fill: none;
  stroke: #fffbea;
  stroke-width: 1.3;
  stroke-linecap: round;
  opacity: 0;
}
[aria-pressed="true"] .favorite-star-main {
  fill: var(--favorite-fill);
  stroke: #b87926;
}
[aria-pressed="true"] .favorite-star-highlight {
  opacity: 0.85;
}
.favorite-label {
  font-weight: 900;
}
.favorite-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.favorite-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  opacity: 0;
  background: linear-gradient(135deg, #fff3a5, #ffc649 55%, #ee943f);
  clip-path: polygon(
    50% 0,
    64% 35%,
    100% 50%,
    64% 65%,
    50% 100%,
    36% 65%,
    0 50%,
    36% 35%
  );
}
.favorite-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid #f3bc58;
  border-radius: 50%;
  opacity: 0;
}
.kids-tabs [data-collection-tab="favorites"].active .icon {
  fill: #ffe188;
  stroke: #94611f;
}
@media (hover: hover) and (pointer: fine) {
  :where(html:not(.touch-preview)) .favorite-button:hover .favorite-symbol {
    transform: translateY(-1px) rotate(-9deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .favorite-symbol {
    transition: none;
  }
  .favorite-burst {
    display: none;
  }
}
