.box {
    display: inline-block;
    background-color: var(--amos-color);
    border-radius: 1mm;
    text-align: center;
    font-weight: 600;
    color: white;
    --amos-color: black;
    --tag-color: white;
    box-shadow: 0 0 0 0.5mm var(--amos-color);
    line-height: 120%;
}

.box.inline {
    padding: 0;
    min-width: 7mm;
    border-radius: 0.75mm;
    box-shadow: 0 0 0 1.5mm var(--amos-color);
    margin: 0 0.7mm;
}

.box.tag {
    border-radius: 0.5mm;
    box-shadow: 0 0 0 0.5mm var(--tag-color);
    padding: 0.5mm !important;
}

.box.tag.inline {
    font-size: 90%;
    box-shadow: 0 0 0 1mm var(--tag-color);
}

.box.tag.small {
    box-shadow: 0 0 0 0.5mm var(--tag-color);
}

.box.big {
    min-width: 8mm;
    padding: 1mm;
}

.box.station {
    min-width: 2em;
}

/* In the title of a sighting (<h2> and such) */
.box.title {
    vertical-align: middle;
    padding: 0.75mm;
    position: relative;
    top: -2mm;
    font-size: 160%;
}

.box a, .box a:visited {
    color: white;
}

div.navigation .box {
    padding: 1mm;
}

div.tag {
    font-weight: bold;
    color: white;
    padding: 1mm;
    border-radius: 1mm;
}

td > div.tag {
    display: inline-block;
    padding: 1mm;
}

div.navigation span.box, div.navigation span.box {
    opacity: 0.85;
    min-width: 2em;
}

td[type=allsky] {
    color: dodgerblue;
}

td[type=spectral] {
    color: orangered;
}

a.allsky::after, a.spectral::after {
    margin-left: 1mm;
}

a.allsky::after {
    content: '\1F320';
}

a.spectral::after {
    content: '\1F308';
}