* { box-sizing: border-box; }
:root { color-scheme: dark; --background: #161217; --text: #f1e8ed; --muted: #b5a1af; --line: #392d37; --focus: #eaa3ba; }
body { margin: 0; background: var(--background); color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.page { width: min(1000px, calc(100% - 64px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding: 36px 0 22px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
h1 { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.8px; }
.site-header > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; color: var(--muted); }
.site-header > a:hover { color: var(--text); text-decoration: underline; }
.catalog { padding-bottom: 40px; }
.catalog-title { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.catalog-title svg { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.game { display: block; min-width: 0; text-decoration: none; }
.game img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: 5px; background: #191919; }
.game-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.game-status { flex-shrink: 0; color: #d49aaf; font-size: 12px; }
.game-title h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.game p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.game .game-genre { margin-top: 8px; }
.game-genre span { display: inline-block; padding: 2px 7px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; }
.skip-link { position: fixed; z-index: 2; top: -80px; left: 20px; padding: 12px 18px; background: var(--background); border: 1px solid var(--text); }
.skip-link:focus { top: 12px; }
@media (max-width: 600px) {
  .page { width: calc(100% - 40px); }
  .site-header { padding-top: 20px; margin-bottom: 24px; }
  h1 { font-size: 25px; }
  .game-grid { grid-template-columns: 1fr; gap: 28px; }
  .game-title h3 { font-size: 18px; }
}
.adult-label { color: #d49aaf; font-size: 13px; }
