* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

:root {
    --accent-color: #fff;
    --gradient-color: #FBFBFB;
    background-color: #f7f7f7;
}

.sidebar {
    flex-direction: column;
    position: absolute;
    font-size: 1.3vw;

    width: 18vw;
    left: 0;
    height: 100vh;
    background-color: #f7f7f7;
    transition: all .5s ease;
    max-width: 220px;
    min-width: 100px;
}

.sidebar header {
    font-size: 1.5em;
    line-height: 13vh;
    text-align: center;
    user-select: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    background: linear-gradient(45deg, #3ea61b, #ebd50b, #3ea61b, #ebd50b);
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

.sidebar img {
    width: 15vw;
}

.sidebar a {
    display: block;
    height: 65px;
    width: 100%;
    color: #444242;
    line-height: 65px;
    padding-left: 30px;
    box-sizing: border-box;
    border-left: 5px solid transparent;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    transition: all 0.3s ease-out;
}

.sidebar a.active {
    border-left: 10px solid var(--accent-color);
    color: #fff;
    background: linear-gradient(to left, var(--accent-color), var(--gradient-color));
}

.sidebar a:hover {
    border-left: 10px solid var(--accent-color);
    color: #fff;
    background: linear-gradient(to left, var(--accent-color), var(--gradient-color));
}

.sidebar a i {
    font-size: 23px;
    margin-right: 16px;
}

.sidebar-hidden {
    left: -18vw;
}

.sidebar a span {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.body {
    font-family: Arial, SimHei;
    margin-left: 200px;
    margin: 0;
}

.main {
    flex-grow: 1;
    transition: margin-left 0.3s ease;
    margin-top: 10px;
    margin-left: 200px; /* Same as the width of the sidenav */
    padding: 20px;
    background-color: #f7f7f7;

}

.section {
    display: none;
}

.section.active.gf-default-display {
    display: block;

}
.section.active.force-flex{
    display: flex;
}

.goldfish-main {
    /*goldfish-added*/
    padding-left: 10%;
    padding-right: 10%;
}

#check {
    display: none;

}

label {
    position: relative; /* 使图标相对于label定位 */
    display: inline-block;
}

label #btn, label #cancel {
    position: absolute;
    left: 15vw;
    cursor: pointer;
    color: rgb(44, 163, 64);
    border-radius: 5px;
    margin: 15px 30px;
    font-size: 29px;
    background-color: rgb(44, 163, 64);
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    inset -7px -7px 10px 0px rgba(0, 0, 0, .1),
    3.5px 3.5px 20px 0px rgba(0, 0, 0, .1),
    2px 2px 5px 0px rgba(0, 0, 0, .1);
    width: 3.5vw;
    height: 3.5vw;
    text-align: center;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
    line-height: 45px;
    transition: all .5s ease;
    z-index: 1000;
}

label #cancel {
    opacity: 0;
    visibility: hidden;
}

#check:checked ~ .sidebar {
    left: -18vw;
}

#check:checked ~ .main {
    margin-left: 0;
}

#check:checked ~ label #btn {
    margin-left: -18vw;
    opacity: 0;
    visibility: hidden;
}

#check:checked ~ label #cancel {
    margin-left: -14vw;
    opacity: 1;
    visibility: visible;
    position: fixed;
}

@media (max-width: 860px) {
    .sidebar {
        height: auto;
        width: 70px;
        left: 0;
        margin: 100px 0;
    }

    header, #btn, #cancel {
        display: none;
    }

    span {
        position: absolute;
        margin-left: 23px;
        opacity: 0;
        visibility: hidden;
    }

    .sidebar a {
        height: 60px;
    }

    .sidebar a i {
        margin-left: -10px;
    }

    a:hover {
        width: 200px;
        background: inherit;
    }

    .sidebar a:hover span {
        opacity: 1;
        visibility: visible;
    }
}

.sidebar > a.active, .sidebar > a:hover:nth-child(even) {
    --accent-color: rgb(3, 87, 31);
    --gradient-color: #ebf7b1;
}

.sidebar a.active, .sidebar > a:hover:nth-child(odd) {
    --accent-color: rgb(3, 87, 31);
    --gradient-color: rgb(2, 113, 39);
}


.frame {
    width: 50%;
    height: 30%;
    margin: auto;
    text-align: center;
}

.search input[type="text"] {
    position: absolute;
    display: flex;
    left: 80%;
    top: 20%;
    width: 15%;
    align-items: center;
    background-color: white;
    color: rgb(149, 146, 146);
    border: 2px solid rgb(2, 113, 39);
    padding: 5px;
    height: 40%;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search input[type="text"]:focus {
    width: 17.5%;
    box-shadow: 0 4px 10px rgba(2, 113, 39, 0.2);
}

.search .fa-search {
    position: absolute;
    left: 78%;
    top: 55%;
    transform: translateY(-50%);
    color: rgb(2, 113, 39);
    pointer-events: none;
    font-size: 23px;
    transition: all 0.3s ease;
}

.search input[type="text"]:focus + .fa-search {
    left: 76%;
}

.suggestions-list {
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    left: 80.5%;
    top: 78%;
    width: 16%;
    position: absolute;
    background-color: #f8f8f8;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    padding: 5px 0;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    display: none; /* 默认隐藏 */
}

.suggestions-list.show {
    display: block; /* 显示时改为block */
    opacity: 1;
    transform: translateY(0);
}

.suggestions-list div {
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestions-list div:hover {
    background-color: rgba(2, 113, 39, 0.1);
}

.section h2 {
    font-size: 2.5vw;
    color: #444242;
    margin-top: 5%;
    text-align: center;
}

.section p {
    font-size: 18px; /* Adjust the size as needed */
    color: #0c0c0c; /* Change the color as needed */
    line-height: 1.6; /* Adjust the line height for readability */
    text-align: left; /* Justify the paragraph text */
    margin: 0; /* Center the paragraph */
    max-width: 600px; /* Limit the width of the paragraph */
}

.custom-link {
    color: rgb(77, 176, 238);

}

.content {
    display: flex;
    align-items: center;
}

.button {
    margin-top: 10px;
    width: 150px;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    color: #0c0c0c;
    background-color: #fff;
    border: 2px solid #d14848; /* 边框颜色 */
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* 阴影效果 */
    cursor: pointer;
    transition: all 0.3s ease; /* 过渡效果 */
}

.button:hover {
    background-color: #fff;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08); /* 悬停时阴影效果 */
}

.button:active {
    background-color: #d14848;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08); /* 点击时阴影效果 */
}

input {
    color: #424242;
    font-size: 1.2em;
    padding: 10px 10px 5px 5px;
    display: block;
    width: 300px;
    border: none;
    border-bottom: 1px solid #607D8B;
}

input:focus {
    outline: none;
}

label.input-label {
    color: #616161;
    position: absolute;
}

/* 日期选择器 */

.date-picker {
    width: 12vw;
    margin-left: 1vw;
    padding: 1.5vh 1vw;
    font-size: 1.4vw;
    border: 0.15vw solid rgb(8, 93, 37);
    color: #444242;
    border-radius: 0.3vw;
    box-shadow: 0 0.3vw 0.6vw rgba(74, 73, 73, 0.1);
}

.date-label {
    font-size: 1.3vw;
    margin-left: 1vw;
    display: inline-block;
    vertical-align: middle;
}

.flatpickr-calendar {
    font-family: 'Arial', sans-serif;
    margin-top: 5vh;
    margin-left: 4vw;
    align-items: center;
}

.flatpickr-day {
    font-size: 1vw;
}

.flatpickr-time {
    font-size: 1vw;
}

/* 顶部bar */
.top-bar {
    position: absolute;
    top: 0;
    height: 60px;
    width: 100%;
    background-color: transparent;
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center; /* 垂直居中对齐 */

}

/* 底部bar */
.contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 0.5%;
    width: 100%;
    background: linear-gradient(69deg, rgb(8, 93, 37) 40%, #FFFB7D 100%);
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400%;
    color: #1c1212;
    text-align: left;
    font-weight: bold;
    padding: 12px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.contact-bar img {
    width: 80px;
    height: 60px;
    margin-right: 15px;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.contact-bar img:hover {
    transform: scale(1.05);
}

.contact-bar a {
    color: #8ed4ff;
    text-decoration: none;
    margin-right: 15px;
    margin-bottom: -5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.contact-bar p {
    color: #ffffff;
    margin: 0;
    margin-left: 100px;
    margin-bottom: -5px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.contact-bar #beian {
    margin: 0;
    color: #ffffff;
    margin-bottom: -5px;
    margin-left: 5%;
    opacity: 0.9;
}

.contact-bar a:hover {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.league-selector select {
    padding: 5px;
    display: flex;
    font-size: 16px;
    align-items: center;
}

.league-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.league-option {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    color: #0c0c0c;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.league-option:hover {
    background-color: #f15252;
}

.league-option.selected {
    background-color: #fa7878;
    border-color: #333;
}

.league-icon {
    /*width: 20px;*/
    /*height: 20px;*/
    width: 10px;
    height: 10px;
    margin-right: 8px;
}

.team-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-options img.selected {
    background-color: #fa7878;

}

.team-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.team-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.team-option:hover {
    background-color: #f15252;
}

.team-option.selected {
    background-color: #fa7878;
    border-color: #d84444;
}

.player-options {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
}

.player-option {
    display: inline-block;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 12px;
    color: #0c0c0c;
    border: 1px solid #d84444;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.player-option:hover {
    background-color: #f15252;
}

.player-option.selected {
    background-color: #fa7878;
    border-color: #d84444;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
}

.select2-container--default .select2-results__option {
    display: flex;
    align-items: left;
}

.select2-container--default .select2-results__option .league-icon,
.select2-container--default .select2-selection--single .select2-selection__rendered .league-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}


.selected {
    background-color: #e0e0e0;
    border-color: #000;
}

.player-selector {
    position: fixed;
    left: 300px;
    top: 30px;
    display: flex;
    align-items: center;
    justify-content: left;

}

.player-selector select {
    padding: 5px;
    display: flex;
    font-size: 16px;
}

.toolbar {
    width: 150px;
    top: 11%;
    background-color: #fff;
    color: #ecf0f1;
    height: 400px;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    left: -300px; /* Initially hide the toolbar */
    transition: left 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(219, 69, 69, 0.887);
    border-radius: 5px 5px 5px 5px;
}

.toolbar.open {
    margin-left: 35%; /* Show the toolbar */
}

.toolbar label {
    display: block;
    margin-top: 25px;
    color: #0c0c0c;
}

.toolbar input, .toolbar select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
}

.toolbar2 {
    width: 4%;
    height: 70% !important;
    top: 14%;
    background-color: #fff;
    color: #ecf0f1;
    padding: 15px;
    box-sizing: border-box;
    position: fixed;
    left: -25%;
    transition: left 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(219, 69, 69, 0.887);
    border-radius: 5px 5px 5px 5px;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ff9999 #e0e0e0; /* Firefox */
}

.toolbar2::-webkit-scrollbar {
    width: 8px; /* Chrome, Safari, Opera */
}

.toolbar2::-webkit-scrollbar-track {
    background: #e0e0e0; /* Chrome, Safari, Opera */
    border-radius: 10px;
}

.toolbar2::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff9999, #ff4d4d); /* Chrome, Safari, Opera */
    border-radius: 10px;
}

.toolbar2::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff6666, #ff1a1a); /* Chrome, Safari, Opera */
}

.toolbar2.open {
    margin-left: 45%; /* Show the toolbar */
}

.toolbar2 label {
    display: block;
    margin-top: 25px;
    color: #0c0c0c;
}

.toolbar2 input, .toolbar2 select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
}

#toolbarPlayer2 {
    width: 10%;
    height: 50%;
    top: 10%;
    background-color: #fff;
    color: #0e0e0f;
    padding: 15px;
    box-sizing: border-box;
    position: fixed;
    left: 24%;
    transition: left 0.3s ease;

    border: 2px solid rgba(219, 69, 69, 0.887);
    border-radius: 5px 5px 5px 5px;
    overflow-y: auto;
}

#toolbarPlayer2.open {
    margin-left: 45%; /* Show the toolbar */
}

#toolbarPlayer2 input, #toolbarPlayer2 select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
}

.toolbutton {
    position: relative;
    padding: 10px 20px;
    background-color: #fff;
    color: #0c0c0c;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: fixed;
    top: 5%;
    left: 300px;
    z-index: 1001;
    border: 2px solid rgb(152, 149, 149);
}

.toolbutton {
    background-color: #fff;
}

.button-container {
    text-align: left; /* 可选：居中对齐按钮 */
    /*gap: 10px;*/
    /*margin-left: 13%;*/
    /*width: 20%;*/
    width: 40%;
    display: grid;
    /*position: fixed;*/
}

.tool-button2 {
    padding: 0.5vw;
    /*width: 19%;*/
    width: 100%;
    margin-left: 10%;
    background-color: #fff;
    color: rgb(8, 8, 8);
    border-radius: 0.5vw;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1vw; /* 使用vw单位使字体大小响应式 */
    border: 0.2vw solid rgba(219, 69, 69, 0.887);
    box-shadow: 0 0.4vw 0.6vw rgba(0, 0, 0, 0.1);
}

.tool-button2:hover {
    background-color: #db4545;
    box-shadow: 0 0.6vw 0.8vw rgba(0, 0, 0, 0.15);
}

.tool-button2 img {
    /*width: 30vw; !* 使用vw单位使图标大小响应式 *!*/
    /*height: 30vw;*/
    width: 15vw;
    height: 15vw;
    align-items: center;
    display: inline-block;
    object-fit: contain;
}

.tool-button2.selected {
    background-color: #db4545; /* 选中后的深色背景 */
    transform: translateX(20%);
}

.league_table img {
    margin-left: 15% !important;
    align-items: center;
    width: 85%;
}

.toolbutton3 {
    position: relative;
    padding: 10px 20px;
    background-color: #fff;
    color: #0c0c0c;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: fixed;
    top: 25px;
    left: 540px;
    z-index: 1001;
    border: 2px solid rgb(152, 149, 149);
}

.toolbutton3 {
    background-color: #fff;
}

.league_table img {
    margin-left: 200px;
    align-items: center;
    width: 85%;
}

.date_button_left {
    margin-left: 1vw;
    padding: 1vh 1vw;
    width: 3vw;
    height: 2.5vw;
    margin-top: 1vh;
    cursor: pointer;
    border: 0.15vw solid rgb(8, 93, 37);
    border-radius: 0.3vw;
    background-color: #ffffff;
    color: #444242;
    transition: all 0.3s ease;
    box-shadow: 0 0.3vw 0.6vw rgba(74, 73, 73, 0.1);
}

.date_button_right {
    margin-left: 0vw;
    padding: 1vh 1vw;
    width: 3vw;
    height: 2.5vw;
    margin-top: 1vh;
    cursor: pointer;
    border: 0.15vw solid rgb(8, 93, 37);
    border-radius: 0.3vw;
    background-color: #ffffff;
    color: #444242;
    transition: all 0.3s ease;
    box-shadow: 0 0.3vw 0.6vw rgba(74, 73, 73, 0.1);
}

.date_button_left:hover {
    background-color: #2f7e3d;
}

.date_button_right:hover {
    background-color: #2f7e3d;
}

.container {
    display: flex;
    justify-content: left; /* 在主轴上均匀分布 */
    margin-bottom: 50px;
}

#plot-league-table-goal {
    width: 100%;
    height: auto;
    margin-left: 15%;
}

#plot-league-table-assist {
    width: 100%;
    height: auto;
}

.image-container {
    margin-left: 300px;
    width: 70%;
}

#plotly-chart-teamreport {
    margin-left: 30% !important;
}

#plotly-chart-seasontrend {
    margin-left: 20% !important;

}

#plotly-chart-teamimpactatt {
    margin-left: 0% !important;
    width: 60%;
}

#plotly-chart-teamimpactdef {
    margin-left: 0% !important;
    width: 60%;
}

#plotly-chart-teamxapass {
    margin-left: 10% !important;
    width: 60%;
}

#plotly-chart-teamxgxa {
    margin-left: 10% !important;
    width: 60%;
}

#plotly-chart-teamreport {
    margin-left: 22% !important;
}

.player-chart-container {
    margin-top: 3%;
    margin-left: 10%;
    display: flex;
    justify-content: space-around;
}

.player-avgpos {
    margin-left: 5%;
    width: 100%;
}

.player-chart-container img {
    width: 50%;
    height: 40%;
}

#image-league-team {
    margin-left: 20%;
    width: 70%;
    padding-bottom: 8%;
}

.plotly-figure {
    width: 60%; /* 使图表宽度适应父容器 */
    margin-left: 25%;
}

#plotly-chart-teamreport {
    width: 60%; /* 使图表宽度适应父容器 */
    margin-left: 450px;
}

.image-container .tabs {
    /* 这里放置 .tabs 的样式 */
    margin-left: 80%;
    margin-top: 40px;
}

.tab-button {
    cursor: pointer;
    padding: 8px;
    margin-right: 5px;
    background-color: #f8f9fa;
    border: 2px solid #1e7620;
    left: 50px;
    font-size: 14px;
    border-radius: 5px;
    font-style: italic;
    transition: all 0.3s ease;
    color: #495057;
}

.tab-content {
    margin-left: 5%;
    display: none;
    width: 80%; /* 缩小图片宽度 */
    height: auto; /* 保持宽高比 */
}

.tab-content.active {
    display: block;
}

.tab-button.active {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background-color: #e9ecef;
    border-color: #495057;
}

/* Match Card */
#match-container {
    margin-top: 5%;
    margin-left: 10%;
    margin-bottom: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 80%;
}

#match-container a.active {
    border-left: 10px solid var(--accent-color);
    color: #fff;
}

#match-container a:hover {
    border-left: 15px solid var(--accent-color);
    border-color: #e25151;
    color: #020101;
}

#match-container-fixture {
    margin-top: 5%;
    margin-left: 15%;
    margin-bottom: 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 90%;
}

#match-containe-fixturer a.active {
    border-left: 10px solid var(--accent-color);
    color: #fff;
}

#match-container-fixture a:hover {
    border-left: 15px solid var(--accent-color);
    border-color: #e25151;
    color: #020101;
}

.MatchCard_matchCard__iOv4G {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: 4%;
    width: 75%;
    font-size: 90%;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.SimpleMatchCard_simpleMatchCard__yTuUP {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #ffffff;
}

.SimpleMatchCard_simpleMatchCard__content__ZWt2p {
    display: grid;
    gap: 10px;
}

.SimpleMatchCard_simpleMatchCard__teamsContent__vsfWK {
    display: flex;
    align-items: center;
    justify-content: center;
}

.SimpleMatchCard_simpleMatchCard__teamContent__hQHVO {
    display: flex;
    align-items: center;
}

.SimpleMatchCard_simpleMatchCard__leagueLogo__Kirjw {
    position: absolute;
    width: 4vw;
    height: 4vw;
    align-items: center;
    background-color: transparent;
    margin-top: 5.5vh;
    margin-left: 0.0625vw;
    background-size: contain;
    background-repeat: no-repeat; /* 防止背景重复 */
    background-position: center; /* 居中显示背景 */
}

#match-container-fixture .SimpleMatchCard_simpleMatchCard__leagueLogo__Kirjw {
    position: absolute;
    width: 2.7vw;
    height: 2.7vw;
    align-items: center;
    background-color: transparent;
    margin-top: 3%;
    margin-left: 0.625vw;
    background-size: contain;
    background-repeat: no-repeat; /* 防止背景重复 */
    background-position: center; /* 居中显示背景 */
}

.SimpleMatchCardTeam_simpleMatchCardTeam__logo__7Vzpw {
    width: 2.7vw;
    height: 2.7vw;
    background-color: transparent;
    border-radius: 0%;
    margin-right: 0.625vw;
    margin-left: 0.625vw;
    background-size: contain;
    background-repeat: no-repeat; /* 防止背景重复 */
    background-position: center; /* 居中显示背景 */
}

.SimpleMatchCardTeam_simpleMatchCardTeam__name__7Ud8D {
    font-weight: bold;
}

.SimpleMatchCardTeam_simpleMatchCardTeam__score__UYMc_ {
    margin-left: 10px;
    margin-right: 10px;
}

.SimpleMatchCard_simpleMatchCard__matchContent__pWvTf {
    display: flex;
    justify-content: center;
    gap: 5%;
    text-align: center;
}

.SimpleMatchCard_simpleMatchCard__infoMessage___NJqW {
    margin-top: 5px;
}

.SimpleMatchCard_simpleMatchCard__infoMessage___hadT5 {
    border-radius: 10%;
    padding: 1%;
}

.predwin-team {
    background-color: #73e96d;
}

.SimpleMatchCard_simpleMatchCard__timeContent__aEjcj {
    text-align: center;
}

.win-team {
    color: #31922c;
}

.loss-team {
    color: #f06565;
}

#team-select-fixture {
    margin-left: 15%;
    padding: 1%;
    border: 2px solid rgb(8, 93, 37);
    border-radius: 5px;
    font-size: 16px;
    font-style: italic;
    font-weight: bold;

}

.scout-container {
    display: flex;
    align-items: flex-start; /* 可根据需要调整 */
}

#scout-toolbar {
    margin-left: 15%;
    width: 30%;
    padding: 10px 15px;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#scout-results {
    width: 120%;
    margin-left: 10%;
}

#scout-toolbar:hover {
    border-color: rgb(83, 165, 62);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

#scout-league-selector {
    margin-left: 0%;
    padding: 8px 12px;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 8px;
    font-size: 1.1vw;
    font-style: italic;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

#scout-league-selector:hover {
    border-color: rgb(83, 165, 62);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

#scout-team-selector {
    margin-top: 2%;
    width: 50%;
    padding: 8px 12px;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 8px;
    font-size: 1.1vw;
    font-style: italic;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

#scout-team-selector:hover {
    border-color: rgb(83, 165, 62);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

#scout-player-selector {
    margin-left: 0%;
    padding: 1%;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 5px;
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
}

#scout-condition-selector {
    margin-left: 15%;
    margin-top: 1%;
    padding: 1%;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 5px;
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
}

.slider-container {
    width: 15vw;
    margin: 2% 0 0 0;
    padding: 3%;
    padding-top: 8%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border-radius: 12px;
    border: 2px solid rgb(63, 125, 47);
    box-shadow: 0 4px 12px rgba(83, 165, 62, 0.15),
    inset 0 1px 3px rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(5px);
}

.slider-container:hover {
    transform: translateY(-2px);
    border-color: rgb(83, 165, 62);
    box-shadow: 0 4px 12px rgba(83, 165, 62, 0.3);
}

.range-values {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
    color: rgb(63, 125, 47);
    font-weight: 500;
    gap: 10px;
}

.slider-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

#resetButton {
    margin-top: 2%;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    color: rgb(63, 125, 47);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#resetButton:hover {
    background-color: rgb(63, 125, 47);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

#resetButton:active {
    background-color: rgb(53, 105, 37);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

input[type="range"] {
    width: 100%;
    height: 15px;
    background: #f7f7f7; /* 默认背景颜色 */
    outline: none;
    opacity: 0.7;
    transition: opacity .15s ease-in-out;
}

input[type="range"]:hover {
    opacity: 1; /* 悬停时提高透明度 */
}

#scoutButton {
    margin-top: 1%;
    border: 2px solid rgb(63, 125, 47);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    color: rgb(63, 125, 47);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#scoutButton:hover {
    background-color: rgb(63, 125, 47);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

#scoutButton:active {
    background-color: rgb(53, 105, 37);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

#plotly-chart-scout {
    width: 50%;
    margin-left: 25%;
}

.player-info {
    width: 80%;
    /*margin-left: 20%;*/
    margin-left: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15%;
    gap: 3%;
}

#player-info, #player-info p {
    font-size: 20px;
}

#player_ability-rating {
    margin-right: 5%;
    margin-left: -10%;
}

#plotly-chart-playervalue {
    width: 50%; /* 使用百分比来设置宽度 */
    max-width: 600px; /* 设置最大宽度 */
    min-width: 300px; /* 设置最小宽度 */
}

#nprogress .bar {
    background: #e15353 !important; /* 例如，橙色 */
}

#nprogress .peg {
    box-shadow: 0 0 20px #FF5722, 0 0 5px #FF5722 !important;
}

.stats-table {
    margin-top: 3%;
    margin-left: 5%;
    width: 100%;
}

.icon-title-container {
    display: flex;
    margin-left: 40%;
    margin-top: 1%;
    text-align: center;
    align-items: center; /* 垂直居中对齐 */
    gap: 10px; /* 图标和文字之间的间距 */
}

.ucl-title-container {
    display: flex;
    margin-left: 47%;
    text-align: center;
    align-items: center; /* 垂直居中对齐 */
    gap: 10px; /* 图标和文字之间的间距 */
    margin-bottom: 2%;
}

#home-icon {
    width: 5%;
    height: auto;
    margin-top: 5%;
    animation: spinAndMove 5s infinite linear;
}

#ucl-icon {
    width: 5%;
    height: auto;
    margin-top: 5%;
}

@keyframes spinAndMove {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.player-option.disabled {
    pointer-events: none; /* 禁止点击 */
    opacity: 0.5; /* 视觉上的禁用效果 */
    cursor: default; /* 鼠标指针样式 */
}

#ucl-goal-assist {
    margin-left: 15%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 创建两列布局 */
    gap: 5px; /* 图片之间的间距 */
}

#ucl-goal-assist img {
    width: 90%; /* 设置图片宽度 */
    height: auto; /* 保持图片的宽高比 */
    border-radius: 5px; /* 可选：圆角 */
}

#league-goal-assist {
    margin-left: 13%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 创建两列布局 */
    margin-bottom: 5%;
}

#league-goal-assist img {
    width: 80%; /* 设置图片宽度 */
    height: auto; /* 保持图片的宽高比 */
    border-radius: 5px; /* 可选：圆角 */
}

#analysis-type-select {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#analysis-type-select button {
    padding: 1.2vh 1.5vw;
    font-size: 1.2vw;
    font-weight: bold;
    font-style: italic;
    border: 0.18vw solid #1e5209;
    border-radius: 0.5vw;
    background-color: #ffffff;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 1vw;
}

#analysis-type-select button:hover {
    background-color: #377621;
    color: #fff;
}

#analysis-type-select button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(45, 122, 19, 0.5);
}

#analysis-type-select button.active {
    background-color: #46922b;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(70, 146, 43, 0.7);
    transform: scale(1.1);
}

#season-selector {
    appearance: none;
    padding: 1vh 2vw;
    font-size: 1.2vw;
    font-weight: 600;
    border: 0.17vw solid #247820;
    border-radius: 0.5vw;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.1),
    inset 0 0 0 0.1vw rgba(255, 255, 255, 0.5),
    inset 0 0 2vw rgba(36, 120, 32, 0.1);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247820' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1vw center;
    background-size: 1vw;
    padding-right: 3vw;
    position: absolute;
    left: 65%;
    top: 20%;
    height: 60%;
    width: 11vw;
    border-image: linear-gradient(45deg, #247820, #29b959) 1;
}

#season-selector:hover {
    border-color: #29b959;
    transform: translateY(-0.1vw);
    box-shadow: 0 0.4vw 0.8vw rgba(36, 120, 32, 0.15),
    inset 0 0 0 0.1vw rgba(255, 255, 255, 0.7),
    inset 0 0 2.5vw rgba(41, 185, 89, 0.15);
    border-image: linear-gradient(45deg, #29b959, #1d7c3d) 1;
}

#season-selector:focus {
    border-color: #1d7c3d;
    box-shadow: 0 0 0 0.3vw rgba(41, 185, 89, 0.2),
    inset 0 0 0 0.1vw rgba(255, 255, 255, 0.9),
    inset 0 0 3vw rgba(29, 124, 61, 0.2);
    border-image: linear-gradient(45deg, #1d7c3d, #247820) 1;
}

#season-selector:active {
    transform: translateY(0);
}

.styled-button.subscription-required {
    appearance: none;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 1vh 2vw;
    font-size: 1.2vw;
    font-weight: 1000;
    border: 0.17vw solid #247820;
    border-radius: 0.5vw;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.1),
    inset 0 0 0 0.1vw rgba(255, 255, 255, 0.5),
    inset 0 0 2vw rgba(36, 120, 32, 0.1);
    position: absolute;
    height: 60%;
    width: 11vw;
    border-image: linear-gradient(45deg, #247820, #29b959) 1;
}

#comparison-button {
    left: 45%;
    top: 20%;
}

#similar-button {
    left: 55%;
    top: 20%;
}

#analysis-button {
    left: 35%;
    top: 20%;
}

.styled-button:hover {
    border-color: #29b959;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(36, 120, 32, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 0 25px rgba(41, 185, 89, 0.15);
    border-image: linear-gradient(45deg, #29b959, #1d7c3d) 1;
}

.styled-button:focus {
    border-color: #1d7c3d;
    box-shadow: 0 0 0 3px rgba(41, 185, 89, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 0 30px rgba(29, 124, 61, 0.2);
    border-image: linear-gradient(45deg, #1d7c3d, #247820) 1;
}

.styled-button:active {
    transform: translateY(0);
}

#player-analysis-content2 {
    margin-left: 25%;
}

.match-card-container {
    margin-left: 27vw;
    margin-bottom: 5vh;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px;
    width: 70%;
}

.team-logo-small {
    width: 2vw;
    height: 2vw;
    background-color: transparent;
    border-radius: 0%;
    margin-right: 0.625vw;
    margin-left: 0.625vw;
    background-size: contain;
    background-repeat: no-repeat; /* 防止背景重复 */
    background-position: center; /* 居中显示背景 */
    display: inline-block; /* 添加并列显示 */
    vertical-align: middle; /* 垂直居中对齐 */
}

.match-card-container::-webkit-scrollbar {
    width: 5px; /* 更窄的滚动条宽度 */
}

.match-card-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ef9a9a, #ffcdd2); /* 深一点的红色渐变色滚动条 */
    border-radius: 10px; /* 圆润的圆角 */
    border: 1px solid transparent; /* 透明边框 */
    background-clip: padding-box;
    transition: background 0.3s ease; /* 平滑过渡效果 */
}

.match-card-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #e57373, #ef9a9a); /* 悬停时的深红色渐变 */
    cursor: pointer;
}

.match-card-container::-webkit-scrollbar-track {
    background: rgba(239, 154, 154, 0.3); /* 更深的红色半透明轨道 */
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(229, 115, 115, 0.2); /* 深红色内阴影效果 */
}

.match-card {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1vw;
    /*width: 12vw;*/
    width: 60%;
    height: 14vh;
    text-align: center;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
    margin: 0.5vw;
    flex: 0 0 auto;
    cursor: pointer;
}

.match-card.result-win {
    border-color: #4CAF50;
}

.match-card.result-lose {
    border-color: #f44336;
}

.match-card.result-draw {
    border-color: #ffc107;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.match-card h3 {
    margin: 0;
    font-size: 1vw;
    color: #2c3e50;
    font-weight: 600;
}

.match-card p {
    margin: 0.5vw 0;
    color: #5d6d7e;
    font-size: 1vw;
    text-align: center;
}

/* .scatter-button{
  position:fixed;
  padding: 8px;
  margin-left: 13%;
  margin-top: 26.5%;
  background-color: #fff;
  border: 2px solid #c83131;
  font-size: 100%;
  border-radius: 5px;
  font-style: italic;
}
.scatter-button:hover {
  background-color: #db4545;
}
.scatter-button.active {
  background-color: #db4545;

}

#scatterContainer{
  margin-top: 5%;
} */

.team-logo-scout {
    width: 2vw;
    height: 2vw;
    background-color: transparent;
    border-radius: 0%;
    background-size: contain;
    background-repeat: no-repeat; /* 防止背景重复 */
    background-position: center; /* 居中显示背景 */
    display: block; /* 设置为块级元素 */
    margin: 0 auto; /* 水平居中 */
    position: relative; /* 相对定位 */
}

.scout-table {
    width: 80%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.scout-table th {
    background: linear-gradient(45deg, #206e26, #2a6c36);
    padding: 18px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.scout-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.scout-table tr:hover td {
    background-color: #f5f9f5;
    transform: scale(1.01);
}

.scout-table tr:last-child td {
    border-bottom: none;
}

.scout-table td a {
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.scout-table td a:hover {
    color: #206e26;
    background-color: rgba(32, 110, 38, 0.1);
    transform: translateY(-2px);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.312);
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 8% auto;
    padding: 25px;
    border: 1px solid #307032;
    width: 75%;
    max-width: 28vw;
    max-height: 55vh;
    border-radius: 10px;
    color: #2b2b2b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#login-logo {
    max-width: 40%;
    height: auto;
    display: block;
    padding-bottom: 5%;
}


#registerModal .modal-content, #forgetModal .modal-content {
    margin: 8% auto;
    padding: 25px;
    border: 1px solid #307032;
    width: 75%;
    max-width: 28vw;
    max-height: 75vh;
    border-radius: 10px;
    color: #2b2b2b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group {
    margin-bottom: 1vw;
}

.form-group label {
    display: block;
    margin-bottom: 0.5vw;
    color: #2b2b2b;
}

.form-group input {
    width: 95%;
    padding: 0.5vw;
    border: 0.15vw solid #307032;
    border-radius: 0.4vw;
    background-color: #f5f5f5e7;
    color: #2b2b2b;
}

.auth-buttons {
    margin-left: auto;
    margin-right: 1.25rem;
}

#userInfo {
    color: #2b2b2b;
    margin-left: 0.625rem;
}

#userInfo i {
    margin-right: 0.3125rem;
}

#loginBtn {
    font-size: 2vw;
    color: #154a08;
}

#ModalloginBtn, #ModalregisterBtn, #ModalbackBtn, #ModalguidebackBtn, #ModalforgetbackBtn, #forgetBtn {
    color: rgb(12, 11, 11); /* 白色文字 */
    padding: 1vw 2vw; /* 内边距，跟随modal变大变小 */
    border: 0.15vw solid #307032;
    border-radius: 0.4vw; /* 圆角 */
    cursor: pointer; /* 鼠标指针 */
    font-size: 1.3vw; /* 字体大小，跟随modal变大变小 */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease; /* 添加过渡效果 */
}

#ModalguideregisterBtn, #ModalguideloginBtn {
    color: rgb(12, 11, 11); /* 白色文字 */
    padding: 1vw 2vw; /* 内边距，跟随modal变大变小 */
    border: 0.15vw solid #307032;
    border-radius: 0.4vw; /* 圆角 */
    cursor: pointer; /* 鼠标指针 */
    font-size: 1.3vw; /* 字体大小，跟随modal变大变小 */
    float: right; /* 最右 */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease; /* 添加过渡效果 */
}

#ModalloginBtn:hover, #ModalregisterBtn:hover, #ModalbackBtn:hover, #ModalguideBtn:hover, #ModalguideregisterBtn:hover, #ModalguideloginBtn:hover, #ModalguidebackBtn:hover, #ModalforgetbackBtn:hover, #forgetBtn:hover {
    background-color: #45a049; /* 悬停时的背景颜色 */
    color: #ffffff; /* 悬停时的文字颜色 */
    box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.3); /* 添加阴影效果 */
    transform: scale(1.05); /* 悬停时放大效果 */
}

#ModalloginBtn:active, #ModalregisterBtn:active, #ModalbackBtn:active, #ModalguideBtn:active, #ModalguideregisterBtn:active, #ModalguideloginBtn:active, #ModalguidebackBtn:active, #ModalforgetbackBtn:active, #forgetBtn:active {
    box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.2) inset; /* 点击时的内阴影效果 */
    transform: scale(0.98); /* 点击时缩小效果 */
}

#ModalforgetBtn {
    color: #206e26;
    background-color: rgba(32, 110, 38, 0.1);
    padding: 0.5vw 0.5vw;
    border: 0.1vw solid #206e26;
    border-radius: 0.3vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    margin-bottom: 0.5vw;
}

#ModalforgetBtn:hover {
    background-color: rgba(32, 110, 38, 0.2);
    box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.3);
    transform: translateY(-0.2vw);
    margin-bottom: 0.5vw;
}

#ModalforgetBtn:active {
    background-color: rgba(32, 110, 38, 0.3);
    box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.2) inset;
    transform: scale(0.98);
    margin-bottom: 0.5vw;
}

.subscription-reminder {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2vw;
    border-radius: 1vw;
    box-shadow: 0 0.4vw 2vw rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    border: 0.2vw solid #307032;
}

.reminder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
}

.reminder-content h3 {
    color: #307032;
    font-size: 1.8vw;
    margin: 0;
}

.reminder-content p {
    color: #666;
    font-size: 1.2vw;
    margin: 0;
}

.reminder-content button {
    background-color: #307032;
    color: white;
    border: none;
    padding: 1vw 2vw;
    border-radius: 0.5vw;
    font-size: 1.2vw;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reminder-content button:hover {
    background-color: #45a049;
    transform: translateY(-0.2vw);
}

.subscription-required {
    position: relative;
}

.subscription-required[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

#registerModal .modal-content {
    overflow-y: auto;
}

#guideModal .modal-content {
    overflow-y: auto;
}

#guideModal .modal-content::-webkit-scrollbar {
    width: 0.8vw;
}

#guideModal .modal-content::-webkit-scrollbar-thumb {
    background: #bfc0bf;
    border-radius: 0.4vw;
}

#guideModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #bfc0bf;
}


#username {
    font-size: 1.5vw;
    border: 1px solid #307032;
    border-radius: 50%;
    padding: 0.5vw;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5vw;
    height: 2.5vw;
    transition: all 0.3s ease;
    background-color: #e6f4e6;
    color: #307032;
    box-sizing: border-box;
}

#username:hover {
    background-color: #cce6cc;
    transform: scale(1.1);
}

#userInfoDiv {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#logoutBtn {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background-color: #307032;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

#passwordErrorDiv {
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: 1.5vw;
    transform: translateX(-50%);
    background-color: crimson;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    z-index: 1001;
}

#passwordSuccessDiv {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5vw;
    color: white;
    background-color: #307032;
    padding: 20px 40px;
    border-radius: 10px;
    z-index: 1001;
}

#h2-guide {
    font-size: 1.8vw;
    color: #307032;
    margin-bottom: 1.5vh;
}

#p-guide {
    margin: 1.2vh 0;
}

#ul-guide {
    list-style-type: none;
    padding: 0;
    margin: 1.5vh 0;
}

#li-guide {
    margin: 1vh 0;
    padding-left: 1.5vw;
    position: relative;
}

#li-guide:before {
    content: "•";
    color: #307032;
    position: absolute;
    left: 0;
}

#b-guide {
    color: #307032;
    font-weight: 600;
}

#a-guide {
    color: #307032;
    text-decoration: none;
    transition: color 0.3s ease;
}

#a-guide:hover {
    color: #29b959;
    text-decoration: underline;
}

#note-guide {
    font-style: italic;
    color: #666;
    font-size: 1.1vw;
    margin-top: 2vh;
}


.BracketContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
    margin-left: 10%;
}

/* 每个回合的容器 */
.BracketRound {
    margin: 0 15px;
    text-align: center;
}

/* 对阵图内每场比赛的卡片 */
.BracketMatchCard {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    padding: 10px;
    min-width: 180px;
}

/* 显示两队信息的容器 */
.BracketMatchTeams {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 单支球队样式 */
.BracketTeam {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
}

.BracketMatchInRoundRoundOf16 {
    margin-top: 5%;
}

.BracketMatchInRound {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 10%; /* 控制上下间距 */
}

.BracketTeam span {
    font-size: 0.8vw;
}

/* 球队 Logo */
.BracketTeamLogo {
    height: 20px;
    margin-right: 5px;
    margin-top: 5px;
}

/* 比分样式 */
.BracketMatchScoreContainer {
    margin-left: 10%;

}

.BracketMatchScore {
    font-size: 1vw;
    font-weight: bold;
    margin-left: auto;
}

#qrcode {
    width: 80%;
}

.position-selector {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.position-selector a {
    font-size: 1rem;
    color: #333;
    font-weight: 1000;
}

.position-selector select {
    padding: 8px 12px;
    border: 2px solid #247820;
    border-radius: 6px;
    background-color: white;
    font-size: 0.9rem;
    min-width: 50px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 11vw;
}

.position-selector select:hover {
    border-color: #29b959;
    box-shadow: 0 2px 6px rgba(41, 185, 89, 0.2);
}

.position-selector select:focus {
    border-color: #1d7c3d;
    box-shadow: 0 0 0 3px rgba(29, 124, 61, 0.2);
}

.position-selector select option {
    padding: 8px;
    font-size: 0.9rem;
}

.position-selector select option:checked {
    background-color: #e8f5e9;
    color: #247820;
}

.position-selector select[multiple] {
    height: auto;
    min-height: 120px;
}

.player_ability_slider {
    margin-left: -28vw;
    margin-top: 50vh;
}

#seasonSlider {
    display: grid;
    appearance: none;
    -webkit-appearance: none;
    width: 17vw;
    height: 0.5vh;
    border-radius: 5px;
    background: #ccc;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#seasonSlider:hover {
    opacity: 1;
}

#seasonSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.4vw;
    height: 1.4vw;
    border-radius: 50%;
    background: #247820;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2%;
}

#seasonSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #247820;
    cursor: pointer;
    transition: all 0.3s ease;
}

#seasonSlider::-webkit-slider-thumb:hover {
    background: #29b959;
    box-shadow: 0 0 10px rgba(41, 185, 89, 0.4);
    transform: scale(1.1);
}

#seasonSlider::-moz-range-thumb:hover {
    background: #29b959;
    box-shadow: 0 0 10px rgba(41, 185, 89, 0.4);
    transform: scale(1.1);
}

.season-label span {
    font-size: 1.2em;
    font-weight: bold;
    color: #247820;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


#season24 {
    margin-left: 50%;
}