#game-market-register-view {
  width: 100%;
  max-width: 44rem;
  max-height: var(--app-sheet-height);
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);

  &[shown] {
    transition: none;
  }

  @media (width >= 680px) and (height >= 620px) {
    &:not([hidden]) {
      border-radius: var(--sheet-border-radius);
      --viewkit-sheet-offset-y: var(--viewkit-sheet-centered-offset-y);
    }
  }


  button:is([action="continue"], [type="submit"]) {
    &:not(:disabled) {
      color: var(--color-blue);
    }
  }


  > section {
    &.inputs {
      > main {
        position: relative;
        padding: 1.6rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem 1.2rem;
        align-content: start;

        &[data-completed] {
          visibility: hidden;
        }

        > :is(.field, .options) {
          grid-column: 1 / -1;

          &:is(.firstname, .lastname) {
            grid-column: auto;
          }

          &:is(main[inert] *) {
            opacity: 0.5;
          }
        }

        .options {
          display: grid;
          gap: 1.2rem;

          .switch-row {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);

            > span {
              white-space: normal;
              overflow-wrap: anywhere;
            }
          }

          small {
            display: block;
            font-size: 1.2rem;
            color: var(--color-gray);
          }
        }
      }

      .done {
        position: absolute;
        place-self: center;
        rotate: -3deg;
        box-shadow: 0 0 1.2rem black;
        border: 0.2rem solid rgba(0, 0, 0, 0.333);
        border-radius: 1.2rem;
        padding-block: 1.2rem;
        padding-inline: 1.8rem;
        background: oklch(from rgb(0 139 65) l c h / 0.333);
        backdrop-filter: blur(0.666rem);
        text-align: center;

        &[hidden] {
          display: none;
        }


        h4 {
          font-size: 2.2rem;
        }


        span {

        }
      }
    }

    &.finalization > main {
      padding: 2.4rem 1.6rem;
      display: grid;
      align-content: safe center;
      justify-items: center;
      gap: 1.6rem;
      text-align: center;

      > svg {
        width: 6.4rem;
        height: auto;
      }

      > h2 {
        font-size: 1.8rem;
        font-weight: 600;
        text-wrap: balance;
      }

      > p {
        font-size: 1.4rem;
        line-height: 1.5;
        text-wrap: balance;
      }
    }

    > .\@error {
      padding: 1.6rem;
    }
  }
}
