body.has-fennzo-support { min-height: 100svh; display: flex; flex-direction: column; }
body.has-fennzo-support #app { flex: 1 0 auto; }
body.has-fennzo-support:has(.support-dialog[open]) { overflow: hidden; }
.support-widget { --support-purple: #5237fa; --support-ink: #202c40; --support-body: "Microsoft YaHei UI", "PingFang SC", sans-serif; color: var(--support-ink); font: 14px/1.6 var(--support-body); flex: 0 0 auto; width: 100%; background: #fff; border-top: 1px solid #e9edf4; }
.support-widget *, .support-widget *::before, .support-widget *::after { box-sizing: border-box; }
.support-widget button, .support-widget input { font: inherit; }
.support-widget button { cursor: pointer; }
.support-widget button:disabled { cursor: wait; opacity: .65; }
.support-widget svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
.support-widget [hidden] { display: none !important; }
.support-widget button:focus-visible, .support-widget input:focus-visible { outline: 3px solid #a598ff; outline-offset: 4px; }
.support-widget .support-dock { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px)); }
.support-widget .support-contact { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 18px; margin-left: auto; }
.support-widget .support-credit { margin: 0; color: #7664ea; font-size: 12px; font-weight: 650; line-height: 1.6; white-space: nowrap; }
.support-widget .support-credit strong { color: inherit; font: 650 12px/1.6 Bahnschrift, "Cascadia Code", sans-serif; letter-spacing: .35px; }
.support-widget .support-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 17px; border: 1px solid #ead378; border-radius: 12px; background: #ffe58b; box-shadow: 0 6px 22px #33240d24, inset 0 1px 0 #fff3c3; color: #5a481b; font-size: 12px; font-weight: 650; white-space: nowrap; }
.support-widget .support-trigger:hover { background: #ffdf72; border-color: #dec56b; }
.support-widget .support-trigger svg { width: 17px; height: 17px; }
.support-widget .support-dialog { position: fixed; width: min(490px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 1px solid #edf0f6; border-radius: 30px; color: var(--support-ink); background: white; box-shadow: 0 25px 100px #18253e4d; font-family: var(--support-body); overflow: hidden; }
.support-widget .support-dialog[open] { display: flex; flex-direction: column; animation: support-appear .17s ease-out; }
.support-widget .support-dialog::backdrop { background: #142139a8; backdrop-filter: blur(6px); }
.support-widget .support-dialog-header { flex: 0 0 auto; position: relative; padding: 31px 30px 23px; text-align: center; background: white; }
.support-widget .support-close { position: absolute; top: 19px; right: 19px; display: grid; place-items: center; width: 35px; height: 35px; padding: 7px; border: 1px solid #b7c9e6; border-radius: 50%; color: #2b548c; background: #fff; box-shadow: 0 3px 10px #263f6822; }
.support-widget .support-close:hover { background: #f2f5ff; border-color: #94acd2; }
.support-widget .support-close svg { width: 20px; height: 20px; }
.support-widget .support-dialog-symbol { display: grid; place-items: center; width: 61px; height: 61px; margin: 0 auto 23px; border-radius: 50%; color: var(--support-purple); background: #f0f1ff; }
.support-widget .support-dialog-symbol svg { width: 29px; height: 29px; }
.support-widget .support-dialog-header h2 { margin: 0; font-size: 24px; font-weight: 750; line-height: 1.4; letter-spacing: -.7px; color: #202c40; }
.support-widget .support-dialog-header > p { margin: 12px auto 0; max-width: 370px; color: #7083a3; font-size: 12px; font-weight: 600; line-height: 1.9; }
.support-widget .support-dialog-body { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c3c8e8 transparent; padding: 0 30px 22px; }
.support-widget .support-qr-stage { padding: 17px; border: 1px solid #edf1f7; border-radius: 20px; background: #f7f9fb; }
/* Display the complete original QR card without clipping or reconstruction. */
.support-widget .support-qr-viewport { width: 100%; max-width: clamp(250px, 35dvh, 385px); overflow: hidden; margin: 0 auto; border-radius: 15px; background: white; box-shadow: 0 1px 4px #1e304a19; }
.support-widget .support-qr-source { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.support-widget .support-image-error { margin: 0; padding: 27px 12px; color: #7b879b; text-align: center; font-size: 12px; line-height: 1.9; }
.support-widget .support-copy-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; margin-top: 26px; padding: 15px 17px; border: 1px solid #dfe3ff; border-radius: 16px; background: #f8f8ff; }
.support-widget .support-handle-wrap { min-width: 0; }
.support-widget .support-handle-wrap label { display: block; margin: 0 0 3px; color: #8b8bfd; font-size: 12px; font-weight: 650; line-height: 1.5; }
.support-widget .support-handle { display: block; width: 100%; min-width: 0; min-height: 26px; margin: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #4c32ed; font: 650 21px/1.25 Bahnschrift, "Microsoft YaHei UI", sans-serif; letter-spacing: 0; box-shadow: none; }
.support-widget .support-handle:focus { box-shadow: none; background: #f0edff; }
.support-widget .support-copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 17px; border: 1px solid #6b50ff; border-radius: 14px; background: var(--support-purple); box-shadow: 0 4px 12px #412aee38; color: white; font-size: 13px; font-weight: 650; white-space: nowrap; }
.support-widget .support-copy-button:hover:not(:disabled) { border-color: #492de6; background: #4528eb; }
.support-widget .support-copy-button svg { width: 17px; height: 17px; }
.support-widget .support-copy-status { min-height: 18px; margin: 9px 3px 0; color: #568378; font-size: 10px; line-height: 1.8; text-align: center; }
.support-widget .support-copy-status--manual { color: #897449; }
@keyframes support-appear { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .support-widget .support-dock { width: calc(100% - 32px); flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); }
  .support-widget .support-contact { justify-content: center; margin-left: 0; gap: 8px 12px; }
  .support-widget .support-trigger { min-height: 41px; padding: 10px 14px; gap: 7px; font-size: 11px; }
  .support-widget .support-credit { font-size: 9px; padding: 3px 8px; }
  .support-widget .support-credit strong { font-size: 10px; }
  .support-widget .support-dialog { width: calc(100vw - 28px); max-height: calc(100dvh - 28px); border-radius: 24px; }
  .support-widget .support-dialog-header { padding: 25px 20px 19px; }
  .support-widget .support-close { top: 16px; right: 16px; width: 32px; height: 32px; padding: 6px; }
  .support-widget .support-dialog-symbol { width: 51px; height: 51px; margin-bottom: 19px; }
  .support-widget .support-dialog-symbol svg { width: 25px; height: 25px; }
  .support-widget .support-dialog-header h2 { font-size: 22px; }
  .support-widget .support-dialog-header > p { font-size: 11px; margin-top: 10px; }
  .support-widget .support-dialog-body { padding: 0 20px 17px; }
  .support-widget .support-qr-stage { padding: 13px; border-radius: 17px; }
  .support-widget .support-qr-viewport { border-radius: 12px; }
  .support-widget .support-copy-box { margin-top: 21px; padding: 14px 13px; gap: 10px; border-radius: 14px; }
  .support-widget .support-handle-wrap label { font-size: 11px; }
  .support-widget .support-handle { font-size: 19px; }
  .support-widget .support-copy-button { min-height: 40px; padding: 9px 12px; font-size: 12px; gap: 6px; border-radius: 12px; }
  .support-widget .support-copy-button svg { width: 15px; height: 15px; }
  .support-widget .support-copy-status { margin-top: 8px; font-size: 9px; }
}
@media (max-height: 620px) {
  .support-widget .support-dialog-header { padding-top: 21px; padding-bottom: 16px; }
  .support-widget .support-dialog-symbol { width: 39px; height: 39px; margin-bottom: 12px; }
  .support-widget .support-dialog-symbol svg { width: 22px; height: 22px; }
  .support-widget .support-dialog-header h2 { font-size: 21px; }
  .support-widget .support-dialog-header > p { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .support-widget *, .support-widget *::before, .support-widget *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
