:root {
  --ink: #1f1d1a;
  --muted: #6c675f;
  --line: #dfddd6;
  --accent: #2f46c8;
  --paper: #f7f7f5;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.card {
  min-height: 15rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.skeleton {
  display: grid;
  gap: 0.75rem;
}

.sk {
  background: linear-gradient(90deg, #e9e8e3 25%, #f5f4f1 40%, #e9e8e3 60%);
  background-size: 300% 100%;
  border-radius: 6px;
  animation: shimmer 1.4s ease-in-out infinite;
}

.sk--avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.sk--title {
  width: 55%;
  height: 22px;
}

.sk--line {
  height: 14px;
}

.sk--short {
  width: 70%;
}

.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.content h1 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.content p {
  margin: 0 0 0.6rem;
  line-height: 1.55;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk {
    animation: none;
  }
}
