.hk-unavailable-toast,
.hk-unavailable-toast *,
.hk-unavailable-fallback-toast{
  box-sizing: border-box;
}

.swal2-container.hk-unavailable-toast-container.swal2-top{
  padding-top: 84px;
}

.swal2-popup.hk-unavailable-toast{
  width: auto !important;
  min-width: 150px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 13px 24px 14px !important;
  border: 1px solid rgba(255, 146, 1, 0.32);
  border-radius: 999px;
  background: #161619 !important;
  background-image: none !important;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.48),
    0 8px 22px rgba(22, 22, 25, 0.34);
}

.swal2-popup.hk-unavailable-toast .hk-unavailable-toast__title{
  margin: 0 !important;
  padding: 0 !important;
  color: #ff9201 !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.hk-unavailable-fallback-toast{
  position: fixed;
  top: 84px;
  left: 50%;
  z-index: 10000;
  min-width: 150px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 13px 24px 14px;
  border: 1px solid rgba(255, 146, 1, 0.32);
  border-radius: 999px;
  background: #161619;
  background-image: none;
  color: #ff9201;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.48),
    0 8px 22px rgba(22, 22, 25, 0.34);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease;
}

.hk-unavailable-fallback-toast.is-visible{
  opacity: 1;
  transform: translate(-50%, 0);
}

.hk-professional-gate-lock,
.hk-professional-gate-lock body{
  overflow: hidden !important;
}

.hk-professional-gate-lock .hk-hero__nav,
.hk-professional-gate-lock .hk-hero .swiper-pagination{
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hk-professional-gate,
.hk-professional-gate *{
  box-sizing: border-box;
}

.hk-professional-gate{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(22, 22, 25, .82);
  animation: hk-professional-gate-fade-in .2s ease-out both;
}

.hk-professional-gate__dialog{
  width: min(512px, calc(100vw - 32px));
  height: min(390px, calc(100svh - 32px));
  max-height: calc(100svh - 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: rgba(22, 22, 25, .96);
  background-image: none;
  color: #ffffff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 12px -3px rgba(0, 0, 0, .06),
    0 4px 6px -4px rgba(0, 0, 0, .06);
  animation: hk-professional-gate-zoom-in .2s ease-out both;
}

.hk-professional-gate__dialog:focus{
  outline: none;
}

.hk-professional-gate__header{
  display: grid;
  gap: 10px;
  padding: 0;
}

.hk-professional-gate__header h2{
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0;
  text-align: center;
}

.hk-professional-gate__content{
  width: 100%;
  max-width: none;
  min-height: 0;
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 16px 0 0;
  border-right: 2px solid rgba(255, 255, 255, .08);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 146, 1, .34) rgba(255, 255, 255, .08);
}

.hk-professional-gate__content::-webkit-scrollbar{
  width: 4px;
}

.hk-professional-gate__content::-webkit-scrollbar-track{
  background: rgba(255, 255, 255, .08);
}

.hk-professional-gate__content::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(255, 146, 1, .34);
}

.hk-professional-gate__content:focus{
  outline: none;
}

.hk-professional-gate__content:focus-visible{
  border-radius: 4px;
  outline: 2px solid #f5c400;
  outline-offset: 2px;
}

.hk-professional-gate__content p{
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.hk-professional-gate__content .hk-professional-gate__lead{
  font-size: 15px !important;
  font-weight: 700;
  line-height: 24px !important;
  white-space: normal;
}

.hk-professional-gate__footer{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 0 0;
}

.hk-professional-gate__actions{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
}

.hk-professional-gate__btn{
  height: 44px;
  width: auto;
  min-width: 78px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 146, 1, .44);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease;
}

.hk-professional-gate__btn:focus{
  outline: none;
}

.hk-professional-gate__btn:focus-visible{
  outline: 2px solid #f5c400;
  outline-offset: 3px;
}

.hk-professional-gate__btn:disabled{
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.hk-professional-gate__btn--primary{
  min-width: 0;
  border-color: #ff9201;
  background: #ff9201;
  color: #ffffff;
  box-shadow: none;
}

.hk-professional-gate__btn--primary:focus-visible{
  border-color: #ff9201;
  background: #ff9201;
  color: #ffffff;
  box-shadow: none;
  outline: 2px solid #f5c400;
  outline-offset: 3px;
}

.hk-professional-gate__btn--primary:disabled{
  border-color: rgba(255, 255, 255, .08);
  background: #202023;
  color: rgba(255, 255, 255, .65);
  box-shadow: none;
  transform: none;
}

.hk-professional-gate__btn--secondary{
  background: #161619;
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine){
  .hk-professional-gate__btn:not(:disabled):hover{
    transform: translateY(-1px);
  }

  .hk-professional-gate__btn--primary:not(:disabled):hover{
    border-color: #ff9201;
    background: #ff9201;
    color: #ffffff;
    box-shadow: none;
  }

  .hk-professional-gate__btn--secondary:not(:disabled):hover{
    border-color: rgba(255, 146, 1, .62);
    color: #ff9201;
  }
}

.hk-professional-gate__btn--primary:not(:disabled):active{
  border-color: #ff9201;
  background: #ff9201;
  color: #ffffff;
  box-shadow: none;
  transform: translateY(0);
}

.hk-professional-gate__btn--secondary:not(:disabled):active{
  border-color: rgba(255, 146, 1, .62);
  background: #161619;
  color: #ff9201;
  transform: translateY(0);
}

.hk-professional-gate__status{
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #ff9201;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: left;
}

.hk-professional-gate__status.is-complete{
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
}

@media (max-width: 639px){
  .hk-professional-gate{
    padding: 16px;
  }

  .hk-professional-gate__dialog{
    width: calc(100vw - 32px);
    height: min(414px, calc(100svh - 32px));
    grid-template-rows: auto minmax(0, 1fr) auto;
    max-height: calc(100svh - 32px);
    border-radius: 10px;
  }

  .hk-professional-gate__header{
    padding: 0;
  }

  .hk-professional-gate__header h2{
    text-align: center;
  }

  .hk-professional-gate__content{
    padding: 0 16px 0 0;
  }

  .hk-professional-gate__lead{
    white-space: normal;
  }

  .hk-professional-gate__footer{
    display: block;
    padding: 8px 0 0;
  }

  .hk-professional-gate__actions{
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 8px;
    padding: 0;
  }

  .hk-professional-gate__btn{
    height: 44px;
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .hk-professional-gate__status{
    padding: 0;
    text-align: center;
  }
}

@keyframes hk-professional-gate-fade-in{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

@keyframes hk-professional-gate-zoom-in{
  from{
    opacity: 0;
    transform: scale(.95);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce){
  .hk-professional-gate,
  .hk-professional-gate__dialog{
    animation: none;
  }

  .hk-professional-gate__btn{
    transition: none;
  }

  .hk-professional-gate__btn:not(:disabled):hover,
  .hk-professional-gate__btn:not(:disabled):active{
    transform: none;
  }
}

@media (max-width: 576px){
  .swal2-container.hk-unavailable-toast-container.swal2-top{
    padding-top: 72px;
  }

  .hk-unavailable-fallback-toast{
    top: 72px;
  }
}
