.onboarding-support-launcher {
  position: fixed;
  z-index: 100;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(139 245 191 / .32);
  border-radius: 50%;
  background: rgb(10 22 16 / .94);
  color: #f5f0e8;
  box-shadow: 0 8px 24px rgb(0 0 0 / .3);
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.onboarding-support-launcher:hover {
  transform: translateY(-2px);
  border-color: #8bf5bf;
  background: #14251e;
}
.onboarding-support-launcher:focus-visible,
.onboarding-support-dialog__close:focus-visible,
.onboarding-support-dialog__item:focus-visible {
  outline: 2px solid #8bf5bf;
  outline-offset: 3px;
}
.onboarding-support-launcher svg { width: 36px; height: 36px; }
.onboarding-support-callout {
  position: fixed;
  z-index: 99;
  right: calc(8px + env(safe-area-inset-right, 0px));
  bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  width: 168px;
  height: 96px;
  color: #f5f0e8;
  pointer-events: none;
}
.onboarding-support-callout__label {
  position: absolute;
  top: 8px;
  left: 3px;
  transform: rotate(-7deg);
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgb(0 0 0 / .8);
}
.onboarding-support-callout__arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.onboarding-support-callout__arrow path { fill: none; stroke: rgb(245 240 232 / .68); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.onboarding-support-callout__arrow .is-dashed { stroke-dasharray: 4 5; }
.onboarding-support-mobile-hint { display: none; }

.onboarding-support-dialog {
  width: min(440px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 26px 24px 24px;
  overflow: auto;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 20px;
  background: rgb(10 22 16 / .96);
  color: #f5f0e8;
  box-shadow: 0 32px 80px rgb(0 0 0 / .52), inset 0 1px rgb(255 255 255 / .06);
  backdrop-filter: blur(24px);
}
.onboarding-support-dialog::backdrop { background: rgb(0 0 0 / .56); backdrop-filter: blur(3px); }
.onboarding-support-dialog.is-fallback-open {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 100vmax rgb(0 0 0 / .56), 0 32px 80px rgb(0 0 0 / .52);
}
.onboarding-support-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.onboarding-support-dialog__header h2 { margin: 0; color: #f5f0e8; font-size: 21px; line-height: 1.35; }
.onboarding-support-dialog__header p { margin: 8px 0 0; color: rgb(245 240 232 / .62); font-size: 14px; line-height: 1.5; }
.onboarding-support-dialog__close {
  flex: 0 0 auto;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: -3px -3px 0 0;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 50%;
  background: rgb(255 255 255 / .045);
  color: rgb(245 240 232 / .68);
  font: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.onboarding-support-dialog__close:hover { background: rgb(255 255 255 / .1); }
.onboarding-support-dialog__list { display: flex; flex-direction: column; gap: 10px; }
.onboarding-support-dialog__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgb(139 245 191 / .14);
  border-radius: 14px;
  background: rgb(255 255 255 / .035);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.onboarding-support-dialog__item:hover { border-color: rgb(139 245 191 / .3); background: rgb(0 255 136 / .08); }
.onboarding-support-dialog__item-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.onboarding-support-dialog__icon {
  flex: 0 0 42px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(139 245 191 / .18);
  border-radius: 12px;
  background: rgb(0 255 136 / .08);
  color: #8bf5bf;
}
.onboarding-support-dialog__icon--wechat { background: rgb(139 245 191 / .12); }
.onboarding-support-dialog__icon svg { width: 21px; height: 21px; }
.onboarding-support-dialog__text { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.onboarding-support-dialog__label { color: rgb(245 240 232 / .62); font-size: 13px; line-height: 1.3; }
.onboarding-support-dialog__value { overflow-wrap: anywhere; color: #8bf5bf; font-size: 15px; font-weight: 700; line-height: 1.35; }
.onboarding-support-dialog__arrow { flex: 0 0 auto; color: rgb(139 245 191 / .55); font-size: 26px; line-height: 1; }
.onboarding-support-dialog--wechat { width: min(400px, calc(100vw - 32px)); text-align: center; }
.onboarding-support-dialog--wechat .onboarding-support-dialog__header { text-align: left; }
.onboarding-support-dialog__qr {
  display: block;
  width: min(240px, 68vw);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 14px;
  padding: 9px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}
.onboarding-support-dialog__hint { margin: 0; color: #a9a9ae; font-size: 13px; line-height: 1.5; }
.onboarding-support-toast {
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid rgb(139 245 191 / .2);
  border-radius: 999px;
  background: rgb(0 255 136 / .08);
  color: #8bf5bf;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 1099px) {
  .onboarding-support-callout { display: none; }
  .onboarding-support-mobile-hint {
    position: fixed;
    z-index: 101;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    display: block;
    color: #f5f0e8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 2px 10px rgb(0 0 0 / .8);
    pointer-events: none;
  }
  .onboarding-support-launcher { border-style: dashed; border-color: rgb(245 240 232 / .72); }
}
@media (min-width: 1100px) {
  .onboarding-support-mobile-hint { display: none; }
}
@media (max-width: 560px) {
  .onboarding-support-launcher { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
  .onboarding-support-mobile-hint { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .onboarding-support-launcher svg { width: 34px; height: 34px; }
  .onboarding-support-dialog { padding: 22px 20px 20px; }
  .onboarding-support-dialog__item { min-height: 72px; padding: 13px 14px; }
}
