/* Shield palette from host/theme.py; local system fonts; all spacing uses the documented scale. */
:root {
  color-scheme: dark;
  --bg: #0e0f18;
  --surface: #151620;
  --surface-high: #1d1f2a;
  --line: #333747;
  --text: #f0f6fa;
  --muted: #afbdc6;
  --soft: #8f9caa;
  --blue: #2452ef;
  --blue-hover: #4c7dff;
  --link: #9bd7ff;
  --error: #ffb4ba;
  --radius: 12px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s6: 24px;
  --s8: 32px;
  --s12: 48px;
  --s16: 64px;
  --s24: 96px;
  --s32: 128px;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.35;
}
h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}
h2 {
  font-size: 32px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 20px;
}
p {
  color: var(--muted);
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  color: inherit;
}
a,
button,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 5px;
}
input:focus-visible {
  outline-offset: 2px;
}
::selection {
  background: var(--blue);
  color: white;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.lead {
  font-size: 20px;
  line-height: 1.9;
  max-width: 36em;
}
.icon {
  display: inline-block;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 1000;
  background: var(--blue);
  padding: 12px 24px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.page-kicker {
  font-size: 14px;
  color: var(--link);
  margin-bottom: 24px;
}
.muted {
  color: var(--muted);
}
.site-header {
  height: 88px;
  border-bottom: 1px solid #252839;
  background: var(--bg);
  position: relative;
  z-index: 20;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.brand span {
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 600;
  line-height: 1;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  font-size: 14px;
}
.main-nav a {
  color: var(--muted);
  padding-block: 12px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: var(--text);
}
.nav-spacer {
  flex: 1;
}
.main-nav .shop-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
}
.shop-nav .icon {
  width: 16px;
  height: 16px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.button.primary {
  background: var(--blue);
  color: #fff;
}
.button.primary:hover {
  background: #0c2fd0;
}
.button.primary:disabled {
  background: var(--surface-high);
  color: var(--muted);
  border-color: var(--line);
}
.button.secondary {
  background: var(--surface);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--surface-high);
  border-color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--link);
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-link .icon {
  width: 18px;
  height: 18px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 32px;
  min-height: 628px;
  align-items: center;
  padding-block: 64px;
  overflow: visible;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--text);
}
.brand-line {
  height: 2px;
  width: 24px;
  background: var(--blue-hover);
}
.hero h1 {
  font-size: clamp(48px, 4.9vw, 72px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.hero-intro {
  font-size: 18px;
  line-height: 1.9;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.hero-note {
  font-size: 14px;
  margin-top: 24px;
  color: var(--muted);
}
.purchase-note {
  font-size: 12px;
  color: var(--soft);
  padding-top: 16px;
}
.game-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--surface-high);
  border-left: 3px solid var(--link);
  color: var(--text);
  line-height: 1.8;
}
.density-compact .game-grid {
  gap: 16px;
}
.density-compact .game-body {
  padding: 20px;
}
.game-meta {
  flex-wrap: wrap;
}
.game-shelf {
  position: relative;
  height: 460px;
  isolation: isolate;
}
.shelf-card {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-high);
  border: 1px solid #404559;
  box-shadow: 0 24px 48px #0007;
  transition:
    transform 0.24s,
    border-color 0.24s;
}
.shelf-card img {
  width: 100%;
  aspect-ratio: 2.15;
  object-fit: cover;
}
.shelf-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 12px;
}
.shelf-caption strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.shelf-caption span {
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
}
.shelf-caption svg {
  width: 16px;
  height: 16px;
}
.shelf-1 {
  width: 82%;
  left: 4%;
  top: 24px;
  z-index: 3;
  transform: rotate(-5deg);
}
.shelf-2 {
  width: 73%;
  right: -2%;
  top: 168px;
  z-index: 2;
  transform: rotate(6deg);
}
.shelf-3 {
  width: 55%;
  left: -4%;
  top: 276px;
  z-index: 4;
  transform: rotate(-3deg);
}
.shelf-3 .shelf-caption span {
  display: none;
}
.shelf-card:hover {
  z-index: 5;
  transform: rotate(0) translateY(-8px);
  border-color: var(--link);
}
.shelf-footnote {
  position: absolute;
  right: 8px;
  bottom: -8px;
  color: var(--soft);
  font-size: 12px;
}
.feature-strip {
  border-block: 1px solid var(--line);
  padding-block: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: center;
}
.feature-item > .icon {
  color: var(--link);
  width: 24px;
  height: 24px;
}
.feature-item h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.feature-item p {
  font-size: 12px;
  margin-top: 4px;
  color: var(--soft);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}
.section-heading p {
  margin-top: 12px;
  font-size: 14px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 264px;
  background: var(--surface);
  height: 48px;
}
.search-box .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  color: var(--text);
  background: none;
  font-size: 14px;
  outline: none;
}
.search-box:focus-within {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
.search-box kbd {
  border: 1px solid var(--line);
  padding: 0 6px;
  border-radius: 4px;
  color: var(--soft);
  font: 12px var(--font);
}
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  font-size: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px;
  min-height: 44px;
  white-space: nowrap;
}
.filter:hover {
  background: var(--surface);
}
.filter.active {
  background: var(--surface-high);
  border-color: var(--line);
  color: var(--text);
}
.result-count {
  font-size: 12px;
  color: var(--soft);
  white-space: nowrap;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.game-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.game-cover {
  display: block;
  position: relative;
  overflow: hidden;
}
.game-cover img {
  width: 100%;
  aspect-ratio: 2.15;
  object-fit: cover;
  transition: transform 0.35s;
}
.cover-open {
  position: absolute;
  inset: auto 16px 12px auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  background: #0e0f18e8;
  opacity: 0;
  transition: opacity 0.16s;
}
.cover-open .icon {
  width: 16px;
  height: 16px;
}
.game-card:hover .cover-open,
.game-card:focus-within .cover-open {
  opacity: 1;
}
.game-card:hover .game-cover img {
  transform: scale(1.035);
}
.game-body {
  padding: 24px;
}
.game-meta {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  color: var(--soft);
  font-size: 12px;
  margin-bottom: 12px;
}
.game-meta span:last-child {
  color: var(--link);
}
.game-body h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.game-body h3 a:hover {
  color: var(--link);
}
.game-body > p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
  min-height: 51px;
}
.game-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #252839;
}
.game-bottom span {
  font-size: 12px;
  color: var(--soft);
}
.game-bottom a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  min-height: 44px;
  margin: -6px -12px -6px 0;
  color: var(--muted);
}
.game-bottom a:hover {
  color: var(--link);
}
.library-note {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: var(--soft);
}
.empty-state {
  text-align: center;
  background: var(--surface);
  padding: 64px 24px;
  border-radius: 12px;
}
.empty-state > .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--muted);
}
.empty-state h3 {
  font-size: 24px;
}
.empty-state p {
  margin-top: 12px;
}
.empty-state .button {
  margin-top: 24px;
}
.getting-started {
  background: var(--surface);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  margin-top: 48px;
}
.steps li {
  position: relative;
}
.step-number {
  display: block;
  font-size: 14px;
  color: var(--link);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 24px;
}
.steps h3 {
  font-size: 20px;
}
.steps p {
  font-size: 14px;
  margin-top: 12px;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 80px;
}
.closing h2 {
  font-size: 32px;
}
.closing p {
  margin-top: 12px;
  font-size: 14px;
}
.closing .button {
  flex-shrink: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-top p {
  font-size: 14px;
  color: var(--soft);
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--soft);
}
.footer-bottom span:nth-child(2) {
  margin-left: auto;
}
.download-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 64px 48px;
  gap: 48px;
}
.download-intro h1 {
  font-size: clamp(40px, 4vw, 56px);
}
.download-intro .lead {
  margin-top: 24px;
  font-size: 16px;
}
.download-emblem {
  width: 320px;
  height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  flex-shrink: 0;
}
.download-emblem .shield-sculpture {
  width: 176px;
  height: 192px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 24px #0b122e);
}
.download-emblem > span {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-top: 0;
}
.emblem-orbit {
  position: absolute;
  border: 1px solid #292e40;
  width: 272px;
  height: 272px;
  border-radius: 50%;
  transform: rotateX(24deg);
  z-index: -1;
}
.emblem-orbit:after {
  content: '';
  inset: 24px;
  border: 1px solid #1d2231;
  border-radius: 50%;
  position: absolute;
}
.download-content {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
  gap: 48px;
  align-items: start;
}
.release-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}
.release-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--surface-high);
  border-radius: 8px;
}
.platform-icon svg {
  width: 24px;
  height: 24px;
  color: var(--link);
}
.release-heading h2 {
  font-size: 24px;
}
.release-heading p {
  font-size: 12px;
  margin-top: 4px;
}
.status-tag {
  margin-left: auto;
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--link);
  white-space: nowrap;
}
.release-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
  margin-block: 32px;
}
.release-meta dt {
  font-size: 12px;
  color: var(--soft);
}
.release-meta dd {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.download-action {
  display: flex;
  align-items: center;
  gap: 24px;
}
.download-action > span {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.8;
}
.release-notice {
  font-size: 12px;
  margin-top: 16px;
}
.checksum {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.checksum-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.checksum h3 {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.copy-button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12px;
  color: var(--link);
  padding: 8px;
}
.copy-button .icon {
  width: 16px;
  height: 16px;
}
.checksum > code {
  display: block;
  font-family: Consolas, monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  user-select: all;
  color: var(--text);
}
.copy-status:empty {
  display: none;
}
.copy-status {
  font-size: 12px;
  margin-top: 8px;
  color: var(--link);
}
.download-aside {
  padding-top: 16px;
}
.official-note > .icon {
  width: 32px;
  height: 32px;
  color: var(--link);
  margin-bottom: 16px;
}
.official-note h2 {
  font-size: 20px;
}
.official-note p {
  font-size: 14px;
  margin-top: 12px;
  max-width: 20em;
}
.official-note a {
  margin-top: 12px;
}
.before-start {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}
.before-start h3 {
  font-size: 16px;
}
.check-list {
  list-style: none;
  margin-top: 16px;
}
.check-list li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
}
.check-list .icon {
  width: 16px;
  height: 16px;
  color: var(--link);
}
.before-start > a {
  margin-top: 16px;
}
.changelog {
  max-width: 1200px;
  padding-top: 64px;
}
.changelog-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.changelog-entry time {
  font-size: 12px;
  color: var(--soft);
}
.changelog-entry h3 {
  margin-top: 8px;
  font-size: 20px;
}
.changelog-entry h3 span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.changelog-entry ul {
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
}
.changelog-entry li {
  margin-bottom: 8px;
}
.verify-help {
  border-block: 1px solid var(--line);
  margin-top: 24px;
}
.verify-help summary {
  padding: 24px 0;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.verify-help > div {
  padding-bottom: 24px;
  max-width: 720px;
}
.verify-help p {
  font-size: 14px;
}
.verify-help pre {
  padding: 16px 24px;
  background: var(--surface);
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.register-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
  padding-block: 64px 96px;
}
.register-story {
  padding-top: 16px;
  min-width: 0;
}
.register-story h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.4;
}
.register-story .lead {
  font-size: 16px;
  margin-top: 24px;
}
.account-promises {
  margin-top: 32px;
}
.account-promises p {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  margin-top: 16px;
}
.account-promises .icon {
  width: 20px;
  height: 20px;
  color: var(--link);
}
.register-art {
  height: 224px;
  position: relative;
  margin-top: 48px;
}
.register-art img {
  position: absolute;
  width: 64%;
  border-radius: 8px;
  border: 1px solid #404559;
  box-shadow: 0 16px 32px #0005;
  aspect-ratio: 2.15;
  object-fit: cover;
}
.register-art img:first-child {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}
.register-art img:last-child {
  bottom: 24px;
  right: 0;
  transform: rotate(5deg);
}
.story-caption {
  font-size: 12px;
  color: var(--soft);
}
.register-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  background: var(--surface);
  min-width: 0;
}
.form-heading h2 {
  font-size: 24px;
}
.form-heading p {
  font-size: 14px;
  margin-top: 8px;
}
.form-notice {
  font-size: 12px;
  line-height: 1.8;
  padding: 12px 16px;
  margin-top: 24px;
  border-left: 2px solid var(--blue-hover);
  background: var(--surface-high);
  color: var(--muted);
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-group {
  margin-top: 24px;
}
.form-group > label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  padding: 12px 16px;
  color: var(--text);
  font-size: 16px;
  min-width: 0;
}
.form-group input::placeholder {
  color: var(--soft);
  font-size: 14px;
}
.form-group input:disabled {
  opacity: 0.7;
}
.form-group input[aria-invalid='true'] {
  border-color: var(--error);
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 64px;
}
.password-input button {
  position: absolute;
  right: 4px;
  top: 2px;
  height: 44px;
  min-width: 52px;
  padding: 8px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12px;
}
.password-input button:hover {
  color: var(--text);
}
.field-hint {
  font-size: 12px;
  color: var(--soft);
  margin-top: 8px;
}
.field-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 8px;
}
.field-error:empty {
  display: none;
}
.consent-group {
  margin-block: 24px;
}
.consent-row {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  min-height: 44px;
}
.consent-row input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
  margin: 0;
}
.consent-row label {
  font-size: 14px;
  line-height: 2;
  padding-block: 8px;
  color: var(--muted);
  cursor: pointer;
}
.consent-row a {
  color: var(--link);
}
.consent-row a:hover {
  text-decoration: underline;
}
.form-submit {
  width: 100%;
}
.form-status {
  font-size: 14px;
  line-height: 1.8;
  color: var(--error);
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.form-status:empty {
  display: none;
}
.form-footer {
  font-size: 12px;
  margin-top: 24px;
  text-align: center;
}
.form-footer a {
  color: var(--link);
}
.registration-success {
  padding-block: 48px;
  text-align: center;
}
.registration-success > .icon {
  width: 48px;
  height: 48px;
  color: var(--link);
  margin-bottom: 24px;
}
.registration-success h3 {
  font-size: 24px;
}
.registration-success p {
  font-size: 14px;
  margin-top: 16px;
}
.registration-success a {
  margin-top: 24px;
}
.form-submit[aria-busy='true']::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid #fff7;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.guide-intro,
.terms-intro {
  padding-block: 64px 48px;
}
.guide-intro h1,
.terms-intro h1 {
  font-size: 48px;
}
.guide-intro .lead {
  font-size: 16px;
  margin-top: 24px;
}
.guide-layout,
.terms-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 64px;
}
.guide-nav,
.terms-nav {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 32px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.guide-nav a,
.terms-nav a {
  font-size: 14px;
  color: var(--muted);
  padding-block: 8px;
}
.guide-nav a:hover,
.terms-nav a:hover {
  color: var(--link);
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  list-style: none;
  padding-block: 24px;
}
.faq-list details > div {
  padding-bottom: 24px;
  max-width: 42em;
}
.faq-list p {
  font-size: 14px;
  line-height: 1.9;
}
.faq-list a {
  margin-top: 8px;
}
.faq-list summary > .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
details[open] > summary > .icon {
  transform: rotate(180deg);
}
summary::-webkit-details-marker {
  display: none;
}
.terms-body {
  font-size: 16px;
  max-width: 48em;
}
.terms-body h2 {
  font-size: 24px;
  margin-bottom: 24px;
}
.terms-body h3 {
  font-size: 20px;
  line-height: 1.6;
  margin: 40px 0 16px;
}
.terms-body p {
  margin-top: 16px;
  line-height: 2;
  color: var(--muted);
}
.terms-body ul {
  padding-left: 20px;
  margin-block: 16px;
  color: var(--muted);
}
.terms-body a:not(.button) {
  color: var(--link);
  overflow-wrap: anywhere;
}
.terms-return {
  margin-top: 48px;
}
.terms-nav a {
  font-size: 12px;
}
.terms-page .site-footer {
  margin-top: 32px;
}
.not-found {
  min-height: 65vh;
  padding-block: 96px;
}
.not-found .lead {
  margin-block: 24px 32px;
  font-size: 16px;
}
.not-found h1 {
  font-size: 40px;
}
.game-detail {
  padding-block: 48px 96px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  min-height: 44px;
}
.back-link::before {
  content: '‹';
  font-size: 24px;
}
.game-detail-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
.detail-cover {
  overflow: hidden;
  border-radius: 12px;
}
.detail-cover img {
  width: 100%;
  aspect-ratio: 2.15;
  object-fit: cover;
}
.detail-heading h1 {
  font-size: 40px;
  line-height: 1.4;
}
.detail-heading .lead {
  font-size: 16px;
  margin-top: 16px;
}
.detail-heading .page-kicker {
  margin-bottom: 16px;
  font-size: 12px;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 24px;
}
.detail-tags span {
  font-size: 12px;
  background: var(--surface-high);
  padding: 4px 12px;
  border-radius: 6px;
  color: var(--muted);
}
.detail-information {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.detail-information h2 {
  font-size: 24px;
  margin-bottom: 24px;
}
.detail-information p {
  font-size: 14px;
  margin-top: 16px;
}
.detail-information .text-link {
  margin-top: 16px;
}
.detail-features {
  list-style: none;
}
.detail-features li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  padding-block: 8px;
}
.detail-features svg {
  width: 20px;
  height: 20px;
  color: var(--link);
}
@media (min-width: 1500px) {
  .hero {
    min-height: 680px;
  }
  .game-shelf {
    height: 480px;
  }
  .shelf-1 {
    top: 32px;
  }
  .shelf-2 {
    top: 176px;
  }
  .shelf-3 {
    top: 296px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 32px;
  }
  .main-nav {
    gap: 24px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-intro {
    font-size: 16px;
  }
  .game-shelf {
    height: 400px;
  }
  .shelf-1 {
    top: 24px;
    width: 92%;
    left: 0;
  }
  .shelf-2 {
    top: 144px;
    width: 88%;
    right: -3%;
  }
  .shelf-3 {
    top: 256px;
    width: 67%;
    left: -5%;
  }
  .shelf-caption {
    padding: 8px 12px;
  }
  .shelf-caption span {
    display: none;
  }
  .shelf-footnote {
    bottom: -16px;
  }
  .feature-strip {
    gap: 16px;
  }
  .feature-item {
    gap: 12px;
  }
  .feature-item h2 {
    font-size: 12px;
  }
  .feature-item p {
    font-size: 12px;
  }
  .game-body {
    padding: 20px;
  }
  .game-body h3 {
    font-size: 18px;
  }
  .game-body > p {
    min-height: 76px;
  }
  .footer-top {
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-top p {
    font-size: 12px;
  }
  .footer-links {
    gap: 16px;
  }
  .register-layout {
    gap: 48px;
  }
  .register-panel {
    padding: 24px;
  }
  .register-art {
    height: 200px;
  }
  .download-content {
    gap: 32px;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  }
  .release-panel {
    padding: 24px;
  }
  .release-heading h2 {
    font-size: 20px;
  }
  .status-tag {
    padding: 4px 8px;
  }
  .download-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .download-action > span br {
    display: none;
  }
  .download-action > span {
    display: flex;
    gap: 8px;
  }
  .guide-layout,
  .terms-layout {
    gap: 48px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 48px);
  }
  .site-header {
    height: 72px;
  }
  .header-inner {
    justify-content: space-between;
  }
  .brand span {
    font-size: 24px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    min-height: 44px;
    padding: 8px 12px;
  }
  .main-nav .shop-nav {
    margin-top: 8px;
    padding: 12px;
    justify-content: center;
  }
  .nav-spacer {
    display: none;
  }
  .hero {
    gap: 24px;
    padding-block: 48px;
    min-height: 550px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .hero-note {
    max-width: 19em;
    line-height: 2;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 12px 16px;
  }
  .game-shelf {
    height: 340px;
  }
  .shelf-1 {
    top: 32px;
    width: 100%;
    left: 0;
  }
  .shelf-2 {
    top: 128px;
    width: 95%;
    right: -2%;
  }
  .shelf-3 {
    top: 220px;
    width: 83%;
    left: 0;
  }
  .shelf-caption {
    padding: 8px 12px;
  }
  .shelf-caption strong {
    font-size: 12px;
  }
  .shelf-caption .icon {
    margin-left: auto;
  }
  .shelf-footnote {
    display: none;
  }
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
  }
  .feature-item h2 {
    font-size: 14px;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading {
    gap: 24px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .search-box {
    min-width: 224px;
    max-width: 260px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-body > p {
    min-height: 51px;
  }
  .game-body h3 {
    font-size: 20px;
  }
  .result-count {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .closing {
    padding-block: 64px;
  }
  .closing h2 {
    font-size: 24px;
  }
  .footer-top p {
    display: none;
  }
  .footer-links {
    margin-left: auto;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .download-intro {
    padding-block: 48px;
  }
  .download-emblem {
    width: 224px;
    height: 240px;
  }
  .emblem-orbit {
    width: 224px;
    height: 224px;
  }
  .download-emblem img {
    width: 112px;
    height: 112px;
  }
  .download-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .download-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 0;
  }
  .before-start {
    margin: 0;
    padding: 0 0 0 32px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .download-action {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .download-action > span {
    display: block;
  }
  .download-action > span br {
    display: block;
  }
  .release-heading h2 {
    font-size: 24px;
  }
  .register-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px 64px;
    max-width: 600px;
  }
  .register-story {
    padding: 0;
  }
  .register-story h1 {
    font-size: 40px;
  }
  .register-story .lead {
    font-size: 16px;
    margin-top: 16px;
  }
  .register-story .page-kicker {
    margin-bottom: 16px;
  }
  .register-art,
  .story-caption {
    display: none;
  }
  .account-promises {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 24px;
  }
  .account-promises p {
    font-size: 12px;
    gap: 8px;
    margin: 0;
  }
  .account-promises p:first-child {
    display: none;
  }
  .account-promises .icon {
    width: 16px;
    height: 16px;
  }
  .register-panel {
    padding: 32px;
  }
  .guide-intro h1,
  .terms-intro h1 {
    font-size: 40px;
  }
  .guide-layout,
  .terms-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .guide-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 0;
    border: 0;
  }
  .terms-nav {
    display: none;
  }
  .terms-body {
    max-width: none;
  }
  .game-detail-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-cover {
    max-width: 616px;
  }
  .detail-information {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .detail-heading h1 {
    font-size: 32px;
  }
}
@media (max-width: 560px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 40px 48px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.2;
  }
  .hero-kicker {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .hero-intro {
    font-size: 16px;
    margin-top: 20px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 12px 16px;
    min-height: 48px;
  }
  .hero-actions .text-link {
    font-size: 14px;
    gap: 8px;
  }
  .hero-actions .icon {
    width: 18px;
    height: 18px;
  }
  .hero-note {
    font-size: 11px;
    max-width: none;
    margin-top: 16px;
  }
  .game-shelf {
    height: 300px;
    max-width: 390px;
    width: 100%;
    margin: 8px auto 0;
  }
  .shelf-1 {
    width: 83%;
    top: 16px;
    left: 3%;
  }
  .shelf-2 {
    width: 74%;
    top: 104px;
    right: 0;
  }
  .shelf-3 {
    width: 58%;
    top: 188px;
    left: 0;
  }
  .shelf-caption {
    padding: 8px 12px;
    font-size: 12px;
    gap: 4px;
  }
  .shelf-caption strong {
    font-size: 12px;
  }
  .shelf-3 .shelf-caption svg {
    display: none;
  }
  .feature-strip {
    padding-block: 24px;
    gap: 24px 12px;
  }
  .feature-item {
    gap: 12px;
    align-items: flex-start;
  }
  .feature-item > .icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .feature-item h2 {
    font-size: 12px;
    line-height: 1.6;
  }
  .feature-item p {
    font-size: 11px;
    line-height: 1.7;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading p {
    font-size: 14px;
    max-width: 24em;
    margin-top: 12px;
  }
  .search-box {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .search-box kbd {
    display: none;
  }
  .library-toolbar {
    margin-bottom: 24px;
  }
  .filters {
    gap: 4px;
  }
  .filter {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 44px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .game-body {
    padding: 24px;
  }
  .game-body h3 {
    font-size: 20px;
  }
  .game-body > p {
    min-height: 0;
  }
  .game-bottom {
    margin-top: 20px;
  }
  .library-note {
    font-size: 12px;
    text-align: left;
    margin-top: 24px;
  }
  .cover-open {
    display: none;
  }
  .steps {
    gap: 32px 24px;
    margin-top: 24px;
  }
  .steps h3 {
    font-size: 16px;
  }
  .steps p {
    font-size: 12px;
    line-height: 1.9;
  }
  .step-number {
    font-size: 12px;
    margin-bottom: 16px;
    padding-top: 16px;
  }
  .getting-started .section-heading {
    gap: 16px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-block: 48px;
  }
  .closing h2 {
    font-size: 24px;
  }
  .closing p {
    font-size: 14px;
  }
  .site-footer {
    padding-block: 32px 24px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-links {
    margin: 0;
    gap: 24px;
    font-size: 12px;
  }
  .footer-bottom {
    margin-top: 24px;
    flex-direction: column;
    gap: 8px;
  }
  .footer-bottom span:nth-child(2) {
    margin: 0;
  }
  .download-intro {
    position: relative;
    padding-block: 40px 32px;
    gap: 0;
  }
  .download-intro h1 {
    font-size: 36px;
  }
  .download-intro .lead {
    font-size: 14px;
    margin-top: 20px;
  }
  .page-kicker {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .download-emblem {
    display: none;
  }
  .download-content {
    gap: 40px;
  }
  .release-panel {
    padding: 24px 20px;
  }
  .release-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .release-heading h2 {
    font-size: 20px;
  }
  .platform-icon {
    width: 40px;
    height: 40px;
  }
  .status-tag {
    font-size: 11px;
    margin-left: auto;
    padding: 4px 8px;
  }
  .release-meta {
    gap: 12px;
    margin-block: 24px;
    padding-block: 20px;
  }
  .release-meta dd {
    font-size: 16px;
    margin-top: 8px;
    white-space: nowrap;
  }
  .release-meta dt {
    font-size: 11px;
  }
  .download-action {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .download-action .button {
    width: 100%;
    font-size: 14px;
  }
  .download-action > span {
    font-size: 11px;
    text-align: center;
  }
  .download-action > span br {
    display: block;
  }
  .checksum {
    margin-top: 24px;
    padding-top: 16px;
  }
  .checksum > code {
    font-size: 12px;
  }
  .download-aside {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .official-note {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
  }
  .official-note > .icon {
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
  }
  .official-note p {
    max-width: none;
  }
  .before-start {
    padding: 0;
    border: 0;
  }
  .check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 8px;
  }
  .check-list li {
    margin: 0;
    font-size: 12px;
    gap: 8px;
  }
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 24px;
  }
  .changelog-entry > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .changelog-entry h3 {
    margin: 0;
    font-size: 20px;
  }
  .changelog-entry ul {
    font-size: 14px;
  }
  .verify-help summary {
    font-size: 14px;
    padding-block: 20px;
  }
  .verify-help pre {
    padding: 16px;
    font-size: 12px;
  }
  .register-layout {
    padding-block: 40px 48px;
    gap: 32px;
  }
  .register-story h1 {
    font-size: 36px;
  }
  .register-story .lead {
    font-size: 14px;
  }
  .account-promises {
    gap: 12px 16px;
    margin-top: 20px;
  }
  .account-promises p {
    font-size: 11px;
  }
  .register-panel {
    padding: 24px 20px;
  }
  .form-heading h2 {
    font-size: 24px;
  }
  .form-heading p {
    font-size: 12px;
  }
  .form-notice {
    padding: 12px;
    font-size: 12px;
    margin-top: 20px;
  }
  .form-group {
    margin-top: 20px;
  }
  .field-hint {
    font-size: 11px;
  }
  .consent-row {
    gap: 8px;
  }
  .consent-row label {
    font-size: 12px;
  }
  .consent-group {
    margin-block: 24px;
  }
  .guide-intro,
  .terms-intro {
    padding-block: 40px 32px;
  }
  .guide-intro h1,
  .terms-intro h1 {
    font-size: 32px;
  }
  .guide-intro .lead {
    font-size: 14px;
    margin-top: 16px;
  }
  .guide-nav {
    gap: 4px 16px;
  }
  .guide-nav a {
    font-size: 12px;
  }
  .guide-layout {
    gap: 24px;
    padding-bottom: 24px;
  }
  .faq-list summary {
    font-size: 18px;
    padding-block: 20px;
  }
  .faq-list p {
    font-size: 14px;
  }
  .terms-body {
    font-size: 14px;
  }
  .terms-body h2 {
    font-size: 24px;
  }
  .terms-body h3 {
    font-size: 18px;
    margin-top: 32px;
  }
  .terms-body p {
    font-size: 14px;
  }
  .terms-layout {
    padding-bottom: 32px;
  }
  .terms-return {
    margin-top: 32px;
  }
  .not-found {
    padding-block: 64px;
  }
  .not-found h1 {
    font-size: 32px;
  }
  .game-detail {
    padding-block: 24px 48px;
  }
  .game-detail-top {
    margin-top: 24px;
    gap: 24px;
  }
  .detail-heading h1 {
    font-size: 32px;
  }
  .detail-heading .lead {
    font-size: 14px;
  }
  .detail-information {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
    margin-top: 40px;
  }
  .detail-information h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 40px);
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    padding-inline: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .feature-item {
    gap: 8px;
  }
  .feature-item > .icon {
    width: 16px;
    height: 16px;
  }
  .feature-item h2 {
    font-size: 11px;
  }
  .game-shelf {
    height: 268px;
  }
  .shelf-2 {
    top: 96px;
  }
  .shelf-3 {
    top: 172px;
  }
  .game-body {
    padding: 20px;
  }
  .release-heading {
    position: relative;
  }
  .status-tag {
    margin-left: 52px;
  }
  .release-meta dd {
    font-size: 14px;
  }
  .register-panel {
    padding: 24px 16px;
  }
  .consent-row label {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .terms-nav,
  .terms-return {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .terms-layout {
    display: block;
  }
  .terms-body p,
  .terms-body li {
    color: black;
  }
  .container {
    width: 100%;
  }
  .terms-body a {
    color: black;
  }
  .terms-intro {
    padding: 0 0 24px;
  }
}
