/* All positions/sizes below are on the one640x480 PC coordinate plane. */
.game .topbar[hidden],.game .maptools[hidden],.game .dpad[hidden],.game .hud[hidden],.telemetry[hidden]{display:none!important}
.game.pc-layout{overflow:hidden;image-rendering:pixelated}
main:fullscreen{background:#030504}
.game.pc-layout .dpad{display:none!important}
.game.pc-layout #dialog{position:fixed;left:50%;top:50%;right:auto;bottom:auto;margin:0;max-width:640px;max-height:480px;transform:translate(-50%,-50%) scale(var(--pc-stage-scale,1));transform-origin:center center}
.game.pc-layout #dialog::backdrop{background:transparent}
.game.pc-layout #dialog:is(.pc-login-dialog,.pc-create-dialog,.pc-roster-dialog){width:640px;height:480px;max-width:640px;max-height:480px;padding:0;overflow:hidden}
.game.pc-layout #dialog:is(.pc-login-dialog,.pc-create-dialog,.pc-roster-dialog) #dialogbody{width:640px;height:480px;padding:0}
.game.pc-layout .pc-login-shell,.game.pc-layout .pc-create-shell,.game.pc-layout .pc-roster-shell{width:640px;height:480px}
.game.pc-layout .pc-login-form,.game.pc-layout .pc-create,.game.pc-layout .pc-roster{transform:none!important}
.game.pc-layout #dialog:is(.pc-polymorph-dialog,.pc-social-dialog,.pc-party-dialog,.pc-clan-dialog){width:257px;height:336px;max-width:257px;max-height:336px}
.game.pc-layout #dialog:is(.pc-login-dialog,.pc-create-dialog,.pc-roster-dialog,.pc-polymorph-dialog,.pc-social-dialog,.pc-party-dialog,.pc-clan-dialog,.pc-board-dialog,.pc-letter-dialog){left:var(--pc-stage-left);top:var(--pc-stage-top);transform:scale(var(--pc-stage-scale,1));transform-origin:top left}
.game.pc-layout #dialog:has(.pc-item-list){max-width:290px;max-height:480px}
.game.pc-layout #dialog .pc-item-list{transform:none!important}
.game.pc-layout .topbar[hidden]{display:none!important}
.game.pc-layout .pc-internal-controls[hidden]{display:none!important}
/* PC has no text selection: clicks, drags and double-clicks over the game, HUD,
   chat log and windows must not highlight text. Typing fields keep selection. */
body,.game,#dialog{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,[contenteditable]:not([contenteditable=false]){-webkit-user-select:text;user-select:text}
