/* A shared, subdued environment behind the UI; banners retain their own art. */
body{isolation:isolate;background:#111719}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:url('/site/witchwood-background.png') center center/cover no-repeat;opacity:.48}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 4% 55%,#7449b21a,transparent 45%),linear-gradient(90deg,#0b151a38,#10171b66 35%,#10171b55 65%,#0b151a38)}
.news-card,.pack-card,.monitor,.steps,.article-panel{background:#182329d9;border-color:#b7d7e01a;box-shadow:0 14px 40px #050b1426;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.side-story{background:linear-gradient(145deg,#372942c9,#153339d4);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
footer{background:#0d1417c9;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
/* The opening content shares the page forest: no second cropped image or seam. */
.hero{background:none}
.hero-shade{background:linear-gradient(90deg,#0c171d80,transparent 72%)}
@media(max-width:720px){body::before{opacity:.34;background-position:58% center}.hero-shade{background:linear-gradient(90deg,#0c171da8,#0d192433 80%,transparent)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.news-card,.pack-card,.monitor,.steps,.article-panel{background:#192329f0}}
.account-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 17px;border:1px solid #ad8bea66;border-radius:10px;background:linear-gradient(125deg,#342b4299,#1b2935bb);color:#e9def6;font-size:13px;font-weight:650;box-shadow:inset 0 1px #ffffff09;transition:background .18s,border-color .18s,box-shadow .18s}
.account-link::before{content:"";width:18px;height:18px;flex:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5a8eb' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E")}
.account-link:hover{background:#443454;border-color:#c5a8eb;box-shadow:0 0 22px #ad8bea20}
.account-link:active{background:#30283d}
.pack-catalog{margin:38px 0 42px;scroll-margin-top:80px}.pack-catalog>h3{font-size:27px}.pack-catalog>p:not(.eyebrow){color:#adbdc6;font-size:13px;line-height:1.8}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin-top:22px}.catalog-group{background:linear-gradient(140deg,#1a2b34ed,#262636e8);border:1px solid #59617455;border-radius:12px;overflow:hidden}.catalog-group summary{position:relative;padding:21px 40px 21px 21px;cursor:pointer;list-style:none;min-height:100px}.catalog-group summary::-webkit-details-marker{display:none}.catalog-group summary::after{content:"+";position:absolute;right:19px;top:24px;color:#c8a4eb;font-size:24px;line-height:1}.catalog-group[open] summary::after{content:"−"}.catalog-group summary:hover{background:#a98bce0d}.catalog-group summary:focus-visible{outline:2px solid #bb9cdd;outline-offset:-3px}.catalog-group summary strong{display:block;font-size:16px;color:#e9dfd3;line-height:1.4}.catalog-group summary small{display:block;font-size:10px;margin-top:8px;color:#b49acb}.catalog-group>p{padding:0 21px;margin:0 0 18px;color:#b1c1c8;font-size:12px}.catalog-group ul{list-style:none;margin:0;padding:0 21px 8px}.catalog-group li{padding:15px 0;border-top:1px solid #b9b4cc20}.catalog-group li strong{display:block;color:#e4dce9;font-size:13px;line-height:1.5}.catalog-version{display:inline-block;color:#b6a1d1;font:10px/1.5 Consolas,monospace;overflow-wrap:anywhere}.catalog-group li p{margin:7px 0 0;color:#a2b5c1;font-size:12px;line-height:1.7}
@media(max-width:720px){.catalog-grid{grid-template-columns:1fr}.pack-catalog>h3{font-size:23px}.catalog-group summary{min-height:90px}}
.realm-cover{padding:32px;min-height:290px;border:1px solid #d7ae6b24;border-radius:16px;background:linear-gradient(90deg,#101e28e8,#101e2833),url('/site/witchwood-hero.png') 66% 48%/cover;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.realm-cover h3{font-size:37px;line-height:1.17;margin-top:26px;letter-spacing:-.6px}.realm-cover p{margin:14px 0 0;color:#c8becf}
.realm-summary{padding:26px 4px 30px}.realm-summary>p{font-size:16px;color:#c3cdd1;line-height:1.9;margin:0 0 24px}.realm-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:25px}.realm-facts span{padding:15px 18px;border:1px solid #bba0e328;border-radius:10px;background:#17252bd9;color:#9fb1bc;font-size:11px}.realm-facts strong{display:block;color:#ead8ba;font-size:18px;line-height:1.5}
.realm-jumps{position:sticky;top:0;z-index:2;display:flex;margin:0 0 26px;padding:12px 16px;gap:22px;flex-wrap:wrap;border:1px solid #b7a3d32a;border-radius:10px;background:#15222df5;backdrop-filter:blur(12px);font-size:12px}.realm-jumps a{color:#d5c3ed}.realm-jumps a:hover{color:#ffdaa0}.realm-paths{display:grid;gap:16px;scroll-margin-top:80px}.realm-paths article{background:linear-gradient(110deg,#1a2b31e0,#242334c9);border:1px solid #b2bac51a;border-radius:14px;padding:25px 28px}.realm-paths article>span{font-size:10px;color:#be9ee5;font-weight:750;letter-spacing:1.6px}.realm-paths h3{font-size:24px;margin:10px 0}.realm-paths p{font-size:14px;line-height:1.9;color:#acbdc5;margin:0}.realm-mods{margin-top:42px;scroll-margin-top:80px}.realm-mods>h3{font-size:27px}.guide-intro{font-size:14px;color:#aabcc3}.mod-filters{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.mod-filters button{padding:9px 14px;border:1px solid #455166;border-radius:8px;background:#1b2933;color:#bbccd4;font-size:12px}.mod-filters button[aria-pressed=true]{background:#443252;border-color:#a98bc9;color:#ead9ff}.mod-filters button:hover{border-color:#b99ae3}.mod-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mod-guide{display:flex;flex-direction:column;min-width:0;min-height:220px;padding:23px;border:1px solid #8f9caf2d;border-radius:13px;background:linear-gradient(145deg,#1d2d36ed,#202432ed);transition:transform .18s,border-color .18s,box-shadow .18s}.mod-guide:hover{transform:translateY(-3px);border-color:#b692d5;box-shadow:0 12px 28px #050b143d}.mod-category{font-size:8px;letter-spacing:1.6px;color:#c7a7eb;font-weight:750}.mod-guide h4{margin:10px 0 8px;font-size:18px;line-height:1.4;color:#f1e9dd}.mod-guide h4>span{color:#ddb06b;float:right}.mod-guide p{margin:0 0 14px;font-size:12px;line-height:1.7;color:#b4c1c9}.mod-version{font:10px/1.5 Consolas,monospace;align-self:flex-start;color:#c4aedb;background:#3f314a88;border-radius:4px;padding:3px 7px;margin:auto 0 13px}.mod-guide small{color:#e0c295;font-size:10px}.guide-note{font-size:10px;line-height:1.6;color:#8fa4b2;margin-top:7px}.guide-footnote{color:#91a6af;font-size:11px;line-height:1.8;margin:22px 0 34px}.realm-start{padding-left:22px;color:#b3c2c8;font-size:14px}.realm-start li{margin:12px 0}#realm-first{scroll-margin-top:80px}
@media(max-width:720px){.account-link{margin-left:auto;min-height:42px;padding:9px 12px;font-size:12px}.realm-cover{padding:25px;min-height:270px}.realm-cover h3{font-size:29px}.realm-facts{gap:8px}.realm-facts span{padding:12px 10px;font-size:10px}.realm-facts strong{font-size:15px}.realm-jumps{font-size:11px;gap:16px}.realm-paths article{padding:23px}.mod-guide-grid{grid-template-columns:1fr}.realm-mods>h3{font-size:23px}.mod-guide{min-height:0}.mod-guide h4{font-size:20px}}

/* Northglow: monochrome over forest, color over the plain footer. */
.brand{gap:12px}.brand-icon{width:44px;height:56px;object-fit:contain;flex-shrink:0}.brand>span{font-family:Georgia,serif;font-weight:700;letter-spacing:.04em}footer .brand-icon{width:52px;height:66px}@media(max-width:600px){.brand-icon{width:34px;height:44px}.brand>span{font-size:17px}}

/* Shared live online count and Northglow server mark. */
.server-icon img{display:block;width:44px;height:44px;object-fit:contain}.hero-online{white-space:nowrap}.hero-online b{font:inherit;color:var(--teal);font-variant-numeric:tabular-nums}
