/* Navbar: immutable eight-column geometry. The pixel frame is a painted
 * overlay, NOT the clickable button border; hover/focus never enter sizing. */
#game .premium-topbar>.hud-global-nav{
 box-sizing:border-box!important;display:grid!important;
 grid-template-columns:repeat(8,minmax(0,1fr))!important;
 align-items:center!important;justify-content:stretch!important;
 column-gap:4px!important;min-width:0!important;width:100%!important;
 height:100%!important;overflow:hidden!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item{
 box-sizing:border-box!important;position:relative!important;isolation:isolate!important;
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:center!important;gap:7px!important;
 flex:none!important;min-width:0!important;max-width:none!important;width:100%!important;
 height:48px!important;min-height:48px!important;max-height:48px!important;
 margin:0!important;padding:6px 7px!important;overflow:hidden!important;
 border:0!important;border-image:none!important;border-radius:0!important;
 outline:0!important;background:transparent!important;color:#f5e7d7!important;
 clip-path:none!important;transform:none!important;scale:1!important;
 box-shadow:none!important;transition:none!important;animation:none!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item::after{
 content:""!important;display:block!important;pointer-events:none!important;
 box-sizing:border-box!important;position:absolute!important;z-index:-1!important;
 inset:0!important;width:100%!important;height:100%!important;
 margin:0!important;padding:0!important;border:6px solid transparent!important;
 border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 6px / 0 stretch!important;
 background-color:#251b22!important;box-shadow:none!important;
 transform:none!important;transition:none!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item:is(:hover:not(:disabled),:focus,:focus-visible,.active,[aria-pressed="true"]){
 border:0!important;border-image:none!important;
 margin:0!important;padding:6px 7px!important;
 background:transparent!important;color:#fff2df!important;
 outline:0!important;transform:none!important;scale:1!important;
 box-shadow:none!important;transition:none!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item:is(:hover:not(:disabled),:focus,:focus-visible,.active,[aria-pressed="true"])::after{
 border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
 background-color:#49262f!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item:is(:hover:not(:disabled),:focus,:focus-visible)::after{
 box-shadow:inset 0 0 0 2px #ffe0a0!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item>.hud-nav-icon{
 box-sizing:border-box!important;position:relative!important;display:grid!important;
 place-items:center!important;flex:0 0 24px!important;align-self:center!important;
 width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
 max-width:24px!important;max-height:24px!important;margin:0!important;padding:0!important;
 border:0!important;border-image:none!important;border-radius:0!important;
 background-color:transparent!important;background-position:center!important;
 background-repeat:no-repeat!important;background-size:23px 23px!important;
 line-height:0!important;box-shadow:none!important;
 transform:none!important;transition:none!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item>.hud-nav-icon::before{
 content:none!important;display:none!important;
}
#game .premium-topbar .hud-global-nav>.hud-nav-item>span:last-child{
 display:block!important;flex:0 1 auto!important;align-self:center!important;
 box-sizing:border-box!important;min-width:0!important;max-width:calc(100% - 31px)!important;
 width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:hidden!important;
 color:inherit!important;font-family:Arial,sans-serif!important;
 font-size:13px!important;font-weight:700!important;line-height:18px!important;
 letter-spacing:0!important;text-align:left!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;text-shadow:1px 1px 0 #22131c!important;
 transform:none!important;transition:none!important;
}
@media(max-width:1180px){
 #game .premium-topbar>.hud-global-nav{
  display:grid!important;grid-template-columns:116px!important;justify-content:end!important;
 }
 #game .premium-topbar .hud-global-nav>.hud-nav-item:not(#hud-menu-button){display:none!important}
 #game .premium-topbar .hud-global-nav>#hud-menu-button{
  display:flex!important;width:116px!important;min-width:116px!important;
  max-width:116px!important;flex:none!important;margin:0!important;
 }
}
/* Center the actual standalone PNG, not an invisible FontAwesome pseudo glyph.
   Source-image wells retain their UV frame and authored fixed footprint. */
#modal[data-view="forecast"] :is(.forecast-hex,.forecast-hex.big),
#modal[data-view="titles"] :is(.tc-dot,.tc-title-hex,.tc-avatar),
#modal[data-view] :is(.skins-icon,.main-menu-hex,.forecast-hex),
#game :is(.premium-heading-icon,.sky-widget-icon,.hud-coordinate-icon){
 box-sizing:border-box!important;align-items:center!important;justify-items:center!important;
 justify-content:center!important;align-content:center!important;
}
#modal[data-view="forecast"] .forecast-hex{
 display:grid!important;place-items:center!important;padding:5px!important;
 width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
}
#modal[data-view="forecast"] .forecast-hex.big{
 display:grid!important;place-items:center!important;padding:8px!important;
 width:63px!important;height:63px!important;min-width:63px!important;min-height:63px!important;
}
#modal[data-view="forecast"] .forecast-hex>img.forecast-art-icon{
 display:block!important;grid-area:1/1!important;align-self:center!important;justify-self:center!important;
 width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;
 max-width:26px!important;max-height:26px!important;margin:0!important;padding:0!important;
 border:0!important;background:none!important;object-fit:contain!important;
 image-rendering:auto!important;
}
#modal[data-view="forecast"] .forecast-hex.big>img.forecast-art-icon{
 width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
 max-width:42px!important;max-height:42px!important;
}
#modal[data-view="forecast"] .forecast-row,
#modal[data-view="forecast"] .forecast-detail-head{align-items:center!important}
/* Other legacy wells keep their original source and interactions; their image
   canvas is geometrically centered instead of relying on inline baselines. */
#modal[data-view] :is(.tc-dot,.tc-title-hex,.tc-stat,.skins-icon,.main-menu-hex,.forecast-hex)>i.fa-solid,
#game :is(.premium-heading-icon,.sky-widget-icon,.hud-coordinate-icon)>i.fa-solid{
 flex-shrink:0!important;align-self:center!important;justify-self:center!important;
 margin-inline:auto!important;vertical-align:middle!important;
 background-repeat:no-repeat!important;background-position:center center!important;
}
