/* Extracted from index.html. Client development survey iframe modal styles. */

/* 开发喜好调研：与「历史记录」等弹层一致，当前页内嵌 iframe */
.client-dev-survey-modal[hidden] {
  display: none !important;
}
.client-dev-survey-modal {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4);
}
.client-dev-survey-modal-shell {
  position: relative;
  width: min(800px, calc(100vw - 20px));
  max-height: 90vh;
  height: auto;
  min-height: 0;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
html.theme-dark .client-dev-survey-modal-shell {
  border-color: rgba(255, 255, 255, 0.08);
}
.client-dev-survey-modal-header {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 16px 40px 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
html.theme-dark .client-dev-survey-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.client-dev-survey-modal-title-text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.client-dev-survey-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: #ff5c60;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.client-dev-survey-modal-close:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  filter: brightness(1.03);
}
.client-dev-survey-modal-close:active {
  transform: scale(1.14);
}
.client-dev-survey-modal-iframe {
  flex: none;
  width: 100%;
  height: 360px;
  min-height: 280px;
  border: 0;
  background: var(--bg);
  display: block;
}
