:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

main.card {
  max-width: 520px;
  margin: 48px auto;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cover {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
}

.card__body {
  padding: 24px 28px 32px;
}

.card__body--profile {
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 8px auto 16px;
  display: block;
  border: 3px solid var(--bg);
  box-shadow: var(--shadow);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 6px;
  font-weight: 600;
}

h1 {
  font-size: 26px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.dates {
  font-variant-numeric: tabular-nums;
}

.bio {
  margin: 14px 0 6px;
  color: #374151;
  line-height: 1.5;
}

.owner {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.hint {
  margin: 18px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats strong {
  font-size: 20px;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.badge {
  flex: 1;
  min-width: 140px;
  text-decoration: none;
  background: #111827;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.badge__line1 {
  font-size: 11px;
  opacity: 0.8;
}

.badge__line2 {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 480px) {
  main.card {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  .cover {
    height: 180px;
  }
}
