/* Full brand and readable navigation each get their own compact mobile row. */
@media (max-width:610px) {
 .mast .mast-inner {
  display:grid;
  grid-template-columns:minmax(0,1fr) 32px 32px;
  grid-template-rows:32px 36px;
  align-items:center;
  gap:4px 8px;
  height:auto;
  padding:5px 8px 6px;
  padding-left:max(8px,env(safe-area-inset-left));
  padding-right:max(8px,env(safe-area-inset-right));
 }
 .mast .identity {
  display:flex;
  grid-column:1;
  grid-row:1;
  width:115px;
  max-width:100%;
  height:32px;
  overflow:visible;
 }
 .mast .identity img#brand {
  content:normal;
  display:block;
  width:115px;
  max-width:100%;
  height:auto;
  object-fit:contain;
  object-position:left center;
 }
 .mast .account-trigger {
  grid-column:2;
  grid-row:1;
  width:32px;
  height:32px;
  margin:0;
 }
 .mast .theme-toggle {
  grid-column:3;
  grid-row:1;
  width:32px;
  height:32px;
  margin:0;
 }
 .mast nav {
  grid-column:1 / -1;
  grid-row:2;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  height:36px;
  margin:0;
  padding:2px;
  gap:2px;
 }
 .mast nav .nav {
  justify-content:center;
  min-width:0;
  min-height:30px;
  padding:4px 6px;
  font-size:12px;
  gap:5px;
 }
 .mast nav .nav .icon {display:block;width:14px;height:14px;flex:none}
 .mast .dataset {display:none}
}
