* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", sans-serif;
	color: #333;
	background: #f7f7f7;
}

a {
	text-decoration: none;
	color: #333;
}

ul {
	list-style: none;
}

.main {
	width: 100%;
    max-width: 640px;
	margin: 50px auto auto auto;
}
/* ======================
   Header
====================== */
.by-head {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 51px;
	background: #fff;
	box-shadow: 0 1px 8px rgba(0,0,0,.08);
	z-index: 1000;
}

.by-head-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	position: relative;
}

.by-head-left, .by-head-search {
	display: flex;
	align-items: center;
	justify-content: center;
}

.by-head-left a, .by-head-search a {
	font-size: 26px;
	color: #555;
}

.by-head-left a.back {
	font-size: 23px;
	color: #555;
    margin-left: -4px;
}

.by-head-search a i.bi-search {
	font-size: 20px;
	transform: translateY(0px);
	display: block;
}

.by-head-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%)
}

.by-head-logo img {
	display: block;
	height: 30px
}
/* ======================
   Page
====================== */
.by-page-content {
	padding: 12px 15px 10px
}

.by-page-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px
}

.by-page-demo {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	min-height: 700px
}

.by-page-demo h2 {
	margin-bottom: 10px
}
/* ======================
   Footer
====================== */
.by-foot {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid #efefef;
	display: flex;
	z-index: 999;
	padding: 8px 0 14px 0;
}

.by-foot>a {
	flex: 1;
	text-align: center;
	font-size: 13px;
	color: #666;
	position: relative;
}

.by-foot i {
	display: block;
	font-size: 26px;
}

.by-foot i.bi-person {
	font-size: 27px;
	margin-bottom: -2px;
}

.by-foot i.bi-grid {
	transform: translateY(1px);
}

.by-foot .active {
	color: #20c057
}

.by-foot-publish {
	margin-top: -22px;
	font-size: 16px!important;
}

.by-foot-publish span {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #20c057;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: auto auto 8px auto;
	color: #fff;
	box-shadow: 0 8px 18px rgba(32,192,87,.35)
}

.by-foot-publish span i {
	font-size: 46px;
	margin-bottom: 0;
}

.by-foot-service {
	position: relative;
}

.by-foot-service-tag {
	position: absolute;
	margin-left: 10px;
	top: 0;
	background: #20c057;
	color: #fff;
	font-size: 10px;
	padding: 3px 5px;
	border-radius: 10px;
	line-height: 1;
	font-weight: 600
}
/* ======================
   Header - Side Menu
====================== */
.by-head-mask {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	display: none;
	z-index: 1500
}
/* ======================
   Header - Side Menu
====================== */
.by-head-side {
	position: fixed;
	top: 0;
	left: -75%;
	width: 75%;
	max-width: 480px;
	height: 100%;
	background: #f5f5f5;
	transition: .3s;
	overflow: auto;
	z-index: 1600
}

.by-head-side.open {
	left: 0
}

.by-head-user {
	background: #20c057;
	color: #fff;
	padding: 22px;
	display: flex;
	align-items: center
}

.by-head-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #efefef;
	border: 2px solid rgba(255,255,255,.7);
	display: flex;
	align-items: center;
	justify-content: center
}

.by-head-avatar i {
	font-size: 25px;
	color: #bbb
}

.by-head-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
    overflow: hidden;
}

.by-head-user-info {
	margin-left: 16px
}

.by-head-user-info span {
	font-size: 17px;
	font-weight: bold;
	color: #fff;
}

.by-head-user-info p {
	font-size: 13px;
	margin-top: 5px;
	opacity: .6
}

.by-head-user-info p a {
	color: #fff;
}

.by-head-menu {
	margin-top: 14px;
	background: #fff
}

.by-head-item {
	border-bottom: 10px solid #f5f5f5;
}

.by-head-item-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #efefef;
	font-size: 16px;
	cursor: pointer
}

.by-head-item-head .left {
	display: flex;
	align-items: center;
	gap: 14px
}

.by-head-arrow {
	transition: .25s
}

.by-head-item.open .by-head-arrow {
	transform: rotate(180deg)
}

.by-head-sub {
	display: none
}

.by-head-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	font-size: 15px;
	color: #666;
}

.by-head-grid a {
	padding: 16px 0;
	text-align: center;
	border-bottom: 1px solid #efefef;
	border-right: 1px solid #efefef
}

.by-head-grid a:nth-child(even) {
	border-right: none
}

.by-head-grid a:nth-child(5) {
	border-bottom: none
}
/************************
        Footer
************************/

.by-footer {
	padding: 20px 0;
	background: #fbfbfb;
	border-top: 1px solid #22c55e;
	text-align: center;
}

.by-footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px 0;
	margin-bottom: 18px;
}

.by-footer-links a {
	display: block;
	color: #666;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.8;
	transition: .2s;
}

.by-footer-copy {
	color: #777;
	font-size: 15px;
	white-space: nowrap;
	border-top: 1px solid #efefef;
	padding: 20px 0 0 0;
}
/* ======================
   Foot - Publish Panel
====================== */
.by-foot-publish-mask {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	display: none;
	z-index: 1700
}

.by-foot-publish-panel {
	position: fixed;
	left: 0;
	right: 0;
	bottom: -100%;
	background: #fff;
	border-radius: 6px 6px 0 0;
	padding: 24px 18px;
	z-index: 1800;
	transition: .3s
}

.by-foot-publish-panel.open {
	bottom: 0
}

.by-foot-publish-title {
	text-align: center;
	font-size: 22px;
	font-weight: 700
}

.by-foot-publish-desc {
	text-align: center;
	color: #999;
	margin: 8px 0 22px;
	font-size: 15px;
}

.by-foot-publish-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px 10px
}

.by-foot-publish-grid a {
	text-align: center;
	color: #333;
	font-size: 15px;
}

.by-foot-publish-grid i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 10px;
	background: #20c057;
	border-radius: 6px;
	color: #fff;
	font-size: 30px;
	box-shadow: 0 8px 18px rgba(32, 192, 87, .25);
}

.by-foot-publish-grid .empty {
	visibility: hidden
}

.by-foot-publish-close {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f2f2f2;
	margin: 25px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #666;
	cursor: pointer;
}

/* 广告联系 */
.by-fbaid-box {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.by-fbaid-box a {
    width: 65%;
    max-width: 320px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #555;
    border: 1px solid #efefef;
    border-radius: 999px;
    transition: .2s;
}
.by-fbaid-box a:active {
    transform: scale(.98);
}

.by-fbaid-box i {
    color: #20c057;
    font-size: 18px;
}

.by-fbaid-box span {
    font-size: 14px;
}

/* ======================
   Footer - Category Panel
====================== */
.by-foot-category-mask {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	display: none;
	z-index: 1700
}

.by-foot-category-panel {
	position: fixed;
	left: 0;
	right: 0;
	bottom: -100%;
	background: #fff;
	border-radius: 6px 6px 0 0;
	padding: 24px 18px;
	z-index: 1800;
	transition: .3s
}

.by-foot-category-panel.open {
	bottom: 0
}

.by-foot-category-title {
	text-align: center;
	font-size: 22px;
	font-weight: 700
}

.by-foot-category-desc {
	text-align: center;
	color: #999;
	margin: 8px 0 21px;
	font-size: 15px;
}

.by-foot-category-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 22px;
	padding: 0 10px;
}

.by-foot-category-grid a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 0;
	text-align: center;
	color: #fff;
	border-radius: 3px;
	transition: .2s;
	background-color: #20c057;
}

.by-foot-category-grid i {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
}

.by-foot-category-grid a div {
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

.by-foot-category-close {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f2f2f2;
	margin: 25px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #666;
	cursor: pointer;
}