:root {
  --background: #f6f7f8;
  --card-bg: #fff;
  --second-bg: #F7F7F7;
  --font-color: #000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1e2020;
    --card-bg: #0f0f0f;
    --second-bg: #303134;
    --font-color: #fff;
  }
}

body {
  background: var(--background);
  margin: 0;
  padding: 0;
}

.wechatOA {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: var(--vh);
}

.wechat {
  margin: auto;
}

.wechat-card {
  background: var(--card-bg);
  max-width: 428px;
  max-height: 569px;
  border-radius: 16px;
  padding: 24px 36px 20px 36px;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  align-items: center;
}

.qrcode {
  width: 256px;
  height: 256px;
  display: flex;
  border-radius: 12px;
}

.tips {
  font-size: 14px;
  color: var(--font-color);
  opacity: 0.5;
  margin-top: 8px;
}

.wechatOA-card {
  width: 100%;
  display: flex;
  margin-top: 16px;
  background: var(--second-bg);
  padding: 18px;
  border-radius: 16px;
  align-items: center;
}

.wechatOA-head {
  width: 48px;
  height: 48px;
  background-image: url(img/icon.webp);
  border-radius: 68px;
  background-size: contain;
  margin-right: 16px;
}

.wechatOA-name {
  font-weight: bold;
}

.wechatOA-description {
  font-size: 12px;
  color: var(--font-color);
  opacity: 0.5;
}

a.footer-item {
  font-size: 14px;
  color: var(--font-color);
  opacity: 0.5;
  text-decoration: none;
  margin: 20px 0;
  transition: 0.3s;
  position: relative;
  margin-right: 20px;
}

.footer-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ccc;
}

.footer-item:last-child {
  margin-right: 0;
}

a.footer-item:visited {
  color: var(--font-color);
}

a.footer-item:hover {
  color: #1ba059;
  opacity: 1;
  text-shadow: 0px 0px 8px #1ba05914;
}

.wechat-need-reply {
  background: var(--card-bg);
  max-width: 328px;
  max-height: 569px;
  border-radius: 16px;
  padding: 24px 36px 20px 36px;
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
}

img.wechat-need-reply-copybtn-img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  margin-left: 5px;
}

.wechat-need-reply-copybtn {
  display: flex;
  padding: 12px 12px 12px 20px;
  background: #1ba059;
  color: #fff;
  border-radius: 12px;
  margin: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.wechat-need-reply-copybtn:hover {
  opacity: 0.8;
}

span#wechat-need-reply-text {
  line-height: 1;
  margin: auto;
}

span.wechat-need-reply-front {
  font-size: 14px;
  color: var(--font-color);
  font-weight: bold;
}

span.wechat-need-reply-back {
  font-size: 14px;
  color: var(--font-color);
}

.footer {
  display: flex;
}

.wechatOA-info {
  color: var(--font-color);
}