.feedback-launcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(47, 111, 115, .28);
  border-radius: 999px;
  background: #2f6f73;
  color: #fff;
  font: 700 13px/1 'Zen Maru Gothic', 'Zen Kaku Gothic New', system-ui, sans-serif;
  box-shadow: 0 10px 24px rgba(28, 52, 54, .22);
  cursor: pointer;
}
.feedback-launcher:hover { filter: brightness(1.04); transform: translateY(-1px); }
.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(35, 31, 24, .34);
}
.feedback-panel {
  width: min(520px, 100%);
  border: 1px solid #ded6c5;
  border-radius: 14px;
  background: #fffdf8;
  color: #242018;
  box-shadow: 0 24px 72px rgba(36, 32, 24, .22);
  font-family: 'Zen Maru Gothic', 'Zen Kaku Gothic New', system-ui, sans-serif;
}
.feedback-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 10px;
}
.feedback-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}
.feedback-close {
  width: 34px;
  height: 34px;
  border: 1px solid #ded6c5;
  border-radius: 999px;
  background: #fff;
  color: #554c3f;
  font: 700 18px/1 system-ui, sans-serif;
  cursor: pointer;
}
.feedback-body {
  display: grid;
  gap: 12px;
  padding: 0 20px 20px;
}
.feedback-note {
  margin: 0;
  color: #6f6759;
  font-size: 13px;
  line-height: 1.7;
}
.feedback-kind {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feedback-kind label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid #e0d8c8;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #4d4539;
}
.feedback-text {
  min-height: 132px;
  width: 100%;
  resize: vertical;
  border: 1px solid #d8cbb8;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  color: #242018;
  font: 500 15px/1.7 'Zen Maru Gothic', 'Zen Kaku Gothic New', system-ui, sans-serif;
}
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.feedback-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid #d8cbb8;
  background: #fff;
  color: #302a20;
  font: 700 13px/1 'Zen Maru Gothic', 'Zen Kaku Gothic New', system-ui, sans-serif;
  cursor: pointer;
}
.feedback-btn.primary {
  border-color: #2f6f73;
  background: #2f6f73;
  color: #fff;
}
.feedback-status {
  min-height: 18px;
  margin: 0;
  color: #6f6759;
  font-size: 12px;
}
@media (max-width: 640px) {
  .feedback-launcher {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 0 13px;
  }
  .feedback-panel { border-radius: 12px; }
  .feedback-actions { justify-content: stretch; }
  .feedback-btn { flex: 1; }
}
