@font-face {
    font-family: 'scoreboard';
    src: url('../font/scoreboard.ttf') format('truetype');
}

.scoreboard-table {
    --pv: 10px;
    --ph: 10px;
    position: relative;
    padding: var(--pv) var(--ph);
    color: #FFF;
    font-family: "scoreboard";
    background-image: linear-gradient(to top, rgb(104, 104, 104) 0%, 1.6%, rgb(217, 217, 216) 5.8%, 6.5%, rgb(217, 217, 216) 7.7%, 15.7%, rgb(101, 101, 100) 37.6%, 53%, rgb(137, 138, 134) 63.8%, 77%, rgb(246, 246, 246) 88%, 93%, rgb(217, 217, 216) 95.5%, 99%, rgb(104, 104, 104) 100%);
    border-radius: 12px;
    box-shadow: 0 0 3px rgba(0, 0, 0, .75);
}

.scoreboard-table .scoreboard-bgbox {
    position: absolute;
    top: calc(var(--pv) * 0.45);
    bottom: calc(var(--pv)* 0.45);
    left: calc(var(--ph)* 0.45);
    right: calc(var(--ph)* 0.45);
    border: solid transparent;
    border-top-width: calc(var(--pv)* 0.55);
    border-bottom-width: calc(var(--pv)* 0.55);
    border-left-width: calc(var(--ph)* 0.55);
    border-right-width: calc(var(--ph)* 0.55);
    border-radius: 12px;
    --svg-bg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M0,4.747c0,2.622,1.917,4.747,4.282,4.747c2.366,0,4.283-2.125,4.283-4.747S6.648,0,4.282,0 C1.917,0,0,2.125,0,4.747"  fill="%23040000"></path></svg>');
    background-image: var(--svg-bg), var(--svg-bg), linear-gradient(-45deg, rgb(26, 26, 26), 62%, rgba(97, 101, 104)), linear-gradient(to right, rgb(104, 104, 104) 0%, 1.6%, rgb(217, 217, 216) 5.8%, 6.5%, rgb(217, 217, 216) 7.7%, 15.7%, rgb(101, 101, 100) 37.6%, 53%, rgb(137, 138, 134) 63.8%, 77%, rgb(246, 246, 246) 88%, 93%, rgb(217, 217, 216) 95.5%, 99%, rgb(104, 104, 104) 100%);
    background-clip: content-box, content-box, content-box, border-box;
    background-size: 12px 12px, 12px 12px, auto auto, auto auto;
    background-position: 2px 2px, 8px 8px, 0 0, 0 0;
    --left-width: 176px;
    --right-width: 200px;
}

/* .scoreboard-table .scoreboard-bgbox::before,
.scoreboard-table .scoreboard-bgbox::after {
    content: "";
    position: absolute;
    top: calc(0px - var(--pv)* 0.45);
    bottom: calc(0px - var(--pv)* 0.45);
    left: calc(0px - var(--ph)* 0.45);
    right: calc(0px - var(--ph)* 0.45);
    background: inherit;
    border: inherit;
    border-radius: inherit;
    z-index: 4;
}

.scoreboard-table .scoreboard-bgbox::before {
    clip-path: polygon(0 0, calc(var(--left-width) + 6px) 0, calc(var(--left-width) + 6px) 100%, 0 100%);
}

.scoreboard-table .scoreboard-bgbox::after {
    clip-path: polygon(calc(100% - var(--right-width) - 6px) 0, 100% 0, 100% 100%, calc(100% - var(--right-width) - 6px) 100%);
}
 */
.scoreboard-table .table-scrollable {
    overflow: hidden;
    border-radius: 5px;
}

.scoreboard-table .table-main {
    position: relative;
    overflow: hidden;
   /*  overflow-x: auto;
    margin-bottom: -30px; */
    margin-bottom: -2px;
    margin-right: -2px;
}

.scoreboard-table table {
    min-width: 100%;
/*     --padding: 30px;
    --font-size: 21px;
    --font-size2: 50px; */
    --padding: 10px;
    --font-size: 18px;
    --font-size2: 24px;
}

.scoreboard-table th,
.scoreboard-table td {
    box-shadow: -10px 10px 20px rgba(0, 0, 0, .5) inset, -1px -1px 0px 1px #f3f3f3 inset;
}

/* .scoreboard-table td:last-child,
.scoreboard-table th:last-child {
    box-shadow:  1px -1px 0px 1px #8d8d8d inset,10px 10px 20px rgba(0, 0, 0, .5) inset;
}

 */


.scoreboard-table thead th {
    font-size: var(--font-size);
    text-align: center;
    padding: var(--padding);
    line-height: 1.2;
}

.scoreboard-table thead th:last-child {
    font-size: var(--font-size2);
}

.scoreboard-table tbody th {
    font-size: var(--font-size);
    padding: var(--padding);
    line-height: 1.2;
    text-align: center;
}

.scoreboard-table tbody td {
    white-space: nowrap;
    padding: var(--padding);
    text-align: center;
    font-size: var(--font-size2);
   /*  min-width: 200px; */
    z-index: 2;
}

/* .scoreboard-table th:first-child {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 4;
}

.scoreboard-table th:last-child,
.scoreboard-table td:last-child {
    position: sticky;
    right: 0;
    top: 0;
    z-index: 4;
}
 */
@media (max-width: 991px) {

    .scoreboard-table {
        --pv: 6px;
        --ph: 6px;
        border-radius: 6px;
    }
    .scoreboard-table .scoreboard-bgbox {
        border-radius: 6px;
    }

/*     .scoreboard-table table {
        --padding: 15px;
        --font-size: 16px;
        --font-size2: 32px
    } 

    .scoreboard-table tbody td {
        min-width: 120px;
    }*/

    .scoreboard-table {
        border-radius: 8px;
    }
    .scoreboard-table .is-elements{
        display: none;
    }
    .scoreboard-table .title-info{
        display: none;
    }
}

.scoreboard-table .table-main:not(:has(table)) {
    min-height: 100px;
}
.scoreboard-table .table-main:not(:has(table))::before {
    content: "";
    width: 40px;
    height: 40px;
    display: inline-block;
    border: 5px solid #E3E3E3;
    border-top-color:#555;
    border-left-color:#555;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    animation: loading-rotate 0.7s infinite;
    z-index: 101;
}
@keyframes loading-rotate{
    0% {
        transform: rotate(0);
    }
        100% {
        transform: rotate(360deg);
    }
  }



  .scoreboard-table .title-info th{
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2;
  }
  .scoreboard-table .title-info td{
    font-size: 14px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .scoreboard-table .el-tooltip__trigger{
    border-bottom: 1px dashed currentColor;
    cursor: pointer;
  }