body.vcard-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(42% 36% at 50% 0%, rgba(46, 107, 78, 0.16), transparent 72%),
    var(--bg, #eef2ef);
}

.vcard-main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(28px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}

.vcard {
  width: min(420px, 100%);
  background: var(--paper, #fbfcfb);
  border-radius: 28px;
  padding: 28px 22px 22px;
  box-shadow: 0 18px 40px rgba(31, 49, 58, 0.1);
  text-align: center;
}

.vcard-photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(46, 107, 78, 0.35);
}

.vcard h1 {
  margin: 0;
  font-size: clamp(32px, 8vw, 40px);
  line-height: 1.05;
  text-wrap: balance;
}

.vcard-role {
  margin: 8px 0 0;
  color: var(--muted, #667078);
  font-size: 15px;
  line-height: 1.4;
}

.vcard-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.vcard-page .vcard-actions .btn {
  width: 100%;
  min-height: 52px;
  background: var(--accent, #2e6b4e);
  color: #fff;
}

.vcard-page .vcard-actions .btn-ghost {
  background: #fff;
  color: var(--ink, #111315);
  box-shadow: inset 0 0 0 1px rgba(46, 107, 78, 0.28);
}

.vcard-page .vcard-actions .btn:active {
  transform: scale(0.98);
}

.vcard-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  text-align: left;
}

.vcard-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg, #eef2ef);
  font-weight: 700;
  font-size: 15px;
}

.vcard-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent, #2e6b4e);
}

.vcard-page footer {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

@media (min-width: 720px) {
  .vcard-main { padding-top: calc(48px + env(safe-area-inset-top)); }
  .vcard { padding: 36px 32px 28px; }
  .vcard-photo { width: 148px; height: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  .vcard-page .vcard-actions .btn:active { transform: none; }
}
