.profile-page {width:100%;max-width:1024px;margin:0 auto;color:var(--theme-text, #25282b)}
.profile-header {position:relative}
.profile-cover {position:relative;width:100vw;min-height:290px;max-height:338px;aspect-ratio:6.86 / 1;margin-left:calc(50% - 50vw);background:var(--theme-surface-muted, #f3f4f6) url("/theme/rb.basic/rb.img/no_image.png") 50% 50% / cover no-repeat}
.profile-cover::after {content:"";position:absolute;right:0;bottom:-1px;left:0;height:130px;background:linear-gradient(to bottom, transparent, var(--rb-main-bg))}
.profile-cover.is-editable {cursor:pointer}
.profile-summary {position:relative;z-index:1;display:flex;align-items:flex-end;gap:22px;margin-top:-80px;margin-bottom:20px}
.profile-avatar {position:relative;flex:0 0 112px;width:112px;height:112px;border:3px solid var(--rb-main-bg);border-radius:50%;background:var(--rb-main-bg);overflow:hidden}
.profile-avatar > img {display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.profile-avatar.is-editable {cursor:pointer}
.profile-avatar-edit {position:absolute;right:0;bottom:0;left:0;padding:7px 4px;border:0;background:rgba(0,0,0,.68);color:#fff;font-size:11px;cursor:pointer}
.profile-identity {flex:1;min-width:0}
.profile-name-row {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-name-row h1 {margin:0;color:var(--theme-text, #25282b);font-size:26px;line-height:1.1}
.profile-name-row > span {color:var(--theme-text-soft, #666d78);font-size:14px}
.profile-stats {display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;color:var(--theme-text-soft, #666d78);font-size:14px}
.profile-stats strong {color:var(--theme-text, #25282b)}
.profile-badges {display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.profile-badge {display:inline-flex;align-items:center;height:22px;padding:0 7px;border-radius:6px;background:var(--theme-surface-subtle, #f6f6f9);color:var(--theme-text-soft, #666d78);font-size:12px;font-weight:700}
.profile-badge-exp {background:#e8f1ff;color:#527fbf}
.profile-badge-point {background:#fff1df;color:#b87824}
.profile-badge-mining {background:#ff5f57;color:#fff}
.profile-badge-upload {background:#f0a100;color:#fff}
.profile-badge-comment {background:#22c55e;color:#fff}
.profile-bio,.profile-signature {margin-top:14px;color:var(--theme-text-soft, #666d78);font-size:15px;line-height:1.6;word-break:break-word}
.profile-signature {margin-top:4px;color:var(--theme-text-muted, #999)}
.profile-actions {display:flex;justify-content:flex-end;gap:8px;flex:0 0 auto}
.profile-action {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid var(--theme-border, #eee);border-radius:10px;background:var(--theme-surface, #fff);color:var(--theme-text, #25282b);font-size:14px;text-decoration:none;cursor:pointer}
.profile-action:hover,.profile-action:focus {border-color:var(--theme-border-strong, #ddd);color:var(--theme-text, #25282b)}
.profile-action-primary {border-color:var(--rb-main-color);background:var(--rb-main-color);color:#fff}
.profile-action-primary:hover,.profile-action-primary:focus {color:#fff}
.profile-action-primary.following {border-color:var(--theme-border, #eee);background:var(--theme-surface-subtle, #f6f6f9);color:var(--theme-text-soft, #666d78)}
.profile-section + .profile-section {margin-top:32px;padding-top:0;border-top:1px solid var(--theme-border, #eee)}
.profile-section .right-area {display:flex;gap:4px}
.profile-section .right-area .more_btn.is-active {color:var(--rb-main-color);font-weight:700}
.profile-page .rb_bbs_gallery {--rb-list-cols:4!important}
.profile-page .search_ym1_item .pop_a_blank,.profile-page .search_ym1_item .gallery-item-con {display:none}
.profile-page .rb_bbs_gallery.swiper-container .gallery-list {display:flex;gap:0}
.profile-page .rb_bbs_gallery.swiper-container .gallery-item.swiper-slide {height:auto}
.profile-page .swiper-slide .level-icon {width:22px!important;max-width:none!important;height:22px!important}
.profile-page .rb_bbs_gallery.swiper-container:not(.swiper-container-initialized) > .swiper-wrapper {gap:16px}
.profile-page .rb_bbs_gallery.swiper-container:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {width:calc((100% - 16px) / 2)}
.profile-board-swiper > .swiper-wrapper {align-items:flex-start}
.profile-board-swiper .swiper-slide {height:auto}
.profile-board-swiper:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {width:100%}
.profile-board-track > .profile-board-slide.new_ul_wrap {display:flex;box-sizing:border-box;width:100%;align-items:center;flex-wrap:wrap;gap:0 20px;padding:24px 20px;border:0;border-radius:16px;background:var(--theme-surface-subtle, #f6f6f9)}
.profile-board-track > .profile-board-slide .search_post_meta {display:flex;align-items:center;flex:0 0 100%;gap:8px;width:100%;margin-bottom:10px;color:var(--theme-text-muted, #999);font-size:14px;line-height:1}
.profile-board-track > .profile-board-slide .search_post_avatar {display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;overflow:hidden;border-radius:999px}
.profile-board-track > .profile-board-slide .search_post_avatar img {display:block;width:22px;height:22px;border-radius:999px;object-fit:cover}
.profile-board-track > .profile-board-slide .search_post_author {color:var(--theme-text, #25282b)}
.profile-board-track > .profile-board-slide .search_post_board {position:relative;display:inline-flex;align-items:center;padding-left:11px;color:var(--theme-text-muted, #999)}
.profile-board-track > .profile-board-slide .search_post_board::before {position:absolute;top:50%;left:0;width:1px;height:12px;background:var(--theme-border, #eee);content:"";transform:translateY(-50%)}
.profile-board-track > .profile-board-slide .new_li_left {flex:1 1 0;min-width:0}
.profile-board-track > .profile-board-slide .new_li_right {display:flex;align-items:center;justify-content:center;flex:0 0 78px;width:78px}
.profile-board-track > .profile-board-slide .new_li_right img {display:block;width:78px;height:78px;border-radius:8px;object-fit:cover}
.profile-board-track > .profile-board-slide .sch_res_title {display:block;overflow:hidden;color:var(--theme-text, #25282b);font-size:16px;font-weight:500;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
.profile-board-track > .profile-board-slide .cut2 {display:-webkit-box;overflow:hidden;margin-top:5px;color:var(--theme-text-soft, #666d78);font-size:14px;line-height:1.55;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.profile-board-track > .profile-board-slide .sch_info {margin-top:10px;color:var(--theme-text-muted, #999);font-size:14px;line-height:1.4}
.profile-empty {padding:70px 20px;text-align:center}
.profile-empty strong,.profile-empty span {display:block}
.profile-empty strong {color:var(--theme-text, #25282b);font-size:18px}
.profile-empty span {margin-top:8px;color:var(--theme-text-muted, #999);font-size:14px}
body.theme-dark .profile-badge-exp {background:#1d2f49;color:#9cc4ff}
body.theme-dark .profile-badge-point {background:#3b2b18;color:#e7b873}
@media (min-width:1025px) {
.profile-cover {width:calc(100vw - var(--nv-gap, 0px));margin-left:calc(50% - (100vw - var(--nv-gap, 0px)) / 2)}
}
@media (min-width:769px) {
.profile-page .rb_bbs_gallery.swiper-container:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {width:calc((100% - 32px) / 3)}
.profile-board-swiper:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {width:calc((100% - 16px) / 2)}
}
@media (min-width:1024px) {
.profile-page .rb_bbs_gallery.swiper-container:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {width:calc((100% - 48px) / 4)}
.profile-board-swiper:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {width:calc((100% - 32px) / 3)}
}
@media (max-width:1024px) {
.profile-summary {flex-wrap:wrap;gap:16px}
.profile-actions {flex:0 0 100%;width:100%}
.profile-action {flex:1 1 0;min-height:48px}
}
@media (max-width:768px) {
.profile-page {padding:0 16px;box-sizing:border-box}
.profile-cover {min-height:190px;width:auto;margin:0 -16px;aspect-ratio:auto}
.profile-summary {align-items:flex-end;margin-top:-80px;margin-bottom:20px}
.profile-avatar {flex-basis:88px;width:88px;height:88px}
.profile-identity {flex-basis:calc(100% - 104px)}
.profile-name-row h1 {font-size:22px}
.profile-stats {gap:8px 12px;font-size:13px}
.profile-bio,.profile-signature {font-size:14px}
}
