dialog#main-popup {
  border-width: 0;
  margin: auto;
  background-color: transparent;
  overflow: visible;
  &::backdrop {
    background-color: #000000bf;
  }
  > form {
    display: flex;
    margin-block-end: 1.2rem;
    justify-content: end;
    > button {
      background-color: transparent;
      width: 2.4rem;
    }
  }
  > div {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 1.2rem;
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 0.4rem 2rem #0000001a;
    background-color: #fff;
    > a {
      display: flex;
      gap: 1.6rem;
      justify-content: space-between;
      align-items: center;
      padding: 1.8rem 2.4rem;
      border-radius: 2rem;
      background: #f6faff;
      text-wrap: nowrap;
      > div {
        font-size: 1.6rem;
        > i {
          font-weight: 700;
        }
      }
      > img {
        height: 6.2rem;
        width: auto;
      }
    }
  }
  @media (width >= 1024px) {
    > form {
      margin-block-end: 1.6rem;
      > button {
        width: 3.6rem;
      }
    }
    > div {
      grid-auto-rows: revert;
      grid-template-columns: repeat(2, 1fr);
      gap: 2.4rem;
      padding: 4.8rem;
      > a {
        gap: 3rem;
        padding: 3.5rem 4.2rem;
        > div {
          > i {
            font-size: 1.8rem;
            font-weight: 350;
          }
          > b {
            font-size: 2.2rem;
          }
        }
        > img {
          height: 8rem;
        }
        &:last-of-type {
          grid-column: 1 / -1;
          gap: 20rem;
          > div {
            > div {
              font-size: 1.4rem;
              margin-top: 0.8rem;
              padding: 0.6rem 2.4rem;
              border-radius: 9999px;
              width: fit-content;
              background: #258fff;
              color: #fff;
            }
            > b {
              font-size: 2.8rem;
            }
          }
          > img {
            height: 10.8rem;
          }
        }
      }
    }
  }
}
