/* Public pages of the site: prices, documents, requisites (public/*.html). Plain static pages — readable without the
   game's scripts, on a phone and in print. The system font on purpose: the game font draws ₽ as the game's «Д». */
:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1b2430;
  --muted: #5d6877;
  --line: #dfe3e8;
  --accent: #1f6feb;
  --accent-soft: #e8f0fd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a24;
    --card: #182330;
    --text: #e6ebf1;
    --muted: #9aa7b6;
    --line: #2a3747;
    --accent: #6aa5ff;
    --accent-soft: #1d2d44;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
main {
  max-width: 880px;
  margin: 0 auto 24px;
  padding: 24px 16px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (min-width: 720px) { main { padding: 32px 40px 40px; } }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
p, li { margin: 6px 0; }
ol, ul { padding-left: 22px; }
.edition { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.lead { font-size: 17px; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.muted { color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 14px; color: var(--muted); font-weight: 600; }
td.price { white-space: nowrap; font-weight: 700; text-align: right; }
th.price { text-align: right; }
dl.req { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0; }
dl.req dt { color: var(--muted); }
dl.req dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.req { grid-template-columns: 1fr; gap: 2px; } dl.req dd { margin-bottom: 10px; } }
.docs { list-style: none; padding: 0; }
.docs li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.docs li a { font-weight: 600; }
.play { display: inline-block; margin-top: 8px; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
footer { max-width: 880px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: 14px; }
footer a { color: inherit; }
@media print {
  .top nav, .play, footer { display: none; }
  main { border: 0; padding: 0; }
  body { background: #fff; color: #000; }
}
.toc { background: var(--accent-soft); border-radius: 10px; padding: 12px 16px 12px 36px; margin: 16px 0 8px; columns: 2 260px; column-gap: 32px; }
.toc li { margin: 2px 0; break-inside: avoid; }
.age { display: inline-block; font-weight: 700; border: 1.5px solid currentColor; border-radius: 6px; padding: 0 5px; line-height: 1.4; }
.foot-links { margin-bottom: 6px; }
.foot-links a { margin-right: 14px; }
.docs .meta { color: var(--muted); font-size: 14px; }
.summary { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; margin: 16px 0; }
.summary li { margin: 4px 0; }
[data-consent-change] { padding: 4px 12px; font: inherit; color: inherit; background: none; border: 1px solid currentColor; border-radius: 8px; cursor: pointer; }
