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

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

.custom-select {
  display: flex;
  align-items: center;
  .prefix {
    height: 40px;
    line-height: 40px;
    padding: 0 1rem;
    border-radius: 6px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: hsla(0, 0%, 100%, 0.1);
  }
  .select :global(.ant-select-selector) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.mode-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr); /* 自动调整行高 */
  width: 800px;
  height: 530px;
  gap: 16px;
  .mode {
    height: 100%;
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 12px;
    transition: 0.2s;
    cursor: pointer;
    &:hover {
      box-shadow: 0 0 0 4px #2a5560;
      // background: hsla(0, 0%, 100%, 0.07);
      filter: brightness(1.2);
    }
    .icon {
      background: linear-gradient(#514f5780, #2a283277);
      overflow: hidden;
      position: relative;
      --length: 48px;
      width: var(--length);
      height: var(--length);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: white;
      transition: 0.2s;
      filter: brightness(1.5);
    }
    .title {
      margin-top: 24px;
      margin-bottom: 12px;
      font-size: 16px;
    }
    .desc {
      font-size: 14px;
      line-height: 24px;
      color: hsla(0, 0%, 100%, 0.6);
    }
  }
}
