.avatar{width:42px;height:42px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e5ecef;color:#244b5b;font-size:23px;object-fit:cover;vertical-align:middle}
.avatar-large{width:112px;height:112px;font-size:52px;border:4px solid #fff;box-shadow:0 0 0 1px #dce4df}
.profile-link{display:flex;gap:8px;align-items:center;min-width:0}.profile-link .avatar{width:32px;height:32px;font-size:19px}.profile-handle{font-size:13px;overflow-wrap:anywhere}.person-profile{display:flex;gap:12px;align-items:center}.person-profile strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.profile-link .profile-handle{display:none}.header-actions{flex-shrink:0}}
.reader-section{border-top:1px solid #dce4df;margin-top:36px;padding-top:28px;max-width:780px}
.section-title h2{margin:0 0 18px;font-size:21px}
.reactions{display:flex;gap:12px;flex-wrap:wrap}.reactions form{display:inline-flex}
.reaction-button{gap:10px;background:#fff;color:#354740;border:1px solid #bccbc2;font-size:14px;min-width:140px}
.reaction-button:hover,.reaction-button.selected{background:#e4f2e9;color:#126548;border-color:#167254}
.reaction-button img{flex-shrink:0}.reaction-button strong{font-size:14px;min-width:20px}.reaction-button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #167254}
.comments-heading{font-size:20px;margin:30px 0 20px}.comment-compose{max-width:none;gap:10px;margin-bottom:28px}.comment-compose textarea{resize:vertical;min-height:96px}
.compose-toolbar{display:flex;align-items:center;gap:12px;position:relative}.compose-toolbar>button{margin-left:auto;gap:8px}.comment-counter{font-size:13px;color:#63726a}
.emoji-picker summary,.comment-edit summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;border-radius:6px;border:1px solid #bccbc2;background:#fff;list-style:none}
.emoji-picker summary::-webkit-details-marker,.comment-edit summary::-webkit-details-marker{display:none}
.emoji-grid{position:absolute;top:52px;left:0;z-index:3;width:264px;max-width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:8px;background:#fff;border:1px solid #bccbc2;border-radius:6px;box-shadow:0 4px 16px #202c2820}
.emoji-grid button{width:100%;height:40px;padding:0;background:#fff;color:#202c28;font-size:23px;font-weight:400}.emoji-grid button:hover{background:#edf5ef}
.reader-comment{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;border-top:1px solid #e0e6e2;padding:20px 0}.comment-content{min-width:0}.comment-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.comment-meta a{overflow-wrap:anywhere;font-size:14px}.comment-meta time{font-size:12px;color:#63726a}.comment-content>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:10px 0;font-size:15px}
.comment-actions{display:flex;gap:8px;align-items:flex-start}.comment-actions>form{display:inline-flex}.comment-edit[open]{flex:1;min-width:0}.comment-edit form{margin-top:14px;max-width:none}.comment-edit textarea{resize:vertical}.comment-edit button{justify-self:start}.older-comments{display:inline-block;padding:14px 0}
.profile-banner{display:flex;gap:28px;align-items:center;padding:8px 0 30px;border-bottom:1px solid #dce4df}.profile-identity{min-width:0}.profile-identity h1{font-size:28px;margin:0 0 12px;overflow-wrap:anywhere}.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;max-width:650px;margin:0 0 12px}.profile-since{color:#63726a;font-size:13px;margin:0}
.profile-stats{display:flex;gap:32px;padding:22px 0;border-bottom:1px solid #dce4df}.profile-stats span{display:grid;gap:6px;font-size:13px;color:#63726a}.profile-stats strong{font-size:24px;color:#202c28}.profile-links{display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px;padding:24px 0}.profile-links a{display:inline-flex;gap:8px;align-items:center;font-size:14px}
.profile-edit-section{border-top:1px solid #dce4df;padding-top:24px}.profile-edit-section>h2{font-size:20px;margin:0 0 22px}.profile-form button{gap:10px}.profile-form>button{justify-self:start}.avatar-options{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}.avatar-options legend{font-size:14px;font-weight:600;margin-bottom:12px}
.avatar-option{position:relative;display:flex;cursor:pointer;padding:4px;border:2px solid transparent;border-radius:50%}.avatar-option input{position:absolute;width:1px;height:1px;opacity:0}.avatar-option:has(input:checked){border-color:#167254;background:#e4f2e9}.avatar-option:has(input:focus-visible){outline:2px solid #167254;outline-offset:2px}.avatar-option>span .avatar{display:flex}.photo-upload{gap:8px}.photo-upload .muted{font-weight:400;font-size:12px}.photo-upload input{padding:10px;max-width:100%;font-size:14px}.photo-upload input::file-selector-button{border:0;background:#e5ecef;color:#244b5b;border-radius:4px;padding:8px 12px;margin-right:10px}.photo-upload #avatar-preview{margin-top:6px}.profile-logout{border-top:1px solid #dce4df;padding-top:24px;margin-top:32px}.profile-logout button{justify-self:start}
@media(max-width:480px){.profile-banner{gap:16px;align-items:flex-start}.avatar-large{width:84px;height:84px;font-size:38px}.profile-identity h1{font-size:22px}.profile-links{gap:16px}.reader-comment{grid-template-columns:34px minmax(0,1fr);gap:10px}.comment-avatar .avatar{width:34px;height:34px;font-size:20px}.reaction-button{min-width:0;font-size:13px;padding:10px 12px;gap:8px}.reactions{gap:8px}.profile-form .field-row{grid-template-columns:1fr}.profile-bio{font-size:14px}.comment-meta{gap:6px}.compose-toolbar{gap:8px}}
