.kv2-action-bar {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: .45rem;
  width: 100%;
  margin-top: .75rem;
}

.kv2-action-bar__form {
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.kv2-action-bar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: .35rem .4rem;
  border: 0;
  border-radius: .45rem;
  background: transparent;
  color: var(--text-muted, rgba(235, 244, 235, .72));
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.kv2-action-bar__button:hover,
.kv2-action-bar__button:focus-visible,
.kv2-action-bar__button.is-liked {
  color: var(--accent-color, #ff7890);
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.kv2-action-bar__button--static {
  cursor: default;
}

.kv2-action-bar__button--static:hover {
  color: var(--text-muted, rgba(235, 244, 235, .72));
  background: transparent;
}

.kv2-action-bar__icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kv2-action-bar__like.is-liked .kv2-action-bar__icon,
.kv2-profile-status__like--active .kv2-action-bar__icon,
.blog-liked .kv2-action-bar__icon,
.liked .kv2-action-bar__icon {
  fill: currentColor;
}

.kv2-action-bar__menu {
  grid-column: 4;
  justify-self: end;
}

.blog-comment-actions:has(.kv2-action-bar) > .blog-comment-action-btn,
.blog-comment-actions:has(.kv2-action-bar) > .kv2-action-trigger,
.kv2-song-comments__actions:has(.kv2-action-bar) > form,
.kv2-song-comments__actions:has(.kv2-action-bar) > .kv2-song-comments__reply-toggle,
.kv2-song-comments__actions:has(.kv2-action-bar) > .kv2-action-trigger {
  display: none;
}

.kv2-action-trigger {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .72;
}

.kv2-action-trigger:hover,
.kv2-action-trigger:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.kv2-action-trigger svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.kv2-action-menu {
  position: absolute;
  z-index: 9200;
  width: min(13.5rem, calc(100vw - 1.5rem));
  padding: .35rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .5rem;
  background: color-mix(in srgb, var(--surface-color, #171d19) 92%, #fff 8%);
  color: var(--text-color, #f6f3ea);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .36);
}

.kv2-action-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9290;
  border: 0;
  background: rgba(2, 8, 6, .58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.kv2-action-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9300;
  height: auto;
  max-height: min(65vh, calc(100dvh - 1rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .75rem .9rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(224, 148, 113, .14);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(180deg, rgba(31, 39, 33, .98), rgba(12, 22, 17, .98)),
    var(--surface-color, #0c1611);
  color: var(--text-color, #f5f1e8);
  box-shadow:
    0 -1.35rem 3.5rem rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.kv2-action-sheet__handle {
  display: block;
  width: 3.25rem;
  height: .25rem;
  margin: .05rem auto .85rem;
  border-radius: 999px;
  background: rgba(235, 244, 235, .32);
}

.kv2-action-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 3.05rem;
  padding: .72rem .85rem;
  border: 0;
  border-radius: .7rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.kv2-action-menu .kv2-action-item {
  min-height: 2.45rem;
  font-size: .9rem;
}

.kv2-action-item:hover,
.kv2-action-item:focus-visible {
  background: rgba(224, 148, 113, .1);
  outline: none;
}

.kv2-action-item svg {
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kv2-action-item--danger {
  color: #ff6f78;
}

.kv2-action-sheet__cancel {
  width: 100%;
  margin-top: .65rem;
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .85rem;
  background: rgba(255, 255, 255, .055);
  color: var(--text-color, #f5f1e8);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kv2-action-sheet__cancel:hover,
.kv2-action-sheet__cancel:focus-visible {
  background: rgba(224, 148, 113, .12);
  outline: none;
}

.kv2-action-hold-active {
  background: rgba(132, 91, 244, .12);
  transition: background-color .16s ease;
}

.kv2-comment-edited {
  color: var(--text-muted, #9da59f);
  font-size: .78em;
}

.kv2-comment-edited::before {
  content: "\00a0\00b7\00a0";
}

.kv2-inline-edit {
  display: grid;
  gap: .55rem;
  width: 100%;
  margin-top: .4rem;
}

.kv2-inline-edit textarea {
  width: 100%;
  min-height: 4.25rem;
  resize: vertical;
  padding: .65rem .75rem;
  border: 1px solid rgba(132, 91, 244, .32);
  border-radius: .55rem;
  background: color-mix(in srgb, var(--surface-color, #151a17) 82%, #fff 8%);
  color: inherit;
  font: inherit;
}

.kv2-inline-edit textarea:focus {
  outline: 2px solid rgba(132, 91, 244, .34);
  outline-offset: 2px;
}

.kv2-inline-edit__actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

.kv2-inline-edit__cancel,
.kv2-inline-edit__save {
  min-height: 2.15rem;
  padding: .45rem .8rem;
  border-radius: .55rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kv2-inline-edit__cancel {
  border: 1px solid rgba(127, 127, 127, .22);
  background: transparent;
  color: inherit;
}

.kv2-inline-edit__save {
  border: 0;
  background: #7654d9;
  color: #fff;
}

@media (prefers-color-scheme: light) {
  .kv2-action-menu {
    background: #fff;
    color: #101113;
    border-color: rgba(0, 0, 0, .12);
  }
}
