/* Sell-click Chrome extension promo modal (desktop Chrome, no extension only). */

.cs-sell-ext-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.cs-sell-ext-modal.is-open {
  display: flex;
}

.cs-sell-ext-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 24, 0.62);
}

.cs-sell-ext-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(11, 18, 24, 0.28);
  color: #0b1218;
}

.cs-sell-ext-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5b6b76;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cs-sell-ext-modal__close:hover,
.cs-sell-ext-modal__close:focus {
  color: #0b1218;
  background: #eef3f6;
  outline: none;
}

.cs-sell-ext-modal__body {
  padding: 28px 28px 24px;
}

.cs-sell-ext-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #4a5a66;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-sell-ext-modal__eyebrow img {
  width: 16px;
  height: 16px;
  display: block;
}

.cs-sell-ext-modal__title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: #0b1b2b;
}

.cs-sell-ext-modal__copy {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a5a66;
}

.cs-sell-ext-modal__art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 0 20px;
  background: #f3f7fb;
}

.cs-sell-ext-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.cs-sell-ext-modal__btn {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  border: 1px solid transparent;
}

.cs-sell-ext-modal__btn--hard {
  background: #fff;
  color: #0b1218;
  border-color: #c9d4db;
}

.cs-sell-ext-modal__btn--hard:hover,
.cs-sell-ext-modal__btn--hard:focus {
  background: #f7fafc;
  border-color: #9eb0bc;
  outline: none;
}

.cs-sell-ext-modal__btn--install {
  background: #1f6feb;
  color: #fff;
  border-color: #1f6feb;
}

.cs-sell-ext-modal__btn--install:hover,
.cs-sell-ext-modal__btn--install:focus {
  background: #1558c0;
  border-color: #1558c0;
  color: #fff;
  outline: none;
}

.cs-sell-ext-modal__btn--install img {
  width: 18px;
  height: 18px;
}

@media (max-width: 560px) {
  .cs-sell-ext-modal__body {
    padding: 22px 18px 18px;
  }

  .cs-sell-ext-modal__title {
    font-size: 22px;
  }

  .cs-sell-ext-modal__actions {
    flex-direction: column;
  }
}

/* Modal is desktop-Chrome-only; never show on narrow / mobile viewports. */
@media (max-width: 767px) {
  .cs-sell-ext-modal {
    display: none !important;
  }
}
