:root {
  --color-bg: #ffffff;
  --color-raise: #f6f7f8;
  --color-text: #16181d;
  --color-muted: #5a6070;
  --color-accent: #0057a6;
  --color-accent-deep: #004585;
  --color-border: #e4e6ea;
  --font-head: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mark: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1060px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: var(--color-accent); }

a:hover { color: var(--color-accent-deep); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 16px; }

h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); letter-spacing: -0.015em; }

h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }

h3 { font-size: 1.15rem; }

p { margin: 0 0 18px; }

.px-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.px-skip { position: absolute; left: -9999px; top: 0; background: var(--color-accent); color: #ffffff; padding: 10px 16px; z-index: 40; }

.px-skip:focus { left: 0; color: #ffffff; }

.px-head { position: sticky; top: 0; background: var(--color-bg); z-index: 25; }

.px-head__in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 60px; }

.px-logo { font-size: 1.2rem; font-weight: 600; color: var(--color-text); text-decoration: none; padding: 12px 0; }

.px-burger {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--color-raise);
  color: var(--color-text);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.px-nav { display: none; width: 100%; padding-bottom: 12px; }

.px-nav.is-open { display: block; }

.px-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

.px-nav__list a { display: block; padding: 12px 0; color: var(--color-text); text-decoration: none; }

.px-nav__list a:hover { color: var(--color-accent); }

.px-hero { padding: 56px 0 20px; }

.px-hero h1 { max-width: 20ch; }

.px-hero__lead { font-size: 1.14rem; color: var(--color-muted); max-width: 60ch; }

.px-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.px-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--color-accent);
  transition: background 140ms ease, transform 140ms ease;
}

.px-btn:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); color: #ffffff; transform: translateY(-1px); }

.px-btn--ghost { background: transparent; color: var(--color-accent); }

.px-btn--ghost:hover { background: transparent; color: var(--color-accent-deep); }

.px-arrow { display: inline-block; text-decoration: none; font-weight: 600; padding: 10px 0; }

.px-arrow:hover { text-decoration: underline; }

.px-arrow span { display: inline-block; transition: transform 140ms ease; }

.px-arrow:hover span { transform: translateX(4px); }

.px-section { padding: 44px 0; }

.px-panel { background: var(--color-raise); border-radius: var(--radius); padding: 30px 24px; }

.px-panel h2 { margin-bottom: 12px; }

.px-panel p { max-width: 64ch; }

.px-panel p:last-child { margin-bottom: 0; }

.px-prose-block { max-width: 68ch; }

.px-prose-block h3 { margin-top: 26px; }

.px-games { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }

.px-games li { display: flex; gap: 16px; align-items: flex-start; background: var(--color-raise); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }

.px-games img { flex: none; width: 64px; height: 64px; border-radius: 14px; }

.px-games div { min-width: 0; }

.px-games h3 { margin-bottom: 6px; }

.px-games p { color: var(--color-muted); margin-bottom: 8px; }

.px-table__scroll { overflow-x: auto; margin: 24px 0 10px; }

table { border-collapse: collapse; width: 100%; min-width: 660px; }

caption { text-align: left; font-size: 1.05rem; font-weight: 600; padding-bottom: 14px; }

th, td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--color-border); vertical-align: top; }

thead th { font-family: var(--font-mark); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); font-weight: 400; }

tbody th { font-weight: 600; }

.px-fig { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; }

.px-source { font-style: italic; color: var(--color-muted); font-size: 0.94rem; max-width: 66ch; }

.px-faq { display: grid; gap: 12px; margin-top: 24px; }

.px-faq details { background: var(--color-raise); border-radius: var(--radius); padding: 6px 22px; }

.px-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; min-height: 44px; }

.px-faq summary::-webkit-details-marker { color: var(--color-accent); }

.px-faq p { margin: 0 0 16px; color: var(--color-muted); max-width: 62ch; }

.px-feed { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }

.px-feed li { background: var(--color-raise); border-radius: var(--radius); padding: 22px 24px; min-width: 0; }

.px-feed__date { font-family: var(--font-mark); font-size: 0.76rem; color: var(--color-muted); display: block; margin-bottom: 8px; }

.px-feed h3 { margin-bottom: 8px; }

.px-feed h3 a { color: var(--color-text); text-decoration: none; }

.px-feed h3 a:hover { color: var(--color-accent); text-decoration: underline; }

.px-feed p { color: var(--color-muted); margin-bottom: 8px; }

.px-mail { background: var(--color-raise); border-radius: var(--radius); padding: 30px 24px; }

.px-mail__addr { display: inline-block; font-family: var(--font-mark); font-size: clamp(1.05rem, 3.6vw, 1.5rem); padding: 6px 0 14px; word-break: break-word; }

.px-mail p { color: var(--color-muted); max-width: 62ch; }

.px-list { padding-left: 20px; max-width: 68ch; }

.px-list li { margin-bottom: 12px; }

.px-prose { max-width: 68ch; padding: 40px 0 0; }

.px-prose h2 { margin-top: 40px; }

.px-prose h3 { margin-top: 26px; }

.px-prose ul, .px-prose ol { padding-left: 20px; }

.px-prose li { margin-bottom: 12px; }

.px-prose figure { margin: 28px 0; }

.px-prose figure img { width: 192px; height: 192px; border-radius: var(--radius); }

.px-prose figcaption { font-size: 0.9rem; color: var(--color-muted); padding-top: 10px; }

.px-meta { font-family: var(--font-mark); font-size: 0.8rem; color: var(--color-muted); margin-bottom: 24px; }

.px-foot { background: var(--color-raise); margin-top: 60px; padding: 40px 0 44px; color: var(--color-muted); font-size: 0.95rem; }

.px-foot__grid { display: grid; gap: 26px; }

.px-foot h2 { font-size: 1rem; color: var(--color-text); margin-bottom: 12px; }

.px-foot ul { list-style: none; margin: 0; padding: 0; }

.px-foot li a { display: inline-block; padding: 9px 0; }

.px-foot p { max-width: 62ch; }

.px-cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px 20px; z-index: 30; }

.px-cookie[hidden] { display: none; }

.px-cookie__in { display: grid; gap: 14px; }

.px-cookie p { margin: 0; font-size: 0.94rem; color: var(--color-muted); }

.px-cookie__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.px-cookie__btns button {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid var(--color-accent);
}

.px-cookie__btns button:first-child { background: var(--color-accent); color: #ffffff; }

.px-cookie__btns button:first-child:hover { background: var(--color-accent-deep); }

.px-cookie__btns button:last-child { background: transparent; color: var(--color-accent); }

.px-404 { padding: 70px 0 40px; max-width: 60ch; }

@media (min-width: 720px) {
  .px-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-foot__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .px-cookie__in { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .px-burger { display: none; }
  .px-nav { display: block; width: auto; padding-bottom: 0; }
  .px-nav__list { flex-direction: row; gap: 26px; }
  .px-nav__list a { padding: 18px 0; }
  .px-hero { padding: 88px 0 24px; }
  .px-section { padding: 52px 0; }
  .px-panel { padding: 40px 44px; }
  .px-mail { padding: 40px 44px; }
}

.px-owner dt { font-family: var(--font-mark); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }

.px-owner dd { margin: 4px 0 14px; }
