.ksc-voice-start-btn {
  display: grid;
  gap: 4px;
  min-width: 260px;
  padding: 14px 16px;
  border: 1px solid rgba(88, 177, 255, 0.42);
  border-radius: 16px;
  background: linear-gradient(135deg, #dff5ff 0%, #c8efff 48%, #eefaff 100%);
  box-shadow: 0 14px 28px rgba(78, 176, 255, 0.22);
  color: #11507b;
  text-align: left;
  cursor: pointer;
}

.ksc-voice-start-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(78, 176, 255, 0.28);
}

.ksc-voice-start-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ksc-voice-btn-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f6aa6;
}

.ksc-voice-btn-main {
  font-size: 1.02rem;
  font-weight: 900;
  color: #0d4b77;
}

.ksc-voice-btn-note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #2e6e9f;
}

.ksc-voice-stop-btn {
  padding: 10px 16px;
  border: 1.5px solid rgba(18, 115, 175, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #11507b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.ksc-voice-stop-btn:hover {
  border-color: rgba(18, 115, 175, 0.5);
  color: #0d4b77;
}

.ksc-voice-stop-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ksc-voice-field {
  margin-top: 8px;
  margin-bottom: 10px;
}

.ksc-voice-field-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: stretch;
}

.ksc-voice-start-btn-compact {
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 14px;
}

.ksc-voice-start-btn-compact .ksc-voice-btn-main {
  font-size: 0.94rem;
}

.ksc-voice-start-btn-compact .ksc-voice-btn-note {
  font-size: 0.74rem;
}

.ksc-voice-field-status {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #2e6e9f;
}

.ksc-voice-field-status.error {
  color: #b93b3b;
}

.ksc-voice-field-status.success {
  color: #1d7f4d;
}

@media (max-width: 480px) {
  .ksc-voice-start-btn,
  .ksc-voice-stop-btn,
  .ksc-voice-start-btn-compact {
    min-width: 100%;
  }

  .ksc-voice-field-chat-main {
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .ksc-voice-field-chat-main .ksc-voice-field-row {
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .ksc-voice-field-chat-main .ksc-voice-start-btn-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    flex: 0 0 42px;
  }

  .ksc-voice-field-chat-main .ksc-voice-btn-kicker,
  .ksc-voice-field-chat-main .ksc-voice-btn-main,
  .ksc-voice-field-chat-main .ksc-voice-btn-note {
    display: none;
  }

  .ksc-voice-field-chat-main .ksc-voice-start-btn-compact::before {
    content: "🎙";
    font-size: 18px;
    line-height: 1;
  }

  .ksc-voice-field-chat-main .ksc-voice-stop-btn {
    min-width: auto;
    width: auto;
    height: 42px;
    padding: 0 12px;
    flex: 0 0 auto;
  }

  .ksc-voice-field-chat-main .ksc-voice-field-status {
    font-size: 11px;
  }
}
