* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: #050505;
  color: #f2f2f2;
}

html, body { min-height: 100%; margin: 0; }
body { background: #050505; }
a { color: inherit; }

.store { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.store-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #292929;
}
.wordmark { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-decoration: none; }
.wordmark span { color: #929292; font-weight: 500; }
.support-link { font-size: 13px; color: #c4c4c4; text-decoration: none; }
.support-link:hover, .support-link:focus-visible { color: #fff; text-decoration: underline; }

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 42px 0 72px;
}
.product { min-width: 0; }
.cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111;
  border: 1px solid #292929;
}
.product-info { padding-top: 17px; }
h1, h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 650; }
.product-info p { margin: 7px 0 19px; color: #9b9b9b; font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.action, .availability {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid #555;
  font-size: 13px;
  text-decoration: none;
}
.action { background: #e7e7e7; color: #080808; border-color: #e7e7e7; }
.action:hover { background: #fff; border-color: #fff; }
.action:focus-visible, .support-link:focus-visible, .wordmark:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.availability { color: #999; border-color: #333; }

.make { border-top: 1px solid #292929; padding: 42px 0 72px; }
.make h2 { font-size: 19px; }
.auth-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  border: 1px solid #292929;
  background: #111;
  padding: 17px;
}
.panel label { display: block; margin: 12px 0; font-size: 13px; color: #c4c4c4; }
.panel input, .panel textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 40px;
  padding: 0 13px;
  background: #050505;
  color: #f2f2f2;
  border: 1px solid #555;
  font: inherit;
}
.panel button { cursor: pointer; font: inherit; }
.warning { color: #fff; min-height: 1.4em; }
.games-list { list-style: none; margin: 24px 0 0; padding: 0; }
.games-list li { border-top: 1px solid #292929; padding: 12px 0; }
.games-list a { color: #fff; }

@media (max-width: 720px) {
  .store { width: min(100% - 32px, 460px); }
  .catalog { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  .cover { aspect-ratio: 16 / 9; }
  .auth-forms { grid-template-columns: 1fr; }
}
