
/* CS16BOX 1.6 - readable build pages, real game imagery and shared profile editor */
.rich-build{padding-bottom:40px}.build-heading{max-width:1060px;margin:34px 0}
.build-heading h1{font-size:clamp(32px,4vw,58px);line-height:1.09;letter-spacing:-1.5px;margin:18px 0}
.build-heading .detail-intro{max-width:850px;font-size:18px;line-height:1.65}
.build-badges{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 30px}
.build-badges span{padding:8px 12px;font-size:12px;color:#c0cad7;border:1px solid #283345;border-radius:6px;background:#141c29}
.rich-build .detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}
.rich-build .detail-main{min-width:0;max-width:100%;width:100%}.rich-build .detail-aside{position:sticky;top:24px}
.build-hero-art{margin:0;aspect-ratio:16/9;position:relative;border-radius:16px;overflow:hidden;background:#172237;border:1px solid #2a3545}
.build-hero-art>img{width:100%;height:100%;object-fit:cover}
.build-hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),transparent 60%);pointer-events:none}
.build-art-mark{position:absolute;left:30px;bottom:48px;z-index:1;text-shadow:0 2px 15px #000}
.build-art-mark span{font-size:15px;letter-spacing:4px;font-weight:800;display:block}
.build-art-mark strong{font-size:76px;line-height:1.1;color:#b2ff59}
.build-hero-art.layout-split .build-art-mark{left:auto;right:34px;text-align:right}
.build-hero-art.layout-poster .build-art-mark{bottom:50px}.build-hero-art.layout-poster .build-art-mark strong{font-size:60px}
.build-hero-art figcaption{position:absolute;bottom:16px;left:24px;right:24px;z-index:2;font-size:11px;color:#e6ecf4}
.build-hero-art figcaption a{color:inherit}
.build-toc{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 30px;padding-bottom:22px;border-bottom:1px solid #243046}
.build-toc a{font-size:13px;padding:9px 12px;background:#182233;color:#cad7e6;border-radius:7px;border:1px solid #29354a}
.build-toc a:hover{border-color:#b2ff59;color:#b2ff59}
.build-section{scroll-margin-top:28px;padding:12px 0 30px;margin-bottom:22px;border-bottom:1px solid #263248}
.build-section h2{font-size:clamp(24px,3vw,32px);line-height:1.22;margin:12px 0 22px;letter-spacing:-.6px}
.build-section h3{font-size:20px;line-height:1.4;margin:28px 0 10px}
.build-section p,.build-section .article-copy p{font-size:16px;line-height:1.85;color:#c4cedd;margin:0 0 18px;max-width:80ch}
.build-specs{display:grid;grid-template-columns:1fr;margin:20px 0;border:1px solid #2b394c;border-radius:12px;overflow:hidden}
.build-specs>div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;padding:16px 20px;background:#111c2a}
.build-specs>div:nth-child(even){background:#142031}.build-specs dt{font-size:13px;color:#91a3ba}.build-specs dd{font-size:14px;font-weight:600;margin:0;color:#e1e9f4;overflow-wrap:anywhere}
.build-features{padding-left:22px;color:#c7d4e4;line-height:1.8}.build-features li{margin:8px 0}.build-features li::marker{color:#b2ff59}
.build-section .build-note,.build-note{padding:18px 20px;border-left:3px solid #b2ff59;background:#152222;border-radius:0 8px 8px 0;font-size:14px;white-space:pre-line}
.build-section .build-source,.build-source{font-size:12px;color:#93a5bc;line-height:1.65;margin:16px 0}.build-source a{color:#b5cef0;text-decoration:underline;text-underline-offset:3px}
.requirements-table-wrap{overflow-x:auto;border:1px solid #2b394c;border-radius:12px;margin:20px 0}
.requirements-table{border-collapse:collapse;min-width:440px;width:100%;font-size:14px;text-align:left}
.requirements-table th,.requirements-table td{padding:17px 18px;border-bottom:1px solid #283448;line-height:1.5}
.requirements-table thead th{background:#1d2c3c;color:#c1ff78;font-size:12px}.requirements-table tbody th{color:#c8d6e5;font-weight:500;width:36%}
.requirements-table tbody td{color:#dfe9f5}.requirements-table tbody tr:nth-child(even){background:#142031}
.requirements-table tr:last-child th,.requirements-table tr:last-child td{border-bottom:0}
.build-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.build-gallery figure{margin:0;min-width:0}.build-gallery a{display:block;position:relative;overflow:hidden;border:1px solid #344155;border-radius:10px;background:#172333}
.build-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .2s}
.build-gallery a:hover img{transform:scale(1.03)}.build-gallery figcaption{font-size:11px;line-height:1.6;color:#9eafc5;margin:8px 2px 0}
.gallery-expand{position:absolute;bottom:8px;right:8px;padding:4px 8px;background:rgba(5,9,16,.85);border-radius:5px}
.install-steps{list-style:none;padding:0;margin:20px 0}.install-steps li{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid #263245}
.install-steps li>span{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #426039;color:#b2ff59;border-radius:50%;font-size:13px}
.install-steps p{margin:0;font-size:15px}
.build-faq details{border-bottom:1px solid #2d3b50}.build-faq summary{padding:20px 28px 20px 0;cursor:pointer;font-size:15px;font-weight:600;color:#eef4fc;line-height:1.5}
.build-faq details[open] summary{color:#b2ff59}.build-faq details p{font-size:14px;padding-right:10px}
.build-final-download{padding:28px;background:#16222f;border:1px solid #3a5343;border-radius:14px;display:flex;gap:20px;flex-wrap:wrap;justify-content:space-between;align-items:center}
.build-final-download h2{font-size:23px;margin:0 0 10px}.build-final-download p{color:#afbdd0;font-size:14px;line-height:1.6;margin:0;max-width:470px}
.build-aside-note{padding:22px;background:#121c2a;border:1px solid #28364a;border-radius:12px;margin:18px 0;color:#cedbeb}
.build-aside-note strong{font-size:14px}.build-aside-note p{color:#9cacc1;font-size:13px;line-height:1.7;margin:10px 0}.build-aside-note a{color:#c1ff78;font-size:12px}
.preserve-lines{white-space:pre-line}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.game-release-cover{position:relative;isolation:isolate;background:#162231}.game-release-cover .release-cover-img{filter:none;opacity:1}
.game-release-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,9,18,.8),rgba(4,9,18,0) 75%);z-index:0;pointer-events:none}
.game-release-cover .cover-chip,.game-release-cover .cover-featured{z-index:2}.card-art-caption{position:absolute;left:22px;bottom:18px;z-index:1;text-shadow:0 2px 14px #000}
.card-art-caption small{font-size:9px;letter-spacing:2px;display:block}.card-art-caption strong{font-size:50px;line-height:1;color:#fff}
.game-release-cover.layout-split:after{background:linear-gradient(270deg,rgba(4,9,18,.85),transparent 85%)}
.game-release-cover.layout-split .card-art-caption{left:auto;right:22px;text-align:right}
.game-release-cover.layout-poster:after{background:linear-gradient(0deg,rgba(4,9,18,.9),transparent 80%)}
.game-release-cover.layout-poster .card-art-caption strong{font-size:40px}.game-release-cover.layout-poster .card-art-caption small{display:inline;margin-right:12px}
.game-lightbox{max-width:min(1120px,94vw);max-height:94vh;padding:12px;background:#111b2a;border:1px solid #52617a;border-radius:12px;color:#dfe9f7}
.game-lightbox::backdrop{background:rgba(0,0,0,.88)}.game-lightbox img{display:block;max-width:100%;max-height:78vh;object-fit:contain;margin:auto}
.game-lightbox button{position:absolute;right:20px;top:20px;border:1px solid #52617a;background:#0c1424;color:white;font-size:26px;cursor:pointer;width:40px;height:40px;border-radius:50%}
.game-lightbox p{font-size:13px;padding:4px 10px;margin:10px 0 0}
.media-unavailable:after{content:"Изображение временно недоступно";display:grid;place-items:center;min-height:130px;font-size:12px;color:#aebed3;background:#172331;padding:12px;text-align:center}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.content-profile-form .admin-card{margin-bottom:22px}
.admin-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}
.admin-gallery img{width:100%;height:150px;object-fit:cover;border-radius:8px;margin-bottom:12px}.admin-gallery p{font-size:12px;color:#f4c277}
.admin-fields>p{line-height:1.8;color:#abbad0}.admin-hint p{line-height:1.65}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #b2ff59;outline-offset:4px}
@media(max-width:1000px){.rich-build .detail-grid{grid-template-columns:minmax(0,1fr) 270px;gap:22px}.build-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.build-specs>div{grid-template-columns:145px minmax(0,1fr)}}
@media(max-width:760px){.rich-build .detail-grid{display:flex;flex-direction:column;align-items:stretch}.rich-build .detail-aside{position:static;order:-1;width:100%}.rich-build .download-panel{padding:20px}.rich-build .download-panel-icon,.rich-build .build-aside-note,.rich-build .aside-support,.rich-build .download-panel-top{display:none}.rich-build .download-panel h2{font-size:22px}.rich-build .download-panel p{margin:9px 0 15px}.rich-build .file-data{margin-top:12px}.build-heading{margin:20px 0}.build-heading h1{letter-spacing:-.8px}.build-heading .detail-intro{font-size:16px}.build-badges{gap:6px;margin-bottom:12px}.build-badges span{font-size:11px;padding:6px 8px}.build-art-mark{bottom:30px;left:20px}.build-art-mark strong{font-size:52px}.build-art-mark span{font-size:10px;letter-spacing:2px}.build-hero-art figcaption{font-size:9px;left:20px;bottom:10px}.build-specs>div{grid-template-columns:130px minmax(0,1fr);padding:14px;gap:10px}.build-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.build-section p{font-size:15px}.build-toc a{font-size:12px}.build-toc{gap:6px}.build-section{margin-bottom:10px;padding-bottom:20px}.profile-grid,.admin-gallery{grid-template-columns:1fr}.build-final-download{padding:20px}}
@media(prefers-reduced-motion:reduce){.build-gallery img{transition:none}}

/* Clip decorative artwork without creating a scroll container around sticky panels. */
.app-shell{overflow:clip}
@media(max-width:760px){.rich-build .file-data{display:block}.requirements-table-wrap{max-width:100%;min-width:0}.build-final-download .btn{max-width:100%;white-space:normal}}
