.jhzzz-public-tools {
  position: fixed;
  z-index: 1000;
  isolation: isolate;
  right: 22px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.jhzzz-public-tool {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 86px;
  height: 76.390625px;
  min-height: 76.390625px;
  padding: 13px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: #fff;
  color: #4b5563;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .12);
  font-family: Geist, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 20.4px !important;
  white-space: nowrap !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  transition: transform .2s, border-color .2s, background-color .2s, color .2s;
}

.jhzzz-public-tool > span {
  display: block !important;
  min-width: max-content;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.jhzzz-public-tool.primary {
  background: #0f1115 !important;
  color: #fff !important;
  border-color: transparent !important;
}

.jhzzz-public-tool-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
}

.jhzzz-public-tool:hover,
.jhzzz-public-tool:focus-visible {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
  outline: none;
}

.jhzzz-public-tool.primary:hover,
.jhzzz-public-tool.primary:focus-visible {
  background: #2a2a2a !important;
  color: #fff !important;
  border-color: transparent !important;
}

.jhzzz-public-pop {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  width: max-content;
  max-width: calc(100vw - 8rem);
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  color: #111318;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity .2s, visibility .2s, transform .2s;
  box-shadow: 0 26px 64px -30px rgba(0, 0, 0, .18);
}

.jhzzz-public-tool:hover .jhzzz-public-pop,
.jhzzz-public-tool:focus-visible .jhzzz-public-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
}

.jhzzz-public-pop h4 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 16px;
}

.jhzzz-public-qr-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.jhzzz-public-qr-item {
  width: 240px;
  text-align: center;
}

.jhzzz-public-qr-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.jhzzz-public-qr-item p {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 16px;
}

.jhzzz-public-info {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  text-align: center;
  font-size: 14px;
}

.jhzzz-public-info p { margin: 3px 0; }

@media (max-width: 700px) {
  .jhzzz-public-tools { right: 12px; }
  .jhzzz-public-tool { width: 86px; height: 76.390625px; min-height: 76.390625px; font-size: 12px !important; }
  .jhzzz-public-pop { max-width: calc(100vw - 100px); padding: 12px; }
  .jhzzz-public-qr-row { gap: 8px; }
  .jhzzz-public-qr-item { width: 140px; }
  .jhzzz-public-qr-item p { font-size: 12px; }
}
