:root {
  --paper: #fff8f3;
  --ink: #3a2b30;
  --muted: #947d84;
  --rose: #c9556f;
  --line: rgba(58, 43, 48, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  padding: 46px 20px 60px;
  color: var(--ink);
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(201, 85, 111, 0.14), transparent 65%),
    linear-gradient(180deg, #fffdfb, var(--paper));
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.report {
  width: min(600px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-align: center;
}

h1 {
  margin: 0 0 6px;
  font: 700 34px/1.2 "Songti SC", "STSong", Georgia, serif;
  text-align: center;
}

.date {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.message-card,
.audio-card {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(58, 43, 48, 0.06);
}

.message-card p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15.5px;
  line-height: 1.85;
}

.label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}

audio {
  width: 100%;
  filter: saturate(0.9);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: #f2e4e6;
}

.empty {
  margin: 26px 0;
  color: var(--muted);
  text-align: center;
}

.error {
  margin: 18px 0 0;
  min-height: 20px;
  color: #b23b4f;
  text-align: center;
  font-size: 13.5px;
}

.copy {
  display: block;
  margin: 28px auto 0;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font: 600 13px/1 inherit;
}

.copy:hover {
  border-color: rgba(201, 85, 111, 0.4);
  color: var(--rose);
}

.copied {
  margin: 10px 0 0;
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  word-break: break-all;
}

footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-align: center;
}
