.post .post-options {
  position: relative;
  margin: 4rem 0 0;
  padding: 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  border: 0;
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 100% 0, rgba(155, 213, 86, 0.2), transparent 42%),
    #f6f8f3;
}

.post .post-options::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.4rem;
  background: linear-gradient(180deg, #aee56e, #75a83c);
}

.post-options__intro {
  min-width: 0;
}

.post-options__eyebrow {
  margin: 0 0 0.55rem;
  color: #6f9f35;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post .post-options__title {
  margin: 0;
  color: #20251d;
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.post-options__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}

.post .post-options__like {
  min-height: 4.8rem;
  padding: 1rem 1.4rem;
  flex: 0 0 auto;
  border: 0;
  background: #ffffff;
  box-shadow: 0 0.8rem 2.4rem rgba(49, 67, 34, 0.08);
}

.post .post-options__like:hover,
.post .post-options__like:focus-visible,
.post .post-options__like.is-liked,
.post .post-options__like:disabled {
  background: #e8f4dc;
}

.post .post-options__like.is-liked {
  animation: post-like-confirm 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.post .post-options__share {
  margin: 0;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0.8rem 2.4rem rgba(49, 67, 34, 0.08);
}

.post-options__share-title {
  padding: 0 0.75rem 0 0.95rem;
  color: #4f5a49;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.post .post-options__share-link,
.post .post-options__share-link:not(:first-of-type) {
  width: 3.6rem;
  height: 3.6rem;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.6rem;
  border: 0;
  border-radius: 50%;
  background: #f1f6ec;
  color: #648f32;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.post .post-options__share-link svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post .post-options__share-link:hover,
.post .post-options__share-link:focus-visible {
  background: #dff0ce;
  color: #365f12;
  outline: none;
  transform: translateY(-2px);
}

.post-options__status {
  position: absolute;
  right: 2.4rem;
  bottom: 0.35rem;
  margin: 0;
  color: #527927;
  font-size: 1.1rem;
  line-height: 1.2;
}

.like-thanks[hidden] {
  display: none;
}

.like-thanks {
  position: fixed;
  right: 2.4rem;
  bottom: var(--like-thanks-bottom, 2.4rem);
  width: min(43rem, calc(100vw - 4rem));
  padding: 2.2rem 2.2rem 2rem;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1.5rem;
  z-index: 12010;
  border-radius: 2.2rem;
  background: #ffffff;
  box-shadow: 0 2.4rem 7rem rgba(24, 34, 17, 0.22);
  opacity: 0;
  transform: translateY(2rem) scale(0.97);
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.like-thanks.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.like-thanks__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f3f5f0;
  color: #687064;
  cursor: pointer;
}

.like-thanks__close svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.like-thanks__close:hover,
.like-thanks__close:focus-visible {
  background: #e6efdd;
  color: #3e5f1d;
  outline: none;
}

.like-thanks__icon {
  width: 5.2rem;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.7rem;
  background: linear-gradient(145deg, #b9eb7e, #79ad3f);
  box-shadow: 0 1rem 2.5rem rgba(111, 159, 53, 0.25);
  color: #ffffff;
  animation: thanks-heart 760ms cubic-bezier(0.2, 0.9, 0.2, 1) 120ms both;
}

.like-thanks__icon svg {
  width: 2.7rem;
  height: 2.7rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
}

.like-thanks__content {
  min-width: 0;
  padding-right: 2.4rem;
}

.post .like-thanks__title {
  margin: 0;
  color: #20251d;
  font-size: 1.85rem;
  font-weight: 650;
  line-height: 1.25;
  text-transform: none;
}

.like-thanks__text,
.like-thanks__prompt {
  margin: 0.8rem 0 0;
  color: #62695d;
  font-size: 1.35rem;
  line-height: 1.5;
}

.like-thanks__prompt {
  color: #353b31;
  font-weight: 600;
}

.like-thanks__share {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.post .like-thanks__share a,
.like-thanks__share button {
  min-height: 3.6rem;
  margin: 0;
  padding: 0.8rem 1.15rem;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: #edf5e5;
  color: #466b20;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.post .like-thanks__share a:hover,
.post .like-thanks__share a:focus-visible,
.like-thanks__share button:hover,
.like-thanks__share button:focus-visible {
  background: #dceecb;
  color: #2f5010;
  outline: none;
}

@keyframes post-like-confirm {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.08); }
}

@keyframes thanks-heart {
  0% { opacity: 0; transform: rotate(-12deg) scale(0.55); }
  58% { opacity: 1; transform: rotate(5deg) scale(1.12); }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}

@media only screen and (max-width: 767px) {
  .post .post-options {
    margin-top: 3rem;
    padding: 2rem;
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .post-options__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .post .post-options__share {
    max-width: 100%;
  }

  .like-thanks {
    right: 1.2rem;
    bottom: var(--like-thanks-bottom, 1.2rem);
    width: calc(100vw - 2.4rem);
    padding: 1.8rem;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 1.2rem;
    border-radius: 1.8rem;
  }

  .like-thanks__icon {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.4rem;
  }
}

@media only screen and (max-width: 479px) {
  .post-options__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .post .post-options__like {
    width: 100%;
  }

  .post .post-options__share {
    width: 100%;
    justify-content: space-between;
  }

  .post-options__share-title {
    flex: 1 1 auto;
  }

  .like-thanks {
    display: block;
  }

  .like-thanks__icon {
    margin-bottom: 1.2rem;
  }

  .like-thanks__content {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post .post-options__like,
  .post .post-options__share-link,
  .like-thanks,
  .like-thanks__icon {
    animation: none;
    transition: none;
  }
}
