@font-face{font-family:"DM Sans";src:url(fonts/dm-sans.woff2) format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}
@font-face{font-family:"Space Grotesk";src:url(fonts/space-grotesk.woff2) format("woff2");font-weight:300 700;font-style:normal;font-display:swap}
body{--wp--preset--font-family--body:"DM Sans", sans-serif;--wp--preset--font-family--display:"Space Grotesk", Georgia, serif;font-family:"DM Sans", sans-serif}
/* Article reading measure and heading scale */
@media (min-width:1100px){body.single-post .aen-r3-reading-layout{grid-template-columns:minmax(0,630px) 300px!important;justify-content:space-between}}
body.single-post .wp-block-post-content>p,body.single-post .wp-block-post-content>ul>li,body.single-post .wp-block-post-content>ol>li{font-size:19px;line-height:1.7}
main .wp-block-post-content h2{font-size:30px;line-height:1.25}
main .wp-block-post-content h3{font-size:22px;line-height:1.3}
@media (max-width:767px){body.single-post .wp-block-post-content>p,body.single-post .wp-block-post-content>ul>li,body.single-post .wp-block-post-content>ol>li{font-size:17px}main .wp-block-post-content h2{font-size:23px}main .wp-block-post-content h3{font-size:20px}}
.aen-r3-aside .aen-r3-info>p{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;margin:0}
/* Footer closing row */
.vf-footer-bottom{padding:16px 0 28px;border-top:1px solid var(--apk-line)}
.vf-copyright{margin:0;font-size:14px;line-height:1.5;color:var(--apk-muted)}
.apk-footer .aen-r5-bottom:empty{display:none}
.apk-footer .aen-r5-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-top:24px;padding-top:16px;border-top:1px solid var(--apk-line)}
.apk-footer .aen-r5-bottom .aen-r5-links{flex-direction:row;flex-wrap:wrap;gap:8px 20px}
.apk-footer .aen-r5-column h2{font-size:16px;line-height:1.3;margin:0 0 12px}
.apk-footer .aen-r5-links{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.apk-footer .aen-r5-links a{font-size:14px;line-height:1.5}
/* Article content stays inside the text column: tables, code, media, long links, steps */
.wp-block-post-content{--vf-bg:var(--apk-bg,var(--wp--preset--color--base,#fff));--vf-line:color-mix(in srgb,currentColor 22%,transparent);min-width:0;overflow-wrap:break-word}
.wp-block-post-content a,.wp-block-post-content :is(td,th){overflow-wrap:anywhere}
.wp-block-post-content :is(img,video,iframe,embed,object,svg,canvas){max-width:100%}
.wp-block-post-content :is(img,video){height:auto}
.wp-block-post-content :is(figure,.wp-block-image,.wp-block-embed,.wp-block-video,.wp-block-table){max-width:100%;box-sizing:border-box;margin-inline:0}
.wp-block-post-content :is(.alignwide,.alignfull){width:auto;max-width:100%;margin-inline:0}
.wp-block-post-content pre{max-width:100%;box-sizing:border-box;overflow-x:auto;white-space:pre;padding:14px 16px;margin:1.5em 0;font-size:15px;line-height:1.55;border:1px solid var(--vf-line);border-radius:4px;background:color-mix(in srgb,currentColor 5%,transparent)}
.wp-block-post-content pre code{font-size:inherit;white-space:inherit;overflow-wrap:normal}
.wp-block-post-content :not(pre)>code{overflow-wrap:anywhere;font-size:.88em;padding:.1em .3em;border-radius:3px;background:color-mix(in srgb,currentColor 8%,transparent)}
.wp-block-post-content>table{display:block;max-width:100%;overflow-x:auto}
.wp-block-post-content .vf-table-scroll,.wp-block-post-content .wp-block-table{max-width:100%;overflow-x:auto;margin:1.5em 0;background:linear-gradient(to right,var(--vf-bg) 30%,transparent) left/28px 100% no-repeat local,linear-gradient(to left,var(--vf-bg) 30%,transparent) right/28px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,rgba(0,0,0,.28),transparent) left/12px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,rgba(0,0,0,.28),transparent) right/12px 100% no-repeat scroll}
.wp-block-post-content .vf-table-scroll:focus-visible{outline:2px solid currentColor;outline-offset:2px}
body .wp-block-post-content table{width:100%;max-width:none;border-collapse:collapse;border-spacing:0;margin:0;font-size:16px;line-height:1.5;table-layout:auto}
body .wp-block-post-content table :is(td,th){min-width:4.5em!important;max-width:24em;overflow-wrap:anywhere!important;word-break:normal;padding:10px 14px;border:1px solid var(--vf-line);text-align:left;vertical-align:top;font-size:16px;line-height:1.5}
body .wp-block-post-content table tbody tr:nth-child(even)>:is(td,th){background:color-mix(in srgb,currentColor 4%,transparent)}
body .wp-block-post-content table :is(thead td,thead th,tbody th),body .wp-block-post-content table:not(:has(thead)) tr:first-child:not(:has(>td:not(:has(>strong)))) > td{font-weight:700;background:color-mix(in srgb,currentColor 9%,transparent)}
body .wp-block-post-content table :is(td,th) p{margin:0}
.wp-block-post-content .wp-block-table figcaption,.wp-block-post-content .vf-table-scroll+figcaption{font-size:15px;margin-top:8px}
.wp-block-post-content :is(ol,ul){box-sizing:border-box;max-width:100%;margin-inline:0;padding-inline-start:1.4em}
.wp-block-post-content li>:is(ol,ul){margin-block:.4em;padding-inline-start:1.3em}
.wp-block-post-content li+li{margin-top:.35em}
.wp-block-post-content blockquote{box-sizing:border-box;max-width:100%;margin:1.5em 0;padding:.2em 0 .2em 1.1em;border-left:3px solid var(--vf-line)}
.wp-block-post-content blockquote p:last-child{margin-bottom:0}
.wp-block-post-content .wp-block-columns{box-sizing:border-box;max-width:100%;margin-inline:0;gap:24px}
.wp-block-post-content .wp-block-column{min-width:0}
@media (max-width:767px){.wp-block-post-content :is(.vf-table-scroll,.wp-block-table)>table:not(:has(tr>:nth-child(4))){min-width:0}body .wp-block-post-content table :is(td,th){padding:10px 12px;font-size:15px}.wp-block-post-content .wp-block-columns{flex-direction:column;gap:12px}}
/* Header: full-width green band, brand and menu on one centred row */
body.apk-game-luanti .apk-header{position:relative;inset:auto;width:auto;background:transparent;color:#fff}
body.apk-game-luanti .lt-rail{position:relative;isolation:isolate;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;height:auto;min-height:72px;padding:14px 0!important;background:var(--apk-primary);overflow:visible}
body.apk-game-luanti .lt-rail::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--apk-primary);box-shadow:0 0 0 100vmax var(--apk-primary);clip-path:inset(0 -100vmax)}
.lt-rail-line,.lt-rail-bottom{display:none}
@media (min-width:600px){.lt-navigation .wp-block-navigation__container{flex-direction:row;align-items:center;gap:28px;width:auto}
.lt-navigation .wp-block-navigation-item{width:auto}
.lt-navigation a{display:inline-flex;align-items:center;min-height:44px;width:auto;padding:0;border:0;color:#fff}}
.lt-navigation a:hover,.lt-navigation a[aria-current=page]{color:#fff;text-decoration:underline;text-underline-offset:6px}
/* Home sections share the header and footer edges; tinted band reaches the viewport edges */
.apk-home :is(.lt-opening,.lt-game-section,.lt-mod-section,.lt-layers,.lt-together){padding-inline:0}
.apk-home .lt-mod-section{position:relative;isolation:isolate;background:transparent}
.apk-home .lt-mod-section::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--apk-surface);box-shadow:0 0 0 100vmax var(--apk-surface);clip-path:inset(0 -100vmax)}
@media (max-width:780px){.lt-hero-grid{grid-template-columns:1fr;gap:20px}.lt-title{font-size:38px}.lt-app-dock{grid-column:1;grid-row:auto;text-align:left;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}.lt-app-dock .lt-app-logo{width:72px;margin:0}.lt-app-dock .lt-app-logo img{width:72px;height:72px;margin:0}}
/* Footer: note, get involved and contact card side by side, tops aligned */
.apk-footer .lt-bottom{padding-inline:0}
.lt-footer-signoff,.lt-footer-contact,.lt-bottom .aen-r5-links a{font-size:14px;line-height:1.6}
.lt-bottom .lt-label{font-size:12px}
.lt-footer-contact{align-self:start;max-width:none}
@media (min-width:700px){body .wp-site-blocks .aen-r3-footer-shell .lt-bottom .aen-r5-grid{grid-template-columns:minmax(0,1fr) minmax(0,.7fr) minmax(0,2fr)!important;gap:24px 40px!important;align-items:start!important}
body .wp-site-blocks .aen-r3-footer-shell .lt-bottom .aen-r5-grid>.lt-footer-note:not(.aen-r5-column){grid-column:1!important;grid-row:1!important}
body .wp-site-blocks .aen-r3-footer-shell .lt-bottom .aen-r5-grid>.aen-r5-column{grid-column:2!important;grid-row:1!important}
body .wp-site-blocks .aen-r3-footer-shell .lt-bottom .aen-r5-grid>.lt-footer-contact{grid-column:3!important;grid-row:1!important;margin:0!important}}

/* r8 single article: compact title (h1 > h2), ~20px body/sidebar gap, columns fill the content container */
:root body.single-post main h1,:root body.single-post main h1.wp-block-post-title{font-size:clamp(26px,calc(1.15vw + 19.5px),36px)!important;line-height:1.2!important;letter-spacing:normal}
:root body.single-post main .wp-block-post-content h2{font-size:clamp(21px,calc(.5vw + 18px),26px)!important;line-height:1.25!important}
:root body.single-post main .wp-block-post-content h3{font-size:clamp(18px,calc(.3vw + 16px),21px)!important;line-height:1.3!important}
@media (min-width:1024px){body.single .wp-site-blocks main .aen-r3-reading-layout:has(>.aen-r3-aside),body.page .wp-site-blocks main .aen-r3-reading-layout:has(>.aen-r3-aside){display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:20px!important;justify-content:stretch!important;align-items:start;width:100%!important;max-width:none!important;margin-inline:0!important}
body.single .wp-site-blocks main .aen-r3-reading-layout:has(>.aen-r3-aside)>*,body.page .wp-site-blocks main .aen-r3-reading-layout:has(>.aen-r3-aside)>*{max-width:none!important;width:auto!important;margin-inline:0!important}}

/* r8 family A: title in the reading column, sidebar right (shared r8 rule) */

/* r8b: body column fills the freed width next to the sidebar (no centred inner measure) */
@media (min-width:1024px){:root body.single main .wp-block-post-content.is-layout-constrained>*,:root body.page main .wp-block-post-content.is-layout-constrained>*{max-width:none!important;margin-left:0!important;margin-right:0!important}}
@media (min-width:1024px){:root body.single-post main .aen-r3-reading-layout:has(>.aen-r3-aside) .wp-block-post-content,:root body.page main .aen-r3-reading-layout:has(>.aen-r3-aside) .wp-block-post-content,:root body.single-post main .au-post-layout .wp-block-post-content{width:auto!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}:root body.single-post main .aen-r3-reading-layout:has(>.aen-r3-aside) .wp-block-post-content>*,:root body.page main .aen-r3-reading-layout:has(>.aen-r3-aside) .wp-block-post-content>*,:root body.single-post main .au-post-layout .wp-block-post-content>*{max-width:none!important;margin-left:0!important;margin-right:0!important}}

/* r8d: keep the ~20px gap but hold body text to ~60-75 characters per line; the sidebar takes the freed width */
:root body:is(.single,.page) main{--vf-measure:54ch}
@media (min-width:1024px){:root body:is(.single,.page) .wp-site-blocks main .aen-r3-reading-layout:has(>.aen-r3-aside){grid-template-columns:minmax(0,var(--vf-measure)) minmax(300px,1fr)!important}
:root body:is(.single,.page) main .aen-r3-aside{container-type:inline-size}}
@container (min-width:460px){:root body:is(.single,.page) main .aen-r3-aside ul{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px 16px;padding:0!important;list-style:none}
:root body:is(.single,.page) main .aen-r3-aside li{margin:0!important;padding:12px 14px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:6px}}

/* r8e: in a wide sidebar the 'This site' links sit as cards too */
@container (min-width:460px){:root body:is(.single,.page) main .aen-r3-aside .aen-r3-info>p{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px 16px}
:root body:is(.single,.page) main .aen-r3-aside .aen-r3-info>p>a{display:block;padding:12px 14px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:6px}}

/* r9: footer two rows - note | links ; copyright */
@media (min-width:701px){
:root body .apk-footer .lt-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"note nav" "copy copy"!important;column-gap:32px!important;row-gap:12px!important;align-items:center!important}
:root body .apk-footer .lt-bottom>.aen-r5-grid,:root body .apk-footer .lt-bottom>.aen-r5-bottom{display:contents!important}
:root body .apk-footer .lt-bottom .lt-footer-note{grid-area:note;margin:0!important}
:root body .apk-footer .lt-bottom .lt-footer-note>*{margin:0 0 4px!important}
:root body .apk-footer .lt-bottom .lt-footer-note>*:last-child{margin-bottom:0!important}
:root body .apk-footer .aen-r5-bottom>.aen-r5-inline{grid-area:nav;justify-self:end}
:root body .apk-footer .aen-r5-bottom>.aen-r5-inline ul{display:flex!important;flex-wrap:wrap;gap:6px 20px;margin:0!important;padding:0!important;list-style:none}
:root body .apk-footer .aen-r5-bottom>.vf-copyright{grid-area:copy;margin:0!important;padding-top:12px;border-top:1px solid color-mix(in srgb,currentColor 15%,transparent);font-size:14px}
}
/* r9b: blog cards, 3 per row - image, date, title, excerpt */
:root body .wp-block-query>ul.wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 24px!important;margin:0 0 32px!important;padding:0!important;list-style:none}
:root body .wp-block-query>ul.wp-block-post-template>li.wp-block-post{display:flex!important;flex-direction:column;margin:0!important;padding:0!important;min-width:0;border:0}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-featured-image{margin:0 0 12px!important;width:100%!important;aspect-ratio:16/10;overflow:hidden;border-radius:6px;contain:paint}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-featured-image>a{display:block;width:100%;height:100%}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-featured-image :is(img,.aen-no-image){display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0!important;position:static!important}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-date{margin:0 0 6px!important;font-size:13px!important;opacity:.75}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-title{margin:0 0 8px!important;font-size:19px!important;line-height:1.3!important}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-excerpt{margin:0!important;font-size:15px!important;line-height:1.55!important}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-excerpt p{margin:0!important}
@media (max-width:1023px){:root body .wp-block-query>ul.wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){:root body .wp-block-query>ul.wp-block-post-template{grid-template-columns:1fr!important}}
:root body .wp-block-query .wp-block-query-pagination{display:flex!important;justify-content:center!important;align-items:center;flex-wrap:wrap;gap:8px 16px!important}
:root body .wp-block-query .wp-block-query-pagination>*{margin:0!important}
/* r9c: white cards + tighter pagination */
:root body .wp-block-query>ul.wp-block-post-template{margin:0 0 16px!important}
:root body .wp-block-query>ul.wp-block-post-template>li.wp-block-post{background:#fff!important;color:#1f2328;border:1px solid rgba(0,0,0,.08)!important;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06);padding:0 0 16px!important}
:root body .wp-block-query .wp-block-post-template>li>.wp-block-post-featured-image{border-radius:0!important;margin:0 0 12px!important}
:root body .wp-block-query .wp-block-post-template>li>:not(.wp-block-post-featured-image){padding-inline:16px!important}
:root body .wp-block-query .wp-block-post-template>li a{color:inherit}
:root body .wp-block-query .wp-block-query-pagination{margin:8px 0 8px!important;padding:0!important}
:root body .apk-footer .aen-r5-bottom>.vf-copyright{text-align:center!important;justify-self:stretch}

:root body.blog main h1.wp-block-heading:first-child,:root body .lt-blog-title{text-align:center!important;margin-inline:auto!important}

/* r9d: less space below pagination on list pages */
:root body:is(.blog,.archive,.search) .wp-site-blocks main.apk-document{padding-bottom:16px!important;margin-bottom:0!important;min-height:0!important}
:root body:is(.blog,.archive,.search) .wp-site-blocks main.apk-document .wp-block-query{margin-bottom:0!important;padding-bottom:0!important}
:root body:is(.blog,.archive,.search) .wp-site-blocks main.apk-document .wp-block-query>*:last-child{margin-bottom:0!important}
:root body:is(.blog,.archive,.search) .wp-site-blocks>footer,:root body:is(.blog,.archive,.search) .wp-site-blocks>.apk-footer{margin-block-start:16px!important}
/* r9e: post/page sidebar 1 column, body takes the width */
@media (min-width:1024px){
:root body:is(.single-post,.page) .wp-site-blocks main .aen-r3-reading-layout:has(>.aen-r3-aside){display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:20px!important;align-items:start}
:root body:is(.single-post,.page) .wp-site-blocks main .aen-r3-reading-column,:root body:is(.single-post,.page) .wp-site-blocks main .aen-r3-reading-column .wp-block-post-content{width:auto!important;max-width:none!important;margin-inline:0!important}
:root body:is(.single-post,.page) .wp-site-blocks main .aen-r3-reading-column .wp-block-post-content>*{max-width:none!important}
:root body:is(.single-post,.page) .wp-site-blocks main .aen-r3-aside{width:auto!important;float:none!important;margin:0!important}
}
:root body:is(.single-post,.page) main .aen-r3-aside ul{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
:root body.page main .aen-r3-aside .aen-r3-info p{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important}