.readme {
    padding: 30px 30px 0 30px;
    font-size: 120%;
    line-height: 160%;
}
.readme * {
    text-indent: 0;
}

.readme img {
    max-width: 100%;
    vertical-align: middle;
}

.readme p {
    text-align: justify;
}
.readme p.badges {
    text-align: left;
}
.readme h1 + p, .readme h2 + p, .readme h3 + p {
    text-indent: 1.5rem;
}

.readme ul {
    padding-left: 32px;
}

.readme h1, .readme h2 {
    position: relative;
}
.readme h1 .heading-link-anchor, .readme h2 .heading-link-anchor {
    position: absolute;
    left: -14px;
    color: #000;
    text-shadow: none;
    opacity: 0.1;
    text-decoration: none;
    transition: .4s opacity;
    font-weight: bold;
    font-size: 70%;
    margin-top: 0.1em;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
.readme h1:hover .heading-link-anchor, .readme h2:hover .heading-link-anchor {
    opacity: 0.4;
}
.readme h3 .heading-link {
    color: inherit;
    text-decoration: inherit;
}
.readme h3 .heading-link:hover, .readme h3 .heading-link:active, .readme h3 .heading-link:focus {
    color: #004285;
    text-decoration: underline;
}
.readme h4 {
    color: #222;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
}

.readme code {
    background-color: rgba(27,31,35,.05);
    border-radius: 3px;
    font-size: 85%;
    margin: 0;
    padding: .2em .4em;
}
.readme kbd {
    display: inline-block;
    font-size: 70%;
    font-weight: bold;
    line-height: 10px;
    padding: 3px 5px 2px;
    vertical-align: middle;
    color: #444d56;
    background-color: #fafbfc;
    border: 1px solid #acb3bb;
    border-bottom-color: #959da5;
    border-radius: 3px;
    box-shadow: 0 1px 2px #959da5;
}
.readme pre {
    color: #444;
    background: #fafafa;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    line-height: 15px;
    overflow-x: auto;
}
.readme pre code {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    font-size: 80%;
}

.readme sub a {
    text-decoration: none;
}
.readme sub a:hover, .readme sub a:focus {
    text-decoration: underline;
}

.readme .nav {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;

    display: flex;
    justify-content: center;
    align-items: center;
}
.readme .nav a {
    display: inline-block;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 120%;
    color: #bbb;
    text-decoration: none;
}
.readme .nav a svg {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}
.readme .nav a svg path {
    fill: currentColor;
}
.readme .nav a:hover {
    color: #06c;
}
.readme .nav a.active {
    color: #000;
    cursor: default;
}

.readme .title-image {
    mix-blend-mode: darken;
    border-radius: 6px;
}
.readme .preview-image {
    border-radius: 4%;
}

.readme .task-list-item {
    list-style-type: none;
    margin-left: -24px;
    padding-top: 1px;
    padding-bottom: 1px;
}
.readme .task-list-item > ul {
    margin-left: 24px;
}
.readme .task-list-item input[type=checkbox] {
    vertical-align: -2px;
}

.readme .gameplay-videos {
    margin: 16px;
    text-align: center;
}
.readme .gameplay-videos a {
    text-decoration: none;
    color: #000;
}
.readme .gameplay-videos a:hover {
    color: #004285;
}
.readme .gameplay-videos a svg {
    width: 20px;
    height: 20px;
    vertical-align: -5px;
    margin-right: 8px;
}
.readme .gameplay-videos a svg path {
    fill: #c00;
}
.readme .download-other {
    display: inline-block;
    background: #f4f4f4;
    color: #666;
    font-weight: 500;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
}

.experimental-section {
    max-width: 740px;
    margin: 30px auto;
}
.experimental-section table {
    display: block;
    margin: 0 -20px 0 -23px;
    border-collapse: collapse;
}
.experimental-section tr {
    width: 100%;
}
.experimental-section td {
    min-width: 50px;
    padding: 3px;
}
.experimental-section td {
    min-width: 62px;
    padding: 3px;
}
.experimental-section td+td {
    width: 100%;
}
.experimental-section td:first-child img {
    padding-left: 20px;
}
.experimental-section tr.top {
    border-top: 1px solid #cdcdcd;
}
.experimental-section tr.bottom td {
    padding-bottom: 5px;
}
.experimental-section tr.win {
    background: rgba(220, 240, 255, 0.4);
}
.experimental-section tr.linux {
    background: rgba(241, 236, 172, 0.4);
}
.experimental-section tr.mac {
    background: rgba(219, 219, 219, 0.4);
}
.experimental-section tr.android {
    background: rgba(134, 235, 0, 0.15);
}
.experimental-section table a {
    display: inline-block;
    color: #111;
    text-decoration: none;
}
.experimental-section table a:hover {
    color: #06c;
}

.readme .download-other:hover {
    color: #06c;
}
.readme .download-other img {
    height: 12px;
    margin-right: 6px;
}

.changes-release {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}
.changes-release:first-of-type {
    padding-top: 30px;
    margin-top: -20px;
}
.changes-release::before {
    content: "";
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.1));
    width: 3px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc((65px / 2) + 4px);
    z-index: -1;
}
.changes-release:first-of-type::before {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1) 50px);
}
.changes-release:last-of-type::before {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0));
}

.changes-header {
    display: flex;
    position: relative;
}
.changes-version {
    width: 60px;
    background-color: #555;
    color: #fff;
    display: inline;
    flex: 0 0 75px;
    border-radius: 3px;
    margin-right: 8px;
    padding: 1px 4px;
    text-align: center;
}
.changes-release.upcoming .changes-version {
    color: #cb2431;
    background: #fff;
    box-shadow: inset 0 0 0 1px #d73a49;
}
.changes-title {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
    color: #000;
    text-decoration: none;
}
.changes-title:hover, .changes-title:active, .changes-title:focus {
    color: #004285;
    text-decoration: underline;
}
.changes-date {
    position: absolute;
    right: 0;
    font-size: 80%;
    bottom: 0;
}

.changes-list {
    margin: 10px 10px 10px 74px;
}
.changes-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 2px;
    font-size: 86%;
    line-height: 160%;
}
.changes-item code {
    font-size: 90%;
}
.changes-item kbd {
    font-size: 85%;
    vertical-align: 1px;
    padding: 2px 3px 1px;
}
.changes-badge {
    background-color: #44af42;
    color: #fff;
    color: rgba(255, 255, 255, 0.94);
    display: inline;
    flex: 0 0 75px;
    font-size: 75%;
    font-weight: 600;
    border-radius: 3px;
    margin-right: 8px;
    padding: 0 4px;
    text-transform: uppercase;
    text-align: center;
    user-select: none;
}

.server-list {
    width: 100%;
}
.server-list th {
    text-align: left;
    color: #999;
    font-weight: normal;
}
.server-list td.name {
    font-weight: bold;
    width: 30%;
}
.server-list td.players {
    width: 12%;
}
.server-list td.version {
    width: 20%;
}
.server-list td.empty {
    width: 10%;
}

.discord-link {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 8px;
    margin-left: 6px;
    box-shadow: 0 1px 2px rgba(80, 80, 80, 0.1);
}

.discord-link {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 8px;
    margin-left: 6px;
    box-shadow: 0 1px 2px rgba(80, 80, 80, 0.1);
}

.discord-link:active {
    background: rgba(140, 140, 140, 0.06);
    box-shadow: none;
}

.discord-link svg {
    margin-right: 2px;
}

@media only screen and (max-width: 620px) {
    .discord-link {
        border: none;
        margin-left: 0;
        box-shadow: none;
    }
    
    .discord-link span {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .readme .nav a {
        padding-left: 8px;
        padding-right: 8px;
    }

    .changes-date {
        display: none;
    }

    .readme h3 {
        overflow: visible;
        white-space: normal;
    }
    .readme h3::after {
        display: none;
    }
    
    .experimental-section {
        margin: 30px -10px;
    }
}

@media only screen and (max-width: 500px) {
    .readme ul {
        padding-left: 24px;
    }

    .changes {
        margin-left: -12px;
    }
    .changes-list {
        margin: 10px 0 40px 0;
    }
}