@scope (body[data-patch-release="207"]) {
  :scope #panel-milestones .codex-row {
    align-items: stretch;
    gap: 10px;
    padding: 6px 4px 14px;
  }

  :scope #panel-milestones .codex-card {
    box-sizing: border-box;
    flex-basis: 168px;
    min-height: 226px;
    justify-content: flex-start;
    gap: 5px;
    padding: 12px 10px 10px;
    border-radius: 8px;
    background: #fff;
  }

  :scope #panel-milestones .codex-card.appearance-selected {
    border-color: #3182f6;
    box-shadow: 0 0 0 1px #3182f6;
  }

  :scope #panel-milestones .codex-actions {
    display: grid;
    width: 100%;
    gap: 6px;
    margin-top: auto;
  }

  :scope #panel-milestones .codex-actions button {
    width: 100%;
    min-height: 44px;
    padding: 0 8px;
    border: 1px solid #d1d6db;
    border-radius: 8px;
    color: #4e5968 !important;
    background: #fff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
  }

  :scope #panel-milestones .codex-actions button[data-codex-action="use"] {
    border-color: #3182f6;
    color: #fff !important;
    background: #3182f6 !important;
  }

  :scope #panel-milestones .codex-actions button:disabled {
    border-color: #e5e8eb;
    color: #6b7684 !important;
    background: #e5e8eb !important;
  }

  :scope #panel-milestones .cosmetic-card.incompatible {
    border-color: #e5e8eb !important;
    background: #f7f8fa !important;
  }

  :scope #panel-milestones .cosmetic-card.incompatible .store-item-status {
    min-height: 40px;
    color: #6b7684;
  }

  @media (width <= 390px) {
    :scope #panel-milestones .codex-card {
      flex-basis: 154px;
    }
  }
}
