#zhijing-support {
  position: fixed;
  z-index: 90;
  right: max(28px, env(safe-area-inset-right));
  bottom: calc(28px + env(safe-area-inset-bottom));
  color: #f5f0e8;
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  text-align: left;
}
#zhijing-support *, #zhijing-support *::before, #zhijing-support *::after { box-sizing: border-box; }
#zhijing-support button {
  appearance: none;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#zhijing-support button:focus-visible, #zhijing-support input:focus-visible {
  outline: 2px solid #e9c28f;
  outline-offset: 4px;
}
#zhijing-support svg { display: block; width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#zhijing-support .zj-support-launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid #aa8a605c;
  border-radius: 999px;
  background: #211d18;
  color: #e5c69e;
  box-shadow: 0 8px 30px #0005;
  font-size: 13px;
  letter-spacing: .5px;
}
#zhijing-support .zj-support-launcher:hover { background: #2c251d; border-color: #c29b68; }
#zhijing-support dialog {
  position: fixed;
  inset: auto max(28px, env(safe-area-inset-right)) calc(92px + env(safe-area-inset-bottom)) auto;
  width: min(350px, calc(100vw - 32px));
  max-height: calc(100dvh - 120px);
  margin: 0;
  padding: 30px 26px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #b192655e;
  border-radius: 20px;
  background: #1d1a16;
  color: #f5f0e8;
  box-shadow: 0 24px 80px #0007;
  font: inherit;
  text-align: left;
}
#zhijing-support dialog:not([open]) { display: none; }
#zhijing-support dialog::backdrop { background: #09080666; backdrop-filter: blur(2px); }
#zhijing-support .zj-support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b8aa96;
}
#zhijing-support .zj-support-close:hover { background: #ffffff0c; color: #fff; }
#zhijing-support .zj-support-eyebrow { display: block; margin: 0 24px 14px 0; color: #b8976a; font-size: 9px; letter-spacing: 2px; }
#zhijing-support h2 { margin: 0; color: #f5f0e8; font-size: 23px; line-height: 1.5; font-weight: 500; letter-spacing: .5px; }
#zhijing-support .zj-support-intro { margin: 6px 0 24px; color: #a79e91; font-size: 12px; }
#zhijing-support .zj-support-account { padding: 16px 17px; border: 1px solid #b092652b; border-radius: 10px; background: #ffffff03; }
#zhijing-support label { display: block; margin-bottom: 5px; color: #a79e91; font-size: 11px; }
#zhijing-support input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eed5b1;
  font: 500 22px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: .4px;
  user-select: text;
  -webkit-user-select: text;
  -webkit-text-fill-color: #eed5b1;
}
#zhijing-support .zj-support-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  margin: 16px 0 0;
  padding: 10px 16px;
  border: 1px solid #d6b383;
  border-radius: 9px;
  background: #d6b383;
  color: #231c13;
  font-size: 13px;
  font-weight: 600;
}
#zhijing-support .zj-support-copy:hover { background: #e4c59b; }
#zhijing-support .zj-support-copy:disabled { cursor: wait; opacity: .7; }
#zhijing-support .zj-support-copy svg { width: 16px; height: 16px; }
#zhijing-support #zj-support-instructions { margin: 13px 0 0; color: #a79e91; font-size: 11px; line-height: 1.9; }
#zhijing-support .zj-support-status { min-height: 20px; margin: 6px 0 0; color: #e3c89f; font-size: 11px; line-height: 1.8; }
@media (max-width: 620px) {
  #zhijing-support { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  #zhijing-support .zj-support-launcher { min-height: 46px; padding: 0 16px; font-size: 12px; gap: 8px; }
  #zhijing-support dialog { right: max(16px, env(safe-area-inset-right)); bottom: calc(76px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 100px); padding: 28px 22px 18px; border-radius: 16px; }
}
