.ai-dream {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(224,169,109,0.35);
  background: rgb(0 0 0 / 5%);
}
.ai-dream.is-locked {
  opacity: 0.5;
  pointer-events: none;
}
.ai-dream__lock-note {
  margin: 12px 0 0;
  font-size: 12px;
  opacity: 0.8;
}
.sonnik-next {
  margin-top: 18px;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(224,169,109,0.25);
  background: rgb(0 0 0 / 5%);
}
.sonnik-next p {
  margin: 0;
}
.ai-dream__header {
  margin-bottom: 18px;
}
.ai-dream__title {
  margin: 0 0 8px;
  font-size: 28px;
}
.ai-dream__subtitle {
  margin: 0;
  opacity: 0.7;
}
.ai-step {
  display: none;
  gap: 14px;
}
.ai-step--active {
  display: grid;
}
.ai-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  opacity: 0.8;
}
.ai-field input,
.ai-field textarea,
.ai-field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(224,169,109,0.35);
  background: transparent;
  color: inherit;
  padding: 12px 14px;
}
[data-theme="light"] .ai-field input,
[data-theme="light"] .ai-field textarea,
[data-theme="light"] .ai-field select {
  background: transparent;
  border-color: rgba(200, 137, 77, 0.45);
  color: #1a1512;
}
[data-theme="light"] .ai-field input::placeholder,
[data-theme="light"] .ai-field textarea::placeholder {
  color: rgba(26, 21, 18, 0.55);
}
[data-theme="light"] .ai-field input:focus,
[data-theme="light"] .ai-field textarea:focus,
[data-theme="light"] .ai-field select:focus {
  outline: none;
  border-color: rgba(200, 137, 77, 0.8);
  box-shadow: 0 0 0 3px rgba(200, 137, 77, 0.18);
}
.ai-field input[type="file"] {
  padding: 8px;
  cursor: pointer;
}
.ai-field input[type="file"]::file-selector-button {
  border-radius: 8px;
  border: 1px solid rgba(224,169,109,0.35);
  background: transparent;
  color: inherit;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ai-field input[type="file"]::file-selector-button:hover {
  background: rgba(224,169,109,0.1);
}
.ai-field select {
  cursor: pointer;
}
.ai-field select option {
  background: rgba(0,0,0,0.9);
  color: inherit;
}
.ai-hint {
  margin: 0;
  font-size: 12px;
  opacity: 0.7;
}
.ai-actions {
  display: flex;
  gap: 10px;
}
.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(224,169,109,0.8);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.ai-btn--ghost {
  border-color: rgba(224,169,109,0.35);
}
.ai-state {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.ai-state[hidden] {
  display: none !important;
}
.ai-result {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.ai-result[hidden] {
  display: none !important;
}
.ai-result__text {
  white-space: pre-wrap;
  line-height: 1.6;
}
.ai-disclaimer {
  font-size: 12px;
  opacity: 0.7;
}
.ai-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
