:root {
  color-scheme: light;
  --ink: #14201b;
  --muted: #66736e;
  --line: #dfe8e3;
  --wechat: #07c160;
  --paper: #fbfdfb;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(7, 193, 96, 0.14), transparent 34rem),
    linear-gradient(180deg, #f4fbf6 0%, #ffffff 55%, #f7faf8 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(16, 52, 35, 0.12);
  padding: 24px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wechat);
  font-weight: 800;
  font-size: 22px;
}

h1 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.brand p,
.hint {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.qr-frame {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: 18px;
}

.wechat-qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.hint {
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 390px) {
  .page {
    padding: 14px;
  }

  .panel {
    padding: 18px;
  }

  h1 {
    font-size: 22px;
  }
}
