
.info {
    padding-inline: .25em;
}

.info code {
    display: inline-block;
    padding: .25em;
    white-space: pre;
    word-break: keep-all;
}

.info data {
    font-family: monospace;
}

.info data[value="MAX"],
.info data[value="MOV"],
.info data[value="UNW"] {
    color: silver;
}

.info dd {
    color: silver;
}

.info dt::before {
    content: '\00B7';
    display: inline-block;
    text-align: center;
    width: 1em;
}

.info td:nth-child(1):not([colspan]) {
    text-align: center;
    width: 3em;
}

.info td:nth-child(2) {
    text-align: center;
    width: 4em;
}

.info td:nth-child(3) {
    text-align: center;
    width: 1.5em;
}

.info td:nth-child(4) {
    text-align: right;
    width: 3em;
}

.info td:nth-child(5) {
    text-align: right;
    width: 3em;
}

.info td:nth-child(6) {
    text-align: center;
    width: 1.5em;
}

.mechanism {
    background-color: black;
    border-radius: 2px;
    display: inline-block;
    opacity: .75;
}

.new label::after {
    color: red;
    content: 'new';
    display: inline-block;
    font-family: monospace;
    margin-inline: .25em;
}

.stat {
    padding-inline: .25em;
}

.stat th {
    width: 5em;
}

.stat td:nth-child(2) {
    text-align: right;
    width: 5em;
}

.terraincap {
    background-color: slategray;
    border-radius: 2px;
    display: inline-block;
    height: 1rem;
    padding: 4px 2px;
}

.terraincap data {
    border-radius: 2px;
    display: inline-block;
    height: inherit;
    margin-inline: 2px;
}

.terraincap data img {
    vertical-align: top;
}

.terraincap data[value="0"] {
    background-color: black;
    opacity: .5;
}

.terraincap data[value="0"]::after {
    background: center / contain no-repeat url("terrain-cap-0.webp");
    content: "\3000";
    display: inline-block;
    height: inherit;
}

.terraincap data[value="1"]::after {
    background: center / contain no-repeat url("terrain-cap-1.webp");
    content: "\3000";
    display: inline-block;
    height: inherit;
}

.terraincap data[value="2"]::after {
    background: center / contain no-repeat url("terrain-cap-2.webp");
    content: "\3000";
    display: inline-block;
    height: inherit;
}

.up {
    color: royalblue;
}

.up2nd {
    color: gold;
}

.up3th {
    color: orange;
}

blockquote {
    margin-block: .5em;
    margin-inline: 0;
    max-width: 20em;
}

dl {
    margin-block: .5em;
}

figure[hidden] {
    display: none;
}

legend {
    font-family: monospace;
}

p {
    margin-block: .5em;
}

p:empty::after {
    content: '\3006';
}

select[multiple] {
    width: 100%;
}

table em {
    text-decoration-line: underline;
}

table img {
    vertical-align: bottom;
}

table table {
    box-shadow: inset 0 0 2px silver;
    margin-block-end: .5em;
    padding: 2px;
}

tbody label {
    display: block;
}

tbody label:hover {
    text-decoration-line: underline;
}

tbody tr:has(input:not(:checked))+tr {
    display: none;
}

tbody tr[hidden]:has(input)+tr {
    display: none;
}

th {
    text-align: left;
}

th:only-child {
    color: silver;
    font-size: smaller;
    text-align: center;
}

th:empty+td {
    border-color: whitesmoke;
}

th+th {
    text-align: right;
}
