:root {
  --bg: #fff6ec;
  --surface: #ffffff;
  --ink: #4a3428;
  --ink-soft: #7a5c4a;
  --muted: #a88b76;
  --line: #eed9c4;
  --accent: #e8873a;
  --shadow: 0 12px 28px rgba(74, 52, 40, 0.12);
}

* { box-sizing: border-box; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(232, 135, 58, 0.16), transparent 22%),
    radial-gradient(circle at 92% 0%, rgba(240, 196, 64, 0.22), transparent 18%),
    var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1180px;
  height: 720px;
  display: flex;
  flex-direction: column;
  transform-origin: 0 0;
}

main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  width: 100%;
  padding: 18px 22px 6px;
}

.hero,
.panel,
.copy {
  min-width: 0;
  min-height: 0;
}

.hero {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 0.2em;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
}

.lead {
  margin: 0.6em 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
}

ul {
  margin: 0.7em 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.35;
  border-top: 1px solid var(--line);
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #c96a1e;
}

.qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 210px;
  padding: 12px;
  text-align: center;
  background: var(--bg);
  border-radius: 24px;
}

.qr a {
  display: block;
  width: 100%;
  line-height: 0;
}

.qr img,
.qr canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.qr p {
  margin: 0.45em 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

footer {
  flex: 0 0 auto;
  padding: 8px 12px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.stage.narrow {
  width: 420px;
  height: 780px;
}

.stage.narrow main {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 10px;
  padding: 12px 12px 4px;
}

.stage.narrow .panel {
  padding: 12px;
  gap: 8px;
  border-radius: 20px;
}

.stage.narrow h1 { font-size: 26px; }
.stage.narrow .lead { margin-top: 0.35em; font-size: 13px; }
.stage.narrow ul { margin-top: 0.45em; }
.stage.narrow li { font-size: 13px; padding: 5px 0 5px 16px; }
.stage.narrow .qr { width: 132px; padding: 8px; }
.stage.narrow .qr p { font-size: 12px; }
.stage.narrow .hero img { border-radius: 18px; }
