/* css/icons.css: sizes for the icon kinds of js/play/icons.js. data-ic on each <img>: 'g' a line symbol (24 px grid,
   2 px strokes), 'm' an item picture, 'b' a building picture. Line symbols sit a little smaller than pictures so the
   strokes keep one weight beside the music button; buildings get a little more room in a panel header. */
img.ico { object-fit: contain; }

/* HUD buttons: line symbols at the music symbol's size */
.ibtn img.ico[data-ic="g"], #btasks img.ico, #bwish img.ico, #bmenu img.ico { width: 24px; height: 24px; }
.ibtn img.ico[data-ic="b"], .ibtn img.ico[data-ic="m"], #bchest img.ico { width: 34px; height: 34px; }

/* the close button */
.x img[data-ic="g"] { width: 20px; height: 20px; }

/* panel headers: the building as a little picture, a touch bigger than the 40 px slot */
.panel header img.ico[data-ic="b"] { width: 54px; height: 54px; margin: -8px -4px -8px -6px; }
.panel header img.ico[data-ic="m"] { width: 46px; height: 46px; margin: -3px -2px -3px -3px; }
.panel header img.ico[data-ic="g"] { width: 30px; height: 30px; margin: 5px; }

/* rows and toasts: line symbols a step smaller than the pictures beside them */
.row img.ico[data-ic="g"] { width: 30px; height: 30px; margin: 6px; }
.toast img.ico[data-ic="g"] { width: 20px; height: 20px; margin: 2px; }
.btn img.ico[data-ic="g"] { width: 18px; height: 18px; }
.btn.big img.ico[data-ic="g"] { width: 22px; height: 22px; }
.need img.ico[data-ic="g"] { width: 20px; height: 20px; margin: 2px; }
.hrow img.ico[data-ic="g"], .g-task img.ico[data-ic="g"] { width: 28px; height: 28px; margin: 4px 6px; }
.g-pill img.ico[data-ic="g"] { width: 26px; height: 26px; margin: 4px; }

/* landing page cards */
.cards img[data-ic="g"] { width: 44px; height: 44px; margin: 6px; }

@media (max-width: 720px), (max-height: 520px) {
  .ibtn img.ico[data-ic="g"], #btasks img.ico, #bwish img.ico, #bmenu img.ico { width: 22px; height: 22px; }
  .ibtn img.ico[data-ic="b"], .ibtn img.ico[data-ic="m"], #bchest img.ico { width: 32px; height: 32px; }
  .x img[data-ic="g"] { width: 20px; height: 20px; }
}
