img {
	-webkit-animation: ani 2s linear infinite;
}

@keyframes ani {
	0% {
		box-shadow: 0 0 0px #00BCD4;
	}

	25% {
		box-shadow: 0 0 10px #00BCD4;
	}

	50% {
		box-shadow: 0 0 20px #00BCD4;
	}

	75% {
		box-shadow: 0 0 10px #00BCD4;
	}

	100% {
		box-shadow: 0 0 0px #00BCD4;
	}
}

.powered-by {
    text-align: center;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.badge {
    display: inline-flex;
    margin: 2px 4px;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    vertical-align: middle;
    font-size: 0;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-label {
    background: #555;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    border: none;
}

.badge-value {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    color: white;
    vertical-align: top;
    margin: 0;
    border: none;
}

.badge-typecho .badge-value {
    background: #d42328;
}

.badge-cuteen .badge-value {
    background: #9561cd;
}

.badge-rainyun .badge-value {
    background: #f42187;
}

.badge-dogecloud .badge-value {
    background: #148EFF;
}

.badge-icp .badge-value {
    background: #4bc51d;
}

.badge-police .badge-value {
    background: #ff6b35;
}

.separator {
    margin: 0 4px;
    color: #999;
    font-weight: normal;
}

/* 侧栏标签云 */
.flink-item {
    width: 63px;
    height: 25px;
    margin: 3px;
    background-color: #57b027;
    border-radius: 2px;
    text-align: center;
    /* 新增：让父元素成为相对定位容器 */
    position: relative;
}

.flink-title a {
    font-size: 10px;
    color: #ffffff;
    /* 移除默认margin，避免影响点击区域 */
    margin: 0;
    /* 新增：让链接充满整个容器 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 新增：让文字垂直居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 新增：移除下划线 */
    text-decoration: none;
}

.flink-title a:hover {
    color: #cccccc;
    /* 可选：悬停时改变背景色增强反馈 */
    background-color: rgba(0, 0, 0, 0.1);
}

.bg-1{background-color:#b57dff!important}
.bg-2{background-color:#465efb!important}
.bg-3{background-color:#f9bb3c!important}
.bg-4{background-color:#f55555!important}
.bg-5{background-color:#f6969a!important}
.bg-6{background-color:#e92b6f!important}
.bg-7{background-color:#8c76f!important}
.bg-8{background-color:#3fa5ff!important}


/*PC端侧栏仿ios小点点*/
.ios {
    content: " ";
    position: absolute;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fc625d !important;
    width: 10px;
    height: 10px;
z-index:999;
    -webkit-box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
    box-shadow: 19px 0 #fdbc40, 40px 0 #35cd4b;
    float: right;
    right: 58px;
    top: 22px;
z-index:100;
}

/* logo 扫光开始 */
.navbar-brand {
	position: relative;
	overflow: hidden;
	margin: 0px 0 0 0px;
}

.navbar-brand:before {
	content: "";
	position: absolute;
	left: -665px;
	top: -460px;
	width: 200px;
	height: 15px;
	background-color: rgba(255, 255, 255, .5);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: searchLights 6s ease-in 0s infinite;
	-o-animation: searchLights 6s ease-in 0s infinite;
	animation: searchLights 6s ease-in 0s infinite;
}

@-moz-keyframes searchLights {
	50% {
		left: -100px;
		top: 0;
	}

	65% {
		left: 120px;
		top: 100px;
	}
}

@keyframes searchLights {
	40% {
		left: -100px;
		top: 0;
	}

	60% {
		left: 120px;
		top: 100px;
	}

	80% {
		left: -100px;
		top: 0px;
	}
}

/* logo 扫光结束 */

/* 解决文章内页底部标签不显示问题 */
/* 为标签容器添加样式 */
#tag {
    display: flex !important; /* 确保容器显示 */
}

/* 为标签链接添加样式 */
#tag a {
    display: inline-block;
    padding: 3px 8px;
    margin: 2px 4px;
    background: #f0f0f0;
    color: #333 !important; /* 强制设置文字颜色 */
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
}

/* 标签悬停效果 */
#tag a:hover {
    background: #e0e0e0;
    color: #000 !important;
}

/* 无标签状态样式 */
#tag span {
    color: #999 !important;
    padding: 3px 8px;
    font-size: 12px;
}