.voicekit {
  display: grid;
  gap: 11px;
  margin: 0 0 12px;
  padding: 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0, rgba(131, 199, 255, .18), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(255, 78, 120, .14), transparent 30%),
    rgba(255, 255, 255, .06);
}

.voicekit::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 96px;
  height: 96px;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 50%;
}

.voicekit-head,
.voicekit-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.voicekit-head span {
  color: var(--mint);
  font-family: var(--font-cute);
  font-size: 12px;
  font-weight: 400;
}

.voicekit-head strong {
  color: #fff8d8;
  font-family: var(--font-cute);
  font-size: 17px;
  font-weight: 400;
}

.voicekit-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.voicekit-row::-webkit-scrollbar {
  display: none;
}

.voicekit-row button {
  min-width: max-content;
  min-height: 34px;
  padding: 8px 10px !important;
  color: #dceaff !important;
  background: rgba(255, 255, 255, .07) !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

.voicekit-row button.active {
  color: #102033 !important;
  background: linear-gradient(180deg, #fff7d8, #dffcff) !important;
}

.voicekit-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(3, 9, 19, .34);
}

.voicekit-card b {
  color: #fff;
  font-family: var(--font-cute);
  font-size: 18px;
  font-weight: 400;
}

.voicekit-card p {
  color: #eaf6ff !important;
  font-family: var(--font-soft);
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.voicekit-wave {
  height: 32px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(131, 199, 255, .9) 0 5px, transparent 5px 12px),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: voicekitWave 1.4s linear infinite;
}

.voicekit-actions button {
  min-height: 38px;
  padding: 8px 12px !important;
  font-size: 13px !important;
}

.voicekit-actions small {
  color: #b9c8d8;
  font-family: var(--font-soft);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes voicekitWave {
  from { background-position: 0 0, 0 0; }
  to { background-position: 34px 0, 0 0; }
}

@media (max-width: 390px) {
  .voicekit-head,
  .voicekit-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .voicekit-actions button {
    width: 100%;
  }
}
