:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #222;
  background: #fffaf5;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  min-width: 320px;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
}

.card {
  width: 100%;
  min-width: 0;
  max-width: 460px;
  padding: 36px;
  border: 1px solid #eee8e1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(65, 48, 34, 0.1);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.06em;
}

.subtitle {
  margin: 10px 0 26px;
  color: #777;
  font-size: 15px;
}

.qr-box {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
}

.qr-box img {
  display: block;
  width: 100%;
  height: auto;
}

.tip {
  margin: 18px 0;
  color: #888;
  font-size: 13px;
}

.mobile-tip {
  display: none;
}

.save-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: #222;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.save-button:hover {
  background: #3a3a3a;
}

.save-button:focus-visible {
  outline: 3px solid rgba(255, 153, 112, 0.45);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  body {
    padding: 14px;
  }

  .card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  h1 {
    font-size: 28px;
  }

  .desktop-tip {
    display: none;
  }

  .mobile-tip {
    display: inline;
  }
}
