::selection {
    background: rgba(128,16,16,0.05);
}

*{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    transition: filter 0.1s;
}

body {
    margin: 0 auto;
    font-family: "fusion-pixel","Consolas","Microsoft Yahei";
    background:
      radial-gradient(circle at 50% 0,
        rgba(255,232,216,.4),
        rgba(255,232,216,0) 70.71%),
      radial-gradient(circle at 6.7% 75%,
        rgba(216,255,216,.4),
        rgba(216,255,216,0) 70.71%),
      radial-gradient(circle at 93.3% 75%,
        rgba(216,232,255,.4),
        rgba(216,232,255,0) 70.71%) #fff;
    background-attachment: fixed;
}

@font-face{
    font-family: "fusion-pixel";
    src: url("/assets/FusionPixelMonoPatched.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a,a:link,a:active,a:visited,a:hover,a:focus{
	color:#f60;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	outline:none;
	border: none;
	background:none;
	text-decoration: none;
}

table{
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
    width: 90%;
}

.dark {
    background: #202020;
}
.dark::after {
	content: '';
	position: fixed;
    z-index: 99999;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.search_box {
    z-index: 999;
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    height: 42px;
    text-align: center;
    pointer-events: none;
    overflow: hidden;
}
.search_box input {
    outline: none;
    border: solid 1px rgba(128, 128, 128, 0.4);
    height: 40px;
    vertical-align: middle;
    pointer-events: auto;
}

#kw {
    width: calc(90% - 60px);
    max-width: 320px;
    padding: 0 10px;
    font-size: 16px;
    border-right: none;
    border-radius: 16px 0 0 16px;
}

#btn {
    width: 10%;
    min-width: 56px;
    max-width: 80px;
    border-left: none;
    border-radius: 0 16px 16px 0;
    color: #fff;
    background: #0bf;
    transition: background 0.1s;
}
#btn:active {
    background: #0ad;
    color: #ddd;
}

.maps{
    text-align: center;
    font-size: 14px;
    color: #888;
}
#main{
    max-width: 1200px;
    min-height: calc(100vh - 142px);
    margin: auto;
    margin-top: 58px;
}

hr {
    border: none;
    height: 1px;
    background-color: #ccc;
}

.list, .middle {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 10px;
    line-height: 1.7;
    font-size: 16px;
    border-radius: 16px;
}

.list {
    background-color: #fff;
    box-shadow: 0 0 1px 1px rgba(128, 128, 128, 0.05);
    transition: background-color 0.1s;
}
.list:active {
    background-color: #eee;
}

.list .title {
    line-height: 32px;
}
.list .title strong {
    color: #f66;
}

.version{
    font-size: 18px;
    color: #0af;
    font-weight: bold;
    cursor: pointer;
}

.content {
    list-style-type: none;
    counter-reset: sectioncounter;
    margin: 0;
    padding: 0;
    padding-left: 22px;
    display: none;
    font-size: 16px;
    max-height: calc(90vh - 94px);
    overflow-y: auto;
}

.content div {
     color: #666;
     text-indent: 0;
     font-size: 14px;
}

.content img {
    border-radius: 8px;
}
.dark .content img {
    filter: invert(0.8);
}

.arrow {
    color: #0af;
    margin-right: 5px;
}

.highlight {
    padding: 4px;
    background: rgba(200, 200, 120, 0.3);
    color: #f60;
}
#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}
#loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    max-width: 195px;
}

.corner_button {
    z-index: 999;
    position: fixed;
    right: 10px;
    bottom: 60px;
    cursor: default;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: solid 1px #fff;
    border-radius: 12px;
    background: rgba(255,255,255,0.3);
    transition: all 0.1s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#old_page {
    bottom: 150px;
    line-height: 16px;
    width: 32px;
    height: 32px;
    padding: 4px;
    font-size: 13px;
}
#theme {
    bottom: 105px;
}
#theme img {
    width: 60%;
    margin: 20%;
}
#copyright {
    padding: 30px;
    line-height: 24px;
    font-size:14px;
    color: #fff;
    background: #1A1C26;
    text-align: center;
}

.shadow {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(64, 64, 64, 0.3);
	opacity: 0;
	transition: opacity 0.2s;
}

@media (any-hover: hover) {
    /*定义滚动条*/
    .content::-webkit-scrollbar{
        width: 8px;
        background-color: transparent;
    }
    /*定义滚动条滑块*/
    .content::-webkit-scrollbar-thumb{
        background: rgba(0,0,0,0.05);
        border-radius: 4px;
    }
    .content:hover::-webkit-scrollbar-thumb{
        background: rgba(0,0,0,0.1);
    }
    .corner_button:hover {
        background: rgba(255,255,255,0.5);
    }

}
.corner_button:active {
    transform: scale(0.9);
    background: rgba(224,224,224,0.5);
}