/* 问题反馈弹窗 */
.fb-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  overscroll-behavior: contain;
}
.fb-modal-overlay.show { display: flex; }
.fb-modal {
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .fb-modal-overlay { align-items: center; }
  .fb-modal { border-radius: 16px; }
}
.fb-modal-header {
  position: relative;
  margin-bottom: 16px;
}
.fb-modal-close {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.fb-modal-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.fb-field { margin-bottom: 14px; }
.fb-field label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.fb-field select,
.fb-field textarea,
.fb-field input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
  outline: none;
  background: #fff;
}
.fb-field textarea {
  min-height: 100px;
  resize: vertical;
}
.fb-field select:focus,
.fb-field textarea:focus,
.fb-field input:focus {
  border-color: #8B4513;
}
.fb-submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, #a0522d, #8B4513);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
}
.fb-submit-btn:disabled { opacity: 0.6; }
.fb-cancel-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #999;
  cursor: pointer;
}
