/* The contact card (/{slug}/card) — one screen, thumb-first, on the profile's palette tokens. Built on public-base.css. */
.c-body { min-height: 100svh; margin: 0; background: var(--t-surface2); display: grid; place-items: start center; padding: 0; font-family: var(--t-font-body); }
@media (min-width: 520px) { .c-body { padding: 32px 16px 48px; background-image: radial-gradient(color-mix(in srgb, var(--t-text) 6%, transparent) 1px, transparent 1px); background-size: 6px 6px; } }

.c-card { width: 100%; max-width: 430px; background: var(--t-bg); display: grid; gap: 0; position: relative; }
@media (min-width: 520px) { .c-card { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.45), 0 0 0 1px var(--t-line); } }

.c-cover { height: 120px; overflow: hidden; background: var(--t-surface2); }
.c-cover img { width: 100%; height: 100%; object-fit: cover; }
.c-cover--plain { height: 88px; background: linear-gradient(135deg, var(--t-accent), color-mix(in srgb, var(--t-accent2, var(--t-accent)) 70%, var(--t-accent))); }

.c-id { display: grid; justify-items: center; text-align: center; padding: 0 24px 8px; margin-block-start: -56px; }
.c-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--t-surface2); box-shadow: 0 0 0 5px var(--t-bg), 0 12px 30px -14px rgba(0,0,0,.5); }
.c-photo--initials { display: grid; place-items: center; font-family: var(--t-font-display); font-size: 2.6rem; color: var(--t-accent-text); }
.c-name { font-family: var(--t-font-display); font-size: clamp(1.7rem, 7vw, 2.1rem); font-weight: 600; line-height: 1.1; margin: 16px 0 4px; color: var(--t-text); letter-spacing: -0.01em; }
.c-role { margin: 0; font-weight: 600; color: var(--t-accent-text); font-size: 1rem; }
.c-line { margin: 8px 0 0; color: var(--t-muted); font-size: .95rem; line-height: 1.45; max-width: 32ch; }
.c-where { margin: 10px 0 0; color: var(--t-muted); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.c-where .t-icon { width: 16px; height: 16px; }

.c-actions { display: grid; gap: 10px; padding: 16px 20px 6px; }
.c-actions .btn { --bs-btn-border-radius: 16px; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1.05rem; justify-content: center; min-height: 54px; font-weight: 700; }
@media (min-width: 400px) { .c-actions { grid-template-columns: 1fr 1fr; } }

.c-rows { list-style: none; margin: 0; padding: 14px 20px 6px; display: grid; gap: 8px; }
.c-rows a, .c-rows div { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--t-surface); border: 1px solid var(--t-line); color: var(--t-text); text-decoration: none; min-height: 60px; }
.c-rows a:hover { border-color: var(--t-accent); }
.c-rows a:focus-visible { outline: 3px solid var(--t-accent); outline-offset: 2px; }
.c-row__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--t-accent) 14%, var(--t-surface)); color: var(--t-accent-text); }
.c-row__text { display: grid; min-width: 0; }
.c-row__text strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--t-muted); font-weight: 600; }
.c-row__text span { overflow-wrap: anywhere; font-weight: 500; }
.c-row__go { color: var(--t-muted); }

.c-links { padding: 12px 20px 0; justify-content: center; gap: 8px; }
.c-links .t-link { min-height: 42px; }

.c-foot { display: grid; justify-items: center; gap: 8px; padding: 22px 20px 26px; margin-block-start: 10px; border-block-start: 1px dashed var(--t-line); font-size: .85rem; color: var(--t-muted); text-align: center; }
.c-foot__url { font-weight: 600; color: var(--t-text); text-decoration: none; }
.c-foot__url:hover { text-decoration: underline; }
.c-foot__badge { display: inline-flex; align-items: center; gap: 6px; }
.c-foot__badge .t-icon { width: 16px; height: 16px; }
.c-foot__made { color: var(--t-muted); }

@media print { .c-body { background: #fff; padding: 0; } .c-card { box-shadow: none; max-width: none; } .c-actions, .c-foot__badge { display: none; } }
