/* The reference fit owns one shared picture box size per board. */
body.reference-board:not(.infant-board) #grid .symbol{
 font-size:var(--reference-tile-icon)!important;line-height:1!important;max-width:100%!important;
 --emoji-main-size:calc(var(--reference-tile-icon) * .65);
 --emoji-detail-size:calc(var(--reference-tile-icon) * .28);
}
body.reference-board #grid .symbol>img{
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;padding:0!important;object-fit:contain!important;
}
body.reference-board #grid.george-fit-grid .george-photo-tile .symbol>img{
 width:calc(100% * var(--board-photo-scale,1))!important;height:calc(100% * var(--board-photo-scale,1))!important;
}
body.infant-board.reference-board #grid .infant-words .symbol{
 width:min(var(--infant-icon-size,64px),100%)!important;height:var(--infant-icon-size,64px)!important;min-height:var(--infant-icon-size,64px)!important;font-size:calc(var(--infant-icon-size,64px) * .9)!important;
}
body.reference-board.reference-list-board #grid .symbol{width:64px!important;height:64px!important;min-height:64px!important;font-size:60px!important}
body.reference-board.reference-list-board[data-board-icon-size=small] #grid .symbol{width:40px!important;height:40px!important;min-height:40px!important;font-size:36px!important}
body.reference-board.reference-list-board[data-board-icon-size=medium] #grid .symbol{width:52px!important;height:52px!important;min-height:52px!important;font-size:48px!important}
body.reference-board.reference-list-board[data-board-icon-size=extra] #grid .symbol{width:80px!important;height:80px!important;min-height:80px!important;font-size:76px!important}
