.ksjb-anchor-fab {
  position: fixed;
  right: max(18px, calc((100vw - 430px) / 2 + 18px));
  bottom: 104px;
  z-index: 6000;
  display: none !important;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #1f1b14;
  background: linear-gradient(135deg, #ffe7ae, #e0a84c);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  font-size: 14px;
  font-weight: 800;
  pointer-events: none;
}

.app-header .header-actions {
  gap: 6px !important;
}

.app-header .header-actions .download-button {
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 36px !important;
  padding: 0 !important;
  flex-direction: column !important;
  gap: 1px !important;
  border-radius: 10px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.app-header .header-actions .download-button svg {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto;
}

.bottom-nav {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

.bottom-nav .ksjb-anchor-nav-item {
  appearance: none;
}

.bottom-nav .ksjb-anchor-nav-item .ksjb-anchor-nav-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.bottom-nav .ksjb-anchor-nav-item:active .ksjb-anchor-nav-icon {
  transform: scale(.94);
}

.ksjb-anchor-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  overflow: hidden;
  background: #2f2f2f;
  color: #f7eed9;
}

.ksjb-anchor-root.is-open {
  display: block;
}

.ksjb-anchor-shell {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden auto;
  background:
    radial-gradient(circle at 20% 0, rgba(227, 175, 91, .20), transparent 32%),
    linear-gradient(180deg, #16171d 0%, #101116 48%, #f2f3f7 48.1%, #f2f3f7 100%);
}

.ksjb-anchor-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 88px;
  padding: 14px 18px;
  background: rgba(24, 25, 31, .96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.ksjb-anchor-back {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-size: 24px;
}

.ksjb-anchor-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.ksjb-anchor-brand img {
  width: 108px;
  height: 36px;
  object-fit: contain;
}

.ksjb-anchor-brand div {
  min-width: 0;
}

.ksjb-anchor-brand strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ksjb-anchor-brand span {
  display: block;
  margin-top: 4px;
  color: #e5b66e;
  font-size: 12px;
}

.ksjb-anchor-main {
  padding: 18px 16px 120px;
}

.ksjb-anchor-hero,
.ksjb-anchor-panel {
  border: 1px solid rgba(229, 180, 95, .42);
  border-radius: 20px;
  background: rgba(19, 49, 37, .92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.ksjb-anchor-hero {
  padding: 18px;
}

.ksjb-anchor-hero b {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #191714;
  background: #e2ac55;
  font-size: 12px;
}

.ksjb-anchor-hero h1 {
  margin: 18px 0 8px;
  color: #fff4d7;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0;
}

.ksjb-anchor-hero p {
  margin: 0;
  color: #dac89f;
  font-size: 14px;
  line-height: 1.6;
}

.ksjb-anchor-panel {
  margin-top: 14px;
  padding: 16px;
  color: #242630;
  border-color: rgba(255, 255, 255, .75);
  background: #fff;
}

.ksjb-anchor-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.ksjb-anchor-tabs button,
.ksjb-anchor-primary,
.ksjb-anchor-secondary,
.ksjb-anchor-copy {
  border: 0;
  border-radius: 14px;
  font-weight: 800;
}

.ksjb-anchor-tabs button {
  height: 42px;
  color: #8b8f9d;
  background: #f2f3f7;
}

.ksjb-anchor-tabs button.is-active {
  color: #252017;
  background: linear-gradient(135deg, #ffe5ae, #e0a84c);
}

.ksjb-anchor-field {
  display: block;
  margin-top: 12px;
}

.ksjb-anchor-field span {
  display: block;
  margin-bottom: 7px;
  color: #777d8e;
  font-size: 12px;
  font-weight: 700;
}

.ksjb-anchor-input,
.ksjb-anchor-select,
.ksjb-anchor-textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dadee8;
  border-radius: 14px;
  background: #fbfcff;
  color: #20232d;
  font-size: 15px;
  outline: 0;
}

.ksjb-anchor-input,
.ksjb-anchor-select {
  height: 46px;
  padding: 0 13px;
}

.ksjb-anchor-textarea {
  min-height: 82px;
  padding: 12px 13px;
  resize: vertical;
}

.ksjb-anchor-phone {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 8px;
}

.ksjb-anchor-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 8px;
  align-items: end;
}

.ksjb-anchor-captcha img,
.ksjb-anchor-captcha button {
  width: 128px;
  height: 46px;
  border-radius: 14px;
}

.ksjb-anchor-captcha img {
  border: 1px solid #e6c284;
  object-fit: cover;
  background: #fff5df;
}

.ksjb-anchor-captcha button {
  border: 0;
  color: #5b3b12;
  background: #f1c37e;
  font-weight: 800;
}

.ksjb-anchor-primary,
.ksjb-anchor-secondary {
  width: 100%;
  height: 50px;
  margin-top: 16px;
}

.ksjb-anchor-primary {
  color: #201b14;
  background: linear-gradient(135deg, #ffe4ae, #dfa64b);
}

.ksjb-anchor-secondary {
  color: #333743;
  background: #eef1f7;
}

.ksjb-anchor-primary:disabled {
  opacity: .55;
}

.ksjb-anchor-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #f7f1e6;
  color: #7b5220;
  font-size: 13px;
  line-height: 1.55;
}

.ksjb-anchor-status i {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #e2ac55;
  color: #fff;
  font-style: normal;
}

.ksjb-anchor-url {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e5e9f1;
  border-radius: 16px;
  background: #f8fafc;
}

.ksjb-anchor-url span {
  display: block;
  color: #7c8292;
  font-size: 12px;
}

.ksjb-anchor-url code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: #111827;
  font-size: 12px;
  line-height: 1.5;
}

.ksjb-anchor-copy {
  height: 34px;
  margin-top: 9px;
  padding: 0 12px;
  color: #241d13;
  background: #f0c47e;
}

.ksjb-anchor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ksjb-anchor-toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  z-index: 10002;
  max-width: min(360px, calc(100vw - 40px));
  transform: translateX(-50%);
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .76);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.ksjb-anchor-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

@media (max-width: 390px) {
  .ksjb-anchor-brand img {
    width: 92px;
  }

  .ksjb-anchor-brand strong {
    font-size: 17px;
  }

  .ksjb-anchor-captcha {
    grid-template-columns: 1fr;
  }

  .ksjb-anchor-captcha img,
  .ksjb-anchor-captcha button {
    width: 100%;
  }
}
