.highlighted {
  background-color: yellow;
  color: #161616;
}

body {
  margin: 0 0 64px 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #161616;
  color: #ddd;
}

hr {
  height: 0px;
  border: none;
  border-bottom: dashed 1px white;
  margin: 24px 0;
}

p {
  line-height: 20px;
  text-rendering: geometricprecision;
}

a {
  color: #efc909;
}

table {
  width: 100%;
}
table a {
  display: block;
  height: 44px;
  border: solid 1px #333;
  border-radius: 4px;
  cursor: pointer;
}
table a:hover {
  color: black;
  background-color: #efc909;
}
table img {
  width: calc(88px * 0.5);
  height: calc(128px * 0.5);
}

h1 {
  position: sticky;
  top: 0px;
  background: black;
  padding: 12px 8px;
  margin: 0;
  box-shadow: 0px 0 8px 0px black;
  font-size: 18px;
  z-index: 2;
}

h2 {
  font-size: 21px;
  font-weight: normal;
  padding: 0;
  margin: 0;
  padding: 4px;
  text-transform: capitalize;
  text-rendering: geometricprecision;
}

h3 {
  position: sticky;
  top: 44px;
  background: #000000;
  z-index: 1;
  margin:0;
  padding: 8px;
  font-size: 16px;
  font-weight: normal;
}

.card-grid {
  display: grid;
  padding: 4px;
  grid-template-columns: repeat(auto-fill, minmax(min(72px, 100%), 1fr));
  gap: 4px;
}

.green-tag,
.red-tag {
  color: white;
  border-radius: 8px;
  padding: 0 4px 0 4px;
  border: solid 1px #ffffff;
}
.red-tag { background-color: rgb(220, 58, 58); }
.green-tag { background-color: rgb(39, 131, 39); }

/* ygo-card-section */
.ygo-card-section {
  border-radius: 4px;
  border: solid 1px #333333;
  margin: 8px 0;
}
.ygo-card-section p {
  font-size: 13px;
  line-height: 1.5em;
  margin: 4px;
  color: #ccc;
}

/* ygo-card */
.ygo-card {
  display: flex;
  justify-content: center;
  width: 88px;
  height: 128px;
  margin: 0;
}
.ygo-card.accent {
  outline: #efc909 solid 2px;
  background-color: #efc909;
  border-radius: 1px;
}
.ygo-card img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: bottom center;
}

/* ygo-card-group */
.ygo-card-group {
  padding: 4px;
  gap: 4px;
  grid-template-columns: repeat(1, 1fr);
  display: grid;
}

@media only screen and (min-width: 90px) {
  .ygo-card-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 180px) {
  .ygo-card-group {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (min-width: 270px) {
  .ygo-card-group {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media only screen and (min-width: 360px) {
  .ygo-card-group {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media only screen and (min-width: 450px) {
  .ygo-card-group {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media only screen and (max-width: 560px) {
  .ygo-card-group .ygo-card {
    width: auto;
    height: auto;
  }
}
@media only screen and (min-width: 560px) {
  .ygo-card-group {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
  }
  .ygo-card-group .ygo-card {
    width: 88px;
    height: 128px;
  }
}

.description {
  font-size: 15px;
  border: solid 1px #333;
  padding: 0.5em;
  border-radius: 8px;
  display: flex;
  flex-flow: column;
  gap: 1em;
}
.description p {
  margin: 0;
  line-height: 1.5em;
}
.description p span:nth-of-type(even) {
  opacity: 0.8;
}