.public-reader-comment-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:42px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-weight:700;cursor:pointer}
.public-reader-share-row{position:relative;z-index:5}
.public-reader-share-row .public-reader-comment-button,.public-reader-share-row .public-reader-share-button{position:relative;z-index:1;pointer-events:auto;flex:0 0 auto}
.public-reader-comment-button svg{width:19px;height:19px}
.public-reader-comment-button span{font-size:12px;color:var(--muted)}
.profile-comments-sheet{position:fixed;inset:0;z-index:1500;display:flex;align-items:flex-end;justify-content:center;padding-top:12px;color:var(--text)}
.profile-comments-sheet[hidden]{display:none}
.profile-comments-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(5,7,12,.56);backdrop-filter:blur(3px)}
.profile-comments-drawer{position:relative;z-index:1;width:min(920px,100%);height:min(76dvh,780px);min-height:min(380px,72dvh);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;background:var(--panel);box-shadow:0 -20px 70px #0003;animation:profile-comments-rise .22s ease-out}
@keyframes profile-comments-rise{from{transform:translateY(24px);opacity:.8}to{transform:translateY(0);opacity:1}}
.profile-comments-handle{display:flex;justify-content:center;padding:10px 0 4px;flex:0 0 auto}
.profile-comments-handle span{width:38px;height:4px;border-radius:99px;background:var(--muted);opacity:.55}
.profile-comments-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 18px 13px;border-bottom:1px solid var(--line);flex:0 0 auto}
.profile-comments-header h2{font-size:18px;margin:0}.profile-comments-header h2 span{font-size:13px;color:var(--muted);margin-left:5px}.profile-comments-header p{margin:2px 0 0;color:var(--muted);font-size:12px}
.profile-comments-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text)}.profile-comments-close svg{width:18px;height:18px}
.profile-comment-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 18px 20px;scrollbar-width:thin;scrollbar-color:var(--muted) transparent}
.profile-comment-list{display:grid;gap:0}.profile-comment{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px 0}
.profile-comment-avatar{width:34px;height:34px;display:grid;place-items:center;object-fit:cover;border-radius:50%;background:var(--surface);color:var(--text);font-weight:700;font-size:13px}
.profile-comment-main{min-width:0}.profile-comment-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.profile-comment-heading strong{font-size:12px}.profile-comment-body{margin:4px 0 6px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55}.profile-comment-actions{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:10px}.profile-comment-actions time{font-size:10px;color:var(--muted)}.profile-comment-actions .text-button{font-size:11px;padding:0;color:var(--muted)}.profile-comment-delete{color:var(--danger,#c45b6c)!important}
.profile-comment-like{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:32px;padding:3px;border:0;background:none;color:var(--muted);font-size:10px}.profile-comment-like svg{width:18px;height:18px}.profile-comment-like[aria-pressed=true]{color:var(--danger,#ce6374)}
.profile-comment-replies{margin:10px 0 0 2px;padding-left:12px;border-left:1px solid var(--line)}.profile-comment-replies .profile-comment{grid-template-columns:28px minmax(0,1fr) auto;padding:8px 0;border:0}.profile-comment-replies .profile-comment-avatar{width:26px;height:26px;font-size:10px}.profile-comment-more-replies{font-size:11px;padding:3px 0;color:var(--muted)}
.profile-comment-load{display:block;margin:14px auto;padding:8px 12px;border-radius:9px;background:var(--surface);color:var(--text)}.profile-comments-empty{padding:30px 8px;text-align:center;color:var(--muted);font-size:13px}
.profile-comment-composer{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px 16px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--panel);flex:0 0 auto}.profile-comment-composer-identity{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-width:0;color:var(--text);font-size:12px}.profile-comment-composer-identity .profile-comment-avatar{width:28px;height:28px;font-size:11px}.profile-comment-composer-identity>a{color:var(--muted)}.profile-comment-composer textarea{min-height:48px;max-height:120px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:var(--field);color:var(--text);padding:12px 14px;font-size:13px}.profile-comment-composer>.button{min-height:44px;gap:8px;padding:0 15px;border-radius:13px}.profile-comment-composer>.button svg{width:17px;height:17px}.profile-comment-composer>.button span{font-size:12px}.profile-comment-status{grid-column:1/-1;margin:0;color:var(--muted);font-size:11px;min-height:0}.profile-comment-status:empty{display:none}.profile-reply-context{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.profile-reply-context[hidden]{display:none}
body.profile-comments-open{overflow:hidden}
@media(max-width:600px){.profile-comments-drawer{width:100%;height:min(82dvh,900px);min-height:55dvh;border-radius:18px 18px 0 0}.profile-comments-header{padding-inline:14px}.profile-comment-scroll{padding-inline:14px}.profile-comment-composer{padding-inline:12px}.profile-comment-composer>.button{padding:0 12px}.profile-comment{gap:8px}}
@media(prefers-reduced-motion:reduce){.profile-comments-drawer{animation:none}}
