.factory-create-shell {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(184, 132, 5, 0.26);
  border-radius: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 16%, rgba(232, 189, 56, 0.26), transparent 24%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(88, 64, 10, 0.08);
}

.factory-create-head {
  max-width: 780px;
}

.factory-create-head span {
  display: inline-flex;
  margin-bottom: 10px;
  border: 1px solid rgba(184, 132, 5, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: #765305;
  background: rgba(255, 250, 232, 0.8);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.factory-create-head h1 {
  margin: 0;
  color: #15130e;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.factory-create-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #514936;
  line-height: 1.65;
}

.factory-create-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.factory-create-form label {
  display: grid;
  gap: 7px;
  color: #6f6246;
  font-size: 12px;
  font-weight: 800;
}

.factory-create-form .wide,
.factory-create-actions,
.factory-create-notice {
  grid-column: 1 / -1;
}

.factory-create-form input,
.factory-create-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(184, 132, 5, 0.32);
  border-radius: 7px;
  padding: 0 13px;
  color: #17140d;
  background: rgba(255, 255, 255, 0.92);
  outline: 0;
}

.factory-create-form textarea {
  min-height: 92px;
  padding: 12px 13px;
  resize: vertical;
}

.factory-create-form input[type="file"] {
  padding: 11px 13px;
}

.mint-image-field {
  border: 1px dashed rgba(184, 132, 5, 0.42);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 250, 232, 0.62);
}

.mint-image-hint {
  color: #6f6246;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.mint-image-preview {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(184, 132, 5, 0.24);
  border-radius: 8px;
  padding: 12px;
  color: #6f6246;
  background: rgba(255, 255, 255, 0.62);
}

.mint-image-preview img {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(184, 132, 5, 0.26);
  background: #fff;
}

.mint-image-preview span {
  overflow-wrap: anywhere;
}

.factory-create-form input:focus,
.factory-create-form textarea:focus {
  border-color: #b88405;
  box-shadow: 0 0 0 3px rgba(232, 189, 56, 0.24);
}

.factory-create-form .toggle {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(184, 132, 5, 0.32);
  border-radius: 7px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.72);
}

.factory-create-form .toggle input {
  width: 16px;
  min-height: 0;
}

.factory-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.factory-create-notice {
  border: 1px solid rgba(184, 132, 5, 0.25);
  border-radius: 7px;
  padding: 12px;
  color: #5d4505;
  background: rgba(255, 247, 220, 0.78);
  line-height: 1.45;
}

.factory-create-notice:empty {
  display: none;
}

.factory-create-notice[data-tone="warn"] {
  border-color: rgba(220, 38, 38, 0.24);
  color: #7f1d1d;
  background: rgba(254, 226, 226, 0.72);
}

.factory-create-notice[data-tone="ok"] {
  border-color: rgba(22, 163, 74, 0.24);
  color: #14532d;
  background: rgba(220, 252, 231, 0.72);
}

@media (max-width: 720px) {
  .factory-create-shell {
    padding: 18px;
  }

  .factory-create-form {
    grid-template-columns: 1fr;
  }

  .mint-image-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}
