html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #1f2430;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
}

.qr-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.qr-topbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-bottom: 14px;
}

.qr-back,
.qr-topbar-spacer {
  width: 44px;
  height: 44px;
}

.qr-back {
  border: 0;
  border-radius: 14px;
  background: #f5f7fb;
  color: #30384a;
  font-size: 22px;
  line-height: 1;
}

.qr-title-wrap {
  min-width: 0;
  text-align: center;
}

.qr-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.qr-subtitle {
  margin: 4px 0 0;
  color: #6f7786;
  font-size: 13px;
  line-height: 1.4;
}

.qr-card {
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #edf1f7;
  box-shadow: 0 10px 24px rgba(33, 43, 61, 0.06);
}

.qr-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #fff;
}

.qr-tip {
  margin: 14px 4px 0;
  color: #6f7786;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}
