/* V26: wider navigation with predictable desktop and tablet breakpoints */
@media (min-width: 1201px) {
 .site-header.bc-v16-header .bc-v16-wrap{width:calc(100% - 48px)!important;max-width:1920px!important;gap:clamp(12px,1.5vw,28px)!important;min-height:88px!important}
 .site-header .bc-v16-nav{gap:clamp(8px,1vw,18px)!important}
 .site-header .bc-v16-pages{gap:clamp(4px,.4vw,9px)!important}
 .site-header .bc-v16-pages>a{padding-inline:clamp(9px,.78vw,17px)!important}
 .site-header .bc-v16-actions{gap:6px!important}
 .site-header .brand{min-width:0}
}
/* Use the mobile navigation before the desktop items start colliding. */
@media (min-width:1051px) and (max-width:1200px){
 .site-header .bc-v16-wrap{width:calc(100% - 36px)!important;gap:12px!important}
 .site-header .bc-v16-nav{gap:7px!important}
 .site-header .bc-v16-pages{gap:3px!important}
 .site-header .bc-v16-pages>a{padding-inline:8px!important;font-size:11px!important}
 .site-header .bc-v16-pages>a::before{margin-right:4px!important}
}
/* A shared, centered reading rail for rulebooks, guides and spoilers. */
.v21-spoilers .bc-knowledge-inner,.v21-docs .bc-knowledge-inner{width:min(100% - 48px,1120px)!important;max-width:1120px!important;margin-inline:auto!important}
.v21-spoilers .bc-doc-list,.v21-docs .bc-doc-list{width:100%!important;margin-inline:auto!important}
.v21-spoilers .bc-doc-detail,.v21-docs .bc-doc-detail{width:min(100%,940px)!important;max-width:940px!important;margin-inline:auto!important;padding:20px 0 55px!important}
.v21-spoilers .bc-back,.v21-docs .bc-back{display:table;max-width:940px;margin:0 auto 18px!important;width:100%}
.v21-spoilers .bc-doc-detail .bc-doc-content,.v21-docs .bc-doc-detail .bc-doc-content{width:100%!important;max-width:100%!important;margin:0!important;line-height:1.7!important}
.v21-spoilers .bc-doc-detail .bc-doc-gallery,.v21-docs .bc-doc-detail .bc-doc-gallery{width:100%!important;max-width:100%!important;margin-inline:auto!important}
.v21-spoilers .bc-doc-detail img,.v21-docs .bc-doc-detail img{max-width:100%;height:auto}
.v21-rules .bc-v14-layout{width:min(100% - 48px,1180px)!important;max-width:1180px!important;margin-inline:auto!important;align-items:start!important}
.v21-rules.single-rule-book .bc-v14-layout{display:block!important;max-width:980px!important}
.v21-rules.single-rule-book .bc-v14-main{width:100%!important;max-width:940px!important;margin-inline:auto!important}
.v21-rules.has-rule-books .bc-v14-main{min-width:0!important;max-width:900px!important;width:100%!important}
.v21-rules .rule-groups{max-width:100%!important;width:100%!important;margin-inline:auto!important}
.v21-rules .rule-group{max-width:100%!important}
.v21-rules .rule-items{max-width:100%!important}
.v21-rules .markdown-content,.v21-spoilers .markdown-content,.v21-docs .markdown-content{overflow-wrap:anywhere;word-break:normal}
.v21-rules .markdown-content p,.v21-docs .markdown-content p,.v21-spoilers .markdown-content p{max-width:100%}
@media(max-width:760px){
 .v21-spoilers .bc-knowledge-inner,.v21-docs .bc-knowledge-inner,.v21-rules .bc-v14-layout{width:calc(100% - 32px)!important}
 .v21-spoilers .bc-doc-detail,.v21-docs .bc-doc-detail{padding:12px 0 38px!important}
 .v21-rules .bc-v14-layout{display:block!important}
 .v21-rules .bc-v14-main{width:100%!important;max-width:100%!important}
}
