.im-psd-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.im-psd-section img {
  width: 100%;
  height: auto;
  display: block;
}

.im-psd-section--hero {
  padding-top: 80px;
}

.im-code-panel {
  margin-top: 34px;
  border-top: 1px solid #cfd7e8;
}

.ep-developer__grid > * {
  min-width: 0;
}

.im-code-panel__tabs {
  display: flex;
  gap: 28px;
  min-height: 52px;
  align-items: center;
  border-bottom: 1px solid #cfd7e8;
}

.im-code-panel__tab {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: #747d91;
  font: 700 14px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.im-code-panel__tab::after {
  position: absolute;
  right: 0;
  bottom: -19px;
  left: 0;
  height: 3px;
  background: #0054ff;
  content: "";
  opacity: 0;
}

.im-code-panel__tab.is-active {
  color: #0054ff;
}

.im-code-panel__tab.is-active::after {
  opacity: 1;
}

.im-code-panel__body {
  position: relative;
  min-height: 218px;
  padding: 26px 62px 26px 0;
}

.im-code-panel__body[hidden] {
  display: none;
}

.im-code-panel__body pre {
  max-width: 100%;
  overflow-x: visible;
  margin: 0;
  color: #15171d;
  font: 500 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
  tab-size: 2;
}

.im-code-panel__copy {
  position: absolute;
  top: 22px;
  right: 0;
  min-width: 48px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #b8c5df;
  border-radius: 4px;
  background: #fff;
  color: #0054ff;
  font: 700 12px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.im-code-panel__copy:hover,
.im-code-panel__copy:focus-visible {
  border-color: #0054ff;
  outline: none;
}

@media (min-width: 1441px) {
  .im-psd-section img {
    width: min(130vw, 1872px);
    max-width: none;
    margin-inline: auto;
  }
}

@media (min-width: 901px) {
  .ep-developer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .im-psd-section--hero {
    padding-top: 56px;
  }

  .im-psd-section {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .im-psd-section img {
    width: 760px;
    max-width: none;
  }

  .im-code-panel {
    margin-top: 28px;
  }

  .im-code-panel__body {
    min-height: 240px;
    padding-right: 0;
    padding-top: 60px;
  }

  .im-code-panel__copy {
    top: 14px;
    right: 0;
  }

  .im-code-panel__body pre {
    font-size: 11px;
  }
}
