html.official-support-open { overflow: hidden; }
.official-support-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #f3f1e8;
  background: #0d1b15;
  border: 1px solid rgb(165 199 181 / 28%);
  border-radius: 8px;
  box-shadow: 0 28px 110px rgb(0 0 0 / 48%);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  text-align: center;
}
.official-support-dialog::backdrop { background: rgb(2 8 5 / 78%); backdrop-filter: blur(7px); }
.official-support-dialog[open] { animation: official-support-enter .26s ease-out both; }
.official-support-content { position: relative; padding: 40px 32px 32px; }
.official-support-dialog .official-support-close {
  position: absolute; right: 8px; top: 8px; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: #b8c9bd; font: 28px/1 Arial, sans-serif; cursor: pointer;
}
.official-support-close:hover { background: rgb(165 199 181 / 10%); }
.official-support-dialog .official-support-kicker { margin: 4px 0 17px; color: #a1c6b5; font: 11px/1.5 Arial, sans-serif; letter-spacing: .2em; }
.official-support-kicker span { margin-inline: 9px; opacity: .45; }
.official-support-dialog h2 { margin: 0 0 12px; font-family: "Noto Serif TC", "PMingLiU", serif; font-size: 27px; font-weight: 500; line-height: 1.45; letter-spacing: .035em; }
.official-support-dialog #official-support-description { margin: 0; color: #b0bcb5; font-size: 14px; line-height: 1.8; }
.official-support-qr { width: min(246px, 100%); padding: 10px; margin: 26px auto 20px; background: white; border-radius: 5px; }
.official-support-qr img { display: block; width: 100%; height: auto; max-width: 100%; }
.official-support-dialog .official-support-hint { margin: 0 0 18px; color: #a8b8ae; font-size: 12px; }
.official-support-dialog .official-support-unavailable { margin: 24px 0; color: #cbbba1; font-size: 14px; }
.official-support-dialog .official-support-action {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 50px; padding: 12px 18px; box-sizing: border-box;
  border: 1px solid #ececdb; border-radius: 3px;
  color: #11271d; background: #ececdb; font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.official-support-dialog .official-support-action:hover { background: #fffef0; border-color: #fffef0; }
.official-support-dialog .official-support-action .external-arrow { flex: 0 0 auto; width: 16px; height: 16px; }
.official-support-dialog :focus-visible { outline: 2px solid #a1c6b5; outline-offset: 4px; }
.official-support-dialog [hidden] { display: none !important; }
@keyframes official-support-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 420px) { .official-support-content { padding: 36px 22px 24px; } .official-support-dialog h2 { font-size: 24px; } }
@media (max-height: 600px) { .official-support-content { padding-top: 24px; } .official-support-qr { width: 180px; margin-block: 16px; } }
@media (prefers-reduced-motion: reduce) { .official-support-dialog[open] { animation: none; } .official-support-action { transition: none; } }
