@media only screen and (max-width: 1024px) {
  .tpl-desktop-sponsors .tpl-logo-wrap img,
  .tpl-partners img {
    top: 0px !important;
    left: 0px !important;
  }

  body {
    background-image: url("../img/bg-tablet-20260826.jpg");
    background-size: 100%;
    background-position: center 55px;
  }

  main {
    max-width: 720px;
    padding: 19px 0px 0px 0px;
  }

  .header-main-title {
    font-size: 50px;
  }

  .header-sub-title {
    font-size: 20px;
  }

  .week1-badge {
    width: 151px;
    height: 149px;
    right: 10px;
    top: 355px;
    padding-top: 40px;
    font-size: 14px;
  }

  .main-inner-container {
    margin-top: 335px;
  }

  .mid {
    font-size: 25px;
  }

  .static .header-title {
    width: 100%;
  }

  .prediction-box {
    margin-left: 0;
    margin-top: 200px;
  }

  .prediction-box-img {
    width: 50%;
  }
}

@media only screen and (max-width: 768px) {
  body {
    background-size: 768px;
    background-position: center 60px;
  }

  .main-inner-container {
    margin-top: 225px;
  }

  .team-icon img,
  .team-icon-img img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .team-name {
    font-size: 15px;
  }

  big {
    font-size: 36px;
  }

  .banner-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
  }

  .banner-left,
  .banner-right {
    position: unset;
    margin: 0 10px;
    overflow: hidden;
  }

  .lbox-terms {
    height: 573px;
    width: 398px;
    padding: 65px 12px 20px 12px;
  }

  .lbox-week1,
  .lbox-other-week {
    width: 417px;
    height: 354px;
  }

  .lbox-week1 p,
  .lbox-other-week p {
    font-size: 17px;
  }

  .lbox-week1 span,
  .lbox-other-week span {
    font-size: 15px;
  }

  .tpl-logo-wrap span {
    left: 185px;
    top: 40px;
    font-size: 14px;
    border: none;
  }

  .tpl-header {
    height: 80px;
  }

  .tpl-lang-wrap {
    top: 10px;
  }

  .static .header-title span {
    font-size: 23px;
  }

  .static .static-description {
    line-height: 15pt !important;
  }

  .prediction-box {
    padding: 15px 20px;
  }

  .prediction-container {
    flex-wrap: nowrap;
  }

  .tpl-logo-wrap span {
    left: 208px;
    top: 14px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    background-size: 600px;
    background-position: center 65px;
    background-color: #1e1f21;
  }

  main {
    max-width: 480px;
  }

  .main-inner-container {
    margin-top: 415px;
  }

  .week1-badge {
    width: 119px;
    height: 117px;
    padding-top: 30px;
    font-size: 10px;
    top: 225px;
  }

  .mid {
    font-size: 18px;
  }

  .big {
    font-size: 36px;
  }

  .banner-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
  }

  .banner-left,
  .banner-right {
    position: unset;
    margin: 0 10px;
    overflow: hidden;
  }

  .lbox-terms {
    height: 560px;
    width: 365px;
    padding: 65px 12px 20px 12px;
  }

  .lbox-week1,
  .lbox-other-week {
    width: 350px;
    height: 340px;
  }

  .lbox-week1 p,
  .lbox-other-week p {
    font-size: 17px;
  }

  .lbox-week1 span,
  .lbox-other-week span {
    font-size: 15px;
  }

  .tpl-logo-wrap span {
    left: 0px;
    top: 40px;
    font-size: 14px;
    border: none;
  }

  .tpl-header {
    height: 80px;
  }

  .tpl-lang-wrap {
    top: 10px;
  }

  .static .header-title span {
    font-size: 23px;
  }

  .static .static-description {
    line-height: 15pt !important;
  }

  .prediction-box {
    margin-top: -100px;
  }
}

@media only screen and (max-width: 479px) {
  body {
    background-position: center 65px;
    background-size: cover;
  }

  .tpl-txt-lang {
    display: none;
  }

  .static .static-description {
    line-height: 15pt !important;
    width: 200px !important;
    padding: 0px;
  }

  .tpl-lang-wrap {
    width: 65px;
  }

  main {
    max-width: 300px;
  }

  .main-inner-container {
    margin-top: 0;
  }

  .team-name {
    font-size: 13px;
  }

  body.jp .team-name,
  body.te .team-name,
  body.bd .team-name,
  body.bg .team-name,
  body.hi .team-name,
  body.th .team-name,
  body.kr .team-name {
    font-size: 12px;
  }

  body.jp .prediction-container,
  body.te .prediction-container,
  body.bd .prediction-container,
  body.bg .prediction-container,
  body.hi .prediction-container,
  body.th .prediction-container,
  body.kr .prediction-container {
    margin-bottom: 10px;
  }

  .banner-container {
    flex-wrap: nowrap;
    overflow: visible;
    align-items: flex-start;
  }

  .prediction-box {
    margin-top: 245px;
    width: 250%;
  }

  .prediction-container {
    gap: 4px;
  }

  .team {
    margin: 0 4px;
  }

  .team-icon,
  .team-icon-img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    font-size: 10px;
    line-height: 1.05;
    padding: 3px;
    word-break: break-word;
  }

  .team-logo {
    width: 74px;
    flex: 0 0 74px;
  }

  .team-vs {
    min-width: 20px;
  }

  #submit-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
  }

  #submit-form > div:first-child {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
  }

  #submit-form input,
  .username-field {
    width: 100%;
    max-width: 170px;
    box-sizing: border-box;
  }

  #submit-form .btn-submit {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lbox-msg {
    width: 88%;
    max-width: 300px;
    padding: 28px 20px;
  }

  .lbox-week1,
  .lbox-other-week {
    width: 92%;
    max-width: 320px;
    height: auto;
    min-height: 300px;
    padding: 30px 20px;
  }

  .lbox-week1 p,
  .lbox-other-week p {
    font-size: 16px;
  }

  .lbox-week1 span,
  .lbox-other-week span {
    font-size: 14px;
  }

  .lbox-week1 img,
  .lbox-other-week img {
    max-width: 180px;
    height: auto;
  }

  .tooltip-text {
    width: 56px;
    left: -4px;
  }

  .banner-left,
  .banner-right {
    width: 150px;
    height: auto;
    min-height: 250px;
    padding: 10px 6px;
    margin: 0 5px;
    overflow: hidden;
  }

  .banner-left .league-name,
  body.th .banner-left .league-name,
  body.bg .banner-left .league-name,
  body.kz .banner-left .league-name,
  body.te .banner-left .league-name,
  body.ru .banner-left .league-name {
    font-size: 13px;
  }

  .banner-left .league-date,
  body.es .banner-left .league-date,
  body.in .banner-left .league-date {
    font-size: 8px;
  }

  .banner-left .league-vs,
  body.jp .banner-left .league-vs,
  body.kr .banner-left .league-vs,
  body.kz .banner-left .league-vs,
  body.ru .banner-left .league-vs,
  body.te .banner-left .league-vs,
  body.bg .banner-left .league-vs {
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  body.bd .banner-left .league-vs,
  body.bg .banner-left .league-vs,
  body.hi .banner-left .league-vs,
  body.th .banner-left .league-vs,
  body.kr .banner-left .league-vs {
    font-size: 14px;
    line-height: 1.3;
  }

  body.jp .banner-left .league-vs,
  body.te .banner-left .league-vs {
    font-size: 13px;
    line-height: 1.2;
  }

  body.jp .banner-left .league-name,
  body.te .banner-left .league-name,
  body.th .banner-left .league-name,
  body.bd .banner-left .league-name,
  body.bg .banner-left .league-name,
  body.hi .banner-left .league-name {
    font-size: 14px;
  }

  .banner-container .btn,
  body.bd .banner-container .btn,
  body.bg .banner-container .btn,
  body.ru .banner-container .btn,
  body.kz .banner-container .btn,
  body.es .banner-container .btn {
    width: 120px;
    height: auto;
    min-height: 30px;
    font-size: 10px;
    line-height: 1.3;
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media only screen and (max-width: 400px) {
  body {
    background-position: center 65px;
    background-size: 400px;
    background-color: #030303;
  }

  .main-inner-container {
    margin-top: 300px;
  }

  .prediction-box {
    width: 125%;
    margin-top: -105px;
  }

  .team-name {
    font-size: 12px;
  }

  body.jp .team-name,
  body.te .team-name,
  body.bd .team-name,
  body.bg .team-name,
  body.hi .team-name,
  body.th .team-name,
  body.kr .team-name {
    font-size: 10px;
  }

  body.jp .prediction-container,
  body.te .prediction-container,
  body.bd .prediction-container,
  body.bg .prediction-container,
  body.hi .prediction-container,
  body.th .prediction-container,
  body.kr .prediction-container {
    margin-bottom: 8px;
  }

  #submit-form {
    justify-content: center;
  }

  .prediction-container {
    gap: 2px;
  }

  .team {
    margin: 0 2px;
  }

  .team-icon,
  .team-icon-img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    font-size: 9px;
    line-height: 1;
    padding: 2px;
  }

  .team-logo {
    width: 66px;
    flex: 0 0 66px;
  }

  .team-vs {
    min-width: 16px;
  }

  #submit-form input,
  .username-field {
    max-width: 140px;
    font-size: 12px;
  }

  #submit-form .btn-submit {
    font-size: 13px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .lbox-msg {
    max-width: 270px;
    font-size: 14px;
  }

  .lbox-week1,
  .lbox-other-week {
    max-width: 280px;
    padding: 24px 14px;
  }

  .lbox-msg {
    max-width: 260px;
  }

  .banner-left,
  .banner-right {
    width: 130px;
    height: auto;
    min-height: 240px;
    padding: 8px 4px;
    margin: 0 4px;
    overflow: hidden;
  }

  .banner-left .league-name,
  body.th .banner-left .league-name,
  body.bg .banner-left .league-name,
  body.kz .banner-left .league-name,
  body.te .banner-left .league-name,
  body.ru .banner-left .league-name {
    font-size: 11px;
  }

  .banner-left .league-date,
  body.es .banner-left .league-date,
  body.in .banner-left .league-date {
    font-size: 7px;
  }

  .banner-left .league-vs,
  body.jp .banner-left .league-vs,
  body.kr .banner-left .league-vs,
  body.kz .banner-left .league-vs,
  body.ru .banner-left .league-vs,
  body.te .banner-left .league-vs,
  body.bg .banner-left .league-vs {
    font-size: 11px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  body.bd .banner-left .league-vs,
  body.bg .banner-left .league-vs,
  body.hi .banner-left .league-vs,
  body.th .banner-left .league-vs,
  body.kr .banner-left .league-vs {
    font-size: 13px;
    line-height: 1.3;
  }

  body.jp .banner-left .league-vs,
  body.te .banner-left .league-vs {
    font-size: 12px;
    line-height: 1.2;
  }

  body.jp .banner-left .league-name,
  body.te .banner-left .league-name,
  body.th .banner-left .league-name,
  body.bd .banner-left .league-name,
  body.bg .banner-left .league-name,
  body.hi .banner-left .league-name {
    font-size: 13px;
  }

  .banner-container .btn,
  body.bd .banner-container .btn,
  body.bg .banner-container .btn,
  body.ru .banner-container .btn,
  body.kz .banner-container .btn,
  body.es .banner-container .btn {
    width: 106px;
    height: auto;
    min-height: 28px;
    font-size: 9px;
    padding: 5px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
