/* Profile photo controls and private authenticated avatars; no layout or coin behavior changes. */
.profile-avatar { display: inline-flex; position: relative; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; color: var(--gb); background: var(--accent-active, #2f3740); vertical-align: middle; font-size: 12px; font-weight: 700; }
.profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.profile-avatar [hidden] { display: none !important; }
.profile-avatar-initial { line-height: 1; }
.profile-avatar-large { width: 80px; height: 80px; font-size: 28px; }
.profile-avatar-comment { width: 26px; height: 26px; font-size: 10px; margin-right: 7px; }
.profile-photo-panel h2 { margin: 0 0 10px; font-size: 16px; color: var(--text); }
.profile-photo-note { color: var(--dim); font-size: 12px; line-height: 1.9; margin: 0 0 17px; }
.profile-photo-preview-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.profile-photo-caption { margin: 0; font-size: 12px; color: var(--dim); }
.profile-photo-panel .profile-photo-label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; color: var(--text); }
.profile-photo-panel input[type="file"] { max-width: 100%; width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: var(--d3); font: inherit; font-size: 12px; }
.profile-photo-panel input[type="file"]::file-selector-button { padding: 7px 10px; margin-right: 12px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--d4); cursor: pointer; }
.profile-photo-panel input:disabled { opacity: .6; }
.profile-photo-help { margin: 9px 0 16px; color: var(--dim); font-size: 11px; line-height: 1.9; }
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.profile-photo-panel .profile-photo-actions button { width: auto; min-height: 44px; margin: 0; padding: 10px 15px; font-size: 12px; }
.profile-photo-status { min-height: 1.8em; margin: 14px 0 0; color: var(--gb); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.profile-photo-status[data-error="true"] { color: var(--red, #ff9b9b); }
.profile-photo-panel [hidden] { display: none !important; }
.profile-operator-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1px solid var(--border); border-radius: 5px; color: var(--gold); font-size: 10px; vertical-align: middle; white-space: nowrap; }
.profile-modal-heading { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.profile-modal-heading > span:last-child { overflow-wrap: anywhere; }
.kunio-reply .profile-avatar { margin-right: 6px; }
.profile-photo-panel :focus-visible { outline: 2px solid var(--gb); outline-offset: 4px; }
@media (max-width: 430px) { .profile-photo-actions { gap: 8px; } .profile-photo-panel .profile-photo-actions button { padding: 10px 12px; } }
