/* ===========================================================
   百变魔法：上传列 : 右侧选择列 = 3 : 1（2026-12-02）
   - 上传框保持 4:3，高度随宽度等比变化
   - 「开始变」按钮放在上传列里居中
   =========================================================== */

.mk-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 4px;
}

.mk-main {
  min-width: 0;
}

/* 上传框：4:3 照片框，内容居中 */
.mk-main .drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  padding: 24px 18px;
  text-align: center;
}

/* 按钮跟着上传框居中 */
.mk-actions {
  justify-content: center;
  margin-top: 14px;
}

.mk-actions .btn {
  max-width: 420px;
}

.mk-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line, #e3e8e0);
  border-radius: 14px;
  background: #fff;
}

.mk-side-label {
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--muted, #667a71);
}

.mk-select-wrap {
  position: relative;
}

/* 自绘箭头 */
.mk-select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #667a71;
  border-bottom: 1.6px solid #667a71;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.mk-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--line, #e3e8e0);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink-head, #17251f);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.mk-select:hover {
  border-color: #c9d6ce;
}

.mk-select:focus-visible {
  outline: none;
  border-color: var(--green, #0f7d55);
  box-shadow: 0 0 0 3px rgba(15, 125, 85, .14);
}

.mk-tip {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted, #667a71);
}

.mk-custom {
  margin-top: 4px;
}

@media (max-width: 860px) {
  .mk-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mk-main .drop {
    padding: 20px 16px;
  }

  .mk-side {
    padding: 12px;
    gap: 6px;
    justify-content: flex-start;
  }

  .mk-select {
    font-size: 14.5px;
    padding: 11px 38px 11px 12px;
  }

  .mk-select-wrap::after {
    right: 14px;
  }

  .mk-tip {
    font-size: 12px;
  }

  .mk-actions .btn {
    max-width: none;
  }
}
