.publish-sticky {
  position: fixed;
  inset: 50% auto auto 0;
  transform: translateY(-50%);
  z-index: 9998;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.publish-sticky * {
  box-sizing: border-box;
}

.publish-bookmark {
  width: 74px;
  min-height: 260px;
  border: 0;
  border-radius: 0 22px 22px 0;
  background:
    linear-gradient(160deg, rgba(255, 216, 92, .32), transparent 44%),
    #0d0d0b;
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 14px 10px;
  cursor: pointer;
  border: 1px solid rgba(245, 184, 0, .32);
  border-left: 0;
}

.publish-bookmark:hover,
.publish-bookmark:focus-visible {
  background:
    linear-gradient(160deg, rgba(255, 216, 92, .4), transparent 44%),
    #151511;
  outline: none;
}

.publish-bookmark-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff8df;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(245, 184, 0, .45);
}

.publish-bookmark-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.publish-bookmark-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.05;
}

.publish-bookmark-deal {
  border-radius: 999px;
  background: #f5b800;
  color: #11110f;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(245, 184, 0, .26);
}

.publish-drawer {
  position: absolute;
  left: 88px;
  top: 50%;
  width: min(390px, calc(100vw - 112px));
  transform: translate(-18px, -50%) scale(.98);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.publish-sticky.is-open .publish-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.publish-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 2%, rgba(245, 184, 0, .22), transparent 44%),
    #0d0d0b;
  color: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
  border: 1px solid rgba(245, 184, 0, .26);
  padding: 18px;
}

.publish-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.publish-coupon {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5b800, #ffd866);
  color: #11110f;
  padding: 16px 18px;
  margin: 0 42px 16px 0;
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: 0 18px 42px rgba(245, 184, 0, .2);
}

.publish-coupon-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 950;
}

.publish-coupon-main {
  font-size: 46px;
  line-height: .95;
  font-weight: 950;
  margin-top: 6px;
}

.publish-coupon-sub {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 850;
}

.publish-form-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 950;
}

.publish-form {
  display: grid;
  gap: 10px;
}

.publish-form input,
.publish-form select,
.publish-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: #fff;
  color: #11110f;
  padding: 12px 13px;
  min-height: 46px;
  outline: none;
}

.publish-form textarea {
  min-height: 76px;
  resize: vertical;
}

.publish-form input:focus,
.publish-form select:focus,
.publish-form textarea:focus {
  border-color: #f5b800;
  box-shadow: 0 0 0 4px rgba(245, 184, 0, .18);
}

.publish-submit {
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 0 18px;
  background: #f5b800;
  color: #11110f;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(245, 184, 0, .24);
}

.publish-submit:hover,
.publish-submit:focus-visible {
  background: #ffd04a;
  outline: none;
}

@media (max-width: 820px) {
  body.menu-open .publish-sticky {
    opacity: 0;
    pointer-events: none;
  }

  body.menu-open .chat-launcher,
  body.menu-open .mobile-chat-button,
  body.menu-open .chat-panel,
  body.menu-open #chatLauncher,
  body.menu-open #chatPanel,
  body.menu-open iframe[src*="tawk.to"],
  body.menu-open iframe[title*="chat"],
  body.menu-open iframe[title*="Chat"],
  body.menu-open [id*="tawk"],
  body.menu-open [class*="tawk"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .mobile-chat-button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9997;
    min-width: 76px;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: #f5b800;
    color: #11110f;
    box-shadow: 0 16px 34px rgba(17, 17, 15, .24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 15px;
    line-height: 1;
    font-weight: 950;
  }

  .mobile-chat-button:focus-visible {
    outline: 3px solid rgba(17, 17, 15, .22);
    outline-offset: 3px;
  }

  .publish-form input,
  .publish-form select,
  .publish-form textarea {
    font-size: 16px;
  }

  .site-header {
    transition: transform .26s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  body.publish-header-mode .site-header {
    transform: translateY(-105%);
  }

  .publish-sticky {
    inset: 0 0 auto 0;
    transform: translateY(-105%);
    transition: transform .26s ease;
  }

  .publish-bookmark {
    width: 100%;
    min-height: 58px;
    grid-auto-flow: column;
    justify-content: center;
    border-radius: 0;
    padding: 8px 14px;
    border: 0;
    border-bottom: 1px solid rgba(245, 184, 0, .38);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    background: #0d0d0b;
  }

  body.publish-header-mode .publish-sticky,
  .publish-sticky.is-open {
    transform: translateY(0);
  }

  .publish-bookmark-icon {
    width: 40px;
    height: 40px;
  }

  .publish-bookmark-icon img {
    width: 31px;
    height: 31px;
  }

  .publish-bookmark-text {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 12px;
    letter-spacing: .08em;
  }

  .publish-bookmark-deal {
    display: inline-flex;
    padding: 7px 10px;
  }

  .publish-drawer {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 68px;
    bottom: auto;
    width: auto;
    transform: translateY(-10px) scale(.98);
  }

  .publish-sticky.is-open .publish-drawer {
    transform: translateY(0) scale(1);
  }

  .publish-panel {
    border-radius: 20px;
  }

}
