:root {
  --pixel-scale: 2;
}

html,
body {
  background-color: #000000;
}

img.pixelated,
.pixelated img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.pixel-icon {
  height: calc(16px * var(--pixel-scale));
  width: auto;
}

.pixel-label {
  width: calc(98px * var(--pixel-scale));
  height: calc(54px * var(--pixel-scale));
}

.pixel-portrait {
  width: min(100%, calc(423px * var(--pixel-scale)));
  height: auto;
}

input[type="checkbox"] {
  width: calc(16px * var(--pixel-scale));
  height: calc(16px * var(--pixel-scale));
  background-size: 100% 100%;
}

ul li::before {
  width: calc(8px * var(--pixel-scale));
  height: calc(8px * var(--pixel-scale));
  background-size: 100% 100%;
}

a.menu-link {
  color: rgba(255, 255, 255, 1);
  opacity: 0.6;
  text-decoration: none;
}

a.menu-link:hover {
  opacity: 0.85;
}

a.menu-link.is-active {
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

nav ul li {
  padding-left: 0;
}

.pixel-frame {
  box-shadow: 0 0 0 1px #000, 0 0 0 2px #fff;
}

.store-link {
  font-size: 12px;
  opacity: 0.8;
  text-decoration: none;
}

.store-link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: baseline;
}

.terms-label {
  opacity: 0.8;
}

.terms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.term-link {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.term-link:hover {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.75);
}

.term-link.is-active {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 16px rgba(255, 255, 255, 0.12);
}
