/* ZENMYKO v4.6: match the index's centered internal content width. */
:root{--zen-inner-width:1320px;--zen-inner-gutter:22px;--zen-inner-total-gutter:44px}
body.zen-forumdisplay-page .zen-forumdisplay-layout{
    width:calc(100% - var(--zen-inner-total-gutter))!important;
    max-width:var(--zen-inner-width)!important;
    margin:0 auto 46px!important;
    box-sizing:border-box!important;
    grid-template-columns:minmax(0,1fr) 328px!important;
    gap:22px!important;
}
body.zen-forumdisplay-page #content>.wrapper>.navigation{
    width:calc(100% - var(--zen-inner-total-gutter))!important;
    max-width:var(--zen-inner-width)!important;
    box-sizing:border-box!important;
    margin:0 auto 14px!important;
    padding:10px 4px!important;
}
body:not(.zen-index):not(.zen-forumdisplay-page) #content>.wrapper{
    width:calc(100% - var(--zen-inner-total-gutter))!important;
    max-width:var(--zen-inner-width)!important;
    margin:0 auto!important;
    padding:0 0 44px!important;
    box-sizing:border-box!important;
}
/* Avoid a full-bleed secondary table on internal thread and profile pages. */
body:not(.zen-index) .tborder,body:not(.zen-index) .zen-threadlist{max-width:100%}
@media(max-width:1100px){
    body.zen-forumdisplay-page .zen-forumdisplay-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
    body.zen-forumdisplay-page .zen-forumdisplay-aside{width:100%!important;max-width:100%!important;margin:0 auto!important}
}
@media(max-width:700px){
    :root{--zen-inner-gutter:12px;--zen-inner-total-gutter:24px}
    body.zen-forumdisplay-page .zen-forumdisplay-layout{margin-bottom:26px!important;gap:12px!important}
    body.zen-forumdisplay-page #content>.wrapper>.navigation{margin-bottom:10px!important;padding:9px 0!important}
}
