:root { color-scheme: dark; --wallpaper-color: #080e1a; --wallpaper-image: none; font-family: Arial, Helvetica, sans-serif; color: #f2f4f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background-color: var(--wallpaper-color); background-image: var(--wallpaper-image); background-size: cover; background-position: center; background-attachment: fixed; }
.site-header { width: 100%; background: #0b1322; border-bottom: 1px solid #192336; }
.header-inner { width: min(100%, 1280px); margin: 0 auto; padding: 16px clamp(24px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; min-width: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #a5b1c6; text-decoration: none; font-size: 14px; line-height: 1.4; }
.site-nav a[aria-current="page"] { color: #f2f4f8; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.brand { flex: 0 0 auto; color: inherit; text-decoration: none; font-size: 25px; letter-spacing: -.9px; line-height: 1.2; }
.brand strong { font-weight: 800; }
.brand span { font-weight: 400; color: #a8b3c8; }
main { flex: 1; width: min(100%, 1280px); margin: 0 auto; padding: 32px clamp(24px, 5vw, 72px) 64px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.games { display: grid; grid-template-columns: repeat(auto-fill, 150px); column-gap: 36px; row-gap: 40px; }
.game { display: flex; flex-direction: column; align-items: center; color: inherit; text-decoration: none; min-width: 0; border-radius: 16px; padding: 8px 0 12px; }
.game-icon { display: block; width: 104px; height: 104px; border-radius: 25px; overflow: hidden; background: #080d17; transition: transform .16s ease; box-shadow: 0 5px 13px #00000026; }
.game-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-icon.contain img { object-fit: contain; }
.game:hover .game-icon { transform: translateY(-3px); }
.game-name { margin-top: 17px; width: 100%; min-height: 38px; text-align: center; font-size: 14px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.game-players { display: flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 18px; font-size: 12px; line-height: 1.5; color: #a5b1c6; font-variant-numeric: tabular-nums; }
.game-players[data-state="live"]::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: #8bcb9c; }
.game-players[data-state="stale"] { color: #d6bf8c; }
.studio-footer { width: 100%; background: #0b1322; border-top: 1px solid #192336; }
.footer-inner { width: min(100%, 1280px); margin: 0 auto; padding: 16px clamp(24px, 5vw, 72px); display: flex; align-items: center; gap: 24px; }
.studio-description { margin: 0; max-width: 640px; font-size: 13px; line-height: 1.6; font-weight: 400; color: #a5b1c6; overflow-wrap: anywhere; white-space: pre-line; }
.community-link { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 4px; background: #5865f2; color: #fff; font-size: 13px; line-height: 1.4; text-decoration: none; }
.community-link img { display: block; width: 20px; height: 16px; object-fit: contain; flex: 0 0 auto; }
.community-link:hover { text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
#load-error { color: #a8b3c8; font-size: 14px; }
#retry { border: 1px solid #737b89; border-radius: 4px; padding: 9px 12px; background: transparent; color: inherit; font: inherit; margin-left: 8px; cursor: pointer; }
.brand:focus-visible, .site-nav a:focus-visible, .game:focus-visible, .community-link:focus-visible, #retry:focus-visible { outline: 2px solid #c1d4f6; outline-offset: 5px; }
@media (max-width: 600px) {
  .header-inner { padding: 12px 24px; gap: 20px; }
  .site-nav { gap: 20px; }
  .brand { font-size: 23px; }
  main { padding: 24px 24px 48px; }
  .games { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); column-gap: 16px; row-gap: 28px; }
  .game { max-width: 170px; justify-self: center; width: 100%; }
  .game-icon { width: 100px; height: 100px; border-radius: 24px; }
  .game-name { font-size: 14px; }
  .footer-inner { padding: 18px 24px; flex-wrap: wrap; gap: 14px; }
  .studio-description { flex-basis: 100%; }
  .community-link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .game-icon { transition: none; } }
