@media only screen and (max-width: 1024px) {
  main {
    background-image: url("../img/bg-tablet.20260731.jpg");
    background-color: #0a1d21;
  }

  .content-container {
    top: 0;
    right: 0;
  }

  h1.content {
    font-size: 40px;
    font-size: min(40px, 4.78vw);
    line-height: 1.15;
  }

  h1.content br.br-2 {
    display: none;
  }

  .tnc-button {
    margin-top: 8px;
    padding: 12px 21px 11px;
    font-size: 16px;
  }

  .form-container {
    transform: translateX(min(185px, calc(50vw - 205px)));
  }

  .players {
    top: 260px;
    right: 52%;
    left: auto;
    z-index: 3;
    width: 513px;
    transform: translateX(calc(min(185px, 50vw - 205px) - 107px));
  }

  .tnc-modal {
    width: 480px;
  }

  .tnc-scroll {
    height: 440px;
  }
}

@media only screen and (max-width: 768px) {
  .players {
    right: auto;
    left: 0;
    z-index: 1;
    transform: translateX(-30px);
  }
}

@media only screen and (max-width: 600px) {
  main {
    min-height: 909px;
    background-image: url("../img/bg-mobile.20260731.png");
    background-position: center bottom;
    background-color: #0e2126;
  }

  .main-wrapper {
    padding: 14px 0 0;
  }

  h1.content {
    font-size: 27px;
    line-height: 1.04;
    letter-spacing: -0.3px;
  }

  h1.content br.br-2 {
    display: inline;
  }

  .tnc-button {
    margin-top: 11px;
    padding: 10px 17px 9px;
    border-radius: 5px;
    font-size: 13px;
  }

  .players,
  .smoke-layer {
    display: none;
  }

  .form-container {
    width: min(370px, calc(100% - 24px));
    margin: 13px auto 40px;
    transform: none;
  }

  .tnc-overlay.is-open {
    padding: 16px;
  }

  .tnc-modal {
    width: 100%;
    padding: 22px 6px 24px;
  }

  .tnc-scroll {
    height: min(420px, calc(100vh - 140px));
    padding: 0 6px 0 12px;
  }

  .tnc-list {
    padding-right: 14px;
  }

  .tnc-steps,
  .tnc-terms {
    padding-left: 22px;
  }

  .tnc-sublist {
    padding-left: 18px;
  }
}

@media only screen and (max-width: 480px) {
  main {
    min-height: 860px;
  }

  .registration-form {
    padding: 20px !important;
  }

  .regform-item.regform-bday
    .item-element-wrapper
    > select#regForm_birthdate_day,
  .regform-item.regform-bday
    .item-element-wrapper
    > select#regForm_birthdate_month {
    width: 52px !important;
  }

  .tnc-title {
    font-size: 18px;
  }

  .tnc-list {
    font-size: 13px;
  }
}

@media only screen and (max-width: 420px) {
  h1.content {
    font-size: 24px;
  }

  .tnc-scroll {
    height: min(400px, calc(100vh - 140px));
  }
}

@media only screen and (max-width: 380px) {
  main {
    min-height: 820px;
  }

  h1.content {
    font-size: 21px;
  }

  .registration-form {
    padding: 16px !important;
  }

  .regform-item.regform-bday
    .item-element-wrapper
    > select#regForm_birthdate_day,
  .regform-item.regform-bday
    .item-element-wrapper
    > select#regForm_birthdate_month {
    width: 48px !important;
  }

  .tnc-title {
    font-size: 17px;
  }

  .tnc-list {
    font-size: 12px;
  }
}

@media only screen and (min-width: 601px) and (max-height: 800px) {
  .tnc-scroll {
    height: min(440px, calc(100vh - 145px));
  }
}
