/* Drop 9a: the big profile (opens from the small card). Colors come from theme.css. */
.mcard-av.pf-click { cursor: pointer; }
.mcard-av.pf-click:hover { filter: brightness(1.12); }
.pf-view { width: 100%; margin-top: 8px; }
.pf-bg { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(0, 0, 0, .72); padding: 16px; animation: dlg-in .14s ease; }
.pf { position: relative; width: min(900px, 100%); max-height: min(640px, 90dvh); display: grid; grid-template-columns: 340px 1fr; background: var(--c-chat); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, .6); color: var(--c-text, #dbdee1); }
.pf-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font-size: 16px; display: grid; place-items: center; }
.pf-x:hover { background: rgba(0, 0, 0, .7); }
.pf-left { background: var(--c-side); padding: 0 20px 20px; overflow-y: auto; position: relative; }
.pf-banner { height: 120px; margin: 0 -20px; }
.pf-av { width: 112px; height: 112px; font-size: 44px; margin-top: -58px; border: 7px solid var(--c-side); position: relative; }
.pf-av .dot { position: absolute; right: 2px; bottom: 2px; width: 24px; height: 24px; border: 5px solid var(--c-side); }
.pf-names { margin-top: 10px; }
.pf-name { font-size: 24px; font-weight: 700; color: #f2f3f5; overflow-wrap: anywhere; }
.pf-user { font-size: 14px; color: var(--c-muted, #b5bac1); overflow-wrap: anywhere; }
.pf-status { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.pf-status .dot { position: static; flex: none; border-color: transparent; }
.pf-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pf-h { margin: 18px 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #f2f3f5; letter-spacing: .02em; }
.pf-v { font-size: 14px; }
.pf-note { width: 100%; resize: none; background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 6px; color: var(--c-text, #dbdee1); font: inherit; font-size: 13px; }
.pf-note:hover, .pf-note:focus { background: var(--c-darkest); border-color: var(--c-darkest); outline: none; }
.pf-right { padding: 18px 22px 22px; overflow-y: auto; min-height: 0; }
.pf-tabs { display: flex; gap: 20px; padding: 4px 40px 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 16px; }
.pf-tab { font-size: 15px; font-weight: 600; color: var(--c-muted, #b5bac1); padding-bottom: 10px; margin-bottom: -13px; }
.pf-tab.on { color: #f2f3f5; border-bottom: 2px solid var(--c-accent); }
.pf-card { background: var(--c-side); border-radius: 10px; padding: 4px 16px 16px; margin-bottom: 14px; }
.pf-card .pf-h { margin-top: 12px; }
.pf-bio { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.pf-empty { color: var(--c-muted, #b5bac1); font-style: italic; }
@media (max-width: 760px) {
  .pf-bg { align-items: end; padding: 0; }
  .pf { grid-template-columns: 1fr; width: 100%; max-height: 92dvh; border-radius: 16px 16px 0 0; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
  .pf-left, .pf-right { overflow: visible; }
  .pf-x { top: 8px; right: 8px; width: 44px; height: 44px; }
  .pf-acts .cbtn { min-height: 44px; }
}
