/* Anti-fake query — support/node (二段码 + 结果弹窗) */
.mk-fw {
  margin: 28px 0 8px;
  max-width: 420px;
}

.mk-fw__lead {
  margin: 0 0 14px;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.6;
}

.mk-fw__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-fw__row {
  display: flex;
  align-items: stretch;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.mk-fw__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #2a2a2a;
  background: #fff;
}

.mk-fw__input::placeholder {
  color: #9a9a9a;
}

.mk-fw__btn {
  appearance: none;
  flex: 0 0 auto;
  min-width: 96px;
  height: 48px;
  padding: 0 20px;
  border: none;
  border-left: 1px solid #e6e6e6;
  background: #2a2a2a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.mk-fw__btn:hover {
  background: #111;
}

.mk-fw__btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.fw-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.fw-modal.is-open {
  display: flex;
}

.fw-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(42, 42, 42, 0.45);
}

.fw-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 28px 26px 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  text-align: center;
  color: #2a2a2a;
  animation: mkFwModalIn 0.28s ease;
}

@keyframes mkFwModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fw-modal__close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #8a8a8a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.fw-modal__body h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2a2a2a;
}

.fw-result__prompt {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 8px;
  color: #2a2a2a;
}

.fw-result__sub {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b6b6b;
}

.fw-result__name {
  margin: 0 0 8px;
  font-size: 14px;
  color: #2a2a2a;
  letter-spacing: 0.04em;
}

.fw-result__media {
  margin: 0 0 14px;
  text-align: center;
}

.fw-result__media img {
  max-width: 140px;
  max-height: 140px;
  border-radius: 8px;
}

.fw-modal__confirm {
  margin-top: 16px;
  min-width: 120px;
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: #c4a35a;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.06em;
}

.fw-modal__confirm:hover {
  opacity: 0.92;
}

.fw-modal--error .fw-result__prompt {
  color: #b54a4a;
}

.fw-modal--loading .fw-result__prompt {
  color: #6b6b6b;
}

html.fw-modal-open,
html.fw-modal-open body {
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  .mk-fw {
    max-width: none;
  }
}
