/* 网页全局优化 */
/* 1 */
html body {
    transition: all 0.5s;
    overflow-y: scroll;
    font: 12px helvetica neue,helvetica,pingfang sc,tahoma,arial,sans-serif;
}
/* 部分默认样式优化 */
#nv {
    position: initial !important;
}
.plhin .pls {
    top: 0 !important;
}
.medal-box {
	position:relative;
	overflow:hidden;
	cursor:pointer;
	margin:0 auto;
}
@-webkit-keyframes medalanimation {
	from {
	    left:-100%;
    }
    100% {
	    left:150%;
    }
}
.medal-light {
	position:absolute;
	-webkit-animation:medalanimation 3s ease 0s;
	-o-animation:medalanimation 3s ease 0s;
	animation:medalanimation 3s ease 0s;
	top:0;
	width:30%;
	height:100%;
	content:"";
	background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.4) 50%,rgba(255,255,255,0) 100%);
	background:-o-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.4) 50%,rgba(255,255,255,0) 100%);
	background:-moz-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.4) 50%,rgba(255,255,255,0) 100%);
	background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.4) 50%,rgba(255,255,255,0) 100%);
	transform:skewx(-45deg);
	animation-iteration-count:infinite;
	-moz-animation-iteration-count:infinite;
	-webkit-animation-iteration-count:infinite;
}

/* 解决覆盖问题 */
#threadlist,#category_grid h4 {
    position: initial;
}
.topad {
    margin-bottom: 10px;
}
.topad .topad-title {
    text-align: left;
    background-color: #ff8e00;
    color: #fff;
    padding: 0 0 0 5px;
}
.topad2 .topad-title {
    border: 1px solid #cdcdcd;
    border-bottom: 0px;
    background: #f2f2f2;
    padding-left: 10px;
    height: 24px;
    line-height: 24px;
    color: #333;
}
.topad table {
    width: 100%;
    text-align: center;
    border: 1px solid #ff8e00;
}
.topad2 table {
    background: #ffffff;
    border: 1px solid #cdcdcd;
}
.topad td {
    padding: 5px 15px;
}

@media (max-width: 650px){
    #ct.wp.cl {
        margin-left: 0 !important;
    }
}
.exfm {
    margin: 10px 0;
    padding: 10px 14px;
    border: 1px dashed #fc6;
    background: #fcf6e6;
}
/* 隐藏元素 */
.none,#scrolltop,[cssnone='1'] {
    display: none;
}
/* 链接标签手势优化 */
a[target='_blank'] {
    cursor: pointer;
}
/* 右侧栏优化 */
.bar-middle {
    opacity: 0.85;
}
/* 细节优化 */
.authi .authicn {
    width: auto;
}
/* 通用元素 */
.-ml5 {
    margin-left: 5px;
}
.-mr5 {
    margin-right: 5px;
}
.-mt5 {
    margin-top: 5px;
}
.-mt10 {
    margin-top: 10px;
}
/* 优化提示之暗黑风格 */
.tip_dark.tip_js {
    background: black;
    color: white;
    border: none;
    opacity: 0.8;
    border-radius: 4px;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 30%), 0px 10px 22px rgb(0 0 0 / 30%);
}
.tip_dark.tip_js .tip_horn {
    background: none;
    width: 0;
    height: 6px;
    bottom: -10px;
    border-width: 5px 5px 0;
    border-color: transparent;
    border-top-color: black;
    border-style: solid;
}
/* 列表筛选 */
#ct a ,.list-filtrate a {
    text-decoration: none;
}
.list-filtrate .a {
    cursor: pointer;
    padding: 2px 10px;
    border: 1px solid;
    border-radius: 10px;
    font-weight: normal!important;
    color: #369!important;
    background: #ecf5ff;
    border-color: #b3d8ff;
}
.list-filtrate a em {
    padding-left: 5px;
    color: red;
}
/* emoji表情优化 */
emoji {
    margin-right: 5px;
}
#smilies_preview img {
    width: 40px !important;
    height: 40px !important;
}
#fastsmilies img, #smiliesdiv_table img {
    width: 20px !important;
    height: 20px !important;
}
img[src*='static/image/smiley/wechat/'] {
    height: 24px !important;
}
@media (max-width: 600px) {
    img[src*='static/image/smiley/wechat/'] {
        height: 36px !important;
    }
}
/* 按钮元素 */
.v1-button {
	display: inline-block;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	text-align: center;
	box-sizing: border-box;
	outline: none;
	margin: 0;
	transition: .1s;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	background: #fff;
	border: 1px solid #dcdfe6;
	color: #606266;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1;
	font-weight: 500;
}
.v1-button.--mini {
    padding: 0px 5px;
    border-radius: 10px;
    font-size: 12px;
    line-height: normal;
    font-weight: normal;
}
.v1-button.--small {
    padding: 1px 10px;
    border-radius: 15px;
    font-size: 12px;
    line-height: normal;
    font-weight: normal;
}
.v1-button .v1-button {
	margin-left: 5px
}

.v1-button.--hover:focus,.v1-button.--hover:hover {
	opacity: 0.75;
}

.v1-button.--hover:active {
	opacity: 0.9;
}

.v1-button::-moz-focus-inner {
	border: 0
}
/* 基础风格 */
.v1-button.--primary {
	color: #fff;
	background-color: #409eff;
	border-color: #409eff
}
.v1-button.--primary.--plain {
    color: #409eff;
    background: #ecf5ff;
    border-color: #b3d8ff;
}
.v1-button.--success {
	color: #fff;
	background-color: #67c23a;
	border-color: #67c23a
}
.v1-button.--success.--plain {
	color: #67c23a;
	background: #f0f9eb;
	border-color: #c2e7b0
}
.v1-button.--warning {
	color: #fff;
	background-color: #e6a23c;
	border-color: #e6a23c
}
.v1-button.--warning.--plain {
	color: #e6a23c;
	background: #fdf6ec;
	border-color: #f5dab1
}
.v1-button.--danger {
	color: #fff;
	background-color: #f56c6c;
	border-color: #f56c6c
}
.v1-button.--danger.--plain {
	color: #f56c6c;
	background: #fef0f0;
	border-color: #fbc4c4
}

.v1-button.--info {
	color: #fff;
	background-color: #909399;
	border-color: #909399
}
.v1-button.--info.--plain {
	color: #909399;
	background: #f4f4f5;
	border-color: #d3d4d6
}
/* 特殊风格 */
.v1-button.--guoguo.--plain {
	color: #d94300;
	background: #fdf6ec;
	border-color: #f5dab1;
}
/* 其他细节优化 */
.umn h2 {
    background: transparent  no-repeat right 6px !important;
    font-size: 14px !important;
    margin: 0 !important;
}
.umn h3 {
    background: transparent  no-repeat right -35px;
    font-size: 14px;
}
.umn .umh_cb {
    background-color: transparent !important;
}
/* 勋章样式优化 */
img[src*='static/image/common/medal10'],img[src*='static//image/common/medal10'] {
    height: 40px !important;
}
.medal-item {
    display: inline-block;
    overflow: hidden;
    position: relative;
}
.medal-item img {
    /*width: 100%;*/
}
.medal-item.medal-item-13::after,.medal-item.medal-item-1::after {
    display: block;
    width: 40px;
	height: 40px;
}
.medal-item.medal-item-18::after,.medal-item.medal-item-17::after {
    display: block;
    width: 40px;
	height: 40px;
	background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0));
}
.medal-item.medal-item-14::after,.medal-item.medal-item-15::after,.medal-item.medal-item-16::after {
    display: block;
    width: 40px;
	height: 40px;
	background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0));
}
.medal-item::after {
	content: '';
	display: none;
	position: absolute;
	top: -20%;
	left: -100%;
	transform: rotate(-45deg);
	background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0));
	/* 过度实现部分 */
    transition: 0.8s;
    transform: translate(200%,200%) rotate(-45deg);
    -webkit-animation: 2s medalshiny linear infinite normal;
    animation: 2s medalshiny linear infinite normal;
}
@keyframes medalshiny {
	0%{
        top: -20%;
	    left: -100%;
        transform: rotate(-45deg);
	}
    50%{
        top: -20%;
	    left: -100%;
		transform: rotate(-45deg);
	}
	100%{
		top: 80%;
		left: 100%;
		transform: rotate(-45deg);
	}
}
/* 管理界面优化 */
.mdcp .um div {
    height: auto!important;
}
.mdcp .um .pbn .y a:nth-last-child(1), .mdcp .um .pbn .y span:nth-last-child(2) {
    display: none;
}
/* 图片提示优化 */
.aimg_tip, ignore_js_op .tip_4 {
    display: none;
}
/* 仅限手机模式显示 */
.only_mobile {
    display: none;
}
@media (max-width: 600px) {
   .only_mobile {display: block;}
}
/* 仅限电脑模式显示 */
.only_pc {
    display: block;
}
@media (max-width: 600px) {
   .only_pc {display: none;}
}




/* 主题页面细节优化 */
.post-ext-top {
    border-bottom: 1px dashed #fcf6e6;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.post-ext-bottom {
    border-top: 1px dashed #fcf6e6;
    padding-top: 10px;
    margin-top: 10px;
}
.card-topic {
    background-color: rgba(2,153,255,.06);
    padding: 4px 10px;
    border-radius: 30px;
    margin: 5px 5px 0 0;
    display: inline-block;
}
.card-topic img {
    margin-top: -3px;
    margin-right: 4px;
    width: 14px;
    height: 14px;
}
.card-topic span {
    font-size: 14px;
    color: #0299ff;
}
.mmm-miao span {
    font-size: 14px;
    margin: 2px 5px;
    padding: 4px;
    background: #e6edf2;
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
}
.mmm-miao-recommend {
    padding: 10px 15px;
    background: #f4f4f4;
    display: inline-block;
    border-radius: 10px;
    border-top-left-radius: 0px;
    margin-left: 60px;
    line-height: 24px;
    font-size: 14px;
}

/* 通用风格优化 */

@media (max-width: 650px) {
    #ct.wp.cl {
        margin-left: 0 !important;
    }
}
.exfm {
    margin: 10px 0;
    padding: 10px 14px;
    border: 1px dashed #fc6;
    background: #fcf6e6;
}
.none {
    display: none;
}
[cssnone='1'] {
    display: none;
}
a[target='_blank'] {
    cursor: pointer;
}
.bar-middle {
    opacity: 0.85;
}
.authi .authicn {
    width: auto;
}

#scrolltop {
    display: none!important;
}


.readerlayout {
    position: relative;
    height: 100%;
    width: 327px;
}
.readerlayout.aside {
    will-change: width;
    transition: width 100ms cubic-bezier(0.1, 0, 0, 1) 0s;
}
.readerlayout.asidepinned {
    width: 0 !important;
}
.readerlayout-main {
    height: 100%;
    overflow: hidden;
}
.readerlayout-main .shadow {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999999;
    cursor: pointer;
    overflow: auto;
    pointer-events: auto;
    touch-action: none;
    display: none;
}
.readerlayout-dragbar {
    height: 100%;
    position: absolute;
    z-index: 1000;
    top: 0;
    bottom: 0;
    right: -6px;
    width: 6px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: ew-resize;
}
.readerlayout-dragbar:after, .readerlayout-dragbar:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #e7e9e8;
}
.readerlayout-dragbar:hover:after {
    background-color: rgba(0, 0, 0, 0.07);
}
.readerlayout-dragbar:after {
    transition: backgroundcolor .2s ease-in-out;
    right: 6px;
    width: 1px;
}
.readerlayout-module_pinwrapper {
    position: absolute;
    z-index: 1001;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
}
.readerlayout-module_arrowright {
    
}
.readerlayout-piniconwrapper {
    position: absolute;
    z-index: 1002;
    right: -7px;
    top: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 14px;
    background-color: #ffffff;
    border: 1px solid #e7e9e8;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.06);
    cursor: pointer;
    opacity: 0;
    will-change: top,opacity;
    transform: translatey(-50%);
    transition: top .2s ease,opacity .2s ease;
    color: #8a8f8d;
}
.readerlayout.asidepinned .readerlayout-piniconwrapper {
    /*opacity: 1;*/
    /*border-radius: 0 8px 8px 0;*/
    /*right: -14px;*/
    border-radius: 0 8px 8px 0;
    right: -15px;
    border-left-color: #e7e9e7;
    opacity: 0.8;
}
.readerlayout.dragbar .readerlayout-piniconwrapper {
   opacity: 1;
}
.readerlayout-piniconwrapper:hover {
    background-color: #eff0f0;
}
.readerlayout-piniconwrapper .readerlayout-arrowright {
    display: inline-block;
    border-left: 5px solid #262626;
    border-top: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    align-self: center;
    transform: rotate(180deg);
    margin-left: -5px;
}
.readerlayout.asidepinned .readerlayout-piniconwrapper .readerlayout-arrowright {
    margin-left: 4px;
    transform: rotate(0deg);
}
body .v1t-left-main {
    overflow: unset;
    border: none;
    width: auto;
    left: 0;
    box-shadow: -8px 0px 35px 0px rgba(181,181,181,.32);
}
body .v1-left {
    
}
body .v1t-menu {
    z-index: 888;
}

.debuginfo {
	right: 5%;
	position: fixed;
	bottom: 0;
	display: block;
	background: #f4f4f4;
	border: 1px solid #cdcdcd;
	border-bottom: none;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	padding: 5px 10px;
	cursor: pointer
}

.messages-box {
    border-top: 2px solid rgb(51, 102, 153);
    margin-top: 10px;
    padding: 10px;
    background: aliceblue;
}