/* Shared header: isolate navigation sizing from general page styles. */
header.site-header.wlc-responsive-header{box-sizing:border-box!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;position:sticky!important;top:0;z-index:200!important;width:100%!important;max-width:none!important;height:auto!important;min-height:64px!important;margin:0!important;padding:8px 24px!important;border-bottom:1px solid var(--line,#2a3d32);background:var(--bg,#0c1510);overflow:visible!important}
.wlc-responsive-header *{box-sizing:border-box}.wlc-responsive-header .brand{display:flex!important;align-items:center;gap:9px;min-width:0;width:auto!important;max-width:100%;margin:0!important;white-space:nowrap;text-decoration:none}.wlc-responsive-header .brand .cube{width:32px!important;height:32px!important;object-fit:contain;flex-shrink:0}.wlc-responsive-header .brand-type{display:flex;align-items:baseline;gap:6px;min-width:0;line-height:1.1}.wlc-responsive-header .brand-type strong{font-size:24px!important;letter-spacing:-1px}.wlc-responsive-header .brand-type em{font-size:20px!important;letter-spacing:.5px;font-style:normal}
.wlc-responsive-header #wlc-primary-navigation{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;gap:20px;width:auto!important;min-width:0;height:auto!important;margin:0!important;padding:0!important;position:static!important;border:0;background:transparent}
.wlc-responsive-header #wlc-primary-navigation>a{display:block;margin:0!important;padding:10px 0!important;min-height:42px;white-space:nowrap;font:600 13px/20px system-ui,sans-serif;text-decoration:none;border:0!important;border-bottom:2px solid transparent!important;color:var(--muted,#b0c2b6)}.wlc-responsive-header #wlc-primary-navigation>a.active{color:var(--green,#00d68b);border-bottom-color:var(--green,#00d68b)!important}.wlc-responsive-header #wlc-primary-navigation>a:hover{color:var(--green,#00d68b)}
.wlc-responsive-header #wlc-account-navigation{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;width:auto!important;min-width:0;height:auto!important;position:static!important;margin:0!important;padding:0!important}.wlc-responsive-header .header-actions>a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:13px!important;line-height:1.3;text-decoration:none}.wlc-responsive-header .header-actions .primary{margin:0!important;padding:9px 14px!important;border-radius:8px!important;min-height:40px!important;font-size:13px!important}.wlc-responsive-header #theme{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:44px;margin:0!important;padding:8px!important;border:0;background:transparent;color:inherit}.wlc-responsive-header .wlc-menu-toggle{display:none;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid var(--line,#304d3b);border-radius:8px;background:transparent;color:var(--text,#e7eee9);font:600 14px system-ui;cursor:pointer}.wlc-responsive-header a:focus-visible,.wlc-responsive-header button:focus-visible{outline:2px solid var(--green,#00d68b);outline-offset:4px}
@media(max-width:1249px) and (min-width:901px){header.site-header.wlc-responsive-header{grid-template-columns:auto minmax(0,1fr);gap:0 20px;padding:6px 20px!important}.wlc-responsive-header .brand{grid-column:1;grid-row:1}.wlc-responsive-header #wlc-account-navigation{grid-column:2;grid-row:1}.wlc-responsive-header #wlc-primary-navigation{grid-column:1/-1;grid-row:2;justify-content:center;gap:32px}.wlc-responsive-header #wlc-primary-navigation>a{padding:5px 0!important;min-height:32px}}
@media(max-width:900px){header.site-header.wlc-responsive-header{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 16px!important;min-height:72px!important}.wlc-responsive-header .brand{grid-column:1;grid-row:1}.wlc-responsive-header .brand .cube{width:32px!important;height:32px!important}.wlc-responsive-header .brand-type strong{font-size:24px!important}.wlc-responsive-header .brand-type em{font-size:18px!important}.wlc-responsive-header .wlc-menu-toggle{display:inline-flex;grid-column:2;grid-row:1}.wlc-responsive-header #wlc-primary-navigation{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;justify-content:stretch;padding-top:8px!important;border-top:1px solid var(--line,#2a3d32)}.wlc-responsive-header #wlc-primary-navigation>a{padding:10px 12px!important;border-radius:6px}.wlc-responsive-header #wlc-account-navigation{grid-column:1/-1;grid-row:3;justify-content:flex-start;gap:8px 16px;padding-top:10px!important;border-top:1px solid var(--line,#2a3d32)}.wlc-responsive-header .header-actions>a{white-space:normal;overflow-wrap:anywhere}.wlc-responsive-header.wlc-menu-enhanced:not(.wlc-menu-open) #wlc-primary-navigation,.wlc-responsive-header.wlc-menu-enhanced:not(.wlc-menu-open) #wlc-account-navigation{display:none!important}}
@media(max-width:380px){header.site-header.wlc-responsive-header{padding:10px 12px!important}.wlc-responsive-header .brand{gap:5px}.wlc-responsive-header .brand-type{gap:4px}.wlc-responsive-header .brand-type strong{font-size:21px!important}.wlc-responsive-header .brand-type em{font-size:15px!important;letter-spacing:.5px}.wlc-responsive-header .brand .cube{width:27px!important;height:27px!important}.wlc-responsive-header .wlc-menu-toggle{font-size:12px;padding:8px 10px;gap:5px}}
@media(min-width:761px){.wlc-changelog .wlc-changelog-sponsors,.wlc-ad-left-layout>.wlc-ad-sidebar-floating,.wlc-ad-sidebar-sticky{top:calc(var(--wlc-header-height,94px) + 16px)}}

/* Mobile menu: grouped navigation tiles with a clear active state. */
@media(max-width:900px){
 header.site-header.wlc-responsive-header{gap:0 12px;padding:10px 16px!important;min-height:64px!important;max-height:100dvh;overflow-y:auto!important;overscroll-behavior:contain}
 .wlc-responsive-header .brand .cube{width:28px!important;height:28px!important}
 .wlc-responsive-header .brand-type strong{font-size:23px!important}
 .wlc-responsive-header .brand-type em{font-size:17px!important}
 .wlc-responsive-header .wlc-menu-toggle{min-height:42px;padding:8px 12px;border-radius:10px;font-size:13px;background:var(--panel,#121d17)}
 .wlc-responsive-header #wlc-primary-navigation{gap:8px;width:100%!important;margin-top:10px!important;padding:12px 0!important;align-items:stretch}
 .wlc-responsive-header #wlc-primary-navigation>a{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:11px 14px!important;border:1px solid var(--line,#304d3b)!important;border-radius:9px;background:var(--panel,#121d17);color:var(--text,#e7eee9);font-size:13px}
 .wlc-responsive-header #wlc-primary-navigation>a:after{content:'›';font-size:18px;font-weight:400;opacity:.55}
 .wlc-responsive-header #wlc-primary-navigation>a.active{border-color:var(--green,#00d68b)!important;background:color-mix(in srgb,var(--green,#00d68b) 12%,var(--panel,#121d17));color:var(--green,#00d68b)}
 .wlc-responsive-header #wlc-primary-navigation>a:hover{background:var(--panel2,#1b2c22)}
 .wlc-responsive-header #wlc-account-navigation{gap:8px;padding:12px 0 2px!important;align-items:center;justify-content:flex-start}
 .wlc-responsive-header #wlc-account-navigation>a{min-height:40px;padding:8px 11px;border:1px solid var(--line,#304d3b);border-radius:8px;font-size:12px!important;line-height:1.4}
 .wlc-responsive-header #wlc-account-navigation .primary{display:inline-flex!important;background:var(--green,#00d68b);color:#04140c;border-color:transparent}
 .wlc-responsive-header #theme{height:40px;width:40px;min-width:40px;border:1px solid var(--line,#304d3b);border-radius:8px}
}
@media(max-width:380px){
 header.site-header.wlc-responsive-header{padding:9px 12px!important;gap:0 8px}
 .wlc-responsive-header .brand-type strong{font-size:21px!important}
 .wlc-responsive-header .brand-type em{font-size:15px!important}
 .wlc-responsive-header .brand .cube{width:25px!important;height:25px!important}
}
/* Compact mobile navigation with consistently aligned account controls. */
@media(max-width:900px){
 header.site-header.wlc-responsive-header{padding:8px 14px!important;min-height:58px!important;gap:0 10px}
 .wlc-responsive-header .wlc-menu-toggle{min-height:36px;padding:6px 10px;font-size:12px;border-radius:8px}
 .wlc-responsive-header #wlc-primary-navigation{margin-top:8px!important;padding:8px 0!important;gap:6px}
 .wlc-responsive-header #wlc-primary-navigation>a{min-height:36px;height:auto!important;padding:7px 11px!important;font-size:12px;line-height:18px;border-radius:7px}
 .wlc-responsive-header #wlc-account-navigation{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 0 0!important;width:100%!important;align-items:stretch}
 .wlc-responsive-header #wlc-account-navigation>a{display:flex!important;align-items:center;justify-content:center;min-height:34px;height:auto!important;padding:6px 8px!important;margin:0!important;border-radius:7px;font-size:11px!important;line-height:18px;white-space:normal;overflow-wrap:anywhere;text-align:center}
 .wlc-responsive-header #wlc-account-navigation #theme{width:100%;min-width:0;height:34px;padding:6px!important;align-self:center;justify-self:stretch}
 .wlc-responsive-header #wlc-account-navigation #theme svg{width:20px;height:20px}
 .wlc-responsive-header #wlc-account-navigation .primary{min-height:34px!important;padding:6px 10px!important;grid-column:auto}
}

@media(max-width:900px){.wlc-responsive-header #wlc-account-navigation:has(a[href*="action=login"]) .primary{grid-column:1/-1}}
