#igra-sveta-sections .light-news-latest {
  margin-inline: var(--inset);
  padding-block: clamp(22px, 3.5vw, 36px);
  border-top: 1px solid var(--line);
}
#igra-sveta-sections .light-news-page {
  padding: clamp(23px, 4vw, 46px) var(--inset);
}
#igra-sveta-sections .light-news-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 15px;
}
#igra-sveta-sections .light-news h2 { font: 400 clamp(24px, 3vw, 34px)/1.13 Georgia, serif; }
#igra-sveta-sections .light-news h3 { font: 400 clamp(21px, 2.6vw, 28px)/1.16 Georgia, serif; }
#igra-sveta-sections .light-news .h-feed { max-width: 55rem; }
#igra-sveta-sections .light-news .h-feed > :is(h1, p) { margin-bottom: 16px; }
#igra-sveta-sections .light-news-entry { padding-block: 16px; border-bottom: 1px solid var(--line); }
#igra-sveta-sections .light-news-entry:last-child { border-bottom: 0; }
#igra-sveta-sections .light-news-latest .light-news-entry { padding-block: 0; }
#igra-sveta-sections .light-news-entry :is(h2, h3) { margin-top: 4px; overflow-wrap: anywhere; }
#igra-sveta-sections .light-news-entry a,
#igra-sveta-sections .light-news-post > h2 a { text-decoration: underline; text-decoration-thickness: 1px; }
#igra-sveta-sections .light-news-entry a:hover,
#igra-sveta-sections .light-news-post > h2 a:hover { color: var(--accent); }
#igra-sveta-sections .light-news-entry .p-summary { margin-top: 6px; color: var(--muted); }
#igra-sveta-sections .light-news-heading a { color: var(--accent); text-decoration: underline; }
#igra-sveta-sections .light-news-back { margin-bottom: 12px; }
#igra-sveta-sections .light-news-post { max-width: 44rem; }
#igra-sveta-sections .light-news-post > :is(h1, h2) { margin: 6px 0 20px; overflow-wrap: anywhere; }
#igra-sveta-sections .h-feed > .light-news-post + .light-news-post {
  margin-block-start: 26px;
  padding-block-start: 22px;
  border-top: 1px solid var(--line);
}
#igra-sveta-sections .light-news-body { font-size: 1.0625rem; line-height: 1.66; overflow-wrap: anywhere; }
#igra-sveta-sections .light-news-body > * + * { margin-top: 1em; }
#igra-sveta-sections .light-news-body p { hyphens: auto; }
#igra-sveta-sections .light-news-body img { max-width: 100%; height: auto; }
#igra-sveta-sections .light-news-body a { color: var(--accent); text-decoration: underline; }
#igra-sveta-sections .light-news-body pre { overflow-x: auto; padding: 12px; background: var(--mount); }
#igra-sveta-sections .light-news-body blockquote { margin-inline: 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--line); }
#igra-sveta-sections .light-news-body table { width: 100%; border-collapse: collapse; }
#igra-sveta-sections .light-news-body :is(th, td) { border: 1px solid var(--line); padding: 5px 8px; text-align: start; }

body,
body.help-page,
body#igra-sveta-sections {
  color-scheme: light dark;
  --bg: light-dark(#f5efe3, #25283d);
  --panel: light-dark(#ebdbc1, #30334b);
  --paper: light-dark(#fffaee, #30334b);
  --ink: light-dark(#24241c, #f9efd9);
  --muted: light-dark(#59584b, #c8bfaf);
  --line: light-dark(#d7cbb8, #4e4b5d);
  --accent: light-dark(#903c2a, #edc27c);
  --accent-ink: light-dark(#fff8ef, #281c11);
  --surface: var(--panel);
  --mount: light-dark(#fffaee, #3b3c53);
}
body#igra-sveta-sections { --paper: var(--bg); }

body[data-site-layout],
body#igra-sveta-sections[data-site-layout] {
  --inset: clamp(16px, 4.25vw, 42px);
  --page-width: 1160px;
  --prose-width: 47rem;
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}

body[data-site-layout] > :is(header, main, footer) {
  max-width: var(--page-width);
  margin-inline: auto;
}

body[data-site-layout]:where(:not(#igra-sveta-sections)) > main {
  padding-inline: var(--inset);
}

body[data-site-layout] > .site-header {
  display: block;
  min-height: 0;
  padding: 0 var(--inset);
  border-bottom: 1px solid var(--line);
}

body[data-site-layout] .site-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 18px;
  min-height: 62px;
  padding-block: 9px;
}

body[data-site-layout] .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
body[data-site-layout] .site-brand img { display: block; width: 34px; height: 34px; border-radius: 6px; }

body[data-site-layout] :is(.site-nav, .site-sections) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(12px, 1.8vw, 22px);
  font-size: 1rem;
}

body[data-site-layout] .site-sections { border-top: 1px solid var(--line); }

body[data-site-layout] :is(.site-nav, .site-sections) a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 5px;
}

body[data-site-layout] :is(.site-nav, .site-sections) a[aria-current] {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
}

body[data-site-layout] .site-header a:hover { text-decoration: underline; text-underline-offset: 5px; }

body[data-site-layout] > .site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: 20px var(--inset) 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
}

body[data-site-layout] .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  font-size: inherit;
}

body[data-site-layout] .site-footer a {
  display: inline-flex;
  align-items: center;
  gap: .33em;
  min-height: 40px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body[data-site-layout] .site-footer .site-footer-action { font-weight: 600; }

body[data-site-layout] .site-footer-icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-site-layout] .site-footer a[aria-current],
body[data-site-layout] .site-footer a:hover { color: var(--accent); }

body[data-site-layout] :is(.site-header, .site-footer) a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

body[data-site-layout] .page-intro {
  max-width: var(--prose-width);
  padding-block: clamp(26px, 4vw, 48px) 12px;
}
body[data-site-layout] .page-intro p { font-size: 1.125rem; color: var(--muted); }

body[data-site-layout] :is(.page-intro, .help-content) h1 {
  font: 400 clamp(2.125rem, 5.35vw, 3.875rem)/1.06 Georgia, serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

body[data-site-layout] > main > article.prose {
  max-width: var(--prose-width);
  padding-block-end: clamp(28px, 4vw, 52px);
}

body[data-site-layout] > main > article.prose h2 {
  margin: 24px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font: 400 clamp(1.5rem, 3vw, 2rem)/1.18 Georgia, serif;
  letter-spacing: -.02em;
}

body[data-site-layout] > main > article.prose :is(p, li) { color: var(--ink); overflow-wrap: anywhere; }
body[data-site-layout] .prose a { color: var(--accent); text-underline-offset: 3px; }

@media (max-width: 420px) {
  body[data-site-layout] .site-header-bar { justify-content: flex-start; }
  body[data-site-layout] > .site-footer { gap: 9px 18px; }
}

@media (prefers-contrast: more) {
  body, body.help-page, body#igra-sveta-sections {
    --bg: light-dark(#fffaf0, #151711);
    --paper: var(--bg);
    --ink: light-dark(#15140f, #fffaf0);
    --muted: var(--ink);
    --line: light-dark(#675947, #c6b9a3);
    --panel: light-dark(#f1e5d1, #2b2c22);
    --mount: var(--panel);
    --surface: var(--panel);
    --accent: light-dark(#792b1b, #ffd592);
    --accent-ink: light-dark(#fffaf0, #151711);
    --glow: transparent;
    --help-light: transparent;
  }
  body :is(a, button, summary, input):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }
}

@media (forced-colors: active) {
  body :is(a, button, summary, input):focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 3px;
  }
  body#igra-sveta-sections a.light-download { border: 1px solid LinkText; }
  body#igra-sveta-sections :is(.release-list .button, .light-example button) { border-color: ButtonText; }
  body#igra-sveta-sections .light-example button[aria-pressed="true"] { border-color: Highlight; text-decoration: underline; }
}

@media print {
  :root { color-scheme: light; }
  body, body.help-page, body#igra-sveta-sections {
    --ink: black;
    --muted: black;
    --accent: black;
    --bg: white;
    --paper: white;
    --panel: white;
    --mount: white;
    --line: #777;
    --glow: transparent;
    color: black;
    background: white;
  }
  body > :is(header, footer),
  .help-intro, .help-navigation, .light-example-tools, .light-news-back,
  #igra-sveta-sections :is(a.light-download, a.button[download], video) { display: none !important; }
  body[data-site-layout] > main, body > main, .help-content { max-width: none; padding: 0; }
  .help-layout { display: block; padding-block: 0; }
  #igra-sveta-sections :is(.light-page, .light-news-page, .light-news-latest, .light-install) {
    display: block;
    margin: 0;
    padding: 12pt 0;
    background: none;
  }
  main :is(h1, h2, h3) { break-after: avoid; }
  main :is(p, li) { widows: 3; orphans: 3; }
  main img { max-width: 100%; break-inside: avoid; }
  main pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  main a { color: black; text-decoration: underline; }
}
