/* Public site skin: graphite/orange by default, light/blue by visitor choice. */
html[data-cs-theme] {
  color-scheme: dark;
  --cs-bg: #10151a;
  --cs-surface: #1b2229;
  --cs-raised: #232c36;
  --cs-soft: #202831;
  --cs-border: #36424f;
  --cs-text: #f2f5fa;
  --cs-muted: #b0bfd0;
  --cs-accent: #ff9d2e;
  --cs-hover: #ffb454;
  --cs-on-accent: #15202b;
  --cs-accent-soft: #342a20;
  --cs-download-tile: #ee8c1c;
  --cs-shadow: 0 6px 24px rgba(0,0,0,.12);
  --cs-panel-fill: linear-gradient(145deg, #1c242c, #181e24);
  --cs-icon-filter: brightness(0) saturate(100%) invert(74%) sepia(55%) saturate(1718%) hue-rotate(338deg);
  --bg-color: var(--cs-bg);
  --card-color: var(--cs-surface);
  --border-card-color: var(--cs-border);
  --default-text-color: var(--cs-text);
  --default-text-color-invert: var(--cs-on-accent);
  --top-text-color: var(--cs-muted);
  --inactive-text-color: var(--cs-muted);
  --span-color: var(--cs-accent);
  --accent: var(--cs-accent);
  --a-href-color: var(--cs-accent);
  --a-href-color-hover: var(--cs-hover);
  --new-item-bg: var(--cs-surface);
  --new-item-bg-build: var(--cs-surface);
  --new-btn-go: var(--cs-accent);
  --new-btn-go-hover: var(--cs-hover);
  --new-btn-bg-hover: var(--cs-accent-soft);
  --new-btn-border-hover: var(--cs-accent);
  --new-btn-color-hover: var(--cs-text);
  --btn-all-default: var(--cs-accent);
  --btn-all-default-hover: var(--cs-hover);
  --input-form: var(--cs-bg);
  --bg-table-color: var(--cs-surface);
  --bottom-line-table: var(--cs-border);
  --menu-bg-color: var(--cs-surface);
  --navbar-color: var(--cs-bg);
  --sidebar-color: var(--cs-raised);
  --modal-bg-color: var(--cs-surface);
  --tooltip-color: var(--cs-raised);
  --transp-05: var(--cs-border);
  --transp-1: var(--cs-soft);
}
html[data-cs-theme="light"] {
  color-scheme: light;
  --cs-bg: #edf3fa;
  --cs-surface: #ffffff;
  --cs-raised: #e8f0ff;
  --cs-soft: #f2f6fc;
  --cs-border: #d4dfef;
  --cs-text: #14233b;
  --cs-muted: #546984;
  --cs-accent: #2563eb;
  --cs-hover: #1d4ed8;
  --cs-on-accent: #ffffff;
  --cs-accent-soft: #e7efff;
  --cs-download-tile: #1f55cf;
  --cs-shadow: 0 6px 24px rgba(36,76,135,.07);
  --cs-panel-fill: #ffffff;
  --cs-icon-filter: brightness(0) saturate(100%) invert(36%) sepia(94%) saturate(3472%) hue-rotate(213deg);
}
html[data-cs-theme], html[data-cs-theme] body {
  min-height: 100%; height: auto; background: var(--cs-bg); color: var(--cs-text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.5;
}
html[data-cs-theme] body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
html[data-cs-theme] a { color: var(--cs-accent); }
html[data-cs-theme] a:hover { color: var(--cs-hover); }
html[data-cs-theme] :is(a,button,input,textarea,select,summary):focus-visible {
  outline: 2px solid var(--cs-accent) !important; outline-offset: 3px;
}
html[data-cs-theme] ::selection { background: var(--cs-accent); color: var(--cs-on-accent); }
html[data-cs-theme] .container:is(.builds-home,.build-page) { width: calc(100% - 72px); max-width: 1800px; padding: 0; margin: 0 auto; }
.builds-home > .row { margin: 0; }
.builds-home > .row > .col-lg-12 { padding: 0; }

/* The logo, language links and theme switch share one compact header. */
html[data-cs-theme] .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; margin-bottom: 18px; padding: 9px max(36px, calc((100% - 1800px)/2)); background: var(--cs-bg); border-bottom: 1px solid var(--cs-border); }
.topbar .topbar-left, .topbar .topbar-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar .topbar-right { flex-shrink: 0; }
html[data-cs-theme] .site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cs-text); font-size: 25px; font-weight: 800; line-height: 1; letter-spacing: -.6px; white-space: nowrap; text-decoration: none; }
.site-brand-mark { display: block; width: 33px; height: 40px; background: var(--cs-accent); -webkit-mask: url('../img/dd.webp') center/contain no-repeat; mask: url('../img/dd.webp') center/contain no-repeat; }
.site-brand-accent { color: var(--cs-accent); }
.topbar .topbar-label { margin-left: 18px; color: var(--cs-muted); font-size: 11px; }
.topbar .social-link { color: var(--cs-muted); background: var(--cs-surface); border: 1px solid var(--cs-border); border-radius: 7px; }
.topbar .social-link:hover { color: var(--cs-accent); background: var(--cs-raised); }
.site-theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--cs-border); border-radius: 9px; background: var(--cs-surface); color: var(--cs-accent); cursor: pointer; }
.site-theme-toggle:hover { background: var(--cs-raised); border-color: var(--cs-accent); }
.site-theme-toggle[hidden] { display: none; }
.site-theme-toggle svg { width: 20px; height: 20px; }
.site-theme-toggle .theme-icon-moon, [data-cs-theme="light"] .site-theme-toggle .theme-icon-sun { display: none; }
[data-cs-theme="light"] .site-theme-toggle .theme-icon-moon { display: block; }
html[data-cs-theme] .site-language { height: 38px; padding: 3px; border-color: var(--cs-border); border-radius: 9px; background: var(--cs-surface); }
.site-language .site-language__icon { color: var(--cs-muted); width: 16px; height: 16px; }
html[data-cs-theme] .site-language .site-language__link { height: 30px; min-width: 39px; padding: 0 10px; color: var(--cs-muted); font-size: 12px; }
html[data-cs-theme] .site-language a.site-language__link:hover { background: var(--cs-raised); color: var(--cs-text); }
html[data-cs-theme] .site-language a.site-language__link.is-active { background: var(--cs-accent); border-color: var(--cs-accent); color: var(--cs-on-accent); }

/* Homepage composition follows the approved two-column mockups. */
.builds-home .landing { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); align-items: start; gap: 18px; padding: 0; margin-bottom: 25px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.builds-home .landing__block--main { width: auto; padding: 22px; border: 1px solid var(--cs-border); border-radius: 14px; background: var(--cs-panel-fill); box-shadow: var(--cs-shadow); }
.builds-home .landing__block--images { width: auto; margin: 0; }
.builds-home .landing .home-heading { order: 0; margin: 0 0 18px; color: var(--cs-text); font-size: clamp(28px,2.45vw,46px); font-weight: 800; line-height: 1.12; letter-spacing: -.8px; overflow-wrap: anywhere; text-align: left; }
.home-heading-main { display: block; }
.home-heading-subtitle { display: block; margin-top: 7px; color: var(--cs-muted); font-size: .59em; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.heading-accent { color: var(--cs-accent); }
.builds-home .badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; min-height: 0; }
.builds-home .badges .badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; margin: 0; padding: 6px 8px; border: 1px solid var(--cs-border); border-radius: 7px; background: var(--cs-soft) !important; color: var(--cs-text); font-size: 11px; font-weight: 600; line-height: 1.4; text-align: left; white-space: normal; }
.builds-home .badges .badge img { flex: none; width: 17px; height: 17px; margin: 0; object-fit: contain; }
.builds-home .landing__buttons { min-height: 0; margin: 18px 0; }
.builds-home .download-buttons__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; width: 100%; padding: 0; margin: 0; list-style: none; }
.builds-home .download-buttons__list > li { width: auto; min-width: 0; min-height: 0; margin: 0; }
.builds-home .home-intro { color: var(--cs-text); font-size: 15px; line-height: 1.65; }
.builds-home .home-intro-toggle { margin-top: 8px; min-height: 28px; color: var(--cs-accent); font-size: 13px; font-weight: 600; }
.builds-home .home-intro-toggle::after { content: '→'; margin-left: 8px; }
.builds-home .home-intro-toggle:hover { color: var(--cs-hover); }
.builds-home .home-spoilers { margin-top: 18px; gap: 9px; }
.builds-home .landing__images { gap: 10px; }
.builds-home .landing__images > figure { border: 1px solid var(--cs-border); border-radius: 11px; background: var(--cs-surface); }
.builds-home .home-versions { margin-top: 12px; border-color: var(--cs-border); border-radius: 12px; background: var(--cs-panel-fill); box-shadow: var(--cs-shadow); }
.builds-home .home-versions h2 { padding: 12px 15px; margin: 0; border-color: var(--cs-border); color: var(--cs-text); font-size: 17px; font-weight: 700; }
.builds-home .home-versions-table { color: var(--cs-text); font-size: 13px; }
.builds-home .home-versions-table th, .builds-home .home-versions-table td { padding: 8px 12px; border-bottom-color: var(--cs-border); }
.builds-home .home-versions-table thead th { color: var(--cs-muted); background: var(--cs-soft); font-size: 11px; }
.builds-home .home-versions-table tbody th { color: var(--cs-text); }
.builds-home .home-versions-table tbody tr { height: 45px; }
.builds-home .home-versions-table tbody tr:hover { background: var(--cs-soft); }
.builds-home .home-versions-table .home-versions-count { width: 104px; color: var(--cs-muted); }
.builds-home .home-versions-table .home-versions-language { width: 60px; }
.builds-home .home-versions-table .home-versions-action { width: 128px; }
.builds-home .home-version-lang { border-color: var(--cs-border); border-radius: 5px; padding: 3px 6px; color: var(--cs-text); background: var(--cs-raised); font-size: 11px; }
.builds-home .home-versions-table tbody tr:first-child .home-version-lang { color: var(--cs-accent); background: var(--cs-accent-soft); }
html[data-cs-theme] .home-version-download { min-height: 34px; padding: 7px; white-space: nowrap; border-color: transparent; color: var(--cs-on-accent); background: var(--cs-accent); font-size: 12px; border-radius: 7px; }
html[data-cs-theme] .home-version-download:hover { color: var(--cs-on-accent); background: var(--cs-hover); }
.builds-home .home-version-unavailable { color: var(--cs-muted); font-size: 11px; }

/* Download tile animation is retained in both palettes. */
html[data-cs-theme] .download-button {
  --download-main: var(--cs-accent); --download-icon: var(--cs-download-tile);
  --download-tile-width: 68px; --download-symbol-left: 14px;
  width: 100%; height: 82px; border: 2px solid var(--cs-accent); border-bottom: 2px solid var(--cs-accent) !important;
  border-radius: 10px; background: var(--download-main); color: var(--cs-on-accent) !important; font-family: inherit; font-size: 14px; line-height: 1.4;
}
html[data-cs-theme] .download-button > span { width: calc(100% - 70px); margin-left: 70px; padding: 0 8px; text-decoration: none; }
html[data-cs-theme] .download-button .download-button__heaading { color: inherit; font-family: inherit; font-size: clamp(22px,1.8vw,29px); line-height: 1.25; font-weight: 750; text-decoration: none; }
html[data-cs-theme] .download-button::after { z-index: 2; background-image: none; background-color: var(--download-icon); width: 68px; transition: width .45s ease; }
html[data-cs-theme] .download-button::before { inset: auto; left: 14px; top: 14px; width: 42px; height: 50px; z-index: 3; opacity: 1; background: currentColor; -webkit-mask: url('../img/dd.webp') center/contain no-repeat; mask: url('../img/dd.webp') center/contain no-repeat; transition: left .45s ease; }
html[data-cs-theme] .download-button:is(:hover,:focus-visible,:active)::after { width: 100%; }
html[data-cs-theme] .download-button:is(:hover,:focus-visible,:active)::before { left: calc(50% - 21px); opacity: 1; }
html[data-cs-theme] .download-button:is(.download-button--torrent,.download-button--yadisk) { --download-main: var(--cs-surface); --download-icon: var(--cs-surface); color: var(--cs-accent) !important; }
html[data-cs-theme] .download-button:is(.download-button--torrent,.download-button--yadisk)::before { -webkit-mask-image: url('../img/dt.webp'); mask-image: url('../img/dt.webp'); }
html[data-cs-theme="light"] .download-button:is(.download-button--torrent,.download-button--yadisk) { --download-main: var(--cs-accent-soft); --download-icon: var(--cs-accent-soft); }

/* File size stays inside the existing animated download label. */
html[data-cs-theme] .landing__buttons .download-button--sized > .download-button__content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 0 18px 0 8px; }
.download-button--sized .download-button__label { min-width: 0; }
.download-button--sized .download-button__size { position: relative; padding: 8px 0 8px 20px; white-space: nowrap; font-size: 17px; line-height: 1.2; font-weight: 700; }
.download-button--sized .download-button__size::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: currentColor; opacity: .35; }

/* Native and editor-inserted spoilers use the same colors and controls. */
html[data-cs-theme] .cs-spoiler { --spoiler-accent: var(--cs-accent); border-color: var(--cs-border); border-radius: 10px; background: var(--cs-soft); color: var(--cs-text); }
html[data-cs-theme] .cs-spoiler:hover { background: var(--cs-raised); border-color: var(--cs-accent); }
html[data-cs-theme] .cs-spoiler:is([open],.is-open) { border-color: var(--cs-accent); background: var(--cs-surface); }
html[data-cs-theme] .cs-spoiler > summary, html[data-cs-theme] .cs-spoiler:is(.spoiler,.spoiler-item) > .spoiler-title { min-height: 51px; padding: 10px 15px; gap: 14px; color: var(--cs-text); font-size: 15px; font-weight: 650; }
html[data-cs-theme] .cs-spoiler > summary::before, html[data-cs-theme] .cs-spoiler:is(.spoiler,.spoiler-item) > .spoiler-title::before { width: 23px; height: 23px; flex-basis: 23px; border: 0; border-radius: 0; background: var(--cs-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5h13v2H8zm0 6h13v2H8zm0 6h13v2H8zM2 5h3v2H2zm0 6h3v2H2zm0 6h3v2H2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5h13v2H8zm0 6h13v2H8zm0 6h13v2H8zM2 5h3v2H2zm0 6h3v2H2zm0 6h3v2H2z'/%3E%3C/svg%3E") center/contain no-repeat; }
html[data-cs-theme] .cs-spoiler--requirements > summary::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='2' y='3' width='20' height='14' rx='1'/%3E%3Cpath d='M12 17v4m-5 0h10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='2' y='3' width='20' height='14' rx='1'/%3E%3Cpath d='M12 17v4m-5 0h10'/%3E%3C/svg%3E"); }
html[data-cs-theme] .cs-spoiler--about > summary::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h7l3 2 3-2h7v17h-7l-3 2-3-2H2zm9 4-3-2H4v13h5l2 1zm2 0v12l2-1h5V5h-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h7l3 2 3-2h7v17h-7l-3 2-3-2H2zm9 4-3-2H4v13h5l2 1zm2 0v12l2-1h5V5h-4z'/%3E%3C/svg%3E"); }
html[data-cs-theme] .builds-home .home-spoilers > .cs-spoiler > summary::after, html[data-cs-theme] .cs-spoiler > summary::after, html[data-cs-theme] .cs-spoiler:is(.spoiler,.spoiler-item) > .spoiler-title::after { flex: 0 0 8px; width: 8px; height: 8px; margin: -4px 5px 0 auto; border: 0; border-right: 2px solid var(--cs-muted); border-bottom: 2px solid var(--cs-muted); border-radius: 0; background: none; transform: rotate(45deg); }
html[data-cs-theme] .builds-home .home-spoilers > .cs-spoiler[open] > summary::after, html[data-cs-theme] .cs-spoiler[open] > summary::after, html[data-cs-theme] .cs-spoiler.is-open > .spoiler-title::after { transform: rotate(225deg); margin-top: 4px; border-color: var(--cs-accent); }
html[data-cs-theme] .cs-spoiler > .cs-spoiler-body, html[data-cs-theme] .cs-spoiler:is(.spoiler,.spoiler-item) > .spoiler-content { color: var(--cs-muted); background: var(--cs-surface); border-top-color: var(--cs-border); }

/* Full card artwork fades into the text surface, without a cropped cover strip. */
.builds-home .builds-catalog { margin-top: 0; }
.builds-home .builds-catalog-heading { margin-bottom: 15px; color: var(--cs-text); font-size: clamp(22px,2.1vw,32px); font-weight: 800; line-height: 1.2; letter-spacing: -.45px; }
.builds-home .builds-catalog-layout { grid-template-columns: 200px minmax(0,1fr); gap: 20px; }
.builds-home #news { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.builds-home .builds-categories { padding: 6px; border-color: var(--cs-border); border-radius: 11px; background: var(--cs-panel-fill); }
.builds-home .builds-categories-heading { color: var(--cs-muted); margin: 10px 10px 7px; font-size: 10px; }
.builds-home #categories { gap: 3px; }
.builds-home #categories a { padding: 10px; min-height: 43px; color: var(--cs-muted); border-radius: 7px; font-size: 13px; }
.builds-home #categories a:hover { background: var(--cs-raised); color: var(--cs-text); }
.builds-home #categories a.active, .builds-home #categories a.active:hover { padding: 10px; background: var(--cs-accent); color: var(--cs-on-accent); }
.builds-home #categories .builds-counter { color: inherit; background: var(--cs-soft); }
.builds-home #categories a.active .builds-counter { color: inherit; background: transparent; }
.builds-home #categories .builds-category-icon { width: 20px; height: 20px; flex-basis: 20px; }
.builds-home #news .new-item--build, .build-page .new-item--recommend { display: flex; flex-direction: column; justify-content: flex-start; height: auto !important; min-height: 0; margin: 0; background: var(--cs-surface); border: 1px solid var(--cs-border); border-radius: 13px; box-shadow: var(--cs-shadow); }
.new-item .new-cover { position: relative; display: block; width: 100%; aspect-ratio: 16/9; flex: none; overflow: hidden; background: var(--cs-surface); }
.new-item .new-cover img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; object-position: center top; }
.new-item .new-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 12%, var(--cs-surface) 94%); }
.new-item--build .new-info, .new-item--recommend .new-info { position: relative; z-index: 1; padding: 13px 15px 0; margin: calc(-1 * clamp(52px,5vw,90px)) 0 0; }
.new-item--build .new-title, .new-item--recommend .new-title { color: var(--cs-text); font-size: 16px; font-weight: 700; line-height: 1.35; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 1.35em; max-height: 2.7em; }
.new-item--build .new-description, .new-item--recommend .new-description { margin-top: 5px; height: 2.9em; color: var(--cs-muted); font-size: 13px; font-weight: 400; line-height: 1.45; -webkit-line-clamp: 2; }
.builds-home #news .new-item--build .new-actions { display: grid; grid-template-columns: minmax(0,2fr) minmax(92px,1fr); gap: 8px; padding: 12px 15px 9px; margin-top: auto; }
.builds-home #news .new-downloads { display: grid; grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
html[data-cs-theme] .new-item .new-btn-go { margin: 0; min-height: 37px; padding: 8px; border: 1px solid var(--cs-border); border-radius: 7px; color: var(--cs-text); background: var(--cs-raised); font-size: 12px; line-height: 1.4; }
.builds-home #news .new-actions > .new-btn-go { align-self: stretch; align-items: center; }
.builds-home #news .new-btn-download { min-height: 36px; padding: 5px 7px; background: var(--cs-accent); color: var(--cs-on-accent); border-color: transparent; }
.builds-home #news .new-btn-download small { color: inherit; font-size: 10px; }
.builds-home #news .new-btn-download--torrent { background: var(--cs-accent-soft); border-color: var(--cs-border); color: var(--cs-accent); }
html[data-cs-theme] .new-item .new-btn-go:hover { border-color: var(--cs-accent); color: var(--cs-accent); background: var(--cs-soft); }
.builds-home #news .new-btn-download--direct:hover { background: var(--cs-hover); color: var(--cs-on-accent); }
.new-item .build-card-stats { margin: 0 15px; padding: 8px 0 11px; border-color: var(--cs-border); color: var(--cs-muted); font-size: 11px; gap: 8px 18px; }

/* The same surfaces and typography extend to build pages and comments. */
.build-page .pages-home { grid-template-columns: minmax(0,3fr) minmax(245px,1fr); gap: 22px; }
.build-page .card-lastoperations { background: var(--cs-surface); color: var(--cs-text); border: 1px solid var(--cs-border); border-radius: 14px; box-shadow: var(--cs-shadow); }
.build-page .card-lastoperations .card-lastoperations { box-shadow: none; }
.build-page .text_news_info, .build-page .with_code :is(h1,h2,h3,h4,strong) { color: var(--cs-text); }
.build-page .text_news_info { font-size: 22px; line-height: 1.3; }
.build-page .desp_news_info, .build-page .with_code, .build-download-empty { color: var(--cs-muted); }
.build-page .with_code { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.build-page .with_code img { max-width: 100%; height: auto; }
.build-page .with_code :is(pre,blockquote,table) { background: var(--cs-soft); color: var(--cs-text); border-color: var(--cs-border); }
.build-page .with_code :is(th,td) { border-color: var(--cs-border); }
html[data-cs-theme] .build-page .btn-addban { background: var(--cs-accent); color: var(--cs-on-accent); border-color: transparent; }
.build-page .build-gallery-item { background: var(--cs-soft); border-color: var(--cs-border); }
.build-page .build-download-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; width: 100%; }
.build-page .build-download-buttons .download-button { width: 290px; max-width: 100%; }
.build-page .right-menu-fixed .text_news_info { font-size: 17px; }
.build-page .new-item--recommend .new-actions { padding: 12px 15px; }
html[data-cs-theme] #commentit_main { --commentit-accent: var(--cs-accent); --commentit-muted: var(--cs-muted); --commentit-border: var(--cs-border); color: var(--cs-text); }
html[data-cs-theme] #commentit_main :is(.commentit_addform,.commentit_body,.commentit_soclogin) { background: var(--cs-surface); border-color: var(--cs-border); box-shadow: var(--cs-shadow); }
html[data-cs-theme] #commentit_main :is(.commentit_header,.commentit_header a,.commentit_msg,.commentit_post_comment,.commentit_readonly) { color: var(--cs-text); }
html[data-cs-theme] #commentit_main :is(input[type="text"],textarea,select) { color: var(--cs-text); background: var(--cs-soft); border-color: var(--cs-border); }
html[data-cs-theme] #commentit_main :is(button,input[type="button"]) { background: var(--cs-soft); color: var(--cs-text); border-color: var(--cs-border); }
html[data-cs-theme] #commentit_main button:hover { background: var(--cs-raised); color: var(--cs-accent); border-color: var(--cs-accent); }
html[data-cs-theme] #commentit_main .commentit_rating_view { background: transparent; color: var(--cs-accent) !important; border-color: transparent; }
html[data-cs-theme] #commentit_main :is(.commentit_rating_up,.commentit_rating_down) { filter: var(--cs-icon-filter); }
html[data-cs-theme] #commentit_main .commentit_addform_enter input[type="button"], html[data-cs-theme] #commentit_main .commentit_title_icon { background: var(--cs-accent); color: var(--cs-on-accent); }
html[data-cs-theme] #commentit_main .commentit_addform_enter input[type="button"]:hover { background: var(--cs-hover); }
html[data-cs-theme] #commentit_main :is(.commentit_quotestyle,.commentit_panelbar,#commentit_smilebar,#commentit_colorbar) { background: var(--cs-soft); color: var(--cs-muted); border-color: var(--cs-border); }
html[data-cs-theme] #commentit_main :is(.commentit_body.commentit_level,.commentit_quotestyle) { border-left-color: var(--cs-accent); }
html[data-cs-theme] #commentit_main .commentit_powerby a { color: var(--cs-accent); }
html[data-cs-theme] #commentit_main .commentit_pangination_nowpage { color: var(--cs-on-accent); }
html[data-cs-theme] #commentit_main .commentit_infinitylist p { background: var(--cs-accent-soft); color: var(--cs-accent); }
html[data-cs-theme] #commentit_main .commentit_stars_input:focus-visible + .commentit_stars_label { outline-color: var(--cs-accent); }
html[data-cs-theme="dark"] #commentit_main .commentit_stars_stars {
  --commentit-star-full: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff9d2e' stroke='%23ff9d2e' stroke-width='1.2' stroke-linejoin='round' d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9Z'/%3E%3C/svg%3E");
  --commentit-star-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23202831' stroke='%23627080' stroke-width='1.2' stroke-linejoin='round' d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9Z'/%3E%3C/svg%3E");
}
html[data-cs-theme="light"] #commentit_main .commentit_stars_stars {
  --commentit-star-full: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' stroke='%232563eb' stroke-width='1.2' stroke-linejoin='round' d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9Z'/%3E%3C/svg%3E");
  --commentit-star-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23f2f6fc' stroke='%23a7b9d2' stroke-width='1.2' stroke-linejoin='round' d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9Z'/%3E%3C/svg%3E");
}
html[data-cs-theme] #commentit_main :is(input[type="text"],textarea,select):focus { box-shadow: 0 0 0 2px var(--cs-accent-soft); border-color: var(--cs-accent); }
html[data-cs-theme] .pagination a { background: var(--cs-surface); color: var(--cs-muted); border: 1px solid var(--cs-border); }
html[data-cs-theme] .pagination a:is(.active,:hover) { background: var(--cs-accent); color: var(--cs-on-accent); border-color: var(--cs-accent); }
html[data-cs-theme] footer { margin-top: 30px; background: var(--cs-bg); border-color: var(--cs-border); padding: 22px 36px; }
html[data-cs-theme] .footer-copy, html[data-cs-theme] .footer-right a { color: var(--cs-muted); line-height: 1.6; }
html[data-cs-theme] .logo-icon { background: var(--cs-accent); color: var(--cs-on-accent); }
html[data-cs-theme] .footer-logo, html[data-cs-theme] .footer-logo .logo-icon { flex-shrink: 0; }
html[data-cs-theme] .footer-logo .logo-icon svg { display: block; width: 23px; height: 23px; }
/* A floating crosshair returns visitors to the top in either palette. */
html[data-cs-theme] .site-back-to-top {
  position: fixed; z-index: 900; right: max(24px, env(safe-area-inset-right));
  bottom: max(var(--cs-back-top-bottom, 24px), env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  padding: 0; border: 2px solid var(--cs-accent); border-radius: 50%;
  background: var(--cs-surface); color: var(--cs-accent); box-shadow: var(--cs-shadow);
  cursor: pointer; transition: transform .2s, background-color .2s, color .2s;
}
html[data-cs-theme] .site-back-to-top[hidden] { display: none; }
html[data-cs-theme] .site-back-to-top::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(var(--cs-accent),var(--cs-accent)) center top/2px 10px no-repeat,
    linear-gradient(var(--cs-accent),var(--cs-accent)) center bottom/2px 10px no-repeat,
    linear-gradient(var(--cs-accent),var(--cs-accent)) left center/10px 2px no-repeat,
    linear-gradient(var(--cs-accent),var(--cs-accent)) right center/10px 2px no-repeat;
}
html[data-cs-theme] .site-back-to-top svg { display: block; width: 25px; height: 25px; pointer-events: none; }
html[data-cs-theme] .site-back-to-top:focus-visible { background: var(--cs-accent); color: var(--cs-on-accent); }
@media (hover: hover) {
  html[data-cs-theme] .site-back-to-top:hover { background: var(--cs-accent); color: var(--cs-on-accent); transform: translateY(-3px); }
}
html[data-cs-theme] .site-back-to-top:active { transform: translateY(-1px); }
html[data-cs-theme] #cookie-consent { background: var(--cs-surface); color: var(--cs-text); border-color: var(--cs-border); box-shadow: var(--cs-shadow); }
html[data-cs-theme] :is(.cookie-title,.cookie-desc) { color: var(--cs-text); }
html[data-cs-theme] #cookie-consent .btn-decline { background: var(--cs-soft); color: var(--cs-muted); border-color: var(--cs-border); }
html[data-cs-theme] #cookie-consent .btn-accept { background: var(--cs-accent); color: var(--cs-on-accent); }

@media (max-width: 1399px) {
  html[data-cs-theme] .landing__buttons .download-button--sized > .download-button__content { gap: 8px; padding-right: 12px; }
  .download-button--sized .download-button__size { padding-left: 12px; font-size: 14px; }
  .builds-home .landing { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
  .builds-home .landing__block--main { padding: 18px; }
  .builds-home .builds-catalog-layout { grid-template-columns: 185px minmax(0,1fr); gap: 16px; }
  .builds-home #news { gap: 16px; }
  .builds-home #news .new-item--build .new-actions { grid-template-columns: 1fr; }
  .builds-home #news .new-downloads { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .builds-home .home-versions-table .home-versions-count { width: 82px; }
  .builds-home .home-versions-table .home-versions-language { width: 46px; }
  .builds-home .home-versions-table .home-versions-action { width: 109px; }
  .builds-home .home-versions-table th, .builds-home .home-versions-table td { padding: 8px 6px; }
  .builds-home .home-versions-table { font-size: 12px; }
  .builds-home .home-versions h2 { font-size: 15px; }
  .builds-home .landing__buttons .download-button { --download-tile-width: 47px; --download-symbol-left: 8px; height: 74px; font-size: 11px; }
  .builds-home .landing__buttons .download-button::before { left: 8px; top: 16px; width: 32px; height: 38px; }
  .builds-home .landing__buttons .download-button::after { width: 47px; }
  .builds-home .landing__buttons .download-button > span { width: calc(100% - 47px); margin-left: 47px; padding: 0 4px; }
  .builds-home .landing__buttons .download-button .download-button__heaading { font-size: 22px; }
  .builds-home .landing__buttons .download-button--sized .download-button__heaading { font-size: 17px; }
  .builds-home .landing__buttons .download-button:is(:hover,:focus-visible)::after { width: 100%; }
  .builds-home .landing__buttons .download-button:is(:hover,:focus-visible)::before { left: calc(50% - 16px); }
}
@media (max-width: 991px) {
  html[data-cs-theme] .container:is(.builds-home,.build-page) { width: calc(100% - 40px); }
  html[data-cs-theme] .topbar { padding: 8px 20px; }
  .topbar .topbar-label, .topbar .social-links { display: none; }
  .builds-home .landing { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .builds-home .landing__block--main { padding: 20px; }
  .builds-home .landing__images { aspect-ratio: 16/8; }
  .builds-home .builds-catalog-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .builds-home .builds-categories { padding: 6px; }
  .builds-home .builds-categories-heading { margin: 6px 10px; }
  .builds-home #categories { flex-direction: row; }
  .builds-home #categories a, .builds-home #categories a.active { padding: 9px 12px; min-height: 44px; }
  .builds-home #news { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .build-page .pages-home { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 767px) {
  html[data-cs-theme] .landing__buttons .download-button--sized { font-size: 12px; }
  html[data-cs-theme] .landing__buttons .download-button--sized > .download-button__content { padding-right: 10px; }
  .download-button--sized .download-button__size { padding-left: 10px; }
  html[data-cs-theme] .landing__buttons .download-button--sized .download-button__heaading { font-size: 20px; }
}
@media (min-width: 992px) and (max-width: 1199px), (min-width: 576px) and (max-width: 767px), (max-width: 359px) {
  .builds-home .landing__buttons .download-button--sized { --download-tile-width: 47px; --download-symbol-left: 8px; }
  .builds-home .landing__buttons .download-button--sized::before { left: 8px; top: calc(50% - 19px); width: 32px; height: 38px; }
  .builds-home .landing__buttons .download-button--sized::after { width: 47px; }
  html[data-cs-theme] .landing__buttons .download-button--sized > .download-button__content { width: calc(100% - 47px); margin-left: 47px; padding: 0 6px 0 2px; gap: 4px; }
  .download-button--sized .download-button__size { padding-left: 8px; font-size: 12px; }
  .builds-home .landing__buttons .download-button--sized:is(:hover,:focus-visible,:active)::after { width: 100%; }
  .builds-home .landing__buttons .download-button--sized:is(:hover,:focus-visible,:active)::before { left: calc(50% - 16px); }
}
@media (max-width: 575px) {
  html[data-cs-theme] .site-back-to-top { width: 50px; height: 50px; right: max(16px, env(safe-area-inset-right)); bottom: max(var(--cs-back-top-bottom, 20px), env(safe-area-inset-bottom)); }
  html[data-cs-theme] .container:is(.builds-home,.build-page) { width: calc(100% - 24px); }
  html[data-cs-theme] .topbar { min-height: 58px; margin-bottom: 12px; padding: 8px 12px; gap: 8px; }
  html[data-cs-theme] .site-brand { font-size: 18px; gap: 6px; letter-spacing: -.4px; }
  .site-brand-mark { width: 23px; height: 32px; }
  .topbar .topbar-right { gap: 6px; }
  .site-theme-toggle { width: 34px; height: 36px; padding: 7px; }
  html[data-cs-theme] .site-language { height: 36px; }
  .site-language .site-language__icon { display: none; }
  html[data-cs-theme] .site-language .site-language__link { min-width: 30px; height: 28px; padding: 0 6px; font-size: 11px; }
  .builds-home .landing__block--main { padding: 16px; }
  .builds-home .landing .home-heading { font-size: 29px; }
  .builds-home .badges .badge { padding: 6px 7px; font-size: 10px; }
  .builds-home .download-buttons__list { grid-template-columns: minmax(0,1fr); gap: 10px; }
  html[data-cs-theme] .download-button { height: 72px; }
  html[data-cs-theme] .download-button::before { top: 10px; }
  .builds-home .home-intro { font-size: 14px; }
  html[data-cs-theme] .cs-spoiler > summary { font-size: 14px; padding: 10px 12px; }
  .builds-home .landing__images { aspect-ratio: 4/3; gap: 6px; }
  .builds-home .home-versions h2 { padding: 12px; font-size: 16px; }
  .builds-home .home-versions-table tbody tr { height: auto; border-color: var(--cs-border); }
  .builds-home .home-versions-table tbody th, .builds-home .home-versions-table tbody td { padding: 0; }
  .builds-home .home-versions-table td.home-versions-count, .builds-home .home-versions-table td.home-versions-language, .builds-home .home-versions-table td.home-versions-action { width: auto; }
  .builds-home .home-versions-table td.home-versions-count { font-size: 11px; }
  .builds-home .home-versions-table tbody th { font-size: 13px; }
  .builds-home .home-version-download { min-height: 40px; }
  .builds-home #news { grid-template-columns: minmax(0,1fr); }
  .builds-home #news .new-item--build .new-actions { grid-template-columns: minmax(0,2fr) minmax(92px,1fr); }
  .builds-home #news .new-downloads { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .builds-home .builds-catalog-heading { font-size: 22px; }
  .build-page .text_news_info { font-size: 19px; }
  .build-page .build-download-buttons .download-button { width: 100%; }
  html[data-cs-theme] footer { padding: 20px 12px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-cs-theme] .site-back-to-top { transition: none; }
  html[data-cs-theme] .site-back-to-top:is(:hover,:active) { transform: none; }
  html[data-cs-theme] .download-button::before, html[data-cs-theme] .download-button::after, .new-item .new-cover img { transition: none; }
  html[data-cs-theme] .download-button:is(:hover,:focus-visible,:active)::after { width: var(--download-tile-width) !important; }
  html[data-cs-theme] .download-button:is(:hover,:focus-visible,:active)::before { left: var(--download-symbol-left) !important; }
  .new-item .new-cover:hover img { transform: none; }
}
