/* ==========================================================================
   蓝影个人主页 · ThinkCMF 主题补充样式
   仅用于原模板未覆盖的部分：移动端八宫格导航、留言入口/浮层、资源列表等
   ========================================================================== */

/* 移动端底部导航由 5 项扩展为 8 项（首页/关于/团队/合作/站点/源码/资源/留言） */
#exnav li {
	width: 12.5%;
}

#exnav li.active img {
	transform: scale(1.2);
}

#exnav li.active p {
	color: #636363;
}

/* PC 端留言入口 */
#lanying-msg-entry {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 10;
}

#lanying-msg-entry a {
	display: inline-block;
	padding: 8px 18px;
	font-size: 13px;
	letter-spacing: 1px;
	color: #ffffff;
	background-color: #6c7bd1;
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(40, 40, 40, 0.18);
	transition: 0.3s;
}

#lanying-msg-entry a:hover {
	background-color: #5a68c4;
}

/* 留言浮层 */
.lanying-msg-panel {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 340px;
	max-width: 90%;
	padding: 18px 20px 14px;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(40, 40, 40, 0.25);
	z-index: 30;
	text-align: left;
}

.lanying-msg-panel.is-open {
	display: block;
}

.lanying-msg-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.lanying-msg-head h4 {
	font-size: 15px;
	color: #3a3a3a;
	font-weight: 600;
	letter-spacing: 1px;
}

.lanying-msg-close {
	font-size: 20px;
	line-height: 20px;
	color: #999999;
}

.lanying-msg-close:hover {
	color: #555555;
}

.lanying-msg-form input,
.lanying-msg-form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
	padding: 8px 10px;
	font-family: inherit;
	font-size: 13px;
	color: #3a3a3a;
	background-color: #f7f7f7;
	border: 1px solid #ececec;
	border-radius: 6px;
	outline: none;
	resize: vertical;
}

.lanying-msg-form input:focus,
.lanying-msg-form textarea:focus {
	border-color: #c9cff0;
	background-color: #ffffff;
}

.lanying-msg-actions {
	text-align: right;
}

.lanying-msg-form button {
	padding: 8px 22px;
	font-size: 13px;
	color: #ffffff;
	background-color: #6c7bd1;
	border: 0;
	border-radius: 18px;
	cursor: pointer;
	transition: 0.3s;
}

.lanying-msg-form button:hover {
	background-color: #5a68c4;
}

.lanying-msg-form button:disabled {
	background-color: #b9bfe0;
	cursor: not-allowed;
}

.lanying-msg-result {
	min-height: 18px;
	margin-top: 8px;
	font-size: 12px;
	line-height: 18px;
	color: #6c7bd1;
}

.lanying-msg-result.is-error {
	color: #d9534f;
}

/* 移动端留言表单（嵌在 exnav06 内） */
#exnav06 .lanying-msg-form input,
#exnav06 .lanying-msg-form textarea {
	background-color: #ffffff;
}

#exnav06 .lanying-msg-actions {
	text-align: left;
}

/* 资源列表里的辅助信息 */
#nav07 .nav07_kj p span,
#nav08 .nav08_kj p span {
	display: inline-block;
	margin-left: 8px;
	font-size: 12px;
	color: #9f9f9f;
}

/* 移动端补充页面的底部提示（原模板只定义了 .ebpx） */
.exbpx7,
.exbpx8 {
	text-align: center;
	font-size: 12px;
	letter-spacing: 2px;
	font-weight: 400;
	color: #cecece;
	margin: 24px 12px 70px;
	line-height: 20px;
}

/* 仅在对应端显示留言入口 */
@media screen and (max-width: 820px) {
	#lanying-msg-entry {
		display: none;
	}
}
