/* Shared theme controls: cool ice, red, green, gold, purple and brushed silver. */
:root {
  --theme-hue: 201;
  --theme-saturation: 1;
}
:root[data-theme="skynet"] {
  --theme-hue: 2;
  --theme-saturation: 0.9;
}
:root[data-theme="ion-storm"] {
  --theme-hue: 112;
  --theme-saturation: 0.82;
  --theme-brightness: 0.82;
}
:root[data-theme="liandri"] {
  --theme-hue: 40;
  --theme-saturation: 1;
}
:root[data-theme="nicolette"] {
  --theme-hue: 274;
  --theme-saturation: 0.85;
}
:root[data-theme="metal"] {
  --theme-hue: 215;
  --theme-saturation: 0.06;
}

:root {
  color-scheme: dark;
  --bg: hsl(var(--theme-hue) calc(31% * var(--theme-saturation)) calc(5.7% * var(--theme-brightness, 1)));
  --panel: hsl(var(--theme-hue) calc(33.3% * var(--theme-saturation)) calc(11.8% * var(--theme-brightness, 1)));
  --edge: hsl(var(--theme-hue) calc(21.9% * var(--theme-saturation)) 28.6%);
  --text: hsl(var(--theme-hue) calc(32.1% * var(--theme-saturation)) 89.6%);
  --muted: hsl(var(--theme-hue) calc(21.2% * var(--theme-saturation)) 68.6%);
  --blue: hsl(var(--theme-hue) calc(93.1% * var(--theme-saturation)) 71.6%);
  --mono: "Courier New", monospace;
}
:root[data-theme="ion-storm"] {
  --bg: hsl(112 25% 4.6%);
  --panel: hsl(112 27% 9.8%);
  --edge: hsl(112 18% 23%);
  --text: hsl(112 26% 86%);
  --muted: hsl(112 18% 62%);
  --blue: hsl(112 76% 63%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: repeating-linear-gradient(
    135deg,
    hsl(var(--theme-hue) calc(36% * var(--theme-saturation)) 4.9%) 0,
    hsl(var(--theme-hue) calc(36% * var(--theme-saturation)) 4.9%) 2px,
    hsl(var(--theme-hue) calc(33.3% * var(--theme-saturation)) 6.5%) 2px,
    hsl(var(--theme-hue) calc(33.3% * var(--theme-saturation)) 6.5%) 4px
  );
  color: var(--text);
  font:
    16px/1.55 Verdana,
    Arial,
    sans-serif;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 89.4%);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid #ffd778;
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 12px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 16px;
}
button {
  color: var(--text);
}
.site {
  max-width: 1320px;
  margin: 24px auto;
  border: 1px solid hsl(var(--theme-hue) calc(14.9% * var(--theme-saturation)) 39.6%);
  box-shadow:
    0 0 0 4px hsl(var(--theme-hue) calc(46.7% * var(--theme-saturation)) 2.9%),
    0 18px 80px #000;
  background: hsl(var(--theme-hue) calc(40% * var(--theme-saturation)) 7.8%);
}
.utility {
  display: flex;
  justify-content: space-between;
  padding: 7px 18px;
  background: hsl(var(--theme-hue) calc(38.5% * var(--theme-saturation)) 5.1%);
  border-bottom: 1px solid hsl(var(--theme-hue) calc(20.7% * var(--theme-saturation)) 23.7%);
  font: 12px var(--mono);
  letter-spacing: 1px;
  color: hsl(var(--theme-hue) calc(22.9% * var(--theme-saturation)) 64.9%);
}
.utility > div {
  display: flex;
  gap: 12px;
}
.utility button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: hsl(var(--theme-hue) calc(70.5% * var(--theme-saturation)) 74.7%);
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14.4px 20px 12px;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, #ffffff03 2px, #ffffff03 3px),
    linear-gradient(
      100deg,
      hsl(var(--theme-hue) calc(66.7% * var(--theme-saturation)) 2.4%),
      hsl(var(--theme-hue) calc(43.2% * var(--theme-saturation)) 15.9%) 70%,
      hsl(var(--theme-hue) calc(61.1% * var(--theme-saturation)) 7.1%)
    );
  border-bottom: 1px solid hsl(var(--theme-hue) calc(19.8% * var(--theme-saturation)) 56.5%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13.6px;
  color: hsl(var(--theme-hue) calc(45% * var(--theme-saturation)) 92.2%);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 83.2px;
  height: 83.2px;
  object-fit: contain;
}
.wordmark {
  display: block;
  font:
    italic 900 clamp(20.8px, 2.56vw, 35.2px) / 1 Arial,
    sans-serif;
  letter-spacing: 0.8px;
  color: hsl(var(--theme-hue) calc(78.6% * var(--theme-saturation)) 94.5%);
  text-shadow:
    2px 2px #000,
    0 0 25px hsl(var(--theme-hue) calc(65.3% * var(--theme-saturation)) 60.4% / 0.251);
}
.studios {
  display: block;
  font: 11.2px var(--mono);
  letter-spacing: 6.4px;
  margin-top: 9.6px;
  color: hsl(var(--theme-hue) calc(60% * var(--theme-saturation)) 68.6%);
}
.mast-right {
  text-align: right;
  display: grid;
  gap: 12px;
  justify-items: end;
}
.mono {
  font: 13px/1.5 var(--mono);
  letter-spacing: 1px;
  color: hsl(var(--theme-hue) calc(47.5% * var(--theme-saturation)) 76.1%);
}
.topnav {
  display: flex;
  background: linear-gradient(
    hsl(var(--theme-hue) calc(20.7% * var(--theme-saturation)) 32.2%),
    hsl(var(--theme-hue) calc(30.2% * var(--theme-saturation)) 20.8%) 48%,
    hsl(var(--theme-hue) calc(38.7% * var(--theme-saturation)) 14.7%) 49%,
    hsl(var(--theme-hue) calc(32.7% * var(--theme-saturation)) 21%)
  );
  border-bottom: 2px solid hsl(var(--theme-hue) calc(56.5% * var(--theme-saturation)) 4.5%);
}
.topnav a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  font:
    bold 14px Arial,
    sans-serif;
  letter-spacing: 1px;
  border-right: 1px solid hsl(var(--theme-hue) calc(61.1% * var(--theme-saturation)) 7.1%);
  border-left: 1px solid #ffffff12;
  color: hsl(var(--theme-hue) calc(41.2% * var(--theme-saturation)) 90%);
  text-shadow: 1px 1px #000;
}
.topnav a:hover,
.topnav a[aria-current] {
  background: linear-gradient(
    hsl(var(--theme-hue) calc(49.4% * var(--theme-saturation)) 47.3%),
    hsl(var(--theme-hue) calc(57.4% * var(--theme-saturation)) 26.7%)
  );
  color: white;
  text-decoration: none;
  box-shadow: inset 0 -3px hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 74.3%);
}
.ticker {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 9px 14px;
  border-bottom: 1px solid hsl(var(--theme-hue) calc(28.8% * var(--theme-saturation)) 28.6%);
  font: 12px/1.4 var(--mono);
  background: hsl(var(--theme-hue) calc(43.6% * var(--theme-saturation)) 7.6%);
}
.ticker b {
  color: hsl(var(--theme-hue) calc(85.2% * var(--theme-saturation)) 76.1%);
  white-space: nowrap;
}
.ticker > span {
  color: hsl(var(--theme-hue) calc(20.9% * var(--theme-saturation)) 74.7%);
}
.ticker > a {
  margin-left: auto;
  white-space: nowrap;
}
.layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 234px;
  gap: 14px;
  padding: 16px;
}
.layout > * {
  min-width: 0;
}
.panel {
  border: 1px solid var(--edge);
  background: var(--panel);
  margin-bottom: 16px;
  box-shadow: 0 2px 0 hsl(var(--theme-hue) calc(63.6% * var(--theme-saturation)) 2.2%);
}
.bar {
  font:
    bold 12px/1.5 Verdana,
    sans-serif;
  letter-spacing: 0.65px;
  color: hsl(var(--theme-hue) calc(47.6% * var(--theme-saturation)) 91.8%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  margin: 0;
  border-bottom: 1px solid hsl(var(--theme-hue) calc(52.4% * var(--theme-saturation)) 4.1%);
  box-shadow: inset 0 1px hsl(var(--theme-hue) calc(18.5% * var(--theme-saturation)) 46.7%);
  background: linear-gradient(
    hsl(var(--theme-hue) calc(30.1% * var(--theme-saturation)) 28.6%),
    hsl(var(--theme-hue) calc(36.4% * var(--theme-saturation)) 21.6%) 50%,
    hsl(var(--theme-hue) calc(37.6% * var(--theme-saturation)) 18.2%) 51%,
    hsl(var(--theme-hue) calc(35.8% * var(--theme-saturation)) 21.4%)
  );
  gap: 10px;
}
.bar a,
.bar > span + span {
  font: 11px var(--mono);
  letter-spacing: 0;
  color: hsl(var(--theme-hue) calc(36.7% * var(--theme-saturation)) 72.7%);
}
.directory {
  display: flex;
  flex-direction: column;
  padding: 5px;
}
.directory a {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 14px;
  padding: 8px;
  color: hsl(var(--theme-hue) calc(27.3% * var(--theme-saturation)) 80.6%);
  border-bottom: 1px solid hsl(var(--theme-hue) calc(23.4% * var(--theme-saturation)) 21%);
}
.directory a:last-child {
  border-bottom: 0;
}
.directory a:hover,
.directory a[aria-current] {
  background: hsl(var(--theme-hue) calc(40.2% * var(--theme-saturation)) 21%);
  text-decoration: none;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 76.7%);
}
.directory b {
  font: 12px var(--mono);
  color: hsl(var(--theme-hue) calc(22.8% * var(--theme-saturation)) 63.9%);
  padding-top: 3px;
}
.inset {
  padding: 14px;
}
.inset p {
  font-size: 14px;
  line-height: 1.6;
  color: hsl(var(--theme-hue) calc(23.2% * var(--theme-saturation)) 78%);
}
.inset h3 {
  margin-top: 8px;
}
.button {
  display: inline-block;
  text-align: center;
  border: 1px solid hsl(var(--theme-hue) calc(16.7% * var(--theme-saturation)) 50.6%);
  border-bottom-color: hsl(var(--theme-hue) calc(54.5% * var(--theme-saturation)) 8.6%);
  border-right-color: hsl(var(--theme-hue) calc(54.5% * var(--theme-saturation)) 8.6%);
  box-shadow:
    0 0 0 1px hsl(var(--theme-hue) calc(73.3% * var(--theme-saturation)) 2.9%),
    inset 0 0 0 1px #ffffff0d;
  background: linear-gradient(
    hsl(var(--theme-hue) calc(26.1% * var(--theme-saturation)) 30.8%),
    hsl(var(--theme-hue) calc(37.3% * var(--theme-saturation)) 20%)
  );
  padding: 9px 15px;
  font-size: 14px;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 94.5%) !important;
  text-decoration: none !important;
  line-height: 1.4;
}
.button:hover {
  background: linear-gradient(
    hsl(var(--theme-hue) calc(28.8% * var(--theme-saturation)) 40.2%),
    hsl(var(--theme-hue) calc(38.2% * var(--theme-saturation)) 29.8%)
  );
}
.primary {
  background: linear-gradient(
    hsl(var(--theme-hue) calc(59.7% * var(--theme-saturation)) 46.7%),
    hsl(var(--theme-hue) calc(69.1% * var(--theme-saturation)) 29.2%)
  );
  border-top-color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 75.3%);
  border-left-color: hsl(var(--theme-hue) calc(74.8% * var(--theme-saturation)) 68.8%);
}
.small {
  padding: 6px 10px;
  font-size: 12px;
}
.full {
  width: 100%;
}
.mini-badge {
  width: 150px;
  margin: 20px auto 10px;
  border: 3px ridge hsl(var(--theme-hue) calc(11.4% * var(--theme-saturation)) 50%);
  background: hsl(var(--theme-hue) calc(25% * var(--theme-saturation)) 11%);
  text-align: center;
  font: 11px/1.2 var(--mono);
  padding: 4px;
}
.mini-badge b {
  display: block;
  font-size: 14px;
  color: #c9dbb2;
}
.mini-badge span {
  font-size: 10px;
  letter-spacing: 0.4px;
}
.mini-badge.blue b {
  color: hsl(var(--theme-hue) calc(91.6% * var(--theme-saturation)) 76.7%);
}
.aside-note {
  text-align: center;
  font: 12px/1.7 var(--mono);
  color: hsl(var(--theme-hue) calc(18.5% * var(--theme-saturation)) 57.6%);
  margin: 18px 0;
}
.feature {
  border: 1px solid hsl(var(--theme-hue) calc(23.2% * var(--theme-saturation)) 43.9%);
  box-shadow: 0 2px 0 #000;
}
.hero-scene {
  height: 347px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-scene > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  z-index: -2;
}
.hero-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    hsl(var(--theme-hue) calc(76% * var(--theme-saturation)) 4.9% / 0.91),
    hsl(var(--theme-hue) calc(85.4% * var(--theme-saturation)) 8% / 0.478) 55%,
    transparent
  );
  z-index: -1;
}
.hero-copy {
  padding: 30px 26px;
  max-width: 410px;
}
.tag {
  font: bold 11px/1.5 var(--mono);
  letter-spacing: 1px;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 82.2%);
}
.hero-copy h1 {
  font:
    bold 39px/1.05 Arial,
    sans-serif;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 17px 0 13px;
  text-shadow: 2px 2px hsl(var(--theme-hue) calc(68.2% * var(--theme-saturation)) 8.6%);
}
.hero-copy p {
  font:
    14px/1.6 Verdana,
    sans-serif;
  color: hsl(var(--theme-hue) calc(53.8% * var(--theme-saturation)) 89.8%);
}
.feature-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: hsl(var(--theme-hue) calc(54.8% * var(--theme-saturation)) 6.1%);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: hsl(var(--theme-hue) calc(23.8% * var(--theme-saturation)) 64.5%);
}
.welcome {
  padding: 22px 4px 4px;
}
.welcome h2 {
  font-size: 20px;
  color: hsl(var(--theme-hue) calc(76.9% * var(--theme-saturation)) 94.9%);
}
.welcome p {
  font-size: 14px;
  color: hsl(var(--theme-hue) calc(23% * var(--theme-saturation)) 73.5%);
}
.release-row {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr) 28px;
  gap: 14px;
  padding: 17px 14px;
  border-bottom: 1px solid hsl(var(--theme-hue) calc(21.2% * var(--theme-saturation)) 25.9%);
  background: linear-gradient(
    110deg,
    hsl(var(--theme-hue) calc(33.3% * var(--theme-saturation)) 14.1%),
    hsl(var(--theme-hue) calc(35.7% * var(--theme-saturation)) 11%)
  );
}
.release-row:last-child {
  border-bottom: 0;
}
.row-art img {
  width: 144px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid hsl(var(--theme-hue) calc(21.6% * var(--theme-saturation)) 38%);
  padding: 3px;
  background: hsl(var(--theme-hue) calc(52% * var(--theme-saturation)) 4.9%);
}
.meta {
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  color: hsl(var(--theme-hue) calc(22.8% * var(--theme-saturation)) 69%);
  letter-spacing: 0.3px;
  margin-bottom: 7px;
}
.meta span {
  color: hsl(var(--theme-hue) calc(25% * var(--theme-saturation)) 43.9%);
}
.release-row h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.release-row p {
  font-size: 13px;
  line-height: 1.6;
  color: hsl(var(--theme-hue) calc(20.3% * var(--theme-saturation)) 76.9%);
  margin-bottom: 7px;
}
.text-link {
  font-size: 13px;
  font-weight: bold;
}
.save {
  width: 28px;
  height: 30px;
  padding: 0;
  background: hsl(var(--theme-hue) calc(45.5% * var(--theme-saturation)) 8.6%);
  border: 1px solid hsl(var(--theme-hue) calc(21.1% * var(--theme-saturation)) 37.3%);
  color: hsl(var(--theme-hue) calc(33.8% * var(--theme-saturation)) 72.2%);
  font-size: 22px;
  line-height: 1;
}
.save[aria-pressed="true"] {
  color: #ffe19a;
}
.spotlight {
  display: block;
  padding: 10px;
  color: var(--text);
}
.spotlight:hover {
  text-decoration: none;
}
.spotlight img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border: 1px solid hsl(var(--theme-hue) calc(23.8% * var(--theme-saturation)) 32.9%);
  margin-bottom: 11px;
}
.spotlight h3 {
  font:
    bold 24px Arial,
    sans-serif;
  margin: 7px 0;
}
.spotlight p {
  font-size: 13px;
  color: hsl(var(--theme-hue) calc(26% * var(--theme-saturation)) 75.1%);
  line-height: 1.7;
}
.spotlight .tag {
  display: block;
  margin-bottom: 9px;
}
.bot-note {
  margin-top: -8px;
  font-size: 12px;
  color: var(--muted);
}
.lobby {
  padding: 9px 8px;
  background: hsl(var(--theme-hue) calc(46.2% * var(--theme-saturation)) 5.1%);
  border: 1px inset hsl(var(--theme-hue) calc(14.1% * var(--theme-saturation)) 38.8%);
  color: hsl(var(--theme-hue) calc(68.1% * var(--theme-saturation)) 72.9%);
  font-size: 11px;
  margin-bottom: 12px;
}
.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.channel {
  padding: 25px 15px 20px;
  min-height: 145px;
  display: block;
  position: relative;
  isolation: isolate;
  border: 1px solid hsl(var(--theme-hue) calc(23.1% * var(--theme-saturation)) 35.7%);
  background-size: cover;
  background-position: center;
}
.channel:before {
  content: "";
  position: absolute;
  inset: 0;
  background: hsl(var(--theme-hue) calc(78.6% * var(--theme-saturation)) 5.5% / 0.749);
  z-index: -1;
}
.channel.deus {
  background-image: url(deus_hires.jpg);
}
.channel.unreal {
  background-image: url(unreal_castle.jpg);
}
.channel:hover {
  text-decoration: none;
  border-color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 75.7%);
}
.channel h2 {
  font: bold 26px Arial;
  margin: 10px 0;
}
.channel > span:last-child {
  font-size: 13px;
}
footer {
  border-top: 1px solid hsl(var(--theme-hue) calc(21.5% * var(--theme-saturation)) 32%);
  padding: 24px;
  text-align: center;
  background: linear-gradient(
    hsl(var(--theme-hue) calc(31.5% * var(--theme-saturation)) 14.3%),
    hsl(var(--theme-hue) calc(45.9% * var(--theme-saturation)) 7.3%)
  );
}
footer > div {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}
footer b {
  font: italic bold 18px Arial;
  letter-spacing: 1px;
}
footer > div span,
footer nav {
  font-size: 13px;
  color: hsl(var(--theme-hue) calc(29.1% * var(--theme-saturation)) 75.1%);
}
footer p {
  font-size: 11px;
  color: hsl(var(--theme-hue) calc(18.4% * var(--theme-saturation)) 59.6%);
  margin: 14px 0;
}
.footer-badge {
  font: 10px var(--mono);
  border: 1px solid hsl(var(--theme-hue) calc(17.8% * var(--theme-saturation)) 39.6%);
  padding: 4px 8px;
  color: hsl(var(--theme-hue) calc(34.7% * var(--theme-saturation)) 71.2%);
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  background: #fff;
  color: #000;
  padding: 12px;
  z-index: 50;
}
.skip:focus {
  top: 12px;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--theme-hue) calc(39.3% * var(--theme-saturation)) 23.9%);
  border: 1px solid hsl(var(--theme-hue) calc(75.5% * var(--theme-saturation)) 71.2%);
  box-shadow: 0 4px 24px #000;
  padding: 12px 20px;
  z-index: 20;
  max-width: 90%;
  display: none;
}
#notice.visible {
  display: block;
}
.crt:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: repeating-linear-gradient(
    0deg,
    #0000001c 0,
    #0000001c 1px,
    transparent 1px,
    transparent 3px
  );
}
.page-heading {
  padding: 21px 20px;
  background: linear-gradient(
    120deg,
    hsl(var(--theme-hue) calc(45.3% * var(--theme-saturation)) 22.9%),
    hsl(var(--theme-hue) calc(43.9% * var(--theme-saturation)) 11.2%)
  );
  border: 1px solid hsl(var(--theme-hue) calc(23.3% * var(--theme-saturation)) 37.8%);
  margin-bottom: 16px;
}
.page-heading h1 {
  font: bold 31px Arial;
  margin: 10px 0;
}
.page-heading p {
  font-size: 15px;
  margin-bottom: 0;
  color: hsl(var(--theme-hue) calc(33.3% * var(--theme-saturation)) 79.4%);
}
.prose {
  padding: 22px;
}
.prose p {
  font-size: 16px;
  line-height: 1.8;
}
.prose h2 {
  margin-top: 36px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 24px;
}
.prose li {
  margin: 10px 0;
}
.searchbar {
  padding: 14px;
  background: hsl(var(--theme-hue) calc(42.4% * var(--theme-saturation)) 11.6%);
  border-bottom: 1px solid hsl(var(--theme-hue) calc(25.8% * var(--theme-saturation)) 34.9%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}
.searchbar label {
  font-size: 12px;
  color: hsl(var(--theme-hue) calc(36% * var(--theme-saturation)) 75.5%);
  flex: 1;
  min-width: 130px;
}
.searchbar input,
.searchbar select {
  display: block;
  width: 100%;
  margin-top: 5px;
  background: hsl(var(--theme-hue) calc(50% * var(--theme-saturation)) 6.3%);
  color: hsl(var(--theme-hue) calc(51.5% * var(--theme-saturation)) 93.5%);
  border: 1px solid hsl(var(--theme-hue) calc(19.6% * var(--theme-saturation)) 42%);
  padding: 9px;
  font-size: 14px;
}
.countline {
  padding: 10px 14px;
  font: 12px var(--mono);
  color: hsl(var(--theme-hue) calc(28.4% * var(--theme-saturation)) 71%);
  background: hsl(var(--theme-hue) calc(43.5% * var(--theme-saturation)) 9%);
}
.empty {
  padding: 30px 20px;
}
.support-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.support-options article {
  border: 1px solid hsl(var(--theme-hue) calc(24% * var(--theme-saturation)) 33.5%);
  background: hsl(var(--theme-hue) calc(42.9% * var(--theme-saturation)) 13.7%);
  padding: 18px;
}
.support-options p {
  font-size: 14px;
  line-height: 1.7;
}
.support-options h2 {
  font-size: 21px;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 96.5%);
}
.support-options .button {
  margin-top: 8px;
}
.note {
  font: 12px/1.7 var(--mono);
  color: hsl(var(--theme-hue) calc(26.6% * var(--theme-saturation)) 72.7%);
  border-left: 3px solid hsl(var(--theme-hue) calc(46.1% * var(--theme-saturation)) 54.9%);
  background: hsl(var(--theme-hue) calc(46.7% * var(--theme-saturation)) 8.8%);
  padding: 12px;
  margin-top: 20px;
}
.contact-email {
  font-size: clamp(16px, 2vw, 23px);
  overflow-wrap: anywhere;
}
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 10px;
  background: hsl(var(--theme-hue) calc(57.9% * var(--theme-saturation)) 7.5%);
  border: 1px solid hsl(var(--theme-hue) calc(23.4% * var(--theme-saturation)) 42%);
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 96.5%);
  max-width: 100%;
  width: 100%;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.video {
  position: relative;
  aspect-ratio: 16/9;
  background: hsl(var(--theme-hue) calc(52.4% * var(--theme-saturation)) 4.1%);
  border-bottom: 1px solid hsl(var(--theme-hue) calc(23.7% * var(--theme-saturation)) 33.9%);
}
.video button {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #000;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.video .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: hsl(var(--theme-hue) calc(74.8% * var(--theme-saturation)) 20.2% / 0.91);
  border: 1px solid hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 80.2%);
  padding: 14px 24px;
  white-space: nowrap;
}
.video iframe {
  height: 100%;
  width: 100%;
  border: 0;
}
.player-tools {
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.player-tools .button {
  font-size: 12px;
}
.credits {
  font-size: 13px;
  color: hsl(var(--theme-hue) calc(24.8% * var(--theme-saturation)) 73.9%);
  border-top: 1px solid hsl(var(--theme-hue) calc(22% * var(--theme-saturation)) 32.2%);
  padding-top: 16px;
}
.backlink {
  display: block;
  font: 12px var(--mono);
  margin-bottom: 12px;
}
.noscript {
  padding: 20px;
  text-align: center;
}
.about-mark {
  float: right;
  width: 135px;
  margin: 0 0 20px 22px;
}

.legalese-layout {
  display: grid;
  grid-template-columns: minmax(100px, 150px) 1fr;
  gap: 1.5rem;
  align-items: start;
}
.legalese-mark {
  width: 100%;
  height: auto;
}
@media (max-width: 620px) {
  .legalese-layout {
    grid-template-columns: 84px 1fr;
    gap: 1rem;
  }
}
.keyboard-hint {
  font: 12px var(--mono);
  color: hsl(var(--theme-hue) calc(26.9% * var(--theme-saturation)) 71.6%);
}
.easter {
  background: hsl(var(--theme-hue) calc(75% * var(--theme-saturation)) 4.7%);
  border: 1px solid hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 72.9%);
  padding: 22px;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 77.3%);
  font: 16px/1.7 var(--mono);
  position: fixed;
  inset: auto 20px 20px auto;
  max-width: 420px;
  z-index: 30;
  box-shadow: 0 10px 50px #000;
}
.easter button {
  float: right;
  background: none;
  border: 0;
  color: white;
  font-size: 20px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1550px) {
  .site {
    margin-top: 36px;
  }
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 168px minmax(0, 1fr);
  }
  .right {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .right .panel {
    margin: 0;
  }
  .spotlight h3 {
    font-size: 20px;
  }
  .hero-scene {
    height: 350px;
  }
  .site {
    margin: 12px;
  }
  .ticker > a {
    display: none;
  }
}
@media (max-width: 720px) {
  .site {
    margin: 0;
    border: 0;
  }
  .masthead {
    padding: 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 56px;
    height: 56px;
  }
  .wordmark {
    font-size: 23.2px;
  }
  .studios {
    font-size: 8.8px;
    letter-spacing: 4px;
  }
  .mast-right {
    display: none;
  }
  .topnav {
    flex-wrap: wrap;
  }
  .topnav a {
    flex: 1 1 30%;
    font-size: 12px;
    padding: 11px;
  }
  .ticker {
    font-size: 11px;
    align-items: flex-start;
    gap: 10px;
  }
  .layout {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 14px;
  }
  .left {
    order: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .left .panel {
    margin: 0;
  }
  .left .panel:nth-child(3) {
    grid-column: 1/-1;
  }
  .left .mini-badge,
  .left .aside-note {
    display: none;
  }
  main {
    order: 0;
  }
  .right {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-scene {
    height: 340px;
  }
  .hero-copy {
    padding: 27px 20px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .bar > span + span {
    display: none;
  }
  .release-row {
    grid-template-columns: 104px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 14px 10px;
  }
  .release-row h3 {
    font-size: 15px;
  }
  .release-row p {
    display: none;
  }
  .row-art img {
    width: 104px;
  }
  .meta {
    font-size: 10px;
  }
  .feature-caption {
    font-size: 9px;
  }
  .feature-caption > span:last-child {
    display: none;
  }
  .support-options {
    grid-template-columns: 1fr;
  }
  .prose {
    padding: 17px;
  }
  .page-heading {
    padding: 18px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .channel-grid {
    gap: 10px;
  }
  .channel {
    padding: 15px 12px;
  }
  .channel .meta {
    font-size: 10px;
  }
  .channel h2 {
    font-size: 23px;
  }
  .channel > span:last-child {
    font-size: 12px;
  }
  footer > div {
    flex-direction: column;
    gap: 6px;
  }
  .utility {
    font-size: 10px;
    padding: 7px 10px;
  }
  .player-tools {
    flex-wrap: wrap;
  }
  .right .inset {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .left,
  .right,
  .topnav,
  .utility,
  .ticker,
  footer,
  .save {
    display: none;
  }
  .layout {
    display: block;
  }
  .site {
    border: 0;
    box-shadow: none;
    margin: 0;
  }
  .panel,
  .prose,
  .release-row {
    background: white;
    color: black;
  }
  a {
    color: hsl(var(--theme-hue) calc(68.6% * var(--theme-saturation)) 27.5%);
  }
}
@media (max-width: 720px) {
  .feature > .bar > span {
    display: none;
  }
  .feature > .bar {
    min-height: 35px;
  }
  .welcome p {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .brand img {
    width: 44.8px;
    height: 44.8px;
  }
  .wordmark {
    font-size: 20px;
  }
  .studios {
    letter-spacing: 2.4px;
  }
  .utility {
    letter-spacing: 0;
  }
  .right,
  .left {
    grid-template-columns: 1fr;
  }
  .channel-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 34px;
  }
}

/* The original game faces supply the identity; terminal type handles the UI. */
@font-face {
  font-family: Rajdhani;
  src: url("fonts/rajdhani-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Denton;
  src: url("fonts/denton.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Unreal;
  src: url("fonts/unreal-tournament.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --heading: Rajdhani, "Trebuchet MS", sans-serif;
  --display: Denton, "Courier New", monospace;
  --arena: Unreal, Georgia, serif;
  --mono: "Lucida Console", Monaco, "Courier New", monospace;
}
.masthead {
  padding: 6.4px 22.4px;
  min-height: 112px;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, #ffffff03 2px, #ffffff03 3px),
    radial-gradient(
      ellipse at 29% 100%,
      hsl(var(--theme-hue) calc(62.6% * var(--theme-saturation)) 24.1% / 0.502),
      transparent 65%
    ),
    linear-gradient(
      105deg,
      hsl(var(--theme-hue) calc(63.6% * var(--theme-saturation)) 4.3%),
      hsl(var(--theme-hue) calc(47.5% * var(--theme-saturation)) 12%) 68%,
      hsl(var(--theme-hue) calc(58.6% * var(--theme-saturation)) 5.7%)
    );
}
.brand {
  gap: 12.8px;
  min-width: 0;
}
.brand > div {
  min-width: 0;
}
.brand img {
  width: 96px;
  height: 97.6px;
  flex-shrink: 0;
  filter: drop-shadow(
    0 0 12px hsl(var(--theme-hue) calc(81.9% * var(--theme-saturation)) 45.5% / 0.18)
  );
}
.wordmark {
  font: 400 clamp(22.4px, 2.24vw, 28.8px) / 1.2 var(--display);
  letter-spacing: 0.4px;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 92%);
  text-shadow:
    0 2px 0 #000,
    0 0 24px hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 70.6% / 0.149);
  white-space: nowrap;
}
.studios {
  display: flex;
  align-items: center;
  gap: 12.8px;
  font: 400 25.6px/1.2 var(--arena);
  letter-spacing: 2.4px;
  color: hsl(var(--theme-hue) calc(100% * var(--theme-saturation)) 75.5%);
  margin: 4.8px 2.4px 0;
  text-shadow: 0 2px 1px #000;
}
.studios:before,
.studios:after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(var(--theme-hue) calc(39.2% * var(--theme-saturation)) 49%)
  );
}
.studios:after {
  background: linear-gradient(
    90deg,
    hsl(var(--theme-hue) calc(39.2% * var(--theme-saturation)) 49%),
    transparent
  );
}
.mast-right {
  margin-left: 24px;
}
.mast-right .mono {
  font: 600 16px/1.55 var(--heading);
  letter-spacing: 1.3px;
  color: hsl(var(--theme-hue) calc(41.8% * var(--theme-saturation)) 73.7%);
}
.topnav a {
  font: 400 17px/1.4 var(--display);
  letter-spacing: 0.6px;
  padding: 12px 8px;
}
.bar {
  font: 600 16px/1.35 var(--heading);
  letter-spacing: 1px;
  padding: 9px 10px;
}
.bar a,
.bar > span + span {
  font: 12px/1.5 var(--mono);
}
.directory a,
.button,
.text-link,
.contact-form label {
  font-family: var(--mono);
}
.directory a {
  font-size: 14px;
}
.button {
  font-size: 14px;
}
.button.small {
  font-size: 12px;
}
.hero-copy h1 {
  font: 600 48px/1.06 var(--heading);
  letter-spacing: 0.3px;
  text-shadow:
    0 3px 2px hsl(var(--theme-hue) calc(81% * var(--theme-saturation)) 4.1%),
    0 0 18px #000;
  margin: 15px 0;
}
.hero-copy {
  max-width: 440px;
}
.hero-scene {
  min-height: 360px;
}
.hero-copy p {
  font-family: var(--mono);
  font-size: 14px;
}
.welcome h2,
.prose h2,
.empty h2,
.support-options h2 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.35;
}
.welcome h2 {
  font-size: 25px;
}
.page-heading h1 {
  font: 600 32px/1.25 var(--heading);
  overflow-wrap: anywhere;
}
body[data-page="unreal"] .page-heading h1 {
  font-family: var(--heading);
}
body[data-page="deus-ex"] .page-heading h1 {
  letter-spacing: 2px;
}
.release-row h3 {
  font: 600 21px/1.3 var(--heading);
}
.spotlight h3 {
  font: 600 27px/1.2 var(--heading);
}
.channel.deus h2 {
  font: 600 32px/1.3 var(--heading);
}
.channel.unreal h2 {
  font: 600 32px/1.3 var(--heading);
}
footer b {
  font: 400 21px/1.4 var(--display);
  letter-spacing: 0.5px;
}
@media (max-width: 1100px) {
  .wordmark {
    font-size: 27.2px;
  }
  .brand img {
    width: 88px;
    height: 89.6px;
  }
  .brand {
    gap: 12.8px;
  }
  .mast-right .mono {
    font-size: 13px;
  }
  .mast-right {
    margin-left: 15px;
  }
}
@media (max-width: 850px) {
  .mast-right {
    display: none;
  }
  .masthead {
    min-height: 102.4px;
  }
  .wordmark {
    font-size: 27.2px;
  }
}
@media (max-width: 720px) {
  .masthead {
    padding: 8px 12px;
    min-height: 89.6px;
  }
  .brand {
    gap: 10.4px;
    width: 100%;
  }
  .brand img {
    width: 68.8px;
    height: 70.4px;
  }
  .wordmark {
    font-size: clamp(17.6px, 3.84vw, 23.2px);
    letter-spacing: 0;
  }
  .studios {
    font-size: 20px;
    letter-spacing: 1.6px;
    gap: 8px;
    margin-top: 3.2px;
  }
  .topnav a {
    font-size: 15px;
    padding: 12px 6px;
  }
  .hero-copy h1 {
    font-size: 41px;
  }
  .hero-scene {
    height: 365px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .release-row h3 {
    font-size: 19px;
  }
  .bar {
    font-size: 15px;
  }
  .welcome h2 {
    font-size: 23px;
  }
  .channel.unreal h2 {
    font-size: 32px;
  }
}
@media (max-width: 360px) {
  .brand img {
    width: 59.2px;
    height: 60.8px;
  }
  .brand {
    gap: 8px;
  }
  .wordmark {
    font-size: 17.6px;
  }
  .studios {
    font-size: 17.6px;
    letter-spacing: 0.8px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-copy {
    padding: 25px 16px;
  }
  .hero-scene {
    min-height: 365px;
  }
  .bar {
    font-size: 15px;
  }
  .topnav a {
    font-size: 14px;
  }
  .masthead {
    padding: 8px 9.6px;
    min-height: 83.2px;
  }
}

.inset h3 {
  font: 600 21px/1.3 var(--heading);
}

/* Keep the longer Infolink labels within the original sidebar. */
.mini-badge {
  width: calc(100% - 12px);
  max-width: 178px;
  padding: 6px 3px;
}
.mini-badge b {
  font: 600 16px/1.25 var(--heading);
  text-transform: uppercase;
}
.mini-badge span {
  display: block;
  font: 600 12px/1.4 var(--heading);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
@media (max-width: 1100px) and (min-width: 721px) {
  .release-row {
    grid-template-columns: 128px minmax(0, 1fr) 28px;
  }
  .row-art img {
    width: 128px;
  }
}

/* Establishment date at left; display controls at right. */
.utility {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.spotlight img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

/* Keep both display controls together, with room to wrap on small screens. */
.utility > div {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
}
.theme-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 12px var(--mono);
  color: var(--muted);
}
.theme-control select {
  width: 124px;
  min-height: 30px;
  padding: 3px 7px;
  border: 1px solid var(--edge);
  border-radius: 0;
  background: var(--panel);
  color: var(--blue);
  font: 14px var(--mono);
  cursor: pointer;
}
@media (max-width: 480px) {
  .utility {
    padding: 7px 12px;
  }
  .utility > div {
    column-gap: 9px;
  }
  .theme-control {
    margin-left: auto;
  }
  .theme-control select {
    width: 112px;
  }
}

/* Keep the controls distinct and the archive inside the existing column. */
.utility .display-controls {
  margin-left: auto;
  flex-wrap: nowrap;
  column-gap: 0;
}
.utility .sep {
  margin: 0 2ch;
}
.utility [data-crt], .theme-control {
  white-space: nowrap;
}
.theme-control select {
  width: 142px;
}
.archive-panel {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.row-art img {
  aspect-ratio: 16 / 9;
  padding: 0;
}
@media (max-width: 480px) {
  .utility .sep { margin: 0 1.5ch; }
  .theme-control select { width: 128px; }
}

/* A distinct, readable network accent for each palette. */
:root { --network-accent: #ffffff; }
:root[data-theme="skynet"] { --network-accent: #ffd0c7; }
:root[data-theme="ion-storm"] { --network-accent: #a6d986; }
:root[data-theme="liandri"] { --network-accent: #fff1ba; }
:root[data-theme="nicolette"] { --network-accent: #f1d4ff; }
:root[data-theme="metal"] { --network-accent: #d5ecff; }
.utility .network-name {
  color: var(--network-accent);
  font-weight: 700;
}

/* Separate paragraphs and topic sections without spreading out track listings. */
.prose > p {
  margin-bottom: 24px;
}
.prose > h2 {
  margin-bottom: 16px;
}
.prose > h2:first-child {
  margin-top: 0;
}
.prose > .actions + h2,
.prose > .button + h2 {
  margin-top: 36px;
}
.button[data-shuffle] {
  width: auto;
  max-width: 100%;
  padding: 7px 9px;
  font-size: 12px;
}
.hero-copy .button {
  width: auto;
  padding: 8px 12px;
}

/* Separate the revealed address from its copy action. */
[data-copy-email] {
  margin-inline-start: 0.75em;
}

/* A little extra separation between sidebar panels at each layout size. */
@media (min-width: 721px) {
  .left > .panel { margin-bottom: 20px; }
}
@media (min-width: 1101px) {
  .right > .panel { margin-bottom: 20px; }
}
@media (max-width: 1100px) {
  .right { row-gap: 16px; }
}
@media (max-width: 720px) {
  .left { row-gap: 16px; }
}

/* Compact ticker spacing, with one character less after its label. */
.ticker b { margin-inline-end: -1ch; }
.project-inquiry { margin-bottom: 16px; }
body[data-page="community"] .actions > .button {
  width: 154px;
  max-width: 100%;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.4;
}

body[data-page="community"] .actions > a[href="favorites.html"] {
  width: auto;
}
