/* One approved crystal V. Fixed image slots prevent layout shifts. */
body.redesign.edition :is(.brand-mark-img,.brand-mark,.stack-graph-core img,.engine-map-core img){object-fit:contain;filter:drop-shadow(0 1px 1px #020817) drop-shadow(0 0 7px #6acbff45);background:transparent;border:0;border-radius:0;flex-shrink:0}
body.redesign.edition .topbar .brand-mark-img{width:42px;height:42px;max-width:none;image-rendering:auto}
body.redesign.edition .topbar .brand{gap:11px}
body.redesign.edition .topbar .brand:hover .brand-mark-img{filter:drop-shadow(0 1px 1px #020817) drop-shadow(0 0 10px #a0e4ff80)}
body.redesign.edition .topbar .brand:focus-visible{outline:2px solid #e5f3ff;outline-offset:5px}
@media(max-width:600px){body.redesign.edition .topbar .brand-mark-img{width:36px;height:36px}body.redesign.edition .topbar .brand{gap:9px}}

/* The existing mobile shell has an important 28px rule. Keep the crystal
   legible through its established readability layer, including flex basis. */
@layer vantemio-readability {
 body.redesign.edition header.topbar .topbar-inner .brand-mark-img{width:42px!important;height:42px!important;flex:0 0 42px!important;object-fit:contain!important}
 @media(max-width:600px){body.redesign.edition header.topbar .topbar-inner .brand-mark-img{width:36px!important;height:36px!important;flex-basis:36px!important}}
}

/* The complete navigation no longer fits the intermediate desktop band.
   Use the existing menu and its same resize boundary, retaining all links. */
@layer vantemio-readability {
body.redesign.edition[data-page] header.topbar .brand-text strong{line-height:1.35!important}body.redesign.edition[data-page] header.topbar .brand-text>span{line-height:1.3!important}
 @media(min-width:1181px) and (max-width:1360px){
body.redesign.edition[data-page] header.topbar .nav{display:none!important}
body.redesign.edition[data-page] header.topbar .topbar-inner{gap:12px!important}
body.redesign.edition[data-page] header.topbar .topbar-inner button.menu-btn{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;min-height:44px!important;margin-left:0!important;background:linear-gradient(135deg,#51466c,#263d55)!important;border:1px solid #9da9c5!important;border-radius:10px!important;color:#edf3ff!important;-webkit-text-fill-color:#edf3ff!important;box-shadow:inset 0 1px #eee1ff5e,0 3px 7px #07132b33!important}
body.redesign.edition[data-page] header.topbar .topbar-inner .lang-switch{margin-left:auto!important;flex-shrink:0!important}
body.redesign.edition[data-page] header.topbar #mobile-nav:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 14px!important;align-items:start!important;box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1240px!important;max-height:calc(100dvh - 124px)!important;overflow:auto!important;margin:12px auto 16px!important;padding:14px 20px!important;background:linear-gradient(130deg,#2c304d,#18364b)!important;border:1px solid #99aecb!important;border-radius:14px!important;box-shadow:inset 0 1px #d9c4f959,0 18px 38px #020c2b66!important;color:#edf3ff!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary){display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;box-sizing:border-box!important;padding:11px 12px!important;margin:4px 0!important;font:600 14px/1.5 VOnest,Onest,system-ui,sans-serif!important;color:#edf3ff!important;-webkit-text-fill-color:#edf3ff!important;white-space:normal!important;overflow-wrap:anywhere!important;text-shadow:none!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary) :is(span,strong,small){color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.redesign.edition[data-page] header.topbar #mobile-nav>.nav-product{justify-content:flex-start!important;background:linear-gradient(135deg,#4d4b6d,#25455e)!important;border:1px solid #94a9c47a!important;border-radius:9px!important;box-shadow:inset 0 1px #f4e4ff33,0 3px 7px #06152d29!important}
body.redesign.edition[data-page] header.topbar #mobile-nav>.nav-forum-menu{grid-column:1/-1!important;min-height:36px!important;margin:0!important}
body.redesign.edition[data-page] header.topbar #mobile-nav .v-nav-group{min-width:0!important;border-bottom:1px solid #a4b7d14d!important}
body.redesign.edition[data-page] header.topbar #mobile-nav .v-nav-group>div{position:static!important;min-width:0!important;margin:0 0 10px!important;padding:0 8px!important;background:#101c302e!important;border:0!important;border-radius:8px!important;box-shadow:none!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary,button):focus-visible{outline:3px solid #f4cb8c!important;outline-offset:3px!important}
 }
 @media(max-width:600px){body.redesign.edition[data-page] header.topbar .topbar-inner{gap:6px!important;padding-left:12px!important;padding-right:12px!important}body.redesign.edition[data-page] header.topbar .topbar-inner .brand{flex-shrink:0!important}body.redesign.edition[data-page] header.topbar .topbar-inner .locale-picker{flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important}body.redesign.edition[data-page] header.topbar .topbar-inner .lang-switch{box-sizing:border-box!important;width:44px!important;min-width:0!important;max-width:44px!important;min-height:44px!important;padding:0!important;font-size:12px!important;gap:4px!important}body.redesign.edition[data-page] header.topbar .topbar-inner .news-header-link{flex-shrink:0!important;min-width:0!important;padding-left:8px!important;padding-right:8px!important;font-size:12px!important;gap:4px!important}body.redesign.edition[data-page] header.topbar .topbar-inner .news-header-link svg{width:13px!important;height:13px!important;flex:0 0 13px!important}body.redesign.edition[data-page] header.topbar .topbar-inner button.menu-btn{flex:0 0 44px!important;width:44px!important;min-height:44px!important;margin-left:0!important}}
 @media(min-width:1361px){body.redesign.edition[data-page] header.topbar .topbar-inner{gap:8px!important}body.redesign.edition[data-page] header.topbar .topbar-inner .nav{gap:5px!important}}
}

/* Cover the narrow gap above the existing logo-only breakpoint. The link keeps its accessible brand name. */
@layer vantemio-readability {@media(max-width:380px){body.redesign.edition[data-page] header.topbar .topbar-inner .brand[aria-label] .brand-text{display:none!important}body.redesign.edition[data-page] header.topbar .topbar-inner .brand[aria-label]{min-width:44px!important;min-height:44px!important;justify-content:center!important}}}

/* Launch-state chip remains legible on the shared dark navigation surface. */
@layer vantemio-readability {
body.redesign.edition[data-page] header.topbar :is(.topbar-inner,#mobile-nav) .nav-product .donations-launch-note{display:inline-block!important;background:linear-gradient(135deg,#405374,#2a4d5b)!important;color:#eff8ff!important;-webkit-text-fill-color:#eff8ff!important;font-size:10px!important;font-weight:700!important;line-height:1.4!important;padding:2px 4px!important;border-radius:4px!important;box-shadow:inset 0 0 0 1px #a7c0d380!important;text-shadow:none!important;white-space:nowrap!important;vertical-align:middle!important}
}

/* All collapsed-navigation breakpoints share the same dark-panel contrast. */
@layer vantemio-readability {
body.redesign.edition[data-page] header.topbar #mobile-nav{color:#f1f5ff!important;background:linear-gradient(135deg,#272d46,#172b3e)!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary){color:#f1f5ff!important;-webkit-text-fill-color:#f1f5ff!important;text-shadow:0 1px 2px #0008!important;font-weight:650!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary) :is(span,strong,small,svg){color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.redesign.edition[data-page] header.topbar #mobile-nav .v-nav-group>div{background:#111c30!important;border-color:#56617e!important}
body.redesign.edition[data-page] header.topbar #mobile-nav .v-nav-group>div a{background:transparent!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary):hover{color:#fff7df!important;-webkit-text-fill-color:#fff7df!important;background-color:#39435e!important}
body.redesign.edition[data-page] header.topbar #mobile-nav :is(a,summary,button):focus-visible{outline:3px solid #f4cd83!important;outline-offset:3px!important}
}
