/*
	个人空间：封面收在身份 Card 内（对齐知乎机构主页）
*/
.space-page {background:#f6f6f6;margin:0;padding:10px 0 48px;overflow-x:hidden;}
.space-page .auth-badge {display:inline-block;margin-left:8px;padding:0 8px;height:20px;line-height:20px;border-radius:3px;font-size:12px;font-weight:500;vertical-align:middle;background:#eaf2ff;color:#056de8;}
.space-page .auth-badge-red,
.space-page .auth-badge-blue,
.space-page .auth-badge-gray {background:#eaf2ff;color:#056de8;}

.space-wrap {width:1200px;max-width:calc(100% - 40px);margin:0 auto;}
.space-card {background:#fff;border-radius:4px;box-shadow:0 1px 3px rgba(26,26,26,.08);overflow:hidden;}
.space-card.space-body {overflow:visible;}

.space-profile {margin:0 0 10px;}
.space-cover {height:220px;overflow:hidden;background:#d8dee8;}
.space-cover img {width:100%;height:220px;object-fit:cover;display:block;}

.space-head {display:flex;align-items:flex-start;gap:24px;padding:0 28px 24px;}
.space-head-avatar {position:relative;width:160px;height:160px;flex:0 0 160px;margin-top:-72px;}
.space-head-avatar img {width:160px;height:160px;border-radius:8px;border:4px solid #fff;object-fit:cover;background:#fff;box-shadow:0 2px 8px rgba(26,26,26,.12);}
.space-head-main {flex:1;min-width:0;padding-top:16px;}
.space-head-name {display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 6px;}
.space-head-name b {font-size:26px;line-height:34px;font-weight:600;color:#121212;}
.space-online {display:inline-flex;align-items:center;height:20px;padding:0 8px 0 6px;border-radius:10px;background:#e8f8ee;color:#0d9c3f;font-size:12px;font-style:normal;font-weight:500;line-height:20px;vertical-align:middle;}
.space-online:before {content:'';width:6px;height:6px;margin-right:5px;border-radius:50%;background:#12bb37;}
.space-head-cert {font-style:normal;font-size:13px;color:#8590a6;margin-left:2px;}
.space-head-role {margin:0 0 6px;font-size:15px;line-height:22px;color:#444;}
.space-head-bio {margin:0 0 8px;font-size:14px;line-height:22px;color:#646464;max-width:720px;}
.space-head-tags {margin:0 0 8px;}
.space-head-tags span {display:inline-block;margin:0 8px 6px 0;padding:0 10px;height:24px;line-height:24px;border-radius:12px;background:#f6f6f6;font-size:12px;color:#646464;}
.space-head-more {display:inline-block;font-size:14px;color:#175199;}
.space-head-more:hover {color:#144a86;}
.space-head-acts {display:flex;gap:8px;flex-wrap:wrap;padding-top:16px;}
.space-btn {display:inline-block;min-width:84px;height:34px;line-height:32px;padding:0 16px;border-radius:3px;background:#fff;color:#056de8;text-align:center;font-size:14px;cursor:pointer;border:1px solid #056de8;box-sizing:border-box;}
.space-btn:hover {background:#f0f7ff;color:#056de8;}
.space-head-acts .follow0,
.space-head-acts .follow1 {float:none;display:inline-block;min-width:84px;height:34px;line-height:34px;padding:0 16px;border-radius:3px;text-align:center;font-size:14px;cursor:pointer;border:0;background-image:none;}
.space-head-acts .follow0 {background:#056de8;color:#fff;}
.space-head-acts .follow0:hover {background:#045dc7;color:#fff;}
.space-head-acts .follow1 {background:#f6f6f6;color:#8590a6;}
.space-head-acts .follow0 b,
.space-head-acts .follow1 b {font-weight:600;}

.space-layout {display:flex;gap:12px;align-items:flex-start;}
.space-main {flex:1;min-width:0;}
.space-side {width:320px;flex:0 0 320px;}

.space-body {overflow:visible;}
.space-nav {background:#fff;padding:0 8px;display:flex;align-items:center;flex-wrap:wrap;border-bottom:1px solid #f6f6f6;position:sticky;top:0;z-index:6;border-radius:4px 4px 0 0;}
.space-nav a {display:inline-block;height:50px;line-height:50px;padding:0 14px;font-size:16px;color:#444;position:relative;}
.space-nav a i {font-style:normal;font-size:12px;color:#8590a6;margin-left:2px;}
.space-nav a.on {color:#121212;font-weight:600;}
.space-nav a.on:after {content:'';position:absolute;left:14px;right:14px;bottom:0;height:3px;background:#056de8;border-radius:2px 2px 0 0;}
.space-search {margin-left:auto;padding:0 8px;}
.space-search input {width:148px;height:32px;line-height:20px;padding:6px 12px;border:1px solid #ebebeb;border-radius:16px;background:#f6f6f6;font-size:13px;}

.space-sub {background:#fff;padding:8px 20px 12px;border-bottom:1px solid #f6f6f6;}
.space-sub a {display:inline-block;height:28px;line-height:28px;padding:0 12px;margin:0 8px 0 0;border-radius:14px;font-size:13px;color:#8590a6;}
.space-sub a.on {background:#f6f6f6;color:#121212;font-weight:600;}

.space-feed {background:#fff;min-height:280px;padding:0 0 16px;border-radius:0 0 4px 4px;}
.space-feed.is-moment {padding:0;}
.space-feed.is-moment .list-moment {background:#fff;border-radius:0;margin:0;padding:16px 20px 8px;border-bottom:1px solid #f6f6f6;}

.space-empty {text-align:center;color:#8590a6;padding:80px 16px;font-size:15px;}
.space-empty.is-inline {padding:24px 0;text-align:left;}
.space-empty p {margin:0 0 16px;}
.space-empty a,
.space-empty-btn {color:#056de8;}
.space-empty-btn {display:inline-block;height:34px;line-height:32px;padding:0 18px;border:1px solid #056de8;border-radius:3px;}

.space-about {padding:20px 24px 28px;}
.space-about h2 {font-size:16px;font-weight:600;color:#121212;margin:0 0 16px;}
.space-facts {overflow:hidden;margin:20px 0 0;padding:0;border-top:1px solid #f6f6f6;}
.space-facts li {width:50%;float:left;box-sizing:border-box;padding:12px 16px 12px 0;font-size:14px;line-height:22px;}
.space-facts em {display:block;color:#8590a6;font-style:normal;font-size:13px;margin-bottom:2px;}
.space-facts b {font-weight:500;color:#121212;}
.space-text {font-size:15px;line-height:1.8;color:#444;overflow:hidden;}
.space-text img {max-width:100%;}
.space-text p {margin:0 0 12px;}

.space-card-item {display:flex;gap:16px;padding:20px 24px;border-bottom:1px solid #f6f6f6;}
.space-card-item:last-child {border-bottom:0;}
.space-card-thumb {flex:0 0 190px;width:190px;height:105px;border-radius:4px;overflow:hidden;background:#f6f6f6;order:2;}
.space-card-thumb img {width:190px;height:105px;object-fit:cover;display:block;}
.space-card-body {flex:1;min-width:0;order:1;}
.space-card-title {display:block;font-size:18px;line-height:26px;color:#121212;font-weight:600;margin:0 0 8px;}
.space-card-title:hover {color:#175199;}
.space-card-desc {margin:0 0 10px;font-size:15px;line-height:24px;color:#646464;max-height:48px;overflow:hidden;}
.space-card-meta {font-size:13px;color:#8590a6;}
.space-card-meta span {margin-right:14px;}

.space-user {display:flex;gap:14px;padding:16px 24px;border-bottom:1px solid #f6f6f6;}
.space-user img {width:52px;height:52px;border-radius:50%;object-fit:cover;}
.space-user strong {display:block;font-size:16px;margin:2px 0 4px;color:#121212;}
.space-user p {margin:0 0 4px;font-size:14px;color:#646464;max-height:40px;overflow:hidden;}
.space-user span {font-size:13px;color:#8590a6;}

.space-side .space-card {margin:0 0 10px;}
.space-follow-card {display:flex;padding:0;}
.space-follow-card a {flex:1;min-width:0;padding:16px 14px;color:#121212;}
.space-follow-card a + a {border-left:1px solid #f6f6f6;}
.space-follow-card em {display:block;font-style:normal;font-size:14px;color:#444;margin-bottom:4px;}
.space-follow-card b {display:block;font-size:18px;line-height:24px;font-weight:600;}
.space-faces {display:block;margin-top:10px;height:28px;}
.space-faces img {width:24px;height:24px;border-radius:50%;object-fit:cover;margin-right:-6px;border:2px solid #fff;background:#eee;vertical-align:top;}

.space-honor {padding:16px 18px 18px;}
.space-honor h3 {margin:0 0 12px;font-size:15px;font-weight:600;color:#121212;}
.space-honor-list {margin:0;padding:0;}
.space-honor-list li {display:flex;gap:10px;padding:8px 0;align-items:flex-start;}
.space-honor-list i {flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#eaf2ff;position:relative;}
.space-honor-list i:after {content:'';position:absolute;left:9px;top:7px;width:8px;height:12px;border:solid #056de8;border-width:0 2px 2px 0;transform:rotate(45deg);}
.space-honor-list .mod-vip i {background:#fff4e5;}
.space-honor-list .mod-vip i:after {border-color:#ff9607;}
.space-honor-list .mod-year i {background:#f6f6f6;}
.space-honor-list .mod-year i:after {border-color:#8590a6;}
.space-honor-list strong {display:block;font-size:14px;font-weight:600;color:#121212;line-height:20px;}
.space-honor-list p {margin:2px 0 0;font-size:12px;line-height:18px;color:#8590a6;}
.space-honor-stats {margin:10px 0 0;padding-top:10px;border-top:1px solid #f6f6f6;font-size:13px;line-height:20px;color:#8590a6;}
.space-side-intro {margin:0;font-size:14px;line-height:22px;color:#646464;}
.space-side-more {display:inline-block;margin-top:8px;font-size:13px;color:#175199;}
.space-im {padding:4px 0 10px;}
.space-side-btns {display:flex;gap:8px;}
.space-side-btns a {flex:1;height:34px;line-height:32px;text-align:center;border-radius:3px;background:#fff;color:#056de8;font-size:13px;border:1px solid #056de8;}
.space-side-btns a:hover {background:#f0f7ff;}

.space-mix,.space-txt {background:#fff;margin:0;padding:16px 24px;overflow:hidden;border-bottom:1px solid #f6f6f6;}
.space-txt strong,.space-mix strong {display:block;line-height:26px;margin:0 0 8px;font-size:18px;font-weight:600;color:#121212;}
.space-txt p,.space-mix p {margin:0;padding:6px 0 0;font-size:13px;color:#8590a6;}
.space-txt div,.space-mix div {line-height:24px;max-height:48px;overflow:hidden;color:#646464;font-size:15px;}
.space-mix img {float:right;margin-left:16px;width:190px;height:105px;object-fit:cover;border-radius:4px;}

.member-v0,.member-v1,.member-v2 {display:none;}

@media (max-width: 1240px) {
	.space-head {flex-wrap:wrap;}
	.space-head-acts {width:100%;padding-top:8px;}
	.space-layout {flex-direction:column;}
	.space-side {width:100%;flex:none;}
	.space-card-thumb {flex:0 0 140px;width:140px;height:78px;}
	.space-card-thumb img {width:140px;height:78px;}
}
