/* zz.gamebar.css 2026-10-03
   ukuk.bot / uk8.bot (html.uk-nofirst) on /game and /Pc28Game only.
   Replaces the address-bar strip with one button: 全屏.
   No URL, no lock, no 返回. Does not touch balances, payments, or flags.
   Rollback: cp -a /www/wwwroot/baobei2/vue/ng-fix/zz.gamebar.css.bak-20261003-113102-fsbtn /www/wwwroot/baobei2/vue/ng-fix/zz.gamebar.css
*/
html.uk-nofirst.zz-gamebar .game-page > .game-topbar,
html.uk-nofirst.zz-gamebar .Pc28Game > .game-topbar,
html.uk-nofirst.zz-gamebar .game-page > .tg-game-actions,
html.uk-nofirst.zz-gamebar .game-page > .game-topbar::before,
html.uk-nofirst.zz-gamebar .game-page > .game-topbar::after,
html.uk-nofirst.zz-gamebar .Pc28Game > .game-topbar::before,
html.uk-nofirst.zz-gamebar .Pc28Game > .game-topbar::after,
html.uk-nofirst.zz-gamebar .game-page > .tg-game-actions::before,
html.uk-nofirst.zz-gamebar .game-page > .tg-game-actions::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.uk-nofirst.zz-gamebar #zz-fsbar {
  position: fixed !important;
  z-index: 2147483646 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: calc(env(safe-area-inset-top, 0px) + 40px) !important;
  margin: 0 !important;
  padding: env(safe-area-inset-top, 0px) 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html.uk-nofirst.zz-gamebar #zz-fsbar .zz-fsbtn {
  display: none !important;
  pointer-events: none !important;
  height: 30px !important;
  min-width: 64px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 15px !important;
  margin-left: auto !important;
  background: #f3f3f3 !important;
  color: #222222 !important;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 30px !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

html.uk-nofirst.zz-gamebar .game-page {
  padding-top: calc(env(safe-area-inset-top, 0px) + 40px) !important;
  box-sizing: border-box !important;
}
/* FC: the white address strip sits on the game picture, not above a gap. */
html.uk-nofirst.zz-gamebar.zz-gbar-over .game-page,
html.uk-nofirst.zz-gamebar.zz-gbar-over .Pc28Game.page {
  padding-top: 0 !important;
}

html.uk-nofirst.zz-gamebar .Pc28Game.page {
  padding-top: calc(env(safe-area-inset-top, 0px) + 40px) !important;
  box-sizing: border-box !important;
}

/* Non-FC: 全屏 hides the bar. FC keeps it. */
html.uk-nofirst.zz-gamebar.zz-fs-on:not(.zz-gbar-over) #zz-fsbar {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.uk-nofirst.zz-gamebar body.game-fullscreen-mode .game-page {
  top: calc(env(safe-area-inset-top, 0px) + 40px) !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
}

html.uk-nofirst.zz-gamebar #l02gb .gb-back,
html.uk-nofirst.zz-gamebar #l02gb .gb-cap {
  top: calc(env(safe-area-inset-top, 0px) + 48px) !important;
}

html.uk-nofirst.zz-gamebar #l02gb .gb-menu {
  top: calc(env(safe-area-inset-top, 0px) + 88px) !important;
}

html.uk-nofirst.zz-gamebar #l02gb .gb-hd {
  display: none !important;
}

/* pgurl: hide address bar only; game fills the freed strip */
html.uk-nofirst.zz-gamebar.zz-fs-on .game-page,
html.uk-nofirst.zz-gamebar.zz-fs-on .Pc28Game.page {
  padding-top: 0 !important;
}
html.uk-nofirst.zz-gamebar.zz-fs-on #l02gb .gb-back,
html.uk-nofirst.zz-gamebar.zz-fs-on #l02gb .gb-cap {
  top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
}
html.uk-nofirst.zz-gamebar.zz-fs-on #l02gb .gb-menu {
  top: calc(env(safe-area-inset-top, 0px) + 48px) !important;
}
#zz-fsexit {
  position: fixed !important;
  z-index: 2147483646 !important;
  top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
  right: calc(env(safe-area-inset-right, 0px) + 8px) !important;
  height: 28px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: rgba(0,0,0,.45) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  display: none !important;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent !important;
}
#zz-fsexit.on { display: block !important; }
