.profile-page { max-width:1120px; }
#profile-claim { margin-top:28px; padding:20px; border:1px solid var(--qf-line); border-radius:9px; background:var(--qf-surface-soft); }
#profile-claim label { font-weight:700; }
#profile-claim p { font-size:14px; color:var(--qf-muted); }
#profile-claim .form-feedback { color:var(--qf-ink); }
#profile-claim > div { display:flex; gap:12px; flex-wrap:wrap; }
#profile-claim input { flex:1 1 180px; min-width:0; padding:12px; font:inherit; border:1px solid var(--qf-line); border-radius:6px; background:var(--qf-paper); color:var(--qf-ink); }
#profile-notice { min-height:1.5em; margin:0 0 20px; overflow-wrap:anywhere; }
#profile-notice:empty { display:none; }
.profile-heading { display:grid; grid-template-columns:200px minmax(0,1fr) auto; gap:28px; align-items:start; }
.public-profile-photo { display:grid; place-items:center; width:200px; aspect-ratio:1; overflow:hidden; background:var(--qf-surface-inset); border:5px solid var(--qf-wood); border-radius:10px; box-shadow:inset 0 2px var(--qf-wood-highlight),0 3px 0 var(--qf-wood-shadow),0 8px 20px #0002; font-size:72px; font-weight:800; }
.public-profile-photo img { width:100%; height:100%; object-fit:cover; }
.profile-identity { min-width:0; }
.profile-identity h1 { margin:0; font-size:clamp(26px,3vw,38px); overflow-wrap:anywhere; }
#member-handle { margin:5px 0 22px; color:var(--qf-muted); }
.profile-facts { margin:0; font-size:14px; }
.profile-facts div { display:flex; flex-wrap:wrap; gap:5px 10px; margin:8px 0; }
.profile-facts dt { font-weight:700; }
.profile-facts dt::after { content:':'; }
.profile-facts dd { margin:0; color:var(--qf-muted); }
#member-bio { white-space:pre-wrap; overflow-wrap:anywhere; margin-bottom:0; }
.profile-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; max-width:235px; }
.profile-actions button,.profile-actions a { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 15px; border-radius:7px; font-size:14px; font-weight:700; min-height:44px; text-decoration:none; }
.profile-actions .secondary { background:var(--qf-surface-soft); color:var(--qf-ink); border:1px solid var(--qf-line); box-shadow:inset 0 1px var(--qf-frame-highlight),0 2px 0 var(--qf-frame-shadow); }
.profile-actions .secondary:hover { background:var(--qf-surface-inset); }
.profile-actions svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.profile-actions p { width:100%; text-align:right; margin:0; color:var(--qf-muted); font-size:13px; }
.profile-tabs { display:flex; gap:28px; border-bottom:1px solid var(--qf-line); margin:36px 0 24px; }
.profile-tabs button { padding:14px 0; font-weight:750; border-bottom:3px solid transparent; color:var(--qf-muted); }
.profile-tabs [aria-pressed='true'] { border-color:#a9a33d; color:var(--qf-ink); }
.profile-devlog-thread { margin-top:24px; }
.profile-devlog-heading { padding:clamp(18px, 3vw, 30px); padding-bottom:36px; border:1px solid var(--qf-line); border-radius:10px; background:var(--qf-surface-fill); }
.profile-devlog-thread > .comment { position:relative; margin:-16px clamp(6px, 2vw, 24px) 0; }
.comment-heading > .profile-entry-type { margin:4px 0 10px; }
.profile-entry-type { display:block; color:var(--qf-muted); font-size:10px; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.profile-comment-source { display:block; width:fit-content; margin-top:6px; color:var(--qf-ink); font-size:clamp(19px, 3vw, 28px); line-height:1.2; font-weight:750; text-decoration:underline; text-decoration-color:var(--qf-button-bg); text-underline-offset:4px; overflow-wrap:anywhere; }
.profile-comment-source:hover { color:var(--qf-accent); }
.profile-empty { padding:32px 20px; text-align:center; color:var(--qf-muted); border:1px dashed var(--qf-line); border-radius:9px; }
@media(max-width:850px) { .profile-heading { grid-template-columns:160px minmax(0,1fr); gap:24px; } .public-profile-photo { width:160px; } .profile-actions { grid-column:1/-1; max-width:none; justify-content:flex-start; } .profile-actions p { width:auto; text-align:left; align-self:center; } }
@media(max-width:480px) { .profile-heading { grid-template-columns:100px minmax(0,1fr); gap:18px; } .public-profile-photo { width:100px; font-size:44px; } .profile-identity h1 { font-size:25px; } .profile-facts { font-size:12px; } #member-bio { font-size:14px; } .profile-tabs { gap:20px; font-size:14px; } }
