:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: #19263a;
  background: #f5f7fb;
}

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

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
  width: min(100%, 930px);
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid #e5eaf2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 60px rgb(30 51 82 / 8%);
}

.message { min-width: 0; }

h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
}

.notice {
  max-width: 22em;
  margin: 26px 0 44px;
  color: #4c5d72;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
}

.contact { margin: 0; }

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: #65778b;
  font-size: 14px;
  font-weight: 600;
}

.contact-id {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #176b56;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}

.poster-frame {
  width: 100%;
  max-width: 390px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: #fff;
}

.poster {
  display: block;
  width: 100%;
  height: auto;
}

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

  .content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px 22px;
    border-radius: 20px;
  }

  .notice { margin: 18px 0 28px; }
}

@media (max-width: 360px) {
  .page { padding: 8px; }
  .content { padding: 22px 16px 16px; }
}
