::-webkit-scrollbar {
    display: none;
}
body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
    background-color: #f8fafc; 
    color: #0f172a; 
    overflow: hidden;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.vertical-scroll::-webkit-scrollbar {
    width: 5px;
}
.vertical-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.vertical-scroll::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
.vertical-scroll::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}
.stage-column {
    margin-right: 0;
    flex-shrink: 0;
}
.match-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: relative;
    transform-origin:  center;
}
.match-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
    position: relative;
    z-index: 10;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
}
.match-card.standard,
.match-card.semi,
.match-card.final { 
    width: auto; 
}
.card-inner {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #9E9E9E;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 8px;
}
.card-inner:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.team-row.loser {
    opacity: 0.45;
    filter: grayscale(1);
    transition: opacity 0.2s, filter 0.2s;
}
.team-row {
    display: flex;
    align-items: center;
    padding: 0;
    flex: 1;
    font-weight: 700;
    color: #334155;
}
.team_con_1 .team-row:first-child {
    margin-bottom: 10px;
}
.standard .team-row { font-size: 11px; }
.semi .team-row { font-size: 18px; }
.final .team-row { font-size: 24px; }
.shield-icon {
    color: #cbd5e1;
    margin-right: 12px;
    flex-shrink: 0;
}
.standard .shield-icon { width: 12px; height: 12px; }
.semi .shield-icon { width: 24px; height: 24px; }
.final .shield-icon { width: 32px; height: 32px; }
svg#connectors {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    z-index: 5;
    transition: opacity 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
path {
    transition: all 0.45s ease-out;
}
#scrollContainer {
    padding-top: 0;
    background: url("../img/knockout_bkbk.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 14px;
    scrollbar-width: none;
}
.header_bk {
    display: flex!important;
    justify-content: end!important;
    padding: 5px 10px!important;
}
button {
    background: #fff!important;
    border: 1px #a2a9b1 solid!important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
button:disabled {
    opacity: 0.25;
    filter: grayscale(1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: none;
}
.text-slate-600 {
    color: #000!important;
}
.stage-column .group {
    backdrop-filter: blur(0);
    display: flex!important;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    width: fit-content;
}
.tab_bkbk {
    background: rgb(189 189 189 / .7);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 60px;
    position: absolute;
    top: 0px;
}
.h2_style_1 {
    margin-left: 6px;
    border-radius: 30px;
    background: rgb(117 117 117 / 1);
    border:2px #f5f5f5 solid;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px!important;
    font-weight: 600!important;
    color: #ffffff!important;
}
.h2_style_1.text-blue-600 {
    background: #6101EB;
}
.h2_style_1:hover {
    background: #6101EB;
}
.date_style_1 {
    color:  #f5f5f5!important;
    font-size: 12px!important;
    font-weight: normal !important;
    margin-left: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0!important;
}
.date_style_1 .time_icon {
    margin-left: 10px;
    margin-right: 5px;
}
.card-inner {
    justify-content: space-between;
    flex-wrap: wrap;
}
.team_con_1 {
    display: flex;
    flex-direction: column;
}
.team_con_1 .teamimage {
    width: 42px;
    margin-right: 5px;
}
.team_con_1 .teamimage img {
    width: 40px;
    height: 24px;
    max-width: inherit;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px #D9D9D9 solid;
}
.team_con_1 .truncate {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-wrap: wrap;
}
#col-3 .teamimage img,
#col-4 .teamimage img {
    -webkit-border-top-right-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topright: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
.text_scores {
    color: #73038B;
    text-align: center;
    font-family: Roboto;
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
}
.main_scores {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90px;
}
.main_scores.hidden-scores {
    display: none !important;
}
.scores_other_con {
    background: #9e9e9e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: normal;
    padding: 3px 0;
}
.pen_scores {
    text-align: center;
    color: #404040;
    font-size: 9px;
    font-weight: 400;
    line-height: normal;
    margin-top: 3px;
}
.pen_scores:before {
    content: "互射12碼 ";
}
.ot_scores:before {
    content: "加時完 ";
}
.text_scores_other:empty, 
.scores_other_con:empty, 
.half_scores:empty, 
.ot_scores:empty, 
.pen_scores:empty {
    display: none;
}
#col-3 .team_con_1 .teamimage {
    width: 62px;
}
#col-3 .team_con_1 .teamimage img {
    width: 60px;
    height: 36px;
}
#col-4 .team_con_1 .teamimage {
    width: 82px;
}
#col-4 .team_con_1 .teamimage img {
    width: 80px;
    height: 48px;
}
#col-0 .h2_style_1, 
#col-1 .h2_style_1, 
#col-2 .h2_style_1 {
    width: 290px;
}
#col-3 h2, #col-4 h2 {
    width: 320px; 
}
.champion-banner-inside {
    background: url(../img/champ_bk.png);
    background-size: cover;
}
.champion-banner-inside .champ-flag {
    width: 48px;
    height: 48px;
    border-radius: 0 16px 0 16px;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background: white;
    object-fit: cover;
}
.champion-banner-inside .champ-name {
    font-size: 24px;
    font-weight: 900;
    color: #2d0040;
    text-shadow: 1px 1px 0 rgba(255,215,0,0.5);
    letter-spacing: 1px;
    line-height: 1.2;
}
.champion-banner-inside .champ-trophy {
    font-size: 32px;
    filter: drop-shadow(0 4px 4px #00000040);
    margin-left: auto;
}
#card-inner-4-0 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
}
.match-card.final .champion-banner-inside {
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 20px;
    width: 320px;
    height: 150px;
}
.match-card.final .text_scores {
    font-size: 40px;
    font-weight: 700;
}
.match-card.semi .text_scores{
    font-size: 35px;
    font-weight: 700;
}
.champion-banner-inside .champ-con {
    margin-left: 158px;
}
.champion-banner-inside .champ-flag {
    width: 100px;
    height: 60px;
}
.champion-banner-inside .champchamp {
    color: #ECFF43;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-top: 7px;
    margin-bottom: 7px;
    display: block;
}
.champion-banner-inside .champ-name {
    font-size: 19px;
    font-weight: 400;
    line-height: normal;
    color: #F4F2F2;
    text-align: center;
    display: block;
    width: 100px;
    margin-top: 5px;
}
.match-card.final .text_scores {
    font-size: 36px; 
}
.match-card.semi .text_scores{
    font-size: 32px;
}

.tt_text_th {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px!important;
    margin-left: 10px!important;
}

.footer_style {
    display: none!important;
}
.match-card.semi {
    padding: 6px 8px;
}
.card-inner {
    overflow: inherit;
}
.match-card.final .card-inner {
    overflow: hidden;
}
#prevBtn {
    width: max-content;
    position: absolute;
    z-index: 999;
    top: 10px;
    left: 20px;
}
#nextBtn {
    width: max-content;
    position: absolute;
    z-index: 999;
    top: 10px;
    right: 20px;
}