.user-profile{max-width:720px;margin:0 auto;padding:0 16px 32px}.user-profile__header{display:flex;flex-direction:column}.user-profile__banner{aspect-ratio:3/1;max-height:200px;background:#dfdfdf;overflow:hidden}.user-profile__banner img{width:100%;height:100%;object-fit:cover;display:block}.user-profile__banner-placeholder{width:100%;height:100%;background:#dfdfdf}.user-profile__identity{display:flex;align-items:flex-start;justify-content:space-between;padding:0 16px;margin-top:-48px}.user-profile__avatar-wrap{position:relative;z-index:2}.user-profile__avatar{width:96px;height:96px;border-radius:50%;overflow:hidden;border:4px solid var(--bg-page,#fff);background:var(--bg-subtle,#f3f4f6);display:block;object-fit:cover}.user-profile__avatar-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:2rem;color:var(--text-muted);border-radius:50%}.user-profile__actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:56px}.user-profile__note-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border:1px solid var(--border-default);border-radius:999px;background:rgba(0,0,0,0);color:var(--fg-default);font-size:.875rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.user-profile__note-btn:hover{background:var(--bg-subtle);border-color:var(--border-strong)}.user-profile__edit-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border:1px solid var(--border-default);border-radius:999px;background:rgba(0,0,0,0);color:var(--fg-default);font-size:.875rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.user-profile__edit-btn:hover{background:var(--bg-subtle);border-color:var(--border-strong)}.user-profile__more-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--border-default);background:rgba(0,0,0,0);color:var(--fg-default);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.user-profile__more-btn:hover{background:var(--bg-subtle)}.user-profile__info{padding:16px;display:flex;flex-direction:column;gap:8px}.user-profile__name{font-size:1.5rem;font-weight:800;display:flex;align-items:center;gap:6px;line-height:1.2}.user-profile__badge{display:inline-flex;align-items:center;justify-content:center}.user-profile__badge--creator{color:#3b82f6}.user-profile__badge--admin{color:#dc2626}.user-profile__handle{font-size:.9375rem;margin:0}.user-profile__handle-text{color:var(--text-muted)}.user-profile__handle-link{color:#8b5cf6;font-weight:600;text-decoration:none;transition:color .15s ease}.user-profile__handle-link:hover{color:#7c3aed;text-decoration:underline}.user-profile__counts{display:flex;flex-wrap:wrap;gap:16px;font-size:.9375rem;color:var(--text-secondary,#4b5563);margin:8px 0 0}.user-profile__counts strong{color:var(--fg-default);font-weight:700;margin-right:2px}.user-profile__counts-link{color:inherit;text-decoration:none}.user-profile__counts-link:hover{text-decoration:underline}.user-profile__intro{margin:6px 0 0;line-height:1.55;color:var(--text-primary);white-space:pre-wrap;word-break:break-word}.user-profile__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding:12px 16px;margin:8px 0;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-card,#fff)}.user-profile__stat{display:flex;align-items:center;gap:10px}.user-profile__stat-icon{flex-shrink:0}.user-profile__stat-icon--coins{color:#f59e0b}.user-profile__stat-icon--attendance{color:#22c55e}.user-profile__stat-icon--streak{color:#f97316}.user-profile__stat-body{display:flex;flex-direction:column}.user-profile__stat-label{font-size:.75rem;color:var(--text-muted)}.user-profile__stat-value{font-size:1rem;font-weight:700;color:var(--fg-default)}.user-profile__tabs{display:flex;gap:0;padding:0 16px;border-bottom:1px solid var(--border-default);margin-bottom:12px}.user-profile__tab{padding:12px 20px;font-size:.9375rem;font-weight:500;color:var(--text-muted);text-decoration:none;position:relative}.user-profile__tab--active{color:var(--fg-default);font-weight:700}.user-profile__tab--active:after{content:"";position:absolute;bottom:-1px;left:16px;right:16px;height:3px;background:#3b82f6;border-radius:2px 2px 0 0}.user-profile__tab:hover{color:var(--fg-default)}.user-profile__content{padding:0 16px}@media(max-width:768px){.user-profile__content{padding:0}}.user-profile__empty{text-align:center;color:var(--text-muted);padding:40px 16px;font-size:.9375rem}.user-profile__list{display:flex;flex-direction:column;gap:8px;list-style:none;padding:0;margin:0}.user-profile__list-item{border:1px solid var(--border-default);border-radius:12px;background:var(--bg-card,#fff);overflow:hidden;transition:border-color .15s ease}.user-profile__list-item:hover{border-color:var(--border-strong,#d1d5db)}.user-profile__list-link{display:flex;gap:12px;padding:14px 16px;text-decoration:none;color:inherit}.user-profile__list-thumb{width:96px;height:96px;object-fit:cover;border-radius:8px;flex-shrink:0;background:var(--bg-subtle)}.user-profile__list-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.user-profile__list-meta{display:flex;align-items:center;gap:4px;font-size:.8125rem;color:var(--text-muted)}.user-profile__list-board{font-weight:600;color:var(--fg-default)}.user-profile__list-subject{font-size:.9375rem;font-weight:600;color:var(--fg-default)}.user-profile__list-comment,.user-profile__list-subject{margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.user-profile__list-comment{font-size:.875rem;color:var(--text-secondary,#4b5563)}.user-profile__list-stats{display:flex;gap:12px;font-size:.75rem;color:var(--text-muted);margin-top:4px}.user-profile__list-stat{display:inline-flex;align-items:center;gap:4px}.user-profile__list-stat svg{flex-shrink:0}.user-profile__list-author{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:.8125rem}.user-profile__list-author-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--bg-subtle,#f3f4f6);flex-shrink:0}.user-profile__list-author-avatar--fallback{display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--text-muted);font-size:.75rem}.user-profile__list-author-name{font-weight:700;color:var(--fg-default)}.user-profile__list-author-handle{color:var(--text-muted)}.user-profile__list-parent{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.75rem;color:var(--text-muted);margin-top:4px;padding:6px 8px;background:var(--bg-subtle,#f3f4f6);border-radius:6px}.user-profile__list-parent-subject{color:var(--text-secondary,#4b5563);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.user-profile__edit-dialog{max-width:600px!important;width:calc(100vw - 32px);padding:0!important;gap:0!important;overflow:hidden}.user-profile__edit-dialog>div:first-of-type{padding:14px 20px;border-bottom:1px solid var(--border-default)}.user-profile__edit-dialog>div:first-of-type h2{padding-bottom:0;font-size:1rem;font-weight:700;color:var(--fg-default)}.user-profile__edit-body{display:flex;flex-direction:column;padding:0 20px 20px;gap:16px}.user-profile__edit-banner{position:relative;aspect-ratio:3/1;max-height:180px;margin:0 -20px;background:#dfdfdf;overflow:hidden}.user-profile__edit-banner img{width:100%;height:100%;object-fit:cover;display:block}.user-profile__edit-banner-placeholder{width:100%;height:100%}.user-profile__edit-banner-actions{position:absolute;right:12px;bottom:12px;display:flex;gap:6px}.user-profile__edit-banner-btn{width:36px;height:36px;border-radius:50%;border:none;background:rgba(0,0,0,.55);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.user-profile__edit-banner-btn:hover{background:rgba(0,0,0,.75)}.user-profile__edit-avatar-wrap{position:relative;width:80px;height:80px;margin:-40px 0 0 8px}.user-profile__edit-avatar{width:80px;height:80px;border-radius:50%;object-fit:cover;border:4px solid var(--bg-page,#fff);background:var(--bg-subtle);display:block}.user-profile__edit-avatar--empty{display:flex;align-items:center;justify-content:center;background:var(--bg-subtle,#f3f4f6);color:var(--text-muted)}.user-profile__edit-avatar-btn{position:absolute;right:-4px;bottom:-4px;width:28px;height:28px;border-radius:50%;border:2px solid var(--bg-page);background:#3b82f6;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.user-profile__edit-avatar-btn:hover{background:#2563eb}.user-profile__edit-fields{display:flex;flex-direction:column;gap:14px}.user-profile__edit-field{display:flex;flex-direction:column;gap:6px}.user-profile__edit-field>span{font-size:.8125rem;font-weight:600;color:var(--fg-default)}.user-profile__edit-field input[type=text],.user-profile__edit-field textarea{padding:8px 10px;border-radius:8px;border:1px solid var(--border-default);background:var(--bg-page);font-size:.9375rem;color:var(--fg-default);outline:none;font-family:inherit}.user-profile__edit-field input[type=text]:focus,.user-profile__edit-field textarea:focus{border-color:#3b82f6}.user-profile__edit-field textarea{resize:vertical;min-height:100px}.user-profile__edit-error{color:#dc2626;font-size:.8125rem;margin:0}.user-profile__edit-footer{display:flex;justify-content:center;gap:8px;padding-top:4px}.user-profile__edit-cancel,.user-profile__edit-save{padding:8px 20px;border-radius:4px;font-size:.875rem;font-weight:600;cursor:pointer}.user-profile__edit-cancel{background:rgba(0,0,0,0);color:var(--fg-default);border:1px solid var(--border-default)}.user-profile__edit-cancel:hover{background:var(--bg-subtle)}.user-profile__edit-save{background:#3b82f6;color:#fff;border:1px solid #3b82f6}.user-profile__edit-save:hover:not(:disabled){background:#2563eb;border-color:#2563eb}.user-profile__edit-save:disabled{background:var(--bg-subtle);color:var(--text-muted);border-color:var(--bg-subtle);cursor:not-allowed}.user-profile__subtab-title{font-size:1.25rem;font-weight:700;padding:16px 16px 8px;margin:0;color:var(--fg-default)}.user-profile__follow-section{display:flex;flex-direction:column;gap:8px}.user-profile__follow-total{font-size:.8125rem;color:var(--text-muted);margin:0 0 4px;padding:0 4px}.user-profile__follow-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.user-profile__follow-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-card,#fff);transition:border-color .15s ease}.user-profile__follow-item:hover{border-color:var(--border-strong,#d1d5db)}.user-profile__follow-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--bg-subtle,#f3f4f6);display:block;text-decoration:none}.user-profile__follow-avatar-img{width:100%;height:100%;object-fit:cover}.user-profile__follow-avatar-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;color:var(--text-muted)}.user-profile__follow-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.user-profile__follow-name{font-size:.9375rem;font-weight:700;color:var(--fg-default);text-decoration:none;display:inline-flex;align-items:center;gap:4px}.user-profile__follow-name:hover .user-profile__follow-name-text{text-decoration:underline}.user-profile__follow-badge{display:inline-flex;align-items:center;justify-content:center;color:#3b82f6}.user-profile__follow-handle{font-size:.8125rem;color:var(--text-muted)}.user-profile__follow-summary{font-size:.8125rem;color:var(--text-secondary,#4b5563);margin:2px 0 0;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.user-profile__follow-btn{flex-shrink:0}.user-profile__follow-error{color:#dc2626;font-size:.8125rem;padding:8px;text-align:center}.user-profile__follow-more-btn{align-self:center;margin-top:12px;padding:8px 20px;border-radius:999px;background:rgba(0,0,0,0);border:1px solid var(--border-default);color:var(--text-secondary);font-size:.8125rem;cursor:pointer}.user-profile__follow-more-btn:hover:not(:disabled){background:var(--bg-subtle);color:var(--fg-default)}.user-profile__follow-more-btn:disabled{opacity:.6;cursor:not-allowed}
/*# sourceMappingURL=cd92898a7b577e30.css.map*/