/* Full-screen Tencent charity page with an independent route home. */
body:has(.kb-not-found) {
  margin: 0;
  background: #161616;
}
body:has(.kb-not-found) .md-main,
body:has(.kb-not-found) .md-main__inner,
body:has(.kb-not-found) .md-content__inner {
  margin: 0;
  padding: 0;
}
body:has(.kb-not-found) .md-top { display: none; }
.kb-not-found__frame {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: 0;
  background: #161616;
}
.kb-not-found__actions {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 1;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 4px;
  background: rgb(0 0 0 / 30%);
  font-family: var(--font-body);
}
.md-typeset .kb-not-found__home {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #fff;
  color: #202124;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.md-typeset .kb-not-found__home:hover { background: #eef2ff; }
.md-typeset .kb-not-found__provider {
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kb-not-found__actions a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 39.99em) {
  .kb-not-found__actions {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    gap: 8px;
    padding: 8px;
  }
  .md-typeset .kb-not-found__home { padding-inline: 14px; }
}
