@charset "utf-8";

table {
    width: calc(100% + 2px);
    margin: 0 -1px;
    border-spacing: 0;
    border-collapse: collapse;
}
table th {
    padding: 16px 4px;
}
table td {
    padding: 16px 4px;
    white-space: normal;
    word-break: break-word;
}
.table-wrap {
    position: relative;
    margin-bottom:3px;
    font-size:16px;
}
.table-wrap.mt-10 {margin-top:10px;}
.table-wrap.mt-20 {margin-top:20px;}
.table-wrap table {
    table-layout: fixed;
}
.table-wrap th {    
    background-color:var(--table-th-bg-color); 
    color:#fff; 
    border-bottom:1px solid var(--border-light-color); 
    font-weight:normal; 
}
.table-wrap th a {color:#fff;}
.table-wrap tr th:first-child {border-radius:10px 0 0 0;}
.table-wrap tr th:last-child {border-radius:0 10px 0 0;}
.table-wrap tr.start_line {border-top: 2px solid #db3232;}
[class^="tstyle-list"] th, [class^="tstyle-list"] td {
    padding:10.5px 8px;
}
[class^="tstyle-list"] th {
    text-align: center;
}
.table-wrap td {
    background-color:var(--color-textbox);
    border-bottom: 1px solid var(--border-light-color);
    color:var(--color-sub-text);
    line-height: 1.4;
}
.table-wrap tr:last-child td:first-child {border-radius:0 0 0 10px;}
.table-wrap tr:last-child td:last-child {border-radius:0 0 10px 0;}
[class^="tstyle-list"] td {
    text-align: center;
}
[class^="tstyle-list"] th, [class^="tstyle-list"] td {
    padding: 10.5px 8px;
}
[class^="tstyle-list"] td.txt-left, [class^="tstyle-list"] td.subject {
    text-align: left;
}
[class^="tstyle-list"] td.txt-left > a, [class^="tstyle-list"] td.subject > a, .txt-ellipsis {
    display:inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align:middle;
}
[class^="tstyle-list"] td.subject > a {
    max-width: calc(100% - 70px);
}   
[class^="tstyle-list border"] td,
[class^="tstyle-list border"] th {
    border-right:1px solid var(--border-light-color);
}
[class^="tstyle-list border"] td:last-child,
[class^="tstyle-list border"] th:last-child {
    border-right: none;
}
[class^="tstyle-list"] tr:last-child td {
    border-bottom: none;
}

.count-plus {
    display: inline-block;
    margin-left: 4px;
    color:var(--color-2-border-danger);
    vertical-align: middle;
}
:root[data-theme='dark']{
    .table-wrap th {
        background-color:var(--color-surface-secondary-subtler);
    }
}

#bo_analysis_popup_pickster_rank .tbl_wrap {
    display: block;
    position: relative;
}
.modal-overlay .tbl_wrap {    
    margin-top: 10px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.modal-overlay table {
    width: 100%;
    border-spacing: 0;
    padding: 0;
}
.modal-overlay table tr th {
    background-color:var(--table-th-bg-color);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    padding-top: 4px;
    padding-bottom: 4px;
    letter-spacing: -0.02rem;
}
:root[data-theme="dark"] {
    .modal-overlay table tr th {
        background-color: var(--color-surface-secondary-subtler);
    }
}
.modal-overlay table tr td {
    background:var(--color-textbox);
    color: var(--color-basic-text);
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light-color);
    padding-top:5px;
    padding-bottom: 5px;
    letter-spacing: -0.02rem;
}
.modal-overlay .tbl_wrap table th:nth-child(1), 
.modal-overlay .tbl_wrap table td:nth-child(1) {
    width: 45%;
}
.modal-overlay .tbl_wrap table th, 
.modal-overlay .tbl_wrap table td {
    font-size: 13px;
    font-family: inherit;
}
.modal-overlay .tbl_wrap table th:nth-child(1), 
.modal-overlay .tbl_wrap table td:nth-child(1) {
    width: 18%;
}
.modal-overlay .tbl_wrap .tbody_wrap {
    max-height:350px;
    border-bottom: 1px solid var(--border-light-color);
    overflow: auto;
    overflow-y: overlay;
}
.modal-overlay .tbl_wrap table th, 
.modal-overlay .tbl_wrap table td {
    font-size: 13px;
    font-family: inherit;
}
.modal-overlay .tbl_wrap table th:nth-child(1), 
.modal-overlay .tbl_wrap table td:nth-child(1) {
    width: 18%;
}
.modal-overlay .tbl_wrap .tbody_wrap table tr:nth-child(1) td:first-child, 
.modal-overlay .tbl_wrap .tbody_wrap table tr:nth-child(2) td:first-child, 
.modal-overlay .tbl_wrap .tbody_wrap table tr:nth-child(3) td:first-child {
    color:var(--color-element-point);
    font-weight: bold;
}
.modal-overlay .tbl_wrap table th:nth-child(2), 
.modal-overlay .tbl_wrap table td:nth-child(2) {
    width: 35%;
}
.modal-overlay .tbl_wrap table td span.win_rate {
    color: var(--color-element-point);
}
.modal-overlay .tbl_wrap table img {
    width:25px;
    height:auto;
}
.modal-tab {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:20px;
}
.modal-tab__link {
    display: inline-block;
    width:100%;
    height: 40px;
    line-height: 38px;
    border: 2px solid var(--primary-color);
    color: var(--color-basic-text);
    text-align: center;
    font-size: 16px;
    font-weight:700;
    cursor: pointer;
    border-radius: 10px;
}
.modal-tab a[aria-selected="true"].modal-tab__link {
    background:var(--primary-color);
    color: #fff;
}
