body.patch-body{background:radial-gradient(ellipse at 50% 280px,#243247 0,#111a28 58%);font-size:15px;display:flex;flex-direction:column;min-height:100vh}.patch-wrap{width:min(100%,1180px);margin:auto;padding:0 18px 45px;flex:1}.patch-hero{margin:0 0 24px;min-height:clamp(160px,24vw,280px);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;padding:30px 18px;border:1px solid #53617a;border-top:0;background:linear-gradient(180deg,#10182522,#182435dd 78%,#182435),url('/assets/citadel-v364.webp') center 43%/cover no-repeat}.patch-hero h1{font:500 clamp(31px,5vw,52px)/1.2 var(--portal-display);margin:7px 0;color:#f4e3bf}.patch-hero p{margin:0;color:#e4e9f1;max-width:640px}.patch-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}.patch-language{display:flex;gap:4px;align-items:center}.patch-language a{min-height:44px;padding:9px 13px;display:inline-flex;align-items:center;text-decoration:none;border:1px solid #53617a;border-radius:4px;color:#bac8da;font-size:13px}.patch-language [aria-current=true]{border-color:#b79a63;background:#493e2b;color:#f1d8a1}.patch-feature{margin:0 0 28px;border-color:#a28b64;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:24px;padding:clamp(18px,3vw,32px);background:linear-gradient(120deg,#26354a,#192435)}.patch-feature h2,.patch-card h3{margin:8px 0 10px}.patch-feature h2 a,.patch-card h3 a{text-decoration:none;color:#f0e2c8}.patch-feature h2 a:hover,.patch-card h3 a:hover{color:#fff}.patch-feature p{margin:8px 0 16px}.patch-feature-aside{border-left:1px solid #53617a;padding-left:22px;align-self:stretch}.patch-feature-aside h3{font-size:18px;margin:0 0 12px}.patch-feature-aside ul{padding-left:18px;margin:0;color:#d9e0eb;font-size:14px}.patch-feature-aside li+li{margin-top:8px}.patch-tags{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.patch-tags span{font-size:12px;border:1px solid #53617a;background:#111b2b;padding:4px 9px;border-radius:3px;color:#d5deeb}.patch-filter{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.patch-filter [aria-pressed=true]{border-color:#e4c792;background:#493e2b;color:#f1d8a1}.patch-search{min-height:44px;padding:10px 12px;background:#101825;color:#e4e9f1;border:1px solid #65758c;border-radius:4px;font:inherit;width:min(100%,320px)}.patch-archive{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.patch-card{margin:0;display:flex;flex-direction:column;align-items:flex-start}.patch-card .actions{margin-top:auto}.patch-empty{padding:16px;border:1px dashed #53617a;color:#bac8da;border-radius:4px;margin:12px 0}.patch-notice{margin:24px 0 0;padding-top:16px;border-top:1px solid #53617a66;font-size:13px;color:#bac8da}.patch-notice summary{cursor:pointer;color:#d8c299}.patch-detail{max-width:860px;margin:auto}.patch-detail h1{font:500 clamp(28px,4vw,42px)/1.25 var(--portal-display);overflow-wrap:anywhere}.patch-detail li+li{margin-top:8px}.patch-detail section[id]{scroll-margin-top:12px}.patch-detail .guide-toc{margin:16px 0}.patch-detail .guide-toc a{min-height:44px}.patch-body [hidden]{display:none!important}.patch-body footer{margin-top:auto}.patch-body .kicker{overflow-wrap:anywhere}@media(max-width:740px){.patch-wrap{padding:0 14px 30px}.patch-hero{margin-bottom:16px;min-height:175px}.patch-feature{grid-template-columns:1fr;gap:16px}.patch-feature-aside{padding:16px 0 0;border-left:0;border-top:1px solid #53617a}.patch-archive{grid-template-columns:1fr}.patch-search{width:100%}.patch-filter button{flex:1 1 auto}.patch-toolbar{gap:8px}.patch-body .actions .action{flex:1 1 140px}}
/* v4.20 unified news typography */.patch-body .patch-hero{min-height:clamp(150px,18vw,220px);padding:24px 18px}.patch-body .patch-hero h1{font-size:clamp(30px,4vw,44px)}.patch-body .patch-feature:has(>div:only-child){grid-template-columns:1fr}.patch-body .patch-card{border:1px solid #53617a;border-radius:4px;padding:20px;background:linear-gradient(145deg,#25344a,#141e2d);min-width:0}.patch-body .patch-card>p{margin:6px 0 14px}.patch-body .patch-card>.action{margin-top:auto}.patch-body .patch-card .kicker{letter-spacing:.07em}.patch-body .patch-filter button{min-height:44px}.patch-body .patch-toolbar h2{font-size:clamp(23px,3vw,30px)}.patch-body .patch-archive{align-items:stretch}.patch-body .patch-detail .patch-toolbar{margin-top:12px}.patch-body .patch-detail h1{margin-top:12px}.patch-body .patch-card[data-state=active] [data-status]{color:#b4d7b5}.patch-body .patch-card[data-state=ended] [data-status]{color:#bac8da}.patch-body .patch-card[data-state=unknown] [data-status]{color:#e4c792}.patch-body .patch-card[data-state=upcoming] [data-status]{color:#b9c9ee}@media(max-width:740px){.patch-body .patch-hero{min-height:150px}.patch-body .patch-card{padding:16px}.patch-body .patch-toolbar{align-items:flex-start}.patch-body .patch-filter{gap:6px}.patch-body .patch-filter button{font-size:12px}.patch-body .patch-search{width:100%}}

/* Shared chapter geometry: News follows the Guides & Tools chapter, not a cropped hero. */
body.patch-body{background:radial-gradient(ellipse at 50% 160px,#263448 0%,#101825 48%,#101825 100%)}.patch-body .patch-wrap{max-width:1290px;width:100%;margin:0 auto;padding:0 24px 45px}.patch-body .patch-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-height:0;margin:0 0 18px;padding:calc(100% * 682 / 2048) 20px 18px;background:#182435;border:0;border-bottom:1px solid #b7975c70;isolation:isolate;overflow:hidden}.patch-body .patch-hero:before{content:'';position:absolute;inset:0;z-index:-2;background:url('/assets/citadel-v364.webp') center top/100% auto no-repeat;background-image:url('/assets/news-banner.webp')}.patch-body .patch-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 72%,#182435 100%)}.patch-body .patch-hero .kicker{font:600 10px/1.5 var(--portal-display);letter-spacing:.24em;color:#e4c792}.patch-body .patch-hero h1{font:500 clamp(30px,5vw,56px)/1.15 var(--portal-display);margin:8px 0;letter-spacing:.045em;color:#f3e7d2}.patch-body .patch-hero p{font-size:12px;letter-spacing:.08em;color:#d4dfef;margin:0;min-height:18px}.patch-body .patch-hero:not(:has(p)){padding-bottom:36px}.patch-body .news-tabs{margin-bottom:20px}.patch-body .news-tabs a{flex:0 1 auto;padding:9px 12px;min-height:44px;border:1px solid #53617a;background:#192536}.patch-body .news-tabs a[aria-current=page]{border-color:#a28b64;background:linear-gradient(145deg,#493e2b,#292d35)}@media(max-width:740px){.patch-body .patch-wrap{padding:0 14px 30px}.patch-body .patch-hero{padding:calc(100% * 682 / 2048) 14px 18px}.patch-body .patch-hero h1{font-size:clamp(22px,5vw,36px)}.patch-body .news-tabs a{flex:1 1 0}}

/* v4.24: keep stable geometry; reveal only the artwork layer. */
@keyframes newsArtReveal{from{opacity:0}to{opacity:1}}.patch-body .patch-hero:before{animation:newsArtReveal 260ms ease-out both}@media(prefers-reduced-motion:reduce){.patch-body .patch-hero:before{animation:none}}
.patch-body .patch-hero:before{animation:none;opacity:0;transition:opacity 220ms ease-out}.patch-body .patch-hero.news-art-ready:before{opacity:1}@media(prefers-reduced-motion:reduce){.patch-body .patch-hero:before{transition:none}}

/* v4.26: News uses the Legion full-bleed chapter dimensions. */
body.patch-body{overflow:visible}.patch-body .patch-hero{width:100vw;max-width:none;box-sizing:border-box;margin:0 0 28px calc(50% - 50vw);min-height:clamp(420px,76svh,850px);padding:clamp(30px,5vw,70px) 20px;background:#161e33;border:0;aspect-ratio:auto}.patch-body .patch-hero:before{background-position:center top;background-size:cover}.patch-body .patch-hero:after{background:linear-gradient(180deg,#131b2b00 18%,#131b2b22 42%,#131b2b99 72%,#131b2be8 100%)}.patch-body .patch-hero h1{font:500 clamp(32px,5vw,64px)/1.15 var(--portal-display);margin:10px 0}.patch-body .patch-hero p{font:400 clamp(14px,1.5vw,19px)/1.6 var(--portal-display);letter-spacing:normal}.patch-body .patch-hero:not(:has(p)){padding-bottom:clamp(30px,5vw,70px)}@media(max-width:1400px),(max-aspect-ratio:3/2){.patch-body .patch-hero,.patch-body .patch-hero:not(:has(p)){min-height:0;padding:calc(100vw / 3 - 12px) 20px 30px}.patch-body .patch-hero:before{background-size:100% auto}.patch-body .patch-hero:after{background:linear-gradient(180deg,transparent 0,transparent calc(100vw / 3 - 60px),#161e33 calc(100vw / 3 + 4px))}}@media(max-width:740px){.patch-body .patch-hero,.patch-body .patch-hero:not(:has(p)){padding:calc(100vw / 3 + 8px) 16px 24px}.patch-body .patch-hero h1{font-size:clamp(25px,6vw,38px)}.patch-body .patch-hero p{margin:8px 0}}

/* v4.27: explicit viewport-width breakout on all News routes. */
.patch-body .patch-wrap>.patch-hero{flex-shrink:0;width:100vw;max-width:none;position:relative;left:50%;margin-left:-50vw;margin-right:0;box-sizing:border-box}.patch-body .patch-wrap{overflow:visible}

/* v4.33: use only the root scrollbar, as in the community portal. */
html:has(body.patch-body){overflow-x:hidden;overflow-y:scroll}body.patch-body{overflow:visible;min-width:0;width:100%;margin:0}body.patch-body .patch-wrap{overflow:visible}body.patch-body .patch-wrap>.patch-hero{left:auto;width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:0}
