.dawei-site-footer {
  background: #101f1d;
  color: #d1ddd3;
  font: 400 14px/1.5 "IBM Plex Sans", Arial, sans-serif;
}
.dawei-site-footer__grid,
.dawei-site-footer__legal,
.dawei-site-footer ~ .links > ul {
  width: min(1400px, calc(100% - 128px));
  margin-inline: auto;
}
.dawei-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, 1.65fr) auto;
  gap: clamp(24px, 3vw, 54px);
  padding-block: clamp(37px, 4.3vw, 66px) 34px;
}
.dawei-site-footer__heading {
  margin: 0 0 14px;
  color: #dce3b4;
  font: 600 13px/1.35 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dawei-site-footer ul { margin: 0; padding: 0; list-style: none; }
.dawei-site-footer li + li { margin-top: 4px; }
.dawei-site-footer a,
.dawei-site-footer ~ .links a {
  color: inherit;
  text-decoration: none;
}
.dawei-site-footer a:hover,
.dawei-site-footer ~ .links a:hover { color: #eef4c9; text-decoration: underline; text-underline-offset: 3px; }
.dawei-site-footer a:focus-visible,
.dawei-site-footer ~ .links a:focus-visible { outline: 2px solid #dce3b4; outline-offset: 3px; }
.dawei-site-footer__details {
  display: grid;
  gap: 7px;
  margin: 0;
}
.dawei-site-footer__details > div {
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr);
  gap: 8px;
}
.dawei-site-footer__details dt { color: #a9beaf; }
.dawei-site-footer__details dd { margin: 0; overflow-wrap: anywhere; }
.dawei-site-footer__qr { margin: 0; align-self: start; justify-self: start; text-align: center; }
.dawei-site-footer__qr img {
  display: block;
  box-sizing: border-box;
  width: 112px;
  height: 112px;
  padding: 4px;
  background: #fff;
  object-fit: contain;
}
.dawei-site-footer__qr figcaption { margin-top: 6px; color: #a9beaf; font-size: 12px; }
.dawei-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px 18px;
  padding-block: 13px;
  border-top: 1px solid #374c44;
  color: #aabbaf;
  font-size: 12px;
}
.dawei-site-footer__legal a:empty { display: none; }
.dawei-site-footer ~ .links {
  margin: 0;
  padding: 0;
  background: #101f1d;
  color: #aabbaf;
}
.dawei-site-footer ~ .links > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  padding: 12px 0 20px;
  border-top: 1px solid #374c44;
  list-style: none;
  font: 400 12px/1.5 "IBM Plex Sans", Arial, sans-serif;
}
.dawei-site-footer ~ .links li {
  float: none;
  margin: 0;
  padding: 0;
  color: inherit;
  line-height: inherit;
}
.dawei-site-footer ~ .links .clear { display: none; }
@media (max-width: 940px) {
  .dawei-site-footer__grid,
  .dawei-site-footer__legal,
  .dawei-site-footer ~ .links > ul { width: calc(100% - 36px); }
}
@media (max-width: 760px) {
  .dawei-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .dawei-site-footer__details > div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .dawei-site-footer__qr { justify-self: center; }
}

.dawei-back-top {
  position: fixed;
  right: clamp(14px, 2.2vw, 32px);
  bottom: calc(clamp(18px, 3vw, 34px) + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #819087;
  border-radius: 3px;
  background: #f4f1e7;
  color: #172d29;
  box-shadow: 0 2px 8px #172d291f;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.dawei-back-top[hidden] { display: none; }
.dawei-back-top:hover { border-color: #172d29; background: #172d29; color: #f4f1e7; }
.dawei-back-top:focus-visible { outline: 2px solid #718e62; outline-offset: 3px; }
.dawei-back-top svg { display: block; width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) {
  .dawei-back-top { transition: none; }
}

#footer-share li > :is(a, button) {
  font: 400 12px/1.5 "IBM Plex Sans", Arial, sans-serif !important;
  letter-spacing: normal;
  text-transform: none;
}
.dawei-home-share button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.dawei-home-share button:hover { color: #eef4c9; text-decoration: underline; text-underline-offset: 3px; }
.dawei-home-share button:focus-visible { outline: 2px solid #dce3b4; outline-offset: 3px; }
.dawei-home-share__feedback { flex-basis: 100%; }
.dawei-home-share__feedback:has([role="status"]:empty) { display: none; }
.dawei-home-share__copy-field {
  width: min(100%, 320px);
  margin-inline-start: 8px;
  padding: 4px 6px;
  border: 1px solid #70857b;
  background: #1b3230;
  color: #eef0e4;
  font: inherit;
}
