* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #181e22;
  color: #eee7d8;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
header,
main,
footer {
  max-width: 1480px;
  margin: auto;
  padding-left: 4vw;
  padding-right: 4vw;
}
header {
  height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddddc322;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 41px;
  font-weight: 800;
  letter-spacing: -2px;
}
.brand > span {
  font-size: 24px;
  letter-spacing: -1px;
  margin-top: 10px;
}
.brand > i {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 2px;
  margin: 13px 0 0 21px;
  color: #abaea3;
}
.local {
  text-align: right;
  font-size: 9px;
  letter-spacing: 1.8px;
}
.local > span {
  display: inline-block;
  background: #b6c194;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 9px;
}
.local > small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #7b8a89;
  margin-top: 9px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 34px 0 32px;
  gap: 40px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #c4a779;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(48px, 4.8vw, 68px);
  line-height: 0.99;
  letter-spacing: -3.5px;
  font-weight: 500;
  margin: 0;
}
h1 em {
  font-style: normal;
  color: #b6b8a8;
}
.intro-note {
  padding-bottom: 3px;
}
.intro-note p {
  font-size: 14px;
  line-height: 1.7;
  color: #bbc0b7;
  margin: 0 0 25px;
}
.intro-note > span {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #7d8d8b;
}
.collection-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d4d7b92c;
  padding: 20px 0;
  font-size: 9px;
  letter-spacing: 1.8px;
}
.collection-bar > span:last-child {
  color: #9fa795;
}
#refresh {
  color: #c4a779;
  background: transparent;
  border: 0;
  font-size: 19px;
  margin-left: 14px;
  cursor: pointer;
  vertical-align: middle;
}
#refresh:focus-visible {
  outline: 2px solid #c4a779;
  outline-offset: 4px;
}
.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
}
.game {
  border-bottom: 1px solid #d7d5b73e;
  min-width: 0;
}
.preview {
  aspect-ratio: 1.48;
  background: linear-gradient(135deg, #3c5657, #26343b);
  position: relative;
  overflow: hidden;
}
.preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.game:hover .preview > img {
  transform: scale(1.035);
}
.preview:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#101d2844, transparent 40%, #101d2833);
  pointer-events: none;
}
.number {
  position: absolute;
  top: 12px;
  left: 13px;
  font-size: 11px;
  color: #f2e4c4;
  z-index: 1;
  text-shadow: 0 1px 6px #102434;
}
.badge {
  position: absolute;
  right: 10px;
  top: 11px;
  font-size: 7px;
  letter-spacing: 1px;
  padding: 5px 7px;
  background: #182d37ce;
  color: #e6d0a4;
  z-index: 1;
}
.details {
  padding: 20px 0 0;
}
.genre {
  font-size: 8px;
  color: #b5a881;
  letter-spacing: 1.6px;
  margin: 0 0 9px;
}
h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 11px;
}
.description {
  font-size: 12px;
  line-height: 1.6;
  color: #929f9d;
  height: 39px;
  margin: 0 0 24px;
  max-width: 270px;
}
.play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d7d5b721;
  padding: 15px 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  transition: color 0.2s;
}
.play > span {
  font-size: 23px;
  line-height: 1;
}
.play:hover {
  color: #efc987;
}
.play:focus-visible {
  outline: 2px solid #dcc08b;
  outline-offset: 4px;
}
.play.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.prompt-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 15px;
  border: 0;
  border-top: 1px solid #d7d5b721;
  background: transparent;
  color: #bfb393;
  font: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.prompt-link > span {
  font-size: 18px;
  line-height: 1;
}
.prompt-link:hover {
  color: #efc987;
}
.prompt-link:focus-visible,
.prompt-close:focus-visible,
.prompt-footer a:focus-visible,
.prompt-footer button:focus-visible {
  outline: 2px solid #dcc08b;
  outline-offset: 3px;
}
.prompt-dialog {
  width: min(900px, calc(100% - 32px));
  max-height: min(88dvh, 920px);
  padding: 0;
  border: 1px solid #c4a77980;
  background: #1b2327;
  color: #eee7d8;
  box-shadow: 0 28px 100px #060b0dcc;
}
.prompt-dialog[open] {
  display: flex;
  flex-direction: column;
}
.prompt-dialog::backdrop {
  background: #080e12dc;
}
.prompt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px 12px;
}
.prompt-eyebrow {
  margin: 0 0 11px;
  color: #c4a779;
  font-size: 9px;
  letter-spacing: 1.8px;
}
.prompt-header h2 {
  margin: 0;
  font-size: 29px;
}
.prompt-close {
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: #eee7d8;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}
.prompt-intro {
  margin: 0;
  padding: 0 32px 23px;
  color: #aab9b4;
  font-size: 12px;
  line-height: 1.6;
}
.prompt-body {
  min-height: 0;
  overflow: auto;
  padding: 26px 32px;
  border-top: 1px solid #d7d5b721;
  border-bottom: 1px solid #d7d5b721;
  background: #161e22;
}
.prompt-body pre {
  margin: 0;
  color: #d9dfd8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prompt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 32px;
  color: #c4a779;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.prompt-footer a:hover,
.prompt-footer button:hover {
  color: #efc987;
}
.prompt-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.motif {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 115px;
  line-height: 1;
  color: #d3b87d88;
}
.game-ashfall .preview {
  background: linear-gradient(135deg, #6e5145, #2f3538);
}
.game-breachline .preview {
  background: linear-gradient(135deg, #557373, #273a45);
}
.game-protocol .preview {
  background: linear-gradient(135deg, #596767, #30363b);
}
.game-crownfall .preview {
  background: linear-gradient(135deg, #5c7564, #2b383f);
}
.game-skybreak .preview {
  background: linear-gradient(135deg, #73959b, #32454e);
}
.game-meridian .preview {
  background: linear-gradient(135deg, #ba9870, #3d6160);
}
.game-farestorm .preview {
  background: linear-gradient(135deg, #c09351, #367171);
}
.footnote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  margin-top: 65px;
  padding: 32px 0;
  border-top: 1px solid #ddddc322;
}
.footnote b {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #bfb393;
}
.footnote p {
  font-size: 12px;
  line-height: 1.7;
  color: #83938f;
  max-width: 480px;
}
.footnote code {
  font-size: 11px;
  color: #bbc0aa;
}
.footnote a {
  color: #bbc0aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer {
  padding-top: 23px;
  padding-bottom: 34px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #637a78;
}
@media (min-width: 1600px) {
  header,
  main,
  footer {
    padding-left: 35px;
    padding-right: 35px;
  }
}
@media (max-width: 1050px) {
  .games {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 25px;
  }
  .preview {
    aspect-ratio: 1.8;
  }
  .intro-note {
    max-width: 230px;
  }
  .intro-note p {
    font-size: 12px;
  }
  h1 {
    font-size: 63px;
  }
}
@media (max-width: 650px) {
  header {
    height: 88px;
  }
  .brand > i {
    display: none;
  }
  .local > small {
    display: none;
  }
  .intro {
    display: block;
    padding: 42px 0 34px;
  }
  h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }
  .intro-note {
    max-width: none;
    margin-top: 25px;
  }
  .intro-note p {
    margin-bottom: 14px;
  }
  .games {
    grid-template-columns: 1fr;
  }
  .preview {
    aspect-ratio: 1.8;
  }
  .description {
    height: auto;
    max-width: none;
  }
  .footnote {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 45px;
  }
  .prompt-header {
    padding: 22px 20px 10px;
  }
  .prompt-intro {
    padding: 0 20px 18px;
  }
  .prompt-body {
    padding: 20px;
  }
  .prompt-footer {
    padding: 16px 20px;
  }
  footer {
    display: block;
    line-height: 2.2;
  }
  footer > span {
    display: block;
  }
}
