@charset "UTF-8";

@media (max-width: 991.98px) {
  .front6-header {
    overflow: visible;
  }

  .front6-header__inner,
  .front6-shell,
  .main-body > .inner,
  .basic-subpage__inner,
  .front6-footer__inner {
    width: min(100% - 32px, 1200px);
  }

  .front6-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 64px !important;
  }

  .front6-header__menu {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    z-index: 80 !important;
    display: inline-flex !important;
    flex: 0 0 44px !important;
    color: #fff !important;
    background: var(--basic-ink) !important;
    border: 1px solid var(--basic-ink) !important;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

  .front6-header__menu span {
    background: currentColor !important;
  }

  .front6-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 60;
    display: none !important;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    color: var(--basic-ink) !important;
    background: var(--basic-paper) !important;
    border: 1px solid var(--basic-line);
  }

  .front6-header.is-menu-open .front6-header__nav {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .front6-header__nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    color: var(--basic-ink) !important;
    background: transparent !important;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--basic-line);
    white-space: normal;
  }

  .front6-header__nav a:hover {
    color: var(--basic-main-dark) !important;
    background: var(--basic-soft) !important;
  }

  .front6-layout,
  .basic-subpage__inner,
  .front6-footer__inner {
    grid-template-columns: 1fr;
  }

  .basic-page-heading {
    grid-template-columns: 220px minmax(0, 1fr);
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .basic-page-heading__image {
    min-height: 168px;
  }

  .basic-page-heading__body {
    min-width: 0;
    padding: 30px;
  }

  .basic-page-heading__body > h1 {
    overflow-wrap: anywhere;
  }

  .basic-breadcrumb {
    margin-bottom: 28px;
  }

  .front6-game-card,
  .front6-result-grid,
  .game-card-wrap {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-width: 0;
  }

  .game-card > a,
  .game-card-body,
  .game-card-body > .col-12 {
    min-width: 0;
  }

  .game-card-body__upper {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .game-card__team-name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .basic-info-table,
  .competition-detail-info,
  .custom_detail_table,
  .score_detail_table,
  .game-record-table {
    width: 100%;
  }

  .basic-info-table,
  .basic-info-table tbody,
  .basic-info-table tr,
  .basic-info-table th,
  .basic-info-table td {
    display: block;
    width: 100% !important;
  }

  .basic-info-table {
    border: 1px solid var(--basic-line, #d7dfd9);
    border-collapse: separate;
    border-spacing: 0;
  }

  .basic-info-table tr {
    overflow: hidden;
    border: 0;
  }

  .basic-info-table tr + tr {
    margin-top: 0;
    border-top: 1px solid var(--basic-line, #d7dfd9);
  }

  .basic-info-table th,
  .basic-info-table td {
    border: 0 !important;
  }

  .basic-info-table th {
    padding: 10px 12px;
    background: var(--basic-soft, #eef5f1);
    font-size: 13px;
    text-align: left;
  }

  .basic-info-table td {
    padding: 12px;
    border-top: 1px solid var(--basic-line, #d7dfd9) !important;
    line-height: 1.75;
  }

  .table-responsive,
  .score_detail_table__wrap,
  .custom_detail_table__wrap,
  .game-record-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .custom_detail_table:not(.custom_detail_table--split) + .custom_detail_table:not(.custom_detail_table--split) {
    margin-top: -1px;
  }

  .custom_detail_table:not(.custom_detail_table--split),
  .custom_detail_table:not(.custom_detail_table--split) th,
  .custom_detail_table:not(.custom_detail_table--split) td {
    border-bottom: 1px solid var(--basic-line, #d7dfd9) !important;
  }

  .custom_detail_table:not(.custom_detail_table--split) tr > * + * {
    margin-top: -1px;
  }

  .custom_detail_table:not(.custom_detail_table--split) {
    border-bottom: 0 !important;
  }

  .custom_detail_table:not(.custom_detail_table--split):last-child {
    border-bottom: 0 !important;
  }

  .custom_detail_table:not(.custom_detail_table--split):has(+ .custom_detail_table--split) {
    border-bottom: 0 !important;
  }

  .custom_detail_table:not(.custom_detail_table--split):has(+ .custom_detail_table--split) th,
  .custom_detail_table:not(.custom_detail_table--split):has(+ .custom_detail_table--split) td {
    border-bottom: 1px solid var(--basic-line, #d7dfd9) !important;
  }

  .custom_detail_table:has(.custom_detail_tr--var_three) {
    table-layout: fixed;
  }

  .custom_detail_tr--var_three {
    display: table-row;
  }

  .custom_detail_tr--var_three th,
  .custom_detail_tr--var_three td {
    display: table-cell;
    width: auto;
  }

  .custom_detail_tr--var_three .custom_detail_header {
    width: 38%;
  }

  .custom_detail_tr--var_three .custom_detail_data {
    width: 31%;
  }

  .form-control,
  input,
  textarea,
  select {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .front6-header__inner,
  .front6-shell,
  .main-body > .inner,
  .basic-subpage__inner,
  .front6-footer__inner {
    width: min(100% - 24px, 1200px);
  }

  .front6-section,
  .basic-article__body,
  .basic-detail-section,
  .basic-list-section {
    padding: 16px;
  }

  .front6-section__header,
  .basic-article__header {
    gap: 8px;
    padding: 14px 16px;
  }

  .front6-section__header h2,
  .basic-article__header h2,
  .section-heading {
    font-size: 20px;
    line-height: 1.35;
  }

  .basic-page-heading {
    grid-template-columns: 1fr;
  }

  .basic-page-heading__image {
    min-height: 180px;
  }

  .basic-page-heading__body {
    padding: 20px;
  }

  .basic-page-heading__body > h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .basic-page-heading__body > p {
    margin-bottom: 8px;
  }

  .game-card-body__upper {
    grid-template-columns: 1fr;
  }

  .game-card__score-wrapper,
  .game-card__result {
    min-height: 34px;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .modal-footer .btn {
    width: 100%;
  }
}
.competition-files__link {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}
