text: @mobile: ~"screen and (max-width: 575px)";
  @tablet: ~"screen and (min-width: 576px) and (max-width: 1025px)";
  
  :host ::ng-deep {
    .ant-card-body {
      @media @mobile {
        padding: 12px;
      }
    }
  
    .ant-input-group {
      width: auto;
    }
  }
  
  .hq-input {
    width: 160px;
  }
  
  .hq-ingredient-name {
    cursor: pointer;
  }
  
  .affinity-icon {
    width: 24px;
    height: 24px;
  }
  
  .simulator-footer {
    margin-top: 10px;
  }
  
  .apply {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
  }
  
  .ingredients {
    button {
      margin-bottom: 37px;
    }
  }
  
  .failed {
    background-color: rgba(255, 0, 0, .3);
  }
  
  .success {
    background-color: rgba(0, 255, 0, .3);
  }
  
  .nothing-selected {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    flex: 1 1 auto;
    opacity: .7;
  }
  
  .consumable-col {
    min-height: 130px;
  }
  
  .job-selector {
    width: 100%;
  }
  
  .job-icon {
    width: 32px;
  }
  
  .buttons {
    position: fixed;
    @media @mobile {
      position: unset;
      > button {
        margin-bottom: 5px;
      }
    }
  }
  
  .simulator {
    margin-left: 42px;
    @media @mobile {
      margin-left: 0;
      margin-top: 42px;
    }
    @media @tablet {
      margin-left: 0;
      margin-top: 42px;
    }
  }
  
  .mobile-buffs {
    position: fixed;
    bottom: 11px;
    z-index: 1000;
    width: ~"calc(100% - 60px)";
    opacity: .8;
  
    ::ng-deep .ant-card-body {
      padding: 3px !important;
    }
  }
  
  .mobile-actions {
    margin-bottom: 50px;
  }
  
  .buffs-container {
    min-height: 32px;
  
    .buff-container {
      position: relative;
      margin: 0 2px;
  
      .stacks {
        position: absolute;
        top: 0;
        right: 0;
        color: white;
        text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
      }
  
      .duration {
        position: absolute;
        bottom: 0;
        right: 0;
        color: white;
        text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
      }
    }
  }
  
  .quality-display {
    width: 100%;
  }
  
  .hq-chances {
    display: flex;
    justify-content: space-between;
    width: 150px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    margin-right: 40px;
  }
  
  .actions-card {
    position: relative;
  
    .warning-icon {
      position: absolute;
      top: 5px;
      left: 5px;
    }
  
    .fail-reason {
      position: absolute;
      width: 100%;
      text-align: center;
      font-weight: bold;
    }
  
    .actions-container {
      min-height: 45px;
  
      .action-from-bar:not(.gu-transit) {
        display: none;
      }
  
      .action-container {
        margin-bottom: 5px;
      }
  
      .rotation-action {
        padding: 0 5px;
      }
    }
  }
  
  .category-row {
    display: flex;
    flex-wrap: wrap;
  
    h4 {
      padding-left: 15px;
    }
  
    .actions-row {
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      padding: 5px;
      background: rgba(0, 0, 0, .3);
      margin: 10px;
  
      .gu-transit {
        display: none;
      }
  
      app-action {
        margin: 5px;
      }
    }
  }
  
  /* Animate items as they're being sorted. */
  .cdk-drop-list-dragging .cdk-drag {
    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
  }
  