:root {
    --main-color: #FFA872;
}

.layui-tab-brief>.layui-tab-title .layui-this {
    color: var(--main-color) !important;
}

.layui-tab-brief>.layui-tab-title .layui-this a {
    color: var(--main-color) !important;
}

.layui-tab-brief>.layui-tab-title .layui-this:after {
    border-bottom: 3px solid var(--main-color) !important;
}

/* 覆盖 el-tab 颜色 */
.el-tabs__item {
    aacolor: var(--main-color) !important;
    /* 设置未激活状态的颜色 */
}

.el-tabs__item:hover {
    color: var(--main-color) !important;
    /* 设置悬停状态的颜色 */
}

.el-tabs__item.is-active {
    color: var(--main-color) !important;
    /* 设置激活状态的颜色 */
}

.el-tabs__active-bar {
    background-color: var(--main-color) !important;
}

table td {
    border-bottom: none !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

table td:hover {
    color: none !important;
    background-color: transparent !important;
}

.table td {
    border: none !important;
    padding: 8px 0 !important;
}

.h2hTable {
    width: 100%;
    /* 表格宽度 */
    border-collapse: collapse;
    /* 合并边框 */
    table-layout: fixed;
    /* 固定表格布局 */
}

.h2hTable th,
.h2hTable td {
    white-space: nowrap;
    /* 防止换行 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 使用省略号表示溢出的内容 */
}

.oneLine {
    width: 100%;
    white-space: nowrap;
    /* 防止换行 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 使用省略号表示溢出的内容 */
}

/* .table td{
    border:none !important;
}
td:hover{
    color:none !important;
    background-color:none !important;
} */
.h2hTabActive {
    background-color: #D7DBF5 !important;
    border: 1px solid #C1C6F4 !important;

}

a {
    color: #333 !important;
    text-decoration: none !important;
}

a:focus,
a:hover {
    color: #557192 !important;
    text-decoration: underline !important;
}

a:focus {
    outline: 5px auto -webkit-focus-ring-color !important;
    outline-offset: -2px !important;
}

.linkBox:hover {
    cursor: pointer;
    background-color: #f2f4f7;
}

a {
    Text-decoration: none;
    color: inherit
}

html {
    background: #eef1f5;
}

body {
    font-size: 14px !important;
}

* {
    margin: 0;
    padding: 0;
}

.smallFont {
    font-size: 12px;
    /* transform: scale(0.83333); */
    transform-origin: 0 0;
}

.selectedGameTable {
    background: #f2f4f7;
}

.teamMatchTable tbody:hover {
    background: #f2f4f7;
}

.isLoseTeam {
    color: #9b9b9d;
}

.gc-header__inner {
    font-size: 128% !important;
}

.el-progress__text {
    display: none !important;
}

.el-progress-bar {
    padding: 0 !important;
    margin: 0 !important;
}

.el-progress-bar__outer {
    background: #000 !important;
}

#app {
    background: #eef1f5;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    padding-top: 0;
}

#app .el-table .el-table__cell {
    padding: 0 !important;
}

#app .el-date-editor {
    width: 155px;
}

#app .el-date-editor input {
    text-align: center;
    height: 30px;
}

#app p {
    margin: 0;
}

#app .nowrap {
    text-align: left;
    white-space: nowrap;
}

#app .nowrap td {
    padding: 5px;
}

#app .nowrap td p {
    margin: 0;
}

#app p.time {
    margin: 0;
    font-size: 14px;
    color: #333;
}

#app span.score {
    color: #a0ce4e;
    font-size: 16px;
    font-weight: bold;
}

#app span.halfscore {
    color: #969696;
    font-size: 14px;
}

#app .teamIcon {
    width: 25px;
    margin-right: 5px;
}


/* < !-- timeline --> */
/* CSS 样式 */

.timeline {
    position: relative;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    width: 1px;
    background: #ccc;
}


.timeline-item {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    height: 35px;
}

.timeline-marker {
    position: absolute;
    top: 25px;
    left: calc(50% - 3px);
    width: 25px;
    height: 25px;
    margin-left: -10px;
    border-radius: 50%;
    background: #f0ad4e;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    color: white;
}

.timeline-content {
    position: relative;
    padding: 0.5rem;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadowww: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    /* 隐藏超出的内容 */
    text-overflow: ellipsis;
    /* 用省略号表示被截断的文本 */
    max-width: 40%;
    /* 设置最大宽度 */
    word-wrap: break-word;
    word-break: normal;
    /* max-width: calc(50% - 30px); 减少宽度以更靠近时间轴 */
}

.timeline-content.left {
    text-align: right;
    margin-right: calc(50% + 15px);
    float: right;
    margin-top: 10px;
}

.timeline-content.right {
    text-align: left;
    margin-left: calc(50% + 10px);
    float: left;
    margin-top: 10px;
}

.timeline-content p {
    margin-top: 0.5rem;
}

/* 用于区分主队和客队的样式 */

.home-team .timeline-marker {
    background-color: #9CC3CC;
}

.away-team .timeline-marker {
    background-color: #e08766;
}

.home-team .timeline-content p,
.away-team .timeline-content p {
    font-weight: bold;
}




.full-width {
    max-width: 100% !important;
}

.bg {
    background-color: #eef1f5;
}