body {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    color: #111111;
    font: 16px/1.25 "Inter", Arial, Helvetica, sans-serif;
}
#head {
    padding: 12px 12px 0 12px;
}
#head img {
    display: block;
    border: 0;
    margin: 0 0 4px 0;
}
#bar {
    position: relative;
    height: 30px;
    line-height: 30px;
    background: #68a2ee;
    border: 1px solid #3f6cae;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 0 6px;
}
#bar a {
    color: #0a2040;
    text-decoration: none;
    white-space: nowrap;
}
#bar a:hover {
    text-decoration: underline;
}
#bar a.cur {
    font-weight: bold;
}
#bar a.sec {
    float: left;
    display: block;
    padding: 0 8px;
}
.menu {
    float: right;
    position: relative;
}
.menu .pickbtn {
    display: block;
    padding: 0 8px;
}
#bar .menu .pickbtn:hover {
    text-decoration: none;
}
.menu .arr {
    display: inline-block;
    margin-left: 7px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #0a2040;
    vertical-align: middle;
}
.menu .list {
    display: none;
    position: absolute;
    right: -7px;
    top: 100%;
    padding-top: 5px;
    z-index: 10;
}
html:not(.js) .menu:hover .list {
    display: block;
}
html:not(.js) .menu:focus-within .list {
    display: block;
}
.menu.open .list {
    display: block;
}
.menu .sheet {
    background: #7fb3f5;
    border: 1px solid #3f6cae;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 3px 0;
    min-width: 140px;
    max-height: 300px;
    overflow: auto;
    text-align: left;
}
.menu .sheet a {
    display: block;
    padding: 0 14px;
}
#bar .menu .sheet a:hover {
    background: #a9cdfa;
    text-decoration: none;
}
#content {
    padding: 16px 12px 48px 12px;
    line-height: 1.5;
    color: #1f2328;
    word-wrap: break-word;
}
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    margin: 24px 0 16px 0;
    line-height: 1.25;
}
#content h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #d0d7de;
}
#content h2 {
    font-size: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #d0d7de;
}
#content h3 {
    font-size: 1.25em;
}
#content h4 {
    font-size: 1em;
}
#content h5 {
    font-size: 0.875em;
}
#content h6 {
    font-size: 0.85em;
    color: #57606a;
}
#content > h1:first-child, #content > h2:first-child {
    margin-top: 0;
}
#content p, #content ul, #content ol, #content blockquote, #content pre, #content table {
    margin: 0 0 16px 0;
}
#content ul, #content ol {
    padding-left: 2em;
}
#content li ul, #content li ol {
    margin: 0;
}
#content li {
    margin: 4px 0;
}
#content li.task {
    list-style: none;
    margin-left: -1.4em;
}
#content li.task input {
    margin: 0 0.4em 0 0;
}
#content a {
    color: #1a5fb4;
    text-decoration: none;
}
#content a:hover {
    text-decoration: underline;
}
#content blockquote {
    padding: 0 1em;
    color: #57606a;
    border-left: 4px solid #d0d7de;
}
#content blockquote > :last-child {
    margin-bottom: 0;
}
#content code {
    font-family: Consolas, Menlo, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
    font-size: 85%;
    padding: 2px 5px;
    background: #eaeef2;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
#content pre {
    padding: 14px 16px;
    overflow: auto;
    line-height: 1.45;
    background: #f3f5f7;
    border: 1px solid #e1e5ea;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
#content pre code {
    padding: 0;
    background: none;
    font-size: 85%;
}
#content table {
    border-collapse: collapse;
    border-spacing: 0;
    display: block;
    max-width: 100%;
    overflow: auto;
}
#content th, #content td {
    padding: 6px 13px;
    border: 1px solid #d0d7de;
}
#content th {
    font-weight: bold;
}
#content tbody tr:nth-child(2n) {
    background: #f6f8fa;
}
#content hr {
    height: 4px;
    margin: 24px 0;
    padding: 0;
    background: #d0d7de;
    border: 0;
}
#content img {
    max-width: 100%;
    border: 0;
}
#content del {
    color: #57606a;
}
@media screen and (max-width: 640px) {
    #head img {
        width: 72px;
        height: 72px;
    }
}
#foot {
    padding: 0 12px 28px 12px;
}
#foot .rule {
    height: 2px;
    font-size: 0;
    line-height: 0;
    background: #c8c8c8;
}
#foot .logos {
    padding-top: 22px;
    text-align: center;
}
#foot .logos a {
    display: inline-block;
    margin: 0 18px 14px 18px;
    vertical-align: middle;
}
#foot .logos img {
    display: block;
    border: 0;
}

/* Generated lists */
#content h1 small {
    font-size: 0.45em;
    font-weight: normal;
    color: #57606a;
    margin-left: 6px;
}
.cards {
    margin: 0 -12px 10px 0;
    font-size: 0;
    line-height: 0;
}
.cards .card {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 12px 12px 0;
    font-size: 16px;
    line-height: 1.4;
    zoom: 1;
    *display: inline;
}
.cards .cw {
    position: relative;
    padding: 12px 14px;
    overflow: hidden;
    color: #1f2328;
    background: #ffffff;
    border: 1px solid #d0d7de;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.cards .cw.hasicon {
    padding-left: 90px;
    min-height: 64px;
}
.cards .cw p {
    margin: 0 0 6px 0;
}
.cards .cw p:last-child {
    margin-bottom: 0;
}
#content .cards img {
    position: absolute;
    left: 14px;
    top: 12px;
    max-width: 64px;
    max-height: 64px;
}
@media screen and (max-width: 640px) {
    .cards {
        margin-right: 0;
    }
    .cards .card {
        width: 100%;
        padding-right: 0;
    }
}
#content pre.script-error {
    padding: 10px 12px;
    color: #82071e;
    background: #ffebe9;
    border: 1px solid #ff818266;
    white-space: pre-wrap;
}
#content p.empty {
    color: #57606a;
}

/* Games section */
body.sec-games #bar {
    background: #c8415b;
    border-color: #9a2f45;
}
body.sec-games #bar a {
    color: #ffffff;
}
body.sec-games .menu .arr {
    border-top-color: #ffffff;
}
body.sec-games .menu .sheet {
    background: #c8415b;
    border-color: #9a2f45;
}
body.sec-games #bar .menu .sheet a:hover {
    background: #a93449;
}
body.sec-games #content a {
    color: #c8415b;
}
