/* pixelartstudios.app: one stylesheet for the studio's pages, in the games' own palette. */
:root {
  --bg: #f4f1f8;
  --surface: #ffffff;
  --fg: #1a1423;
  --muted: #5d5170;
  --line: #ddd4e6;
  --accent: #8b3fb8;
  --gold: #b88a2e;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15111c;
    --surface: #211a2b;
    --fg: #f2ecf7;
    --muted: #b3a9c2;
    --line: #352b42;
    --accent: #c58ef0;
    --gold: #ffd54a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px max(20px, env(safe-area-inset-left, 0px)) 72px;
  display: grid;
  gap: 28px;
}
a { color: var(--accent); }
h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: 21px; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.studio { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.hero { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; }
.hero img { width: 112px; height: 112px; border-radius: 25px; image-rendering: pixelated; display: block; }
.hero p { margin-top: 6px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
}
.game { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; text-decoration: none; color: inherit; }
.game img { width: 84px; height: 84px; border-radius: 19px; image-rendering: pixelated; display: block; }
.game strong { font-size: 19px; display: block; }
.shot { width: 100%; max-width: 330px; border-radius: 22px; border: 1px solid var(--line); display: block; }
ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
footer { font-size: 14px; color: var(--muted); }
@media (max-width: 460px) {
  .hero { grid-template-columns: 80px 1fr; }
  .hero img { width: 80px; height: 80px; border-radius: 18px; }
}
