.hidden {
    display: none;
}

.\!hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-start {
    justify-content: start;
}

.justify-end {
    justify-content: end;
}

.justify-center {
    justify-content: center;
}

.justify-left {
    justify-content:left;
}

.justify-right {
    justify-content:right;
}

.items-start {
    align-items: start !important;
}

.items-end {
    align-items: end;
}

.items-middle {
    align-items: center;
}

.text-left {
    text-align: left;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.\!my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.\!mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.\!text-right {
    text-align: right !important;
}

.tabs input[class*="tab-selector-"] {
    display: none;
}

.tabs .tabs--content [class*="content-"] {
  display: none;
  width: 100%;
  z-index: auto;
  opacity: 0;
  transition: opacity linear 0.1s;
  background-color: transparent;
  padding: 15px 0;
}

.tabs input.tab-selector-1:checked ~ .tabs--content .content-1,
.tabs input.tab-selector-2:checked ~ .tabs--content .content-2,
.tabs input.tab-selector-3:checked ~ .tabs--content .content-3,
.tabs input.tab-selector-4:checked ~ .tabs--content .content-4 {
  display: block;
  z-index: 9;
  opacity: 1;
  -webkit-transition: opacity ease-out 0.2s 0.1s;
  transition: opacity ease-out 0.2s 0.1s;
}

.tabs--btn {
    font-size: 15px;
}

.tabs--btn label {
    color: var(--all-tab-color);
    border-radius: 30px;
    border: none;
    margin: 0 5px;
    line-height: 30px;
    padding: 0 20px;
    background: transparent;
    box-shadow: var(--all-tab-shadow);
    min-width: 120px;
    text-align: center;
}

.tabs input.tab-selector-1:checked ~ .tabs--btn .tab-label-1,
.tabs input.tab-selector-2:checked ~ .tabs--btn .tab-label-2,
.tabs input.tab-selector-3:checked ~ .tabs--btn .tab-label-3,
.tabs input.tab-selector-4:checked ~ .tabs--btn .tab-label-4 {
    color: #fff;
    background: var(--all-tab-active-bg);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
}

table th, table td {
    text-align: center;
}

table.table-sticky thead tr th {
    position: sticky;
    top: 0;
    background: var(--table-head-bg)
}

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

/**/
.openwork-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.openwork-table-summary {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    padding-bottom: 15px;
    margin-bottom: 5px;
    gap: 40px;
}

.openwork-table-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.openwork-table-head {
    display: flex;
    background: var(--my-head-bg);
    color: #fff;
    width: 100%;
    border-radius: 15px 15px 0 0;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(135, 148, 148, 0.5);
}

.openwork-table-head > div {
    flex: 1;
    padding: 15px 0;
}

.openwork-table-head > div:last-child {
    border-right: none;
}

.openwork-table-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    border-radius: 10px;
    gap: 15px;
    max-height: 52vh;
    overflow-x: auto;
    padding-bottom: 5px;
}

.openwork-table-body .table-row {
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 1px 3px 0 rgba(135, 148, 148, 0.5);
}

.openwork-table-body .table-row::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #4acff1, #0071c7);;
    border-radius: 25px 0 0 25px;
}

.openwork-table-body .table-row--footer {
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    padding-left: 25px;
    justify-content: flex-start;
}

.openwork-table-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--my-detail_total-bg);
    border-radius: 10px 10px 25px 25px;
    padding: 25px 20px;
    gap: 15px;
    font-size: 16px;
    font-weight: normal;
    box-shadow: 0 1px 3px 0 rgba(135, 148, 148, 0.5);
}

/*
* table components
*/
.table-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    max-width: 360px;
    line-height: 30px;
}

.table-summary .table-summary-head {
    border-radius: 15px 15px 0 0;
}

.table-summary-head {    
    background: var(--my-head-bg);
    color: #fff;
    width: 100%;
}

.table-summary-cell {
    box-shadow: 3px 3px 20px rgba(135, 148, 148, 0.5);
    color: var(--history-detail_content-color);
    width: 100%;
    border-radius: 0 0 5px 5px;
}

.table-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.table-row-content {
    display: flex;
    width: 100%;
    align-items: center;
}

.table-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 15px 15px;
}

.positive {
    color: #00986b;
}

.negative {
    color: #e64141;
}

.table-cell::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -1px;
    height: calc(100% - 20px);
    border-right: solid 1px rgba(135, 148, 148, 0.3);
}

.table-cell:last-child::after {
    display: none;
}

.table-row--footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 100%;
    position: relative;
    width: 100%;
    padding: 5px 5px;
}

.table-row--footer::before {
    content: "";
    position: absolute;
    top: -.5em;
    left: 1.5em;
    width: calc(100% - 2.5em);
    height: 1px;
    display: block;
    background: #dbdfdf;
}

/*2026新年版 世足倒數計時*/
.fifa_entrance {
  position: fixed;
  left: 20px;
  bottom: 50px;
  opacity: 0;
}
[data-theme="newyear"] .fifa_entrance {
  position: fixed;
  left: 20px;
  bottom: 50px;
  z-index: 500;
  opacity: 1;
}
[data-theme="newyear"] .fifa_entrance .zone_entrance {
  position: relative;
  min-width: 20px;
  min-height: 20px;
  display: inline-block;
}

[data-theme="newyear"] .fifa_entrance .zone_entrance .entrance_switch {
  position: absolute;
  top: -15px;
  right: 0;
  width: 20px;
  height: 20px;
  background: url("../img/FIFA/zone_open.png") center no-repeat;
  background-size: contain;
  z-index: 10;
  cursor: pointer;
}
[data-theme="newyear"] .fifa_entrance .zone_entrance .link_fifa {
  display: none;
}
[data-theme="newyear"] .fifa_entrance .zone_entrance.open .link_fifa {
  width: 100px;
  height: 100px;
  background: url("../img/FIFA/zone_entrance.png") center no-repeat;
  background-size: contain;
  display: block;
  cursor: pointer;
}
[data-theme="newyear"][data-lang="en-us"] .fifa_entrance .zone_entrance.open .link_fifa {
  width: 100px;
  height: 100px;
  background: url("../img/FIFA/zone_entrance-en.png") center no-repeat;
  background-size: contain;
  display: block;
  cursor: pointer;
}
[data-theme="newyear"] .fifa_entrance .zone_entrance.open .entrance_switch {
  background: url("../img/FIFA/zone_close.png") center no-repeat;
  background-size: contain;
}
[data-theme="newyear"] .reciprocal_box {
  min-width: 400px;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  padding: 10px 15px 5px 15px;
  border-radius: 10px;
  background: url("../../../../events/assets/img/FIFA/FIFA2026_typeA.png") center no-repeat;
  background-size: contain;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer {
  display: flex;
  flex-direction: column;
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer .timer_head {
  color: #283763;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 90px 10px 55px;
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer .timer_content {
  min-height: 110px;
  color: #fff;
  padding: 15px 10px 10px 15px;
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer .timer_content span {
  color: #fff;
  font-size: 11px;
  padding-right: 65px;
  margin-bottom: 10px;
  display: block;
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer .timer_content .timer {
  font-size: 22px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div {
  font-size: 15px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
[data-theme="newyear"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b {
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}
[data-theme="newyear"] .reciprocal_box .progress_bar {
  width: 94%;
  height: 6px;
  margin: 10px 3% 0;
  border-radius: 15px;
  background: #b4c2e8;
}
[data-theme="newyear"] .reciprocal_box .progress_bar span {
  position: relative;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(to bottom, #5c88f3, #3b5ae1);
  display: block;
}
/*------------------------各站點首頁世足倒數器樣式-------------------------*/
/*B版*/
/*048 AV、059 BG*/
[data-theme="newyear"][data-site="AV"] .reciprocal_box,
[data-theme="newyear"][data-site="BG"] .reciprocal_box {
    background: url("../../../../events/assets/img/FIFA/FIFA2026_typeB.png") center no-repeat;
    background-size: contain;
}

[data-theme="newyear"][data-site="AV"] .reciprocal_box .reciprocal_box_timer .timer_head .gameName,
[data-theme="newyear"][data-site="BG"] .reciprocal_box .reciprocal_box_timer .timer_head .gameName {
color: #fff;
}
[data-theme="newyear"][data-site="AV"] .reciprocal_box .progress_bar,
[data-theme="newyear"][data-site="BG"] .reciprocal_box .progress_bar {
    margin: 7px 3% 0;
    background: #1c2e5c;
    box-shadow: 0 3px 6px 0 #000, inset 0 3px 3px 0 rgba(255, 255, 255, 0.27);
}
[data-theme="newyear"][data-site="AV"] .reciprocal_box .progress_bar span,
[data-theme="newyear"][data-site="BG"] .reciprocal_box .progress_bar span {
  background: linear-gradient(to bottom, #599ee0, #2770b7);
}
/*C版*/
/*005 F、050 AX、060 BH、061 BI、073 BU、076 BX*/
[data-theme="newyear"][data-site="F"] .reciprocal_box,
[data-theme="newyear"][data-site="AX"] .reciprocal_box,
[data-theme="newyear"][data-site="BH"] .reciprocal_box,
[data-theme="newyear"][data-site="BI"] .reciprocal_box,
[data-theme="newyear"][data-site="BU"] .reciprocal_box,
[data-theme="newyear"][data-site="BX"] .reciprocal_box {
  min-height: 160px;
  padding: 10px 15px 5px 15px;
  border-radius: 10px;
  background: url("../../../../events/assets/img/FIFA/FIFA2026_typeC.png") center no-repeat;
  background-size: contain;
  box-shadow: none;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .reciprocal_box_timer .timer_head,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .reciprocal_box_timer .timer_head,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .reciprocal_box_timer .timer_head,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .reciprocal_box_timer .timer_head,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .reciprocal_box_timer .timer_head,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .reciprocal_box_timer .timer_head {
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 55px 35px 125px;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .reciprocal_box_timer .timer_content,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .reciprocal_box_timer .timer_content,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .reciprocal_box_timer .timer_content,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .reciprocal_box_timer .timer_content,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .reciprocal_box_timer .timer_content,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .reciprocal_box_timer .timer_content {
  min-height: auto;
  color: #fff;
  padding: 4px 20px 5px 100px;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .reciprocal_box_timer .timer_content span,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .reciprocal_box_timer .timer_content span,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .reciprocal_box_timer .timer_content span,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .reciprocal_box_timer .timer_content span,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .reciprocal_box_timer .timer_content span,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .reciprocal_box_timer .timer_content span {
  color: #ffce00;
  font-size: 9px;
  text-align: center;
  padding-right: 0;
  margin-bottom: 2px;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .reciprocal_box_timer .timer_content .timer,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .reciprocal_box_timer .timer_content .timer,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .reciprocal_box_timer .timer_content .timer,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .reciprocal_box_timer .timer_content .timer,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .reciprocal_box_timer .timer_content .timer,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .reciprocal_box_timer .timer_content .timer {
  justify-content: center;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div {
  font-size: 12px;
  gap: 0px;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b {
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .progress_bar,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .progress_bar,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .progress_bar,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .progress_bar,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .progress_bar,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .progress_bar {
  width: 79%;
  margin: 4px 0% 0 20%;
  background: #131313;
}
[data-theme="newyear"][data-site="F"] .reciprocal_box .progress_bar span,
[data-theme="newyear"][data-site="AX"] .reciprocal_box .progress_bar span,
[data-theme="newyear"][data-site="BH"] .reciprocal_box .progress_bar span,
[data-theme="newyear"][data-site="BI"] .reciprocal_box .progress_bar span,
[data-theme="newyear"][data-site="BU"] .reciprocal_box .progress_bar span,
[data-theme="newyear"][data-site="BX"] .reciprocal_box .progress_bar span {
  background: linear-gradient(to bottom, #f20066, #ff0080 12%, #ffdbed 27%, #f20078 40%, #860038);
}
/*D版*/
/*071 BS*/
[data-theme="newyear"][data-site="BS"]  .reciprocal_box {
  min-height: 160px;
  padding: 10px 15px 5px 15px;
  border-radius: 10px;
  background: url("../../../../events/assets/img/FIFA/FIFA2026_typeD.png") center no-repeat;
  background-size: contain;
  box-shadow: none;
}
[data-theme="newyear"][data-site="BS"]  .reciprocal_box .reciprocal_box_timer .timer_head {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 55px 35px 125px;
}
[data-theme="newyear"][data-site="BS"]  .reciprocal_box .reciprocal_box_timer .timer_content {
  min-height: auto;
  color: #fff;
  padding: 4px 20px 5px 100px;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .reciprocal_box_timer .timer_content span {
  color: #ffce00;
  font-size: 9px;
  text-align: center;
  padding-right: 0;
  margin-bottom: 2px;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .reciprocal_box_timer .timer_content .timer {
  justify-content: center;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div {
  font-size: 12px;
  gap: 0px;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .reciprocal_box_timer .timer_content .timer > div b {
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .progress_bar {
  width: 79%;
  margin: 2px 0% 0 20%;
  background: #131313;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .progress_bar {
  width: 79%;
  margin: 4px 0% 0 20%;
  background: #131313;
}
[data-theme="newyear"][data-site="BS"] .reciprocal_box .progress_bar span {
  background: linear-gradient(to bottom, #f20066, #ff0080 12%, #ffdbed 27%, #f20078 40%, #860038);
}