/* Keep the public PGN title close to the site navigation in setup and viewer modes. */
html:root body>.bc-integrated-shell:has(.bc-program-body[data-app="pgn"]):not(.is-fullscreen):not(:fullscreen){margin-top:8px!important}
/* Public loaded viewer: size the workspace for the board; the footer follows below. */
@media(min-width:920px){
 body.bc-pgn-fit{height:auto!important;min-height:100dvh!important;overflow:auto!important}
 body.bc-pgn-fit>.bc-integrated-shell{margin:10px auto!important;display:flex!important;flex-direction:column!important;gap:10px!important}
 body.bc-pgn-fit .bc-program-body[data-app="pgn"]{height:var(--pgn-workspace-height,800px)!important;min-height:0!important;margin:0!important;overflow:hidden!important}
 body.bc-pgn-fit .bc-program-body[data-app="pgn"] .bc-app-frame{height:100%!important;min-height:0!important;max-height:none!important}
 body.bc-pgn-fit>.bc-footer{margin-top:8px!important}
}
body.bc-pgn-fit>.bc-integrated-shell.is-fullscreen,body.bc-pgn-fit>.bc-integrated-shell:fullscreen{margin:0!important}
