body {
  /*min-width: 360px;*/
  background-color: #f0f0f0;
}

.balance {
  text-wrap: balance;
}

h1, h2, h3, h4, figcaption, h5, h6 {
  text-wrap: balance;
}

.toplist {
  margin-bottom: 5px;
}

.spacebottom10 {
  padding-bottom: 10px;
}

a.player, a.player:visited, figcaption {
  color: darkblue;
}

.solution {
  margin: -1em 0 30px 0; /* HACK.. TODO.. */
}
.solution > span {
  display: block;
  color: #df003b;
  text-decoration: underline;
  cursor: pointer;
}
.solution > p {
  display: none;
}

table.result {
  table-layout: auto;
  width: auto;
}

.entry-media.post-thumbnail.post-thumbnail-singular > img {
  max-width: min(700px, 100%);
}

figure > img {
  margin-bottom: 0;
}

img[src*="lichess1.org"] {
  max-width: min(500px, 100%);
}

#players > figure.left, #players > figure.right, #players > figure.middle {
  display: inline-block;
  position: relative;
  width: 48%;
  margin: 0 0.5%; /* TODO: should work with 1% */
}

#players > figure.middle {
  margin-left: 26%;
  margin-right: 26%;
}

#players img {
  width: 100%;
}

#players img.avatar {
  padding: 10%;
}

#players figcaption {
  text-align: center;
  margin-bottom: 20px;
}

a.navlink {
  vertical-align: middle;
  color: #df003b;
  margin-left: 15px;
  font-size: 0.9em;
}

@media screen and (max-width: 480px) {
  a.navlink {
    margin-left: 8px;
  }
}

a.navlink:visited {
  color: #df003b;
}

a.navlink:hover, a.navlink:active {
  color: black;
}

a.blink {
  -webkit-animation: blinker 1s linear infinite;
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
@-webkit-keyframes blinker {
  50% {
    opacity: 0;
  }
}
