:root {
  --bg: #f4efe8;
  --panel: rgba(255, 252, 247, 0.96);
  --panel-strong: #fff9f0;
  --ink: #1d1712;
  --muted: #6f665d;
  --line: rgba(82, 63, 44, 0.10);
  --accent: #d96c3f;
  --accent-2: #245b66;
  --accent-3: #f0c36b;
  --danger: #b04b3f;
  --shadow: 0 20px 50px rgba(77, 55, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(217, 108, 63, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf6ef 0%, var(--bg) 46%, #efe7db 100%);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Noto Sans SC", sans-serif;
}

body {
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 14px 26px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 18px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.82), rgba(255,248,238,0.92)),
    linear-gradient(160deg, rgba(217,108,63,0.14), rgba(36,91,102,0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,108,63,0.22), transparent 66%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.greeting {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.chip {
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(82, 63, 44, 0.08);
  background: rgba(255,255,255,0.72);
  font-size: 12px;
  color: var(--muted);
}

.overview,
.top3,
.section,
.closing {
  margin-top: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(77, 55, 34, 0.08);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.section-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title h2,
.top3 h2,
.overview h2,
.closing h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.overview p,
.closing p {
  margin: 0;
  line-height: 1.8;
  color: var(--ink);
}

.top-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.top-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: var(--panel-strong);
  border: 1px solid rgba(82, 63, 44, 0.08);
}

.top-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(217,108,63,0.12);
  color: var(--accent);
  font-weight: 700;
}

.story-list {
  display: grid;
  gap: 12px;
}

.story {
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,248,240,0.90));
  border: 1px solid rgba(82, 63, 44, 0.08);
}

.story h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  margin-top: 9px;
}

.row-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.row-content {
  line-height: 1.72;
  word-break: break-word;
}

.row.verdict .row-content {
  color: var(--accent-2);
  font-weight: 700;
}

.row.sources .row-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(36,91,102,0.08);
  color: var(--accent-2);
  border: 1px solid rgba(36,91,102,0.14);
  font-size: 12px;
}

.note {
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(82, 63, 44, 0.05);
  color: var(--muted);
  line-height: 1.72;
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(217,108,63,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.footer-space {
  height: 32px;
}

@media (max-width: 520px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
