/* home tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile-m {
  position: relative;
  border: var(--px) solid var(--line);
  box-shadow:
    inset var(--px) var(--px) 0 var(--hi),
    inset calc(var(--px) * -1) calc(var(--px) * -1) 0 var(--lo);
  padding: 12px 12px 10px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  text-align: left;
  background: linear-gradient(180deg, var(--tint) 0 50%, var(--panel2) 50%);
  background-size: 100% 4px;
  background: var(--panel2);
  overflow: hidden;
}
.tile-m::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    var(--tint) 0 var(--px),
    transparent var(--px) calc(var(--px) * 2)
  );
  opacity: 0.25;
}
.tile-m:active {
  box-shadow:
    inset var(--px) var(--px) 0 var(--lo),
    inset calc(var(--px) * -1) calc(var(--px) * -1) 0 var(--hi);
}
.tile-m.wide {
  grid-column: 1/-1;
}
.tiles.three {
  grid-template-columns: repeat(3, 1fr);
}
.tile-m.small {
  min-height: 96px;
  padding: 10px 8px 8px;
}
.tile-m.small .ic {
  top: 8px;
  right: 8px;
}
.tile-m.small .t {
  font-size: 16px;
  white-space: normal;
  word-break: break-word;
}
@media (max-width: 380px) {
  .tiles.three {
    grid-template-columns: 1fr 1fr;
  }
}
.tile-m .t {
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  position: relative;
  color: var(--fg);
}
.tile-m .d {
  font-family: var(--f-cond);
  font-size: 16px;
  line-height: 16px;
  color: var(--muted);
  position: relative;
}
.tile-m .ic {
  position: absolute;
  top: 10px;
  right: 10px;
}
.tile-m .pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-cond);
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  padding: 2px 6px;
}
