@media(min-width:761px){
  html,body{height:100%; overflow:hidden}
  body{padding:6px 8px}
  .wrap{height:100%; display:flex; flex-direction:column; min-height:0}
  .board{flex:1 1 auto; min-height:0; height:100%; max-height:100%; gap:8px; align-items:stretch}
  .board.snapBoard{grid-template-rows:repeat(4,minmax(0,1fr)); align-items:stretch}
  .board.snapBoard .leftRail,.board.snapBoard>.orderboard,.board.snapBoard>.rightStack,.board.snapBoard>.farmCol,.board.snapBoard>.stage{min-height:0; max-height:none; overflow:auto; height:auto}
  .board.snapBoard>.rightStack{overflow:auto; min-width:0}
  /* Griddle card stretches to fill its grid cell so its background reaches the resize corner, like the Order Board */
  .board.snapBoard>.rightStack>.griddle{flex:1 1 auto; min-height:0; overflow:auto}
  .board:not(.snapBoard) .leftRail,.board:not(.snapBoard)>.orderboard,.board:not(.snapBoard)>.rightStack,.board:not(.snapBoard)>.farmCol{min-height:0; max-height:100%; overflow:hidden}
  .board:not(.snapBoard) .leftRail{height:auto; max-height:100%; display:flex; flex-direction:column; overflow:hidden}
  .board:not(.snapBoard)>.orderboard,.board:not(.snapBoard)>.rightStack,.board:not(.snapBoard)>.farmCol{height:100%; max-height:100%; display:flex; flex-direction:column}
  .board:not(.snapBoard)>.rightStack>.griddle{flex:1 1 auto; min-height:0; overflow:hidden; display:flex; flex-direction:column}
  .board:not(.snapBoard)>.farmCol{overflow:hidden}
  .leftRail .chef{flex:0 1 auto; min-height:0; overflow:auto}
  .board:not(.snapBoard) .leftRail .chef{max-height:calc(100vh - 92px)}
  .board.snapBoard .leftRail .chef{max-height:calc(100vh - 92px)}
  .cardHead{flex:0 0 auto; margin:0 0 6px}
  .orderboard .cols{flex:1 1 auto; min-height:0; overflow:hidden}
  .orderboard .col{min-height:0; overflow:auto}
  .griddlePlay{flex:1 1 auto; min-height:0; overflow:hidden}
  .griddlePlay > div:first-child{min-height:0; display:flex; flex-direction:column}
  .griddlePlay .pantry{overflow:auto}
  .platebox{min-height:150px; flex:0 0 auto}
  .card{padding:10px}
  h2{margin:0 0 6px}
  .stage,.foot{display:none}
  .titlebar .tinytag{display:none}
  .log{max-height:16vh; margin-top:8px}
  .innerTabs{margin:8px 0 8px}
  .achv{margin-bottom:8px}
}
@media(min-width:761px) and (max-height:640px){.wrap{zoom:.92}}
@media(min-width:761px) and (max-height:560px){.wrap{zoom:.84}}
.griddle.kitchenClosed{outline:3px solid var(--rose); filter:saturate(.45)}
.griddle.kitchenClosed .platebox,.griddle.kitchenClosed .pantry{pointer-events:none; opacity:.38}
.griddle.kitchenClosed #serveBtn,.griddle.kitchenClosed #undoBtn,.griddle.kitchenClosed #clearBtn{pointer-events:auto; opacity:1; filter:none}
.btn.is-off{opacity:.55; filter:grayscale(.15); cursor:help}
.hint{color:var(--muted); font-size:.78rem; margin:0 0 8px}
.hint b{color:var(--gold)}

