/* NEXUS 1.1 - a world made of pixels. Decorative layers never intercept input. */
body{position:relative;isolation:isolate}
.world-atmosphere{position:absolute;inset:0;overflow:clip;z-index:-1;pointer-events:none;contain:paint}
.world-pixel-field{position:absolute;inset:0;background:var(--nx-world-image, url("../images/world-pixels.svg?v=1.2.0")) center top / 960px 800px repeat}
.world-haze{position:absolute;inset:0;background:linear-gradient(90deg,transparent,#f8faf9ad 20%,#f8faf9bd 52%,#f8faf966 80%,transparent)}
.pixel-icon{display:inline-block;width:32px;height:32px;flex-shrink:0;vertical-align:middle;overflow:visible;shape-rendering:crispEdges}
.site-header{box-shadow:0 3px 0 #8fae7510}
.site-header:after{content:"";position:absolute;bottom:-3px;left:0;right:0;height:3px;pointer-events:none;background:linear-gradient(90deg,#87b572 0 8%,#cee0b8 8% 17%,#dcebdd 17% 36%,#92baa5 36% 43%,#dcebdd 43% 65%,#c2d5b5 65% 79%,#93b97a 79% 91%,#dcebdd 91%)}
.hero-section{padding-top:63px;padding-bottom:60px;background:radial-gradient(ellipse at 80% 32%,#d2eacf91,transparent 59%)}
.hero-section:before{content:"";position:absolute;inset:0;pointer-events:none;background:var(--nx-world-image, url("../images/world-pixels.svg?v=1.2.0")) left -104px top -70px / 960px 800px repeat;mask-image:linear-gradient(90deg,#0008,transparent 35%,#0005 80%,#000)}
.hero-section:after{content:"";position:absolute;bottom:0;left:0;right:0;height:16px;pointer-events:none;background:linear-gradient(90deg,transparent 0 5%,#b9d4af40 5% 12%,transparent 12% 24%,#c7dfc52e 24% 45%,transparent 45% 65%,#acd0c047 65% 73%,transparent 73% 89%,#b9d4af40 89% 100%);clip-path:polygon(0 60%,5% 60%,5% 0,12% 0,12% 60%,24% 60%,24% 30%,45% 30%,45% 80%,65% 80%,65% 0,73% 0,73% 60%,89% 60%,89% 20%,100% 20%,100% 100%,0 100%)}
.hero-visual{isolation:isolate}
.hero-art{border-radius:9px;box-shadow:0 12px 0 -5px #a4bdad66,0 22px 36px #284f4320}
.hero-pixel-scene{position:absolute;inset:-34px -30px -20px -30px;pointer-events:none;z-index:4}
.pixel-sticker{position:absolute;display:grid;place-items:center;filter:drop-shadow(0 10px 6px #23482c22);animation:pixel-float 8s ease-in-out infinite}
.pixel-sticker .pixel-icon{width:100%;height:100%}
.sticker-grass{width:92px;height:92px;top:-1px;right:-3px;transform:rotate(7deg)}
.sticker-pickaxe{width:66px;height:66px;top:37px;left:4px;transform:rotate(-13deg);animation-delay:-3s}
.sticker-diamond{width:65px;height:65px;right:37px;bottom:0;transform:rotate(12deg);animation-delay:-5s}
.pixel-dust{position:absolute;width:12px;height:12px;background:#87bca0;box-shadow:12px -12px #bed9b0,-12px 12px #acd2b077,24px 12px #96c3b155;animation:pixel-shimmer 7s ease-in-out infinite}
.dust-one{top:7px;left:105px}
.dust-two{right:1px;top:45%;width:10px;height:10px;animation-delay:-2s;background:#9f8fbf;box-shadow:10px 10px #beaed966,20px -10px #9e99bf44}
.dust-three{bottom:27px;left:46%;width:8px;height:8px;animation-delay:-4s}
.tiny-cube{width:28px;height:28px;border-radius:3px;background:#e4efdd;box-shadow:inset 2px 2px #fff9,inset -2px -2px #8faa7933}
.tiny-cube .pixel-icon{width:24px;height:24px}
.floating-card{border-radius:5px;border-bottom:3px solid #c9dccc}
.floating-icon{border-radius:3px;padding:7px;background:#e6f3ed;box-shadow:inset 2px 2px #fff9,inset -2px -2px #93bdad33}
.floating-icon .pixel-icon{width:30px;height:30px}
.category-section{position:relative}
.category-card{position:relative;border-radius:6px;border-bottom:3px solid #d4dfd0;background:linear-gradient(135deg,#fff 68%,#f0f6ec);box-shadow:inset 0 2px #fff}
.category-card:after{content:"";position:absolute;right:9px;top:9px;width:4px;height:4px;background:#adc79b66;box-shadow:-4px 4px #adc79b33,4px 4px #adc79b22}
.category-card:hover{border-bottom-color:#80ad75}
.category-icon,.category-card:nth-child(n) .category-icon{width:48px;height:48px;border-radius:3px;background:#edf2e7;box-shadow:inset 2px 2px #fff, inset -2px -2px #b5c4a96b;border:1px solid #c4d0be}
.category-icon .pixel-icon{width:34px;height:34px;transition:transform .2s}
.category-card:hover .pixel-icon{transform:translateY(-3px)}
.category-card:nth-child(2) .category-icon{background:#e6f3f1;border-color:#bfd9d1}
.category-card:nth-child(3) .category-icon,.category-card:nth-child(4) .category-icon{background:#f5efe1;border-color:#d9ccb6}
.category-card:nth-child(6) .category-icon{background:#f6e9e7;border-color:#dec7c2}
.category-card:nth-child(7) .category-icon{background:#f0ebf7;border-color:#d6cbe4}
.section-heading{position:relative}
.section-heading .section-kicker:before,.page-heading>.eyebrow:before,.page-heading>div>.eyebrow:before{content:"";width:8px;height:8px;margin:0 7px 0 2px;display:inline-block;flex-shrink:0;background:#6caa7c;box-shadow:4px -4px #b7d39c,4px 4px #8ec3ad,8px 0 #d4e6c5}
.section-heading .section-kicker>.live-dot{display:none}
.page-heading{position:relative}
.page-heading:after{content:"";position:absolute;right:26px;top:20px;width:20px;height:20px;background:#a3c9ad88;box-shadow:20px -20px #c1d9a980,40px 0 #b4d5c877,20px 20px #b8ce9c55,60px 40px #c9bcdb88,80px 60px #d7cbe255;pointer-events:none}
.home-tabs{border-bottom-color:#ccdac9}
.home-tabs button{border-radius:4px}
.home-tabs button.active{box-shadow:inset 0 -3px #77a88966}
.mod-card,.article-card{border-bottom-width:3px;border-bottom-color:#d8e2d4}
.server-promo{border-radius:8px;border-bottom:5px solid #87a675}
.server-promo:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:var(--nx-terrain-image, url("../images/pixel-terrain.svg")) center bottom / auto 55px repeat-x,var(--nx-world-image, url("../images/world-pixels.svg?v=1.2.0")) right top / 800px auto repeat;opacity:.2}
.server-promo>*{z-index:1}
.server-cube{border-radius:3px;box-shadow:inset 2px 2px #b0d1a333,inset -2px -2px #12322177}
.server-cube .pixel-icon{width:32px;height:32px}
.server-promo-card{border-radius:5px;background:#143b30b0}
.server-hero{border-radius:8px}
.stats-grid{background:#f3f7eea8;border-block:1px solid #dce6d6}
.community-inner{position:relative}
.community-icon{border-radius:5px;box-shadow:4px 4px #d8d0e780}
.site-footer{position:relative;margin-top:38px;padding-top:38px;background:#edf3e8;border-top:0}
.site-footer:before{content:"";position:absolute;top:-65px;left:0;right:0;height:66px;background:var(--nx-terrain-image, url("../images/pixel-terrain.svg")) center bottom / 1440px 66px repeat-x;pointer-events:none}
.site-footer:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:var(--nx-world-image, url("../images/world-pixels.svg?v=1.2.0")) left top / 960px 800px repeat;opacity:.55;mask-image:linear-gradient(90deg,#000,transparent 45%,#000)}
.site-footer>.container{position:relative;z-index:1}
.footer-column h3:before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;background:#8eaf75;box-shadow:2px 2px #c6d6b8;vertical-align:2px}
@keyframes pixel-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
@keyframes pixel-shimmer{0%,100%{opacity:.25;translate:0 4px}50%{opacity:.85;translate:0 -4px}}
@media(min-width:1600px){.world-haze{background:linear-gradient(90deg,transparent,#f8faf9ad 26%,#f8faf9bd 50%,#f8faf966 74%,transparent)}}
@media(max-width:960px){.hero-pixel-scene{inset:-24px -14px -12px -14px}.sticker-grass{width:72px;height:72px;right:0;top:0}.sticker-pickaxe{width:52px;height:52px;left:5px;top:34px}.sticker-diamond{width:51px;height:51px;right:24px}.dust-one{left:85px}.hero-section{padding-top:45px}}
@media(max-width:700px){.world-pixel-field{background-size:640px auto;opacity:.9}.world-haze{background:linear-gradient(90deg,transparent,#f8faf980 20%,#f8faf9ad 58%,transparent)}.hero-section{padding-top:32px;padding-bottom:43px}.hero-section:before{background-size:720px auto;opacity:.65}.hero-pixel-scene{inset:-17px -8px -12px -6px}.sticker-grass{width:64px;height:64px;right:0;top:-3px}.sticker-pickaxe{width:44px;height:44px;left:0;top:19px}.sticker-diamond{width:43px;height:43px;right:11px;bottom:0}.dust-one{width:7px;height:7px;left:85px;top:0}.dust-two{display:none}.dust-three{left:56%;bottom:13px}.category-icon,.category-card:nth-child(n) .category-icon{width:42px;height:42px}.category-icon .pixel-icon{width:30px;height:30px}.category-card{border-radius:5px}.page-heading:after{right:20px;top:6px;width:9px;height:9px;box-shadow:9px -9px #c1d9a980,18px 0 #b4d5c877,9px 9px #b8ce9c55;opacity:.8}.page-heading .eyebrow{max-width:calc(100% - 42px)}.server-promo{border-radius:6px}.server-cube{padding:5px}.server-cube .pixel-icon{width:27px;height:27px}.site-footer{margin-top:32px;padding-top:28px}.site-footer:before{height:43px;top:-42px;background-size:940px 43px}}
@media(prefers-reduced-motion:reduce){.pixel-sticker,.pixel-dust{animation:none}.category-card:hover .pixel-icon{transform:none}}
@media print{.world-atmosphere,.hero-pixel-scene,.hero-section:before,.hero-section:after,.page-heading:after{display:none!important}}

/* Keep the featured four together; detail grids have their own three-column layout. */
.home-projects{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.world-glint{position:absolute;width:12px;height:12px;background:#8bb49a70;box-shadow:12px -12px #a7c69366,24px 0 #abcdbc44,12px 12px #c1d1a644;animation:world-glimmer 12s ease-in-out infinite}
.glint-one{left:2%;top:950px}.glint-two{right:3%;top:1670px;animation-delay:-4s}.glint-three{left:8%;top:2280px;animation-delay:-8s}
@keyframes world-glimmer{0%,100%{opacity:.1}50%{opacity:.8}}
@media(max-width:960px){.home-projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-projects{grid-template-columns:1fr;gap:20px}.world-glint{width:8px;height:8px}}
@media(prefers-reduced-motion:reduce){.world-glint{animation:none;opacity:.35}}
@media(max-width:360px){.button-account>span{display:none}.button-account{padding-inline:10px}.nav-actions{gap:5px}}

/* NEXUS 1.2 - richer atmosphere, clear reading surfaces and gradient frames. */
.world-haze{background:radial-gradient(ellipse at 8% 8%,#b9e5d79c,transparent 42%),radial-gradient(ellipse at 96% 34%,#d1c5eaa3,transparent 40%),radial-gradient(ellipse at 16% 78%,#dbeac3a6,transparent 42%),linear-gradient(125deg,#e6f2e6b3,#f8faf959 47%,#e9e2f180)}
.hero-section{background:radial-gradient(ellipse at 82% 27%,#bfe3ccd9,transparent 62%),radial-gradient(ellipse at 4% 76%,#e5dcf099,transparent 58%)}
.filter-panel,.filter-panel.is-open,.toc-inner{border:1.5px solid transparent;border-radius:14px;padding:22px 18px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(140deg,#79bea1 3%,#b5a1d9 53%,#d9c294 98%) border-box;box-shadow:0 8px 25px #304d3910}
.filter-panel{align-self:start}
.filter-heading{padding-bottom:15px}
.article-body>.prose{background:#fff;border:1px solid #e3e9e2;border-radius:14px;padding:32px 36px;box-shadow:0 8px 25px #304d3908}
.article-body>.prose>:last-child{margin-bottom:0}
[data-tab-panel="changelog"]{background:#fff}
@media(min-width:1600px){.world-haze{background:radial-gradient(ellipse at 8% 8%,#b9e5d79c,transparent 42%),radial-gradient(ellipse at 96% 34%,#d1c5eaa3,transparent 40%),radial-gradient(ellipse at 16% 78%,#dbeac3a6,transparent 42%),linear-gradient(125deg,#e6f2e6b3,#f8faf959 47%,#e9e2f180)}}
@media(max-width:700px){.world-haze{background:radial-gradient(ellipse at 0 10%,#c1e7d8b3,transparent 50%),radial-gradient(ellipse at 100% 60%,#d8cbeabd,transparent 50%),linear-gradient(160deg,#e6f4e999,#f8faf966 48%,#eae4f0a6)}.filter-panel.is-open,.toc-inner{padding:20px}.article-body>.prose{padding:22px 20px}.article-layout .article-body .prose{font-size:14px}}

.comparison-gallery{margin-top:30px;border-top:1px solid #e4ebe5;padding-top:26px}
.comparison-gallery>.section-heading h3{margin:0;font-size:23px}
.comparison-switcher{display:flex;gap:10px;overflow:auto;max-width:100%;padding:4px 2px 14px}
.comparison-scene-button{display:flex;align-items:center;gap:9px;flex:0 0 155px;padding:7px;background:#fff;border:1px solid #dde6dd;border-radius:8px;text-align:left;font-size:11px}
.comparison-scene-button img{width:56px;height:42px;border-radius:4px;flex-shrink:0}
.comparison-scene-button[aria-pressed="true"]{background:#edf7f0;border-color:#56a58b;box-shadow:0 0 0 2px #75b79a33;color:#096c59}
.comparison-scene-button span{overflow-wrap:anywhere}
.comparison-gallery .before-after{margin-top:12px}
.comparison-gallery h4{font-size:14px;margin-bottom:12px}
.server-status-note{font-size:10px;line-height:1.65;margin:12px 0 0;color:#69816e}
.server-promo .server-status-note{color:#b8d4c1}
.status-pill.status-offline{color:#e3c3bc;background:#89493630}
.status-pill.status-unknown,.status-pill.status-stale{color:#e3d9b5;background:#8d804230}
.status-offline .live-dot,.status-unknown .live-dot,.status-stale .live-dot{background:currentColor;box-shadow:none}
@media(max-width:700px){.comparison-scene-button{flex-basis:138px}.comparison-gallery>.section-heading h3{font-size:20px}}

.server-card-stats strong>[data-server-players]{font:inherit;color:inherit}

/* NEXUS 1.3 - shared frames and a clear, floating navigation bar. */
:root{--nx-frame:linear-gradient(140deg,#79bea1 3%,#b5a1d9 53%,#d9c294 98%)}
.panel,.mod-card,.article-card,.category-card,.filter-panel,.filter-panel.is-open,.toc-inner,.article-body>.prose,.notice,.prose blockquote,.author-heading,.empty-state,.filter-help,.comparison-scene-button,.newsletter-cta,.search-dialog,.floating-card{
 border:1.5px solid transparent!important;
 background:var(--nx-surface,linear-gradient(#fff,#fff)) padding-box,var(--nx-frame) border-box!important;
}
.download-panel{--nx-surface:linear-gradient(150deg,#fff 35%,#f3f9f4)}
.notice,.prose blockquote,.filter-help{--nx-surface:linear-gradient(135deg,#f1f8f2,#f9fbf7)}
.prose blockquote{border-radius:10px}
.discord-cta{--nx-surface:linear-gradient(115deg,#f0f5f1,#f5f5fc)}
.about-cta,.author-heading{--nx-surface:linear-gradient(110deg,#f0f7f0,#f8faf7)}
.newsletter-cta{--nx-surface:linear-gradient(120deg,#f0f6ed,#f4f0fa)}
.comparison-scene-button[aria-pressed="true"]{--nx-surface:linear-gradient(#edf7f0,#edf7f0)}
/* Frame image containers without covering the media or their controls. */
.gallery-grid a,.comparison-images{border:1.5px solid transparent;background:var(--nx-frame) border-box}
.site-header{background:rgb(253 254 253 / 98%);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:background-color .2s,box-shadow .2s;overflow:visible;isolation:isolate}
.site-header.is-scrolled{background:rgb(253 254 253 / 83%);box-shadow:0 6px 26px #203e3012}
.site-header:after{z-index:0}
.desktop-nav,.custom-nav-list{height:100%}
.nav-more,.custom-nav-list>li{height:100%;display:flex;align-items:center}
.nav-more>summary{height:100%;padding-block:0}
.nav-more>summary::-webkit-details-marker{display:none}
.nav-more:not([open])>div{display:none}
.nav-more[open]>div,.custom-nav-list .sub-menu{
 top:calc(100% + 8px);z-index:5;min-width:210px;padding:9px;border:1.5px solid transparent;border-radius:12px;
 background:linear-gradient(#fff,#fff) padding-box,var(--nx-frame) border-box;box-shadow:0 14px 35px #193b3024;
}
.nav-more[open]>div{display:grid}
.nav-more>div a,.custom-nav-list .sub-menu a{display:block;line-height:1.5;padding:11px 12px;border-radius:7px;font-size:12px;white-space:normal}
.nav-more>div a:hover,.nav-more>div a:focus-visible,.custom-nav-list .sub-menu a:hover,.custom-nav-list .sub-menu a:focus-visible{background:#edf6f0;color:#076c60}
.custom-nav-list .sub-menu{left:auto;right:0}
.custom-nav-list .sub-menu:before{content:"";position:absolute;inset:-10px 0 auto;height:10px}
.submenu-toggle{display:grid;place-items:center;margin-left:5px;width:28px;height:32px;border-radius:5px;background:transparent}
.submenu-toggle:hover{background:#e6f2e9}
.submenu-toggle[aria-expanded="true"]{color:#078577}
.submenu-toggle svg{width:12px;height:12px;transition:transform .15s}
.submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
[data-nav-enhanced] .custom-nav-list li>.sub-menu{display:none}
[data-nav-enhanced] .custom-nav-list li.submenu-open>.sub-menu{display:block}
.mode-extra{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:-6px 0 18px;color:#597465;font-size:11px}
.mode-extra .badge{float:none;margin:0}
.server-events{scroll-margin-top:110px}
@media(prefers-reduced-motion:reduce){.site-header,.submenu-toggle svg{transition:none}}
.table-scroll{border:1.5px solid transparent;border-radius:10px;background:linear-gradient(#fff,#fff) padding-box,var(--nx-frame) border-box}
.table-scroll>.version-table{border:0}
/* Category count follows the shared visibility settings, including one or no tiles. */
.category-grid{grid-template-columns:repeat(var(--category-count,3),minmax(0,1fr));max-width:calc(var(--category-count,3)*220px);margin-inline:auto}
.custom-pixel-icon{object-fit:contain;image-rendering:auto}
.brand .brand-logo{width:var(--nx-logo-size,40px);height:var(--nx-logo-size,40px);max-width:none;max-height:none;object-fit:contain;flex-shrink:0;margin-right:10px}
.nav-container{height:auto;min-height:max(80px,calc(var(--nx-logo-size,40px) + 20px));padding-block:8px}
.server-mods summary{display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer;font-size:18px;font-weight:700;list-style:none}
.server-mods summary>span{display:flex;align-items:center;gap:10px}.server-mods details[open]>summary{margin-bottom:20px}
.server-mod-list{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.server-mod-list li{display:grid;grid-template-columns:1fr auto;gap:4px 16px;padding:14px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.server-mod-list small{grid-column:1/-1;color:var(--muted)}.server-community-grid:has(>.server-events:only-child){grid-template-columns:1fr}
.site-header .brand{max-width:none}
@media(max-width:700px){.site-header .brand-name{font-size:clamp(14px,4vw,18px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-header .nav-actions .icon-button{min-width:30px;width:30px}.site-header .nav-actions .button-account{min-width:30px;width:30px}}
@media(max-width:700px){.brand .brand-logo{width:var(--nx-logo-mobile-size,32px);height:var(--nx-logo-mobile-size,32px);margin-right:7px}.nav-container{min-height:max(68px,calc(var(--nx-logo-mobile-size,32px) + 16px));gap:8px}.site-header .brand{min-width:0;flex-shrink:1;font-size:clamp(16px,4.5vw,22px)}.site-header .brand-name{overflow-wrap:anywhere;min-width:0}.site-header .nav-actions{flex-shrink:0;gap:3px}.site-header .button-account>span{display:none}.site-header .button-account{padding-inline:8px}.server-mod-list{grid-template-columns:1fr}.server-mods summary{font-size:15px}.server-mods summary>span:last-child{font-size:11px;white-space:nowrap}}
@media(max-width:960px){.category-grid{grid-template-columns:repeat(min(var(--category-count,3),4),minmax(0,1fr))}}
@media(max-width:700px){.category-grid{grid-template-columns:repeat(min(var(--category-count,3),3),minmax(0,1fr))}.category-grid .category-card:last-child{grid-column:auto;flex-direction:column;gap:0}.category-grid .category-card:last-child .category-icon{margin-bottom:8px}}
@media(max-width:360px){.category-grid{grid-template-columns:repeat(min(var(--category-count,3),2),minmax(0,1fr))}}
/* Keep the configured site name on one line instead of a vertical letter stack. */
.site-header .brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
