.sell-method[hidden] {
  display: none;
}

.sell-method [data-sell-view][hidden],
.sell-method__resume[hidden],
.sell-guide[hidden],
.sell-guide__step[hidden],
.sell-guide__model[hidden],
.sell-method__form-mount[hidden] {
  display: none;
}

body.sell-method-open {
  overflow: hidden;
}

.sell-method {
  --sell-ink: #202321;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  font-family: Pretendard, "Wanted Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sell-method__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(18, 23, 21, 0.52);
  opacity: 0;
  transition: opacity 1600ms ease-in-out;
}

.sell-method__sheet {
  position: relative;
  width: 100%;
  max-width: var(--app-panel-w, 660px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 14px 22px calc(24px + env(safe-area-inset-bottom));
  border: 1px solid #e1e2e3;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #f7f7f9;
  box-shadow: 0 -18px 50px rgba(12, 29, 23, 0.18);
  outline: none;
  transform: translateY(104%);
  transition: transform 1600ms ease-in-out;
}

.sell-method.is-open .sell-method__backdrop {
  opacity: 1;
}

.sell-method.is-open .sell-method__sheet {
  transform: translateY(0);
}

.sell-method__handle {
  width: 44px;
  height: 5px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #d2d6d9;
}

.sell-method__header {
  margin: 0 0 28px;
}

.sell-method__header h2 {
  margin: 0;
  color: var(--sell-ink);
  font-size: clamp(24px, 5.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.sell-method__resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin: -10px 0 18px;
  padding: 16px 18px;
  border: 1px solid #cfd8d4;
  border-radius: 16px;
  background: #eef4f1;
  color: #183027;
  text-align: left;
  cursor: pointer;
}

.sell-method__resume > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sell-method__resume strong { font-size: 16px; }
.sell-method__resume small { color: #6d7772; font-size: 12px; }

.sell-method__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sell-method__card,
.sell-method__instant {
  appearance: none;
  border: 1px solid #dedfe0;
  background: #fff;
  color: var(--sell-ink);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.sell-method__card {
  display: flex;
  min-width: 0;
  min-height: 350px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 12px 16px;
  border-radius: 18px;
  text-align: center;
}

.sell-method__card strong {
  display: flex;
  flex-direction: column;
  margin: 0 0 12px;
  font-size: clamp(24px, 5.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.sell-method__copy {
  display: block;
  color: #737875;
  font-size: clamp(11px, 2.8vw, 14px);
  line-height: 1.5;
  word-break: keep-all;
}

.sell-method__visual {
  display: block;
  width: 180px;
  height: 150px;
  margin: auto 0 0;
  overflow: hidden;
}

.sell-method__visual img,
.sell-method__instant-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sell-method__card--compare .sell-method__visual img {
  filter: brightness(1.035);
}

.sell-method__instant {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 106px;
  height: 106px;
  padding: 10px 18px;
  border: 2px solid #d5d8da;
  border-radius: 18px;
  text-align: center;
}

.sell-method__instant-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: left;
}

.sell-method__instant-copy strong {
  font-size: clamp(23px, 5.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.sell-method__instant-visual {
  display: block;
  width: 79px;
  height: 79px;
  overflow: hidden;
}

.sell-method__card:hover,
.sell-method__instant:hover {
  border-color: #aeb5b1;
  background: #fcfcfc;
  transform: translateY(-2px);
}

.sell-method__card:active,
.sell-method__instant:active {
  transform: translateY(0);
}

.sell-method__card:focus-visible,
.sell-method__instant:focus-visible,
.sell-method__resume:focus-visible,
.sell-method__form-toolbar button:focus-visible,
.sell-method__leave-actions button:focus-visible {
  outline: 3px solid rgba(26, 41, 37, 0.22);
  outline-offset: 2px;
}

.sell-method__form-view {
  margin: 0 -6px;
}

.sell-method__form-toolbar {
  position: sticky;
  top: -14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -8px -10px 14px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid #e3e5e4;
  background: rgba(247, 247, 249, 0.96);
  backdrop-filter: blur(12px);
}

.sell-method__form-toolbar button {
  width: 42px;
  height: 42px;
  border: 1px solid #d9dddb;
  border-radius: 50%;
  background: #fff;
  color: #1b2722;
  font-size: 22px;
  cursor: pointer;
}

.sell-method__form-toolbar > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sell-method__form-toolbar .sell-method__direct-entry {
  width: auto;
  height: 38px;
  margin-left: auto;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #365447;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.sell-method__form-toolbar strong { color: #1f2522; font-size: 16px; }
.sell-method__form-toolbar small { color: #76807b; font-size: 11px; }

.sell-method__form-mount {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 8px;
}

.sell-guide {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 4px 0 18px;
}

.sell-guide__step {
  padding: 26px 22px;
  border: 1px solid #e1e4e2;
  border-radius: 18px;
  background: #fff;
}

.sell-guide__progress {
  margin: 0 0 8px;
  color: #668075;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sell-guide h2 {
  margin: 0;
  color: #1e2421;
  font-size: clamp(24px, 5.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.sell-guide__lead {
  margin: 10px 0 24px;
  color: #737b77;
  font-size: 13px;
  line-height: 1.55;
}

.sell-guide__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #232a26;
  font-size: 14px;
  font-weight: 800;
}

.sell-guide__field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #d9dddb;
  border-radius: 14px;
  background: #fff;
  color: #1e2421;
  font-size: 16px;
  outline: none;
}

.sell-guide__field input:focus {
  border-color: #315949;
  box-shadow: 0 0 0 3px rgba(49, 89, 73, 0.11);
}

.sell-guide__suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0 24px;
  max-height: 234px;
  padding-right: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b7c1bc transparent;
}

.sell-guide__preview {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 72px;
  height: 72px;
  padding: 10px 12px;
  border: 1px solid #e0e3e1;
  border-radius: 14px;
  background: #fafbfa;
  color: #202622;
  text-align: left;
  cursor: pointer;
}

.sell-guide__preview.is-selected {
  border-color: #254d3d;
  background: #edf4f0;
  box-shadow: inset 0 0 0 1px #254d3d;
}

.sell-guide__preview img,
.sell-guide__preview-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.sell-guide__preview-logo {
  display: grid;
  place-items: center;
  color: #395347;
  font-size: 16px;
  font-weight: 900;
}

.sell-guide__preview span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sell-guide__preview strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sell-guide__preview small {
  margin-top: 3px;
  overflow: hidden;
  color: #7a817d;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sell-guide__suggestions--models {
  grid-template-columns: 1fr;
  max-height: 186px;
}

.sell-guide__suggestions--models .sell-guide__preview {
  min-height: 56px;
  height: 56px;
}

.sell-guide__suggestions--years {
  grid-template-columns: 1fr;
  max-height: 186px;
  margin-bottom: 18px;
}

.sell-guide__suggestions--years .sell-guide__preview {
  min-height: 56px;
  height: 56px;
}

.sell-guide__quick-actions {
  margin: 10px 0 22px;
}

.sell-guide__quick-actions button {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dde1df;
  border-radius: 13px;
  background: #f7f9f8;
  color: #516159;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.sell-guide__next {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: #1a2d26;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.sell-guide__next:disabled {
  background: #d9dddb;
  color: #8a918d;
  cursor: default;
}

.sell-guide__question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sell-guide__question-top button {
  border: 0;
  background: transparent;
  color: #66736d;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sell-guide__question-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: 190px;
  margin: 6px 0 18px;
  border-radius: 16px;
  background: #f5f7f6;
  overflow: hidden;
}

.sell-guide__question-visual img {
  width: 220px;
  height: 160px;
  max-width: 80%;
  max-height: calc(100% - 20px);
  object-fit: contain;
}

.sell-guide__question h2,
.sell-guide__question .sell-guide__lead {
  text-align: center;
}

.sell-guide__answers {
  display: grid;
  gap: 9px;
}

.sell-guide__answers button {
  min-height: 54px;
  border: 1px solid #dce0de;
  border-radius: 14px;
  background: #fff;
  color: #26302b;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.sell-guide__answers button:first-child {
  border-color: #264d3e;
  background: #edf4f0;
  color: #19392d;
}

.sell-method__form-mount .pb-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 48px;
  margin: 0 auto 4px;
  background: transparent;
}

.sell-method__form-mount .pb-ic img {
  width: 56px;
  height: 48px;
  object-fit: contain;
}

.sell-method__form-mount .sell-intake__hero {
  margin-bottom: 14px;
}

.sell-photo-guide {
  display: none;
  margin: 0 0 14px;
  padding: 22px 18px;
  border: 1px solid #e1e4e2;
  border-radius: 16px;
  background: #fff;
}

.sell-photo-guide h2 {
  margin: 0;
  color: #1e2421;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.sell-photo-guide > p:not(.sell-guide__progress) {
  margin: 8px 0 16px;
  color: #737b77;
  font-size: 12px;
}

.sell-photo-guide__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 124px;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 8px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
  scrollbar-color: #b7c1bc transparent;
}

.sell-photo-guide__rail figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e1e4e2;
  border-radius: 13px;
  background: #f7f8f7;
  scroll-snap-align: start;
}

.sell-photo-guide__rail img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.sell-photo-guide__rail figcaption {
  padding: 8px 6px 9px;
  color: #303934;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.sell-method__form-mount.is-guided-details .sell-photo-guide {
  display: block;
}

.sell-method__form-mount.is-guided-details .sell-intake__hero,
.sell-method__form-mount.is-guided-details #sellWatchInfoBlock,
.sell-method__form-mount.is-guided-details #sellPartsBlock {
  display: none;
}

.sell-method__form-mount .compare-form {
  margin-top: 0;
  border-radius: 16px;
  box-shadow: none;
}

.sell-method__leave-view {
  padding: 22px 4px 12px;
  text-align: center;
}

.sell-method__leave-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e4efea;
  color: #1b4736;
  font-size: 26px;
  font-weight: 800;
}

.sell-method__leave-view h2 {
  margin: 0;
  color: #202321;
  font-size: clamp(24px, 5.8vw, 30px);
  letter-spacing: -0.04em;
}

.sell-method__leave-view p {
  margin: 14px 0 26px;
  color: #707773;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.sell-method__leave-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sell-method__leave-actions button {
  min-height: 54px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.sell-method__leave-cancel {
  border: 1px solid #d4d8d6;
  background: #fff;
  color: #29322e;
}

.sell-method__leave-confirm {
  border: 1px solid #1a2d26;
  background: #1a2d26;
  color: #fff;
}

@media (max-width: 420px) {
  .sell-method__sheet {
    padding-right: 16px;
    padding-left: 16px;
  }

  .sell-method__handle {
    margin-bottom: 22px;
  }

  .sell-method__header {
    margin-bottom: 24px;
  }

  .sell-method__card {
    min-height: 340px;
    padding: 20px 8px 14px;
  }

  .sell-method__visual {
    width: 160px;
    height: 135px;
  }

  .sell-method__instant {
    gap: 12px;
  }

  .sell-method__instant-visual {
    width: 72px;
    height: 72px;
  }
}

@media (max-height: 680px) {
  .sell-method__sheet {
    max-height: calc(100dvh - 12px);
  }

  .sell-method__handle {
    margin-bottom: 16px;
  }

  .sell-method__header {
    margin-bottom: 18px;
  }

  .sell-method__card {
    min-height: 305px;
    padding-top: 16px;
  }

  .sell-method__visual {
    width: 140px;
    height: 112px;
  }

  .sell-method__instant-visual {
    width: 62px;
    height: 62px;
  }
}

.sell-intake {
  min-height: calc(100dvh - 118px);
  padding-top: calc(var(--header-h, 64px) + 28px);
  background: #f5f6f5;
}

.sell-intake > .container {
  max-width: 560px;
  padding-bottom: 48px;
}

.sell-intake__hero {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
}

.sell-intake__hero > img {
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.sell-intake__hero[data-method="compare"] > img {
  filter: brightness(1.035);
}

.sell-intake__eyebrow {
  margin: 0 0 6px;
  color: #62706c;
  font-size: 12px;
  font-weight: 800;
}

.sell-intake__hero h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.sell-intake__hero p:last-child {
  margin: 9px 0 0;
  color: #6b6b6b;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.sell-intake .compare-form {
  margin-top: 0;
  border-radius: 16px;
  box-shadow: none;
}

.sell-method-field[hidden] {
  display: none;
}

@media (max-width: 520px) {
  .sell-intake {
    padding-top: calc(var(--header-h, 64px) + 18px);
  }

  .sell-intake__hero {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 16px;
  }

  .sell-intake__hero > img {
    width: 86px;
    height: 86px;
  }

  .sell-intake__hero h1 {
    font-size: 23px;
  }

  .sell-intake .compare-form {
    padding: 22px 18px;
  }

  .sell-method__form-mount .compare-form {
    padding: 22px 14px;
  }

  .sell-method__form-mount .sell-intake__hero {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px;
  }

  .sell-method__form-mount .sell-intake__hero > img {
    width: 78px;
    height: 78px;
  }

  .sell-guide__step {
    padding: 22px 14px;
  }

  .sell-guide__preview {
    min-height: 68px;
    padding: 9px;
  }

  .sell-guide__preview img,
  .sell-guide__preview-logo {
    width: 42px;
    height: 42px;
  }

  .sell-guide__suggestions--models .sell-guide__preview,
  .sell-guide__suggestions--years .sell-guide__preview {
    min-height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sell-method__backdrop,
  .sell-method__sheet,
  .sell-method__card,
  .sell-method__instant {
    transition: none;
  }
}
