/* Keep building illustrations clear of tile values in every viewport.
   Immutable authored source stays under vendor/; this is a build override. */
.tile {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 42px;
  align-items: stretch;
  justify-content: initial;
}
.tile-art {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: none;
  display: grid;
  place-items: end center;
  padding: 7px 7px 0;
  overflow: hidden;
}
.tile-art .building-svg {
  width: 96%;
  height: 100%;
  max-height: 76px;
  overflow: hidden;
}
.tile-foot {
  flex: none;
  height: 42px;
  min-height: 42px;
  padding: 3px 4px 7px;
  position: relative;
  z-index: 1;
  gap: 2px;
  background: rgba(250, 245, 229, .96);
}
.tile-value {
  display: block;
  flex-shrink: 0;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.tile-name {
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 680px) {
  .tile { grid-template-rows: minmax(0, 1fr) 34px; }
  .tile-art { height: auto; flex: none; padding: 4px 4px 0; }
  .tile-art .building-svg { width: 98%; max-height: 60px; }
  .tile-foot { height: 34px; min-height: 34px; flex: none; padding: 3px 2px 6px; }
  .tile-value { font-size: 14px; }
}
@media (max-width: 380px) {
  .tile { grid-template-rows: minmax(0, 1fr) 30px; }
  .tile-foot { height: 30px; min-height: 30px; padding: 3px 1px 5px; }
  .tile-value { font-size: 13px; }
}
