/* CASTING LAB v95: mobile viewport and iOS input zoom correction. */
html {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
.support-app {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 720px) {
  .support-header {
    height: 62px;
    padding: 0 12px;
    gap: 10px;
  }

  .support-back {
    width: 36px;
    height: 36px;
  }

  .support-brand {
    font-size: 17px;
  }

  .support-member-state {
    max-width: 92px;
    font-size: 10px;
  }

  .support-main {
    width: calc(100% - 20px);
    padding: 28px 0 56px;
  }

  .support-hero {
    margin-bottom: 22px;
  }

  .support-hero h1 {
    margin: 11px 0 13px;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -2.4px;
  }

  .support-hero > p {
    line-height: 1.65;
  }

  .support-flow {
    margin-top: 21px;
    gap: 6px;
  }

  .support-flow i {
    width: 16px;
    flex: 0 0 16px;
  }

  .support-gate {
    padding: 18px;
    gap: 12px;
    border-radius: 18px;
  }

  .support-gate-icon {
    width: 44px;
    height: 44px;
  }

  .support-gate h2 {
    font-size: 19px;
  }

  .support-step-card,
  .support-answer,
  .support-history {
    padding: 17px;
    border-radius: 18px;
  }

  .support-categories {
    gap: 7px;
    margin: 20px 0 16px;
  }

  .support-categories button {
    min-height: 52px;
    padding: 8px 10px;
  }

  /* 16px 미만 입력창을 누를 때 iOS Safari가 화면 전체를 확대하는 현상을 방지합니다. */
  .support-field textarea,
  .support-field input,
  .support-reply textarea {
    font-size: 16px;
  }

  .support-field textarea {
    min-height: 122px;
  }
}

@media (max-width: 380px) {
  .support-main {
    width: calc(100% - 16px);
  }

  .support-hero h1 {
    font-size: 32px;
    letter-spacing: -2px;
  }

  .support-step-card,
  .support-answer,
  .support-history {
    padding: 15px;
  }

  .support-categories button {
    font-size: 11px;
  }
}
