@font-face {
  font-family: 'Pixel';
  src: url('../font/fangzheng.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
* {
	word-break:break-all!important;
}
html,body {
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #eff3f6;
	position: relative;
	overflow: hidden;
 	overflow-y:auto!important;
}
html {
	--frame-width: 380px;
	--frame-height: 550px;
}

body {
	font-family: -apple-system,sans-serif;
	background-image: url(../image/bg.jpg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	color: #03081a;
	-webkit-user-select: none;
	user-select: none;
}
h1,h2,h3,h4,p {
	margin: 0;
}
a,
a:hover,
a:visited {
    color: #878b99;
    text-decoration: none;
}

.wrap {
	position: relative;
	width: var(--frame-width);
	margin: 0 auto;
	top: 20%;
	/* transform: translate(-50%,-50%); */
}
.hand-back,
.hand-front {
	position: absolute;
	left: 78%;
	top: calc(100% - 210px);
	width: calc( var(--frame-width) * 2.8);
	height: calc( var(--frame-width) * 2.8 * .925 );
	background-size: cover;
}
.hand-back {
	z-index: 1;
	background-image: url(../image/hand-back.png);
	
}
.hand-front {
	z-index: 3;
	background-image: url(../image/hand-front.png);
}
.menu-frame {
	position: relative;
	z-index: 2;
	height: var(--frame-height);
	background-color: #fff;
	transform: rotate(-15deg);
}
.menu-frame::after,
.menu-frame::before {
	content: '';
	position: absolute;
	left: 0;right: 0;
	padding-top: 4.2%;
	-webkit-mask-size: 100% auto;
	-webkit-mask-repeat: no-repeat;
	background-color: #fff;
}
.menu-frame::before {
	bottom: 99.5%;
	-webkit-mask-image: url(../image/border-t-mask.png);
}
.menu-frame::after {
	top: 99.5%;
	-webkit-mask-image: url(../image/border-b-mask.png);
	-webkit-mask-position: 0 100%;
}
.menu-frame.mask,
.menu-frame.mask::after,
.menu-frame.mask::before {
	background-color: #000;
}
.menu-frame.mask {
	z-index: 0;
	position: absolute;
	left: 0;top: 0;
	width: 100%;
	filter: opacity(.05) blur(2px);
	transform: rotate(-15deg) translate(-12%,12%);
}
.menu {
	filter: drop-shadow(0 0 10px rgba(135,135,145,.18));
}
.menu .inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.menu-head {
	padding: 15px 20px 20px;
	position: relative;
}
.menu-title {
	position: relative;
	z-index: 1;
	font-size:28px;
	display: inline-block;
}
.menu-title::before {
	content: '';
	position: absolute;
	left: -2px;
	right: -2px;
	bottom: 5px;
	height: 10px;
	background-color: #ffa3bc;
	z-index: -1;
}
.menu-info {
	color: #878b99;
}
.menu-list {
	padding:0 20px;
    height: 290px;
    overflow: auto;
}
@media only screen and (min-device-width:768px){
    .menu-list::-webkit-scrollbar-thumb{background-color:rgba(130,130,130,.3);-webkit-border-radius:4px;border-radius:4px}
    .menu-list::-webkit-scrollbar-thumb:hover{background-color:#f1404b;-webkit-border-radius:4px;border-radius:4px}
    .menu-list::-webkit-scrollbar{width:5px;height:5px} 
    .menu-list::-webkit-scrollbar-thumb:active{background-color:#f1404b;-webkit-border-radius:4px;border-radius:4px}
    .menu-list::-webkit-scrollbar-corner{background:rgba(0,0,0,0);border-radius:0 0 8px 0}
    .menu-list::-webkit-scrollbar-button{background-color:rgba(0,0,0,0);height:2px;width:2px}
}
.menu-item {
	display: flex;
	align-items: center;
	font-family: "Pixel";
	padding: 5px 0;
}
.menu-item::after {
	content: '';
	display: block;
	flex: 1;
	border-top: 1px dotted #d5d6de;
	order: 2;
	margin: 0 20px;
}
.menu-item .menu-name {
    display: flex;
    justify-content: flex-start;	
	font-weight: normal;
	order: 1;
	letter-spacing: 1px;
}
.menu-item .menu-price {
	order: 3;
}
.menu-price .num {
	font-weight: 600;
	font-size: 20px;
}
.store-img {
	width:70px;
	height:70px;
	margin-right: 20px;
	border-radius: 70px;
}
.store {
	display: flex;
	align-items: center;
	margin-top:auto;
	padding: 20px;
	position: relative;
}
.store::before {
	content: '';
	position: absolute;
	left: 20px;
	right: 20px;
	top: 0;
	height: 4px;
	background-color: #d5d6de;
}
.store-info p {
	margin: 3px 0 0;
	font-size: 10px;
	color: #878b99;
}

.menu-head a ,.store-info a {
	color: #000;
}
/*footer {*/
/*	padding:20px 0;*/
/*	text-align: center;*/
/*	font-size: 12px;*/
/*	color: rgba(0,0,0,.25);*/
/*	letter-spacing: 1px;*/
/*	position: absolute;*/
/*	left: 0;right: 0;bottom: 0;*/
/*	text-align: center;*/
/*}*/
@media screen and (max-width: 480px) {
	html {
		--frame-width: 90%;
		--frame-height: 550px;
	}
	.wrap {
		top: 50%;
		transform: translateY(-50%);
	}
	.menu-frame {
		transform: rotate(0);
	}
	.menu-frame.mask {
		display: none;
	}
	.hand-back,
	.hand-front {
		display: none;
	}
}
/* post */
.post {
    color: #878b99;
    border-top: 1px solid #eee;
}

.post-title {
    margin: .5em 0;
    font-size: 1.4em;
}

.post-meta {
    margin-top: -0.5em;
    padding: 0;
    color: #999;
    font-size: .92857em;
}

.post-meta li {
    display: inline-block;
    margin: 0 8px 0 0;
    padding-left: 12px;
    border-left: 1px solid #EEE;
}

.post-meta li:first-child {
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.post-content {
    line-height: 1.5;
    margin-bottom: 15px;
}

.post-content img {
	width: 100%;
}

.post .tags {
    clear: both;
}

.post-near {
    color: #999;
    margin: 10px 20px;
    border-top: 1px solid #eee;
}
.post-near ul,.post-near li{
    list-style: none;
    margin:0;
    padding:0;
}
.post-near li {
    margin: 10px 0;
}

.floatr{
    position: fixed;
    bottom:34%;
    right:15px;
}
/*@media (max-width: 768px) {*/
/*    .floatr{*/
/*    position: fixed;*/
/*    top:19%;*/
/*    right:15px;*/
/*  }*/
/*}*/
/* page-navigator */
.page-navigator{list-style:none;margin:0px;padding:0;text-align:center;}
.page-navigator li{display:inline-block;margin:0 3px;}
.page-navigator a{display:inline-block;padding:0 6px;height:20px;line-height:20px;}
.page-navigator a:hover{color:#fff;background:#ea6f5a;text-decoration:none;border-radius: 100%;}
.page-navigator .current a{color:#fff;background:#ea6f5a;border-radius: 100%;}
@media (min-width: 768px) {
    .page-navigator{
     list-style:none;
     margin:12px 0;
     padding:0;
     text-align:center;
    }
}


.pop_mask{ position:fixed; top: 0; left: 0; background: rgba(255,196,196,0.2); width: 100%; height: 100%; z-index: 10000; display: none;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto;}
.pop_box{ box-shadow: 5px 5px 5px #ffa3bc;; background: #fff; border-radius:5px; max-width:750px;margin:0 auto;  text-align: center; color: #333; position: relative;top:50%;transform: translateY(-50%);}
.pop_con{padding:15px;}
.pop_box h3{ font-size: 32px; font-weight: 800; margin-top: 10px;margin-bottom: 5px;}
.pop_con p{color:#666;text-align:left;text-indent: 24px;line-height: 27px;}
.pop_box .tips{color: #999; font-size: 18px;text-align: center;}
.close_mask{position:absolute;bottom:-10px;right:-10px;z-index:2;width:30px;height:30px;display:inline-block;text-align:center;line-height:25px;border-radius:50%; cursor: pointer;background:#fff;color: #333;font-size: 22px;font-weight: bold;}
.close_mask:before{content:"×";}
#float-tulip {
  display: block;
  position: fixed;
  top:50%;
  right: 5px;
  z-index: 1000;
  -webkit-transition: all ease .4s;
  -o-transition: all ease .4s;
  transition: all ease .4s;
  cursor:pointer;
}
#float-tulip img{
  width: 50px;
  height: 100px;
}

.fave {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid #EA6F5A;
	vertical-align:bottom;
	background: url(../image/like_animation_steps.png) no-repeat;
	background-position: left;
	background-size: auto 100%;
	display: inline-block;
	vertical-align: 1px;
}
.fave img{
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid #EA6F5A;
	vertical-align:bottom;
	background: url(../image/like_animation_steps.png) no-repeat;
	background-position: left;
	background-size: auto 100%;
	display: inline-block;
	vertical-align: 1px;
}


.fave.active {
	background-color: #EA6F5A;
	background-position: right;
	/* 主要在这一步 */
	transition: background .6s steps(19);
}

.fave.done {
	background-color: #EA6F5A;
	background-position: right;
}

.likeCount{
	display: inline;
}

.likeCount.single{
	padding-left: 3px;
	vertical-align:5px;
	font-family: "Pixel";
	font-size: 21px;
	color: #999;
}