.main {
  position: fixed;
  top: var(--nav-height);
  height: calc(100% - var(--nav-height));
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 75px;
  }
}

// 奇奇怪怪的bug
:global(.ant-select .ant-select-selection-item) {
  flex: initial;
}

.custom-select {
  display: flex;
  align-items: center;
  .prefix {
    height: 40px;
    line-height: 40px;
    border: 1px solid #424242;
    padding: 0 1rem;
    border-radius: 6px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: rgba(255, 255, 255, 0.08);
  }
  .select :global(.ant-select-selector) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: none;
  }
  :global(.ant-select-open .ant-select-selector) {
    background: rgba(0, 0, 0, 0.3);
  }
}

.mode-select {
  display: grid;
  grid-template-columns: 1fr 1fr 1.75fr; /* 三列 */
  grid-template-rows: auto; /* 自动调整行高 */
  gap: 40px 34px; /* 行和列的间隔 */
  width: 1000px;
  height: 414px;
  .rank {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
  .fun {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
  .solo {
    grid-column: 3 / 4;
  }
  .custom {
    grid-column: 3 / 4;
  }
  .mode {
    height: -webkit-fill-available;
    border-radius: 20px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}
