/* Shared profile tabs and private/public presentations. No tab is a link to an account. */
.lc-shop-tabs, .lc-set-cats { margin: 0 var(--lc-gutter) var(--ds-space-3); }
#profile-bio { min-height: 5.5rem; resize: vertical; }
.profile-bio-form > button, .profile-tab-content > button { justify-self: start; }
#profile-bio-status:empty, #profile-activity-note:empty { display: none; }
.profile-tab-content { display: grid; gap: var(--ds-space-3); padding: var(--ds-space-4); }
.profile-tab-content h3 { font-size: var(--ds-fs-title); }
.profile-tab-content :where(h3,p), .profile-block :where(h4,p,ol,ul,dl), .profile-stack > p { margin: 0; }
.profile-caption, .profile-empty { color: var(--ds-ink-muted); font-size: var(--ds-fs-label); line-height: 1.5; }
.profile-empty { padding: var(--ds-space-3) 0; }
.profile-stack { display: grid; gap: var(--ds-space-4); min-width: 0; }
.profile-block { display: grid; gap: var(--ds-space-2); min-width: 0; }
.profile-block h4 { font-size: var(--ds-fs-label); font-weight: 700; }
#profile-checkin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ds-space-2) var(--ds-space-3); }
#profile-checkin[aria-disabled="true"] { --ds-btn-fill: var(--ds-surface-inset); --ds-btn-ink: var(--ds-ink); }
.profile-marks { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; padding: 0; list-style: none; }
.profile-marks > li { display: grid; place-items: center; gap: 2px; padding: 4px 0; border-radius: var(--ds-radius-control); background: var(--ds-surface-inset); color: var(--ds-ink-muted); font-variant-numeric: tabular-nums; }
.profile-marks > li[data-mark="true"] { color: var(--ds-ink); background: color-mix(in srgb,#38bd9c 20%,var(--ds-surface-inset)); }
.profile-mark-dot { width: .36rem; height: .36rem; border-radius: 50%; opacity: 0; }
.profile-marks [data-mark="true"] .profile-mark-dot { opacity: 1; background: var(--ds-status-ok); }
.profile-marks [aria-current] { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.profile-mark-history summary { cursor: pointer; padding-block: 6px; color: var(--ds-ink-muted); font-size: var(--ds-fs-label); }
.channel-author-card .profile-stack:not([hidden]) { display: grid; }
.channel-profile-pane { padding-block: var(--ds-space-3) var(--ds-space-1); }
.channel-card-body .lc-metric-grid, .profile-tab-content .lc-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.channel-card-body .lc-metric:last-child:nth-child(odd), .profile-tab-content .lc-metric:last-child:nth-child(odd) { grid-column: 1 / -1; }
.channel-card-visibility { padding: 6px 8px; margin: 0; min-inline-size: 0; border: 1px solid var(--ds-edge); border-radius: var(--ds-radius-control); }
.channel-card-visibility legend { padding-inline: var(--ds-space-1); font-weight: 650; }
.channel-card-visibility .hub-toggle { min-block-size: var(--ds-touch); margin: 0; padding-inline: var(--ds-space-1); gap: var(--ds-space-1); }
.channel-card-visibility .hub-toggle + .hub-toggle { border-top: 1px solid var(--ds-edge); }
.channel-card-visibility :where(span,input) { flex-shrink: 0; }
.channel-card-visibility .hub-toggle > span { flex-shrink: 1; }
@media (forced-colors: active) {
  .profile-marks [data-mark="true"] .profile-mark-dot { background: CanvasText; forced-color-adjust: none; }
}
