@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

@font-face { 
    font-family: 'Carlito';
    src: url('fonts/carlito.bold.woff') format('woff');
    font-family: TitilliumWeb;
    src: url('fonts/TitilliumWeb-Regular.ttf') format('ttf');
}
@media screen and (min-width: 992px) {
    
    .STHSPHPTeamHeader_TeamNameColor_0.STHSPHPTeamHeader_TeamName{color: #000000;}
    .STHSPHPTeamHeader_TeamNameColor_1.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_2.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_3.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_4.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_5.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_6.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_7.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_8.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_9.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_10.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_11.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_12.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_13.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_14.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_15.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_16.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_17.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_18.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_19.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_20.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_21.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_22.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_23.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_24.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_25.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_26.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_27.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_28.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_29.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_30.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_32.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_33.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}
    .STHSPHPTeamHeader_TeamNameColor_34.STHSPHPTeamHeader_TeamName{color: #ffffff;text-shadow: 0px 0px 0px #041E42;}

    .STHSPHPTeamBanner_1{background-image: url("images/Banner1.png") !important}
    .STHSPHPTeamBanner_2{background-image: url("images/Banner2.png") !important}
    .STHSPHPTeamBanner_3{background-image: url("images/Banner3.png") !important}
    .STHSPHPTeamBanner_4{background-image: url("images/Banner4.png") !important}
    .STHSPHPTeamBanner_5{background-image: url("images/Banner5.png") !important}
    .STHSPHPTeamBanner_6{background-image: url("images/Banner6.png") !important}
    .STHSPHPTeamBanner_7{background-image: url("images/Banner7.png") !important}
    .STHSPHPTeamBanner_8{background-image: url("images/Banner8.png") !important}
    .STHSPHPTeamBanner_9{background-image: url("images/Banner9.png") !important}
    .STHSPHPTeamBanner_10{background-image: url("images/Banner10.png") !important}
    .STHSPHPTeamBanner_11{background-image: url("images/Banner11.png") !important}
    .STHSPHPTeamBanner_12{background-image: url("images/Banner12.png") !important}
    .STHSPHPTeamBanner_13{background-image: url("images/Banner13.png") !important}
    .STHSPHPTeamBanner_14{background-image: url("images/Banner14.png") !important}
    .STHSPHPTeamBanner_15{background-image: url("images/Banner15.png") !important}
    .STHSPHPTeamBanner_16{background-image: url("images/Banner16.png") !important}
    .STHSPHPTeamBanner_17{background-image: url("images/Banner17.png") !important}
    .STHSPHPTeamBanner_18{background-image: url("images/Banner18.png") !important}
    .STHSPHPTeamBanner_19{background-image: url("images/Banner19.png") !important}
    .STHSPHPTeamBanner_20{background-image: url("images/Banner20.png") !important}
    .STHSPHPTeamBanner_21{background-image: url("images/Banner21.png") !important}
    .STHSPHPTeamBanner_22{background-image: url("images/Banner22.png") !important}
    .STHSPHPTeamBanner_23{background-image: url("images/Banner23.png") !important}
    .STHSPHPTeamBanner_24{background-image: url("images/Banner24.png") !important}
    .STHSPHPTeamBanner_25{background-image: url("images/Banner25.png") !important}
    .STHSPHPTeamBanner_26{background-image: url("images/Banner26.png") !important}
    .STHSPHPTeamBanner_27{background-image: url("images/Banner27.png") !important}
    .STHSPHPTeamBanner_28{background-image: url("images/Banner28.png") !important}
    .STHSPHPTeamBanner_29{background-image: url("images/Banner29.png") !important}
    .STHSPHPTeamBanner_30{background-image: url("images/Banner30.png") !important}
    .STHSPHPTeamBanner_31{background-image: url("images/Banner31.png") !important}
    .STHSPHPTeamBanner_32{background-image: url("images/Banner32.png") !important}
    .STHSPHPTeamBanner_33{background-image: url("images/Banner33.png") !important}
    .STHSPHPTeamBanner_34{background-image: url("images/Banner34.png") !important}

}

    .swiper-button-next{
        color: #ffffff;
    }

    .swiper-button-prev{
        color: #ffffff;
    }

/*Lagsida*/

    .STHSPHPTeamHeader_Stat{
        color: #ffffff;
        font-size:13px;
        text-align:left;
        padding-left: 5px;
        padding-right: 5px;
        letter-spacing: 1px;
        text-shadow: none;
    }

    .STHSPHPTeamHeader_Logo{
        padding-right: 30px;
    }

    .STHSPHPTeamStatImage {
        width:114px;
        height:114px;
        padding-left:0px;
        padding-right:8px;
        vertical-align:middle
    }
    
    #STHSPHPTeamStat_SubHeader{
        background-image: url("images/BannerDefault.png");
        background-position: center;
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .STHSPHPTeamHeader_Table{
        width:auto;
        margin-left: 25%;
        font-family: TitilliumWeb;
        font-weight: normal;
        font-style: normal;
        color: #fff;
        background-color: rgba(255, 255, 255, 0.0); 
        height: 128px;
    }

    .STHSPHPTeam_HomeTable {
        padding-top: 10px; 
        padding-right: 10px; 
        padding-left: 10px;
        width:100%; 
        border-spacing: 0px;
        font-size: small;
        color: white;
    }

    #cssmenuLogin{
        color: black !important;
    }

    .STHSPHPTeamHeader_TeamName{
        font-size:37px;
        font-family: TitilliumWeb;
        font-weight: normal;
        font-style: normal;
        text-align:left;
        padding-left: 5px;
        padding-top: 15px;
        padding-right: 5px;
        margin:0;
    }

    /*Line editor*/

    #lineeditor ul.positiontabs li a {
       color: white;

    }

    .linetabs h4, .ui-tabs .ui-tabs-panel , #lineeditor #tabs .linesection, #lineeditor ul.positiontabs  {

        background-color: rgb(37, 37, 37);
        color:white;
    }

    #lineeditor #tabs .linesection input.textname {
        width: 98%;
        border: 1px solid #e8e8e8;
        padding: 1px 5px;
        background-color: rgb(37, 37, 37);
        color: white;
    }

    #lineeditor .linetabs .sliders {
        background-color: rgb(37, 37, 37);
        color: white;
    }

    .playerlist .playerselect {
        list-style-type: none;
        color: white;
        margin: 0px 0 0 0;
        padding: 0;
        font-size: 0.8vw;
        padding-left: 0.5vw;
    }

    .playerlist .playerselect input[type="radio"]:checked + label, .playerlist .Checked + label {
        background: #66666600;
        color: rgb(190, 87, 3);
        font-size: 0.8vw;
    }

    .playerlist .playerselect li + li {
        border-top: 1px dotted #cccccc4b;
    }

    .linetabs .positionline + .positionline {
        margin-top: 3px;
        padding-top: 3px;
        border-top: 1px dotted #cccccc00;
    }

    .STHSPHPWebClient_Table th {
        font-size: 16px;
        background-color: grey;
        font-weight:normal;
    }


    /*Roster editor*/

    #rostereditor .FarmScratch {
        background-color: #2a2a33;
    }

    #rostereditor .FarmDress {
        background-color: #414150;
    }

    #rostereditor .ProScratch {
        background-color: #303030;
    }

    #rostereditor .ProDress {
    background-color: #4d4d4d;
    }

    #rostereditor .movetowaiver{
        color: #ff9900;
        background-color: #ffe785;
    }


    #rostereditor .injury   {
        background-color:#e60000 !important;
    }
    #rostereditor .suspension   {
        background-color:#813d3d !important;
    }
    #rostereditor .canplaypro   {
        background-color:#f8dede !important;
    }
    #rostereditor .canplayfarm  {
        background-color:#f8dede !important;
    }
    #rostereditor .ProScratch.nocontract{
        color:#cccccc !important;
     }
    #rostereditor .FarmScratch.nocontract{
        color:#666666 !important;
    }

    #rostereditor .rowcondition {
        float: right;
        box-shadow: 1px 1px 1px #202020;
        padding: 2px 5px;
        margin-right: 0.5em;
        font-size: 0.7em;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background-color: #c71e00;
    }

    @media only screen and (max-width: 48em) {
        #rostereditor .rowcondition,
        #rostereditor .rowsuspension,
        #rostereditor .rowsuspension99 {
            font-size: 0.8rem !important;
            font-weight: 700 !important;
            padding: 2px 5px !important;
            line-height: 1.1 !important;
        }
    }

    #rostereditor .rowwaiver {
        box-shadow: 1px 1px 1px #202020;
    }
    


    .Save {
        border: none;
        border-width: 0px 0px;
        padding: 5px;
        text-align: center;
        background-color: rgba(255, 192, 203, 0);
    }

    




.STHSPHPMenuDiv {
    text-align: center;
    margin: 0 !important;
    padding: 0;
    background-image: none;
    border: none;
    background-color: #111922 !important;
    color: #ffffff;
    position: static;
    min-height: var(--global-topbar-height, 78px);
    opacity: 1;
    z-index: 5000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.STHSPHPMenuTeamsRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: var(--global-topbar-height, 78px);
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    position: sticky !important;
    top: 0 !important;
    background-color: #111922 !important;
    opacity: 1;
    z-index: 5000 !important;
}

.STHSPHPMenuDivisionStrip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.STHSPHPMenuDivisionGroup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.STHSPHPMenuDivisionGroup:last-child {
    border-right: none;
}

.STHSPHPMenuDivisionTitle {
    font-family: 'Bebas Neue', 'Oswald', 'Impact', 'Arial Black', sans-serif;
    font-size: 19px;
    letter-spacing: 1.1px;
    color: rgba(237, 244, 255, 0.9);
    line-height: 1;
    margin-bottom: 5px;
    white-space: nowrap;
}

.STHSPHPMenuDivisionTeams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 30px;
}

.STHSPHPMenuTeamsRow a {
    display: flex;
    align-items: center;
}

.STHSPHPMenuLeagueBrand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    line-height: 1;
}

.STHSPHPMenuHeaderLogo {
    width: auto;
    height: 44px;
    display: block;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: left center;
}

.STHSPHPMenuHeaderText {
    color: #f4f8ff;
    font-family: 'Bebas Neue', 'Oswald', 'Impact', 'Arial Black', sans-serif;
    font-size: 31px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: left;
    display: flex;
    align-items: center;
}

.STHSPHPMenuLeagueBrand > a,
.STHSPHPMenuLeagueBrand > a:visited,
.STHSPHPMenuLeagueBrand > a:hover {
    color: inherit;
    text-decoration: none;
}

@media only screen and (min-width: 1025px) {
    .STHSPHPMenuDiv {
        margin-left: 0 !important;
        min-height: var(--global-topbar-height, 78px);
    }

    .STHSPHPMenuTeamsRow {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        position: sticky !important;
        top: 0 !important;
        width: 100%;
        padding-left: 0;
        padding-right: 16px;
    }

    /* Keep league brand as true leftmost item in full-width row */
    .STHSPHPMenuLeagueBrand {
        position: relative !important;
        left: auto;
        top: auto;
        right: auto;
        transform: none;
        margin-right: 0;
        z-index: auto;
    }

    /* Division groups stay on the right side */
    .STHSPHPMenuDivisionStrip {
        margin-left: 0;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 1400px) {
    .STHSPHPMenuDivisionTitle {
        font-size: 17px;
    }

    .STHSPHPMenuHeaderText {
        font-size: 26px;
        letter-spacing: 1.2px;
    }

    .STHSPHPMenuHeaderLogo {
        width: 74px;
    }
}

@media screen and (max-width: 1100px) {
    .STHSPHPMenuTeamsRow {
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .STHSPHPMenuDivisionGroup {
        padding: 0 8px;
    }

    .STHSPHPMenuHeaderText {
        font-size: 22px;
    }
}

@media screen and (max-width: 1280px) {
    /* Prioritize division logos on small/medium screens */
    .STHSPHPMenuHeaderText {
        display: none;
    }

    .STHSPHPMenuLeagueBrand {
        margin-right: 4px;
        gap: 0;
    }

    .STHSPHPMenuHeaderLogo {
        width: 70px;
    }

    .STHSPHPMenuDivisionStrip {
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 1024px) {
    /* Use existing mobile menu/select layout on phones/tablets */
    .STHSPHPMenuDiv {
        display: none !important;
    }

    .STHSPHPMenuDivMobile {
        display: flex !important;
    }
}

.STHSPHPMenuTeamImage {
    width:24px;
    height:24px;
    padding-top: 0px;
    padding-left:0px;
    padding-right:8px;
    vertical-align:middle;
    background-color: rgba(51, 51, 51, 0);
}

/*Loggor*/


.STHSPHPMenuDiv a img:not(.STHSPHPMenuHeaderLogo){
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -webkit-transition: all 0.5s ease;
            transition: all 0.5s ease;
    scale: 100%;
    }
 
.STHSPHPMenuDiv a img:not(.STHSPHPMenuHeaderLogo):hover{
        filter: grayscale(0%);
        filter: gray;
        -webkit-filter: grayscale(0%);
        filter: none;
        transition: 0.5s ease;
        scale: 120%;
        }   

#cssmenu.sidebar-menu .sidebar-team-brand,
#cssmenu.sidebar-menu .sidebar-team-brand:visited,
#cssmenu.sidebar-menu .sidebar-team-brand:hover {
    color: inherit;
    text-decoration: none;
    background: transparent;
}



.STHSPHPMenuDivTeamImage {
    width: 25px;
    height: 25px;
    padding-top: 0;
    padding-left: 0px;
    padding-right: 5px;
    vertical-align: middle;
    display: block;

}

.STHSIndex_Main {
    padding-top: 10px; 
    padding-right: 10px; 
    padding-left: 10px;
    font-size:small;
    color: whitesmoke;
    border-spacing: 0px;
    word-spacing: 0.2px;
    font-family: TitilliumWeb;
    max-width: 1800px;
    margin: 0 auto;
}

.STHSIndex_Headline {
    font-size: 1.5em;
    margin: 10px;
    text-align:center;
    background-color: #000000;
}

.STHSIndex_HeadlineTable td {
    padding-left: 5px;
    padding-right: 10px;
    vertical-align: bottom;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.3;
    font-weight: 50;
}

.STHSIndex_Score {
    vertical-align:top; 
    width: 100%;
    width: 220px;
    background-color: rgba(51, 51, 51, 0);
    font-size:small;
    color: white;
    font-family: TitilliumWeb; 

}

/*Latest scores/Next games*/

.STHSIndex_GamesResult {
    width: 90%;
    max-width: 320px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid white;
    border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #2a2a2a;
    color: white;

}

.STHSIndex_GamesResult a {

    color:white !important;

}

.STHSIndex_GamesResult a:hover {

    color:white;
    text-decoration: underline;

}


.STHSPHPIndexBoxScore a {

    color:rgb(190, 87, 3) !important;
    

}

/*Headlines*/

.STHSIndex_Headline  {
   
    background-color: rgba(51, 51, 51, 0);
    color: white;

}

.STHSIndex_HeadlineTable  {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid white;
    border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 5px;
    margin-bottom: 5px;
    margin-left:10px;
    background-color: #2a2a2a;

}

.STHSIndex_TransactionCards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0 0 14px 10px;
    box-sizing: border-box;
}

.STHSIndex_TransactionTable {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.STHSIndex_TransactionTable tr:hover {
    font-weight: normal;
}

.STHSIndex_TransactionTitle {
    padding: 0 14px !important;
    font-size: 1.02em !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.STHSIndex_TransactionDate {
    padding: 7px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
}

.STHSIndex_TransactionTextRow td {
    padding: 9px 12px !important;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.STHSIndex_TransactionTextRow:last-child td {
    border-bottom: none;
}

.STHSIndex_TransactionTextWrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.STHSIndex_TransactionTeamLogo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 20px;
    margin-top: 1px;
}

.STHSIndex_TransactionEmpty {
    padding: 12px !important;
    text-align: center !important;
    opacity: 0.75;
    font-style: italic;
}

.STHSIndex_TradeTable th,
.STHSIndex_TradeTable td {
    vertical-align: middle;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side,
.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_DividerCell {
    vertical-align: top !important;
}

.STHSIndex_TradeRow.STHSTrade_MatchupRow > .STHSTrade_DividerCell {
    padding: 0 !important;
}

.STHSIndex_TradeRow.STHSTrade_MatchupRow > .STHSTrade_Side,
.STHSIndex_TradeRow.STHSTrade_MatchupRow > .STHSTrade_DividerCell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.STHSIndex_TradeTable .STHSTrade_MatchupRow > .STHSTrade_Side,
.STHSIndex_TradeTable .STHSTrade_MatchupRow > .STHSTrade_DividerCell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.STHSIndex_TradeSpacer td {
    height: 16px;
    padding: 0 !important;
    border: none !important;
}

.STHSIndex_TradeAssetRow {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
}

.STHSIndex_TradeAssetRow + .STHSIndex_TradeAssetRow {
    margin-top: 1px;
}

.STHSIndex_TradeTeamLogo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-top: 0;
}

.STHSIndex_TradeLogoSpacer {
    display: block;
    width: 28px;
    height: 28px;
}

.STHSIndex_TradeAssetCell {
    padding: 0 !important;
    text-align: left !important;
    font-size: 13px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.STHSIndex_TradeDraftLogo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
    margin-top: 0;
}

.STHSIndex_TradeAssetEmpty {
    opacity: 0.7;
    font-style: italic;
}

.STHSIndex_TradeCondition {
    margin-top: 4px;
    padding: 5px 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.3;
}

.STHSIndex_TransactionSummaryRow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    box-sizing: border-box;
    align-items: start;
}

.STHSIndex_TransactionSummaryRow .STHSIndex_Top5Table {
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    width: 100%;
}

.STHSIndex_TransactionSummaryTable .STHSIndex_TransactionTitle {
    font-size: 1em !important;
}

@media screen and (max-width: 1180px) {
    .STHSIndex_TransactionSummaryRow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 700px) {
    .STHSIndex_TransactionSummaryRow {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 500px) {
    .STHSIndex_TransactionCards {
        margin-left: 0;
        gap: 10px;
    }

    .STHSIndex_TradeSide {
        padding: 8px 8px 7px 8px;
    }

    .STHSIndex_TradeAssetCell {
        font-size: 12px;
    }

    .STHSIndex_TradeAssetRow {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 5px;
    }

    .STHSIndex_TradeTeamLogo,
    .STHSIndex_TradeLogoSpacer {
        width: 22px;
        height: 22px;
    }
}

@media screen and (max-width: 1024px) {
    .STHSIndex_TradeTable tbody.STHSIndex_TradeGroup:nth-of-type(n+4) {
        display: none;
    }
}

/*Länkar*/

a {

    color: rgb(255, 255, 255);
    text-decoration: none;

}

a:visited {

    color:  rgb(255, 255, 255);

}

a:hover {

    color:rgb(255, 255, 255);
    text-decoration: underline; 
}

/*Generell för allt mellan header och footer*/

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    
    font:12px/12px -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; 
    background-image: none;
    background-color: #181818;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;

}

/* Site-wide dark scrollbars */
html{
	scrollbar-width:thin;
	scrollbar-color:rgba(148,163,184,.45) #181818;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
	width:10px;
	height:10px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
	background:#181818;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
	background:rgba(148,163,184,.45);
	border-radius:8px;
	border:2px solid #181818;
	background-clip:padding-box;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover{
	background:rgba(148,163,184,.7);
	border:2px solid #181818;
	background-clip:padding-box;
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner{
	background:#181818;
}

.STHSPHPDraftPickTeamImage {
    width: 30px !important;
    height: 30px !important;
    padding-left: 0px;
    padding-right: 8px;
    vertical-align: middle;
}



/*News*/
.STHSIndex_TheNewsTeamImage {
    align-content: center;    

}


/*Allt som har med menyn att göra*/
#cssmenu {

    background-color: rgba(190, 85, 0, 0);

}

#cssmenu > ul {
    position: relative;
    padding-right: 0;
}

#cssmenu > ul > li.menu-score-toggle {
    display: flex;
    align-items: center;
    height: 49px;
    position: static;
    right: auto;
    top: auto;
    background-color: var(--main-menu-background-color);
    float: left;
}

#cssmenu > ul > li.menu-score-toggle .score-toggle-container {
    padding: 0 17px;
}

#cssmenu > ul > li.menu-score-toggle .score-toggle-label {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--main-menu-text-color);
}

#cssmenu > ul > li.menu-score-toggle .score-toggle {
    margin-top: -1px;
}

@media all and (max-width: 1024px) {
    #cssmenu > ul {
        display: none;
        padding-right: 0;
    }

    #cssmenu > ul > li.menu-score-toggle {
        position: static;
        float: none;
        width: 100%;
        justify-content: center;
    }
}


#cssmenu .submenu-button.submenu-opened {  
    
    background: rgba(51, 51, 51, 0.459);

}

#cssmenu #menu-button.menu-opened:before {  
    
    background: #ffffff;

}

#cssmenu #menu-button.menu-opened:after {  

    background: #ffffff;
}

@media (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {

#cssmenu #menu-button {
    display: block;
    padding: 17px;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    }

    #cssmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid rgb(255, 255, 255);
        color: white;
        height: 46px;
        width: 46px;
        cursor: pointer;
    }


    #cssmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #ffffff;
        content: '';
    }
    #cssmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #ffffff;
        content: '';
        text-decoration: none;
    }

    #cssmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }

    #cssmenu .submenu-button.submenu-opened:after {
        background: #ffffff;
        text-decoration: none;
    }


    #cssmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #ffffff;
        content: '';
    }

    #cssmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }

    #cssmenu .submenu-button.submenu-opened:before {
        display: none;
    }


}

#cssmenu #menu-button:after {
    position: absolute;
    top: 22px;
    right: 17px;
    display: block;
    height: 4px;
    width: 20px;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    content: '';
}

#cssmenu #menu-button:before {
    position: absolute;
    top: 16px;
    right: 17px;
    display: block;
    height: 2px;
    width: 20px;
    background: white;
    content: '';
}

#cssmenu ul ul li a  {
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);  
    padding: 11px 15px;  
    width: 300px;  
    font-size: 15px;  
    text-decoration: none;  
    color: #ffffff;  
    font-weight: 400;  
    background:rgb(51, 51, 51);
    z-index:1;

}

#cssmenu ul ul li a:hover {
    background-color: #0098c7;
    text-decoration: none;
}


#cssmenu > ul > li.has-sub > a:hover {
    text-decoration: none;
    color: white;
}

#cssmenu > ul > li > a {
    padding: 17px;
    font-size: 15px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ccc;
    font-weight: 700;
    text-transform: uppercase;
}

#cssmenu > ul > li:hover > a {
    color: #ffffff;
    text-decoration: none;
}

/* Sidebar hover normalization (override theme + legacy hover styles) */
#cssmenu.sidebar-menu > .sidebar-shell > .sidebar-scroll > ul > li:hover > a,
#cssmenu.sidebar-menu > .sidebar-shell > .sidebar-scroll > ul > li > a:hover,
#cssmenu.sidebar-menu ul ul li:hover,
#cssmenu.sidebar-menu ul ul li:hover > a,
#cssmenu.sidebar-menu ul ul li a:hover,
#cssmenu.sidebar-menu .sidebar-logout-link:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #e3ecf7 !important;
    text-decoration: none !important;
}
#cssmenu.sidebar-menu > .sidebar-shell > .sidebar-scroll > ul > li > a,
#cssmenu.sidebar-menu ul ul li a,
#cssmenu.sidebar-menu .sidebar-logout-link {
    color: #e3ecf7 !important;
    background: transparent !important;
}
#cssmenu.sidebar-menu ul ul {
    background: rgba(255,255,255,0.03) !important;
}
#cssmenu.sidebar-menu.sidebar-slim > .sidebar-shell > .sidebar-scroll > ul > li > ul {
    background: #121b28 !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 10px 12px 32px rgba(0,0,0,0.65) !important;
}
#cssmenu.sidebar-menu.sidebar-slim > .sidebar-shell > .sidebar-scroll > ul > li > ul ul {
    background: rgba(255,255,255,0.06) !important;
}
#cssmenu.sidebar-menu ul ul li,
#cssmenu.sidebar-menu ul ul li a {
    background: transparent !important;
    border-radius: 0 !important;
}
#cssmenu.sidebar-menu ul ul li a {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
#cssmenu.sidebar-menu ul ul li:last-child > a {
    border-bottom: 0 !important;
}
#cssmenu.sidebar-menu .submenu-button.submenu-opened {
    background: transparent !important;
}

@media all and (max-width: 1024px) {
    #cssmenu.sidebar-menu .submenu-button {
        border-left: 1px solid rgba(120, 120, 120, 0.2);
        background: transparent !important;
    }
    #cssmenu.sidebar-menu .submenu-button:after {
        content: none !important;
    }
    #cssmenu.sidebar-menu .submenu-button:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        margin-top: -5px;
        margin-left: -5px;
        border-right: 2px solid #cfe0f7;
        border-bottom: 2px solid #cfe0f7;
        background: transparent !important;
        transform: rotate(-45deg);
        transition: transform 180ms ease, border-color 180ms ease;
        display: block !important;
    }
    #cssmenu.sidebar-menu .submenu-button.submenu-opened:before {
        transform: rotate(45deg);
        margin-top: -7px;
    }
}

.tabmain {
    
    font-size: 14px;
    line-height: 1.3;
}

.tabmain-content{
    
    border-radius:1px;
    box-shadow:-1px 1px 1px rgba(0,0,0,0.15);
    background-color: #000000;

}

.tabmain-links a {
    
    color:#ffffff;
    font-size: 13px !important;
    margin-top: 5px;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 8px 4px !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap !important;
    width: auto !important;
    flex-shrink: 0;

}

.tabmain-links a:hover {
    text-decoration: none !important;
    color:#ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 8px 4px !important;
    white-space: nowrap !important;
    width: auto !important;
    flex-shrink: 0;
}

/* Överskriv hover för aktiva länkar så de inte får bakgrundsfärg från STHSMain.css */
.tabmain-links li.activemain a:hover,
li.activemain a:hover {
    background-color: transparent !important;
    background: transparent !important;
    color:#990000 !important;
    border-bottom: 3px solid #990000 !important;
}

.tabmain-links li.activemain a,
li.activemain a {

    color:rgb(190, 87, 3) !important;
    font-size: 13px !important;
    border-bottom: 3px solid rgb(190, 87, 3);
    padding-bottom: 2px;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    box-sizing: border-box;
    line-height: 1.2;
    white-space: nowrap !important;
    width: auto !important;
    flex-shrink: 0;
    background-color: transparent !important;

}

.tabmain-links li.activemain a:hover,
li.activemain a:hover {

    color:#990000 !important;
    font-size: 13px !important;
    border-bottom: 3px solid #990000 !important;
    background-color: transparent !important;
    background: transparent !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 8px 4px !important;
    white-space: nowrap !important;
    width: auto !important;
    flex-shrink: 0;

}

/* Allow li elements to grow with content but prevent overlap */
.tabmain-links li {
    width: auto !important;
    flex-shrink: 0;
    margin: 0px 3px !important;
}

/*Rubriker*/
h1, h2, h3, h4, h5, h6 {

    color:#ffffff;
    background-color: #00000000;

}

/*Team leaders lagsida + teamstats lagsida*/
.STHSPHPTeam_HomePrimaryTableLeadersTextTD {
    
    vertical-align:top;
    background-color:rgba(20, 20, 20, 0.6);
    padding:0px;
    border-style:solid;
    border-width:1px;
    border-color:#ccc;
    width:275px;

}
 
.STHSPHPTeam_HomePrimaryTableLeadersHeadshotTD {
    
    background-color:rgba(20, 20, 20, 0.6);
    width:100px;
    padding:0px;
    border-style:solid;
    border-width:1px;
    border-color:#ccc;
    width:140px;
}

.STHSPHPTeam_HomePrimaryTableLeadersTextPlayer {
        display:-webkit-inline-box;
        padding-left:15px;
        vertical-align:middle;
        font-size:20px;
        color:white;
        font-weight:normal;
    
    }

.STHSPHPTeam_HomePrimaryTableLeadersTextPlayer a {

        text-decoration: none;
    
    }

.STHSPHPTeam_HomePrimaryTableLeadersTextPlayer a:hover {

        text-decoration: underline;
    
    }   

.STHSPHPTeam_HomePrimaryTableLeadersTextResult {
            font-size: 50px;
            line-height: 100px;
            padding: 25px;
}

.STHSPHPTeam_HomePrimaryTableTeamStatTD {
    width: 25%;
    background-color:rgba(20, 20, 20, 0);
    text-align: center;
    height: 120px;
    border-color: #fff;
}

/*Entry draft*/
.STHSEntryDraft_MainTable {
    width: 50%;
    margin: auto;
    color: white;
    border-color: rgba(128, 128, 128, 0.322);
    border-width: 1px;
    border-style:solid;
    border-collapse: collapse;
            
    }        

.STHSEntryDraft_MainTable th {
    margin: auto;
    color: white;
    border-color: rgba(128, 128, 128, 0.322);
    border-width: 1px;
    border-style:solid;
    text-align:center;

}

.STHSEntryDraft_MainTable td {
    color: white;
    margin: auto;
    border-width: 1px;
    border-style:solid;
    padding-left: 10px;
    border-color: rgba(128, 128, 128, 0.322);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; 
    background-color: #00000000;
}

/*Teamstat tabell*/
.STHSPHPTeamStat_Table td, .STHSPHPTeamStat_Table th {
    border-width: 0.1px;
    border-style:solid;
    border-color: rgba(128, 128, 128, 0.5);
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color:#fff;
    padding: 0px 4px 0px 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; 
}

/*Depth Chart - samma bakgrundsfärg som Prospect (tablesorter)*/
.STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table {
    background-color: rgba(51, 51, 51, 0.459) !important;
}

.STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table td {
    background-color: rgba(51, 51, 51, 0.459) !important;
}

.STHSPHPTeamStatDepthChart_Table {
    background-color: rgba(51, 51, 51, 0.459) !important;
}

.STHSPHPTeamStatDepthChart_Table td {
    background-color: rgba(51, 51, 51, 0.459) !important;
    color: #fff;
    border-color: rgba(128, 128, 128, 0.5);
    border-width: 0.1px;
    border-style: solid;
}

.STHSPHPTeamStatDepthChart_Table th {
    background-color: rgb(116, 116, 116) !important;
    color: white;
    border-color: rgba(128, 128, 128, 0.5);
    border-width: 0.1px;
    border-style: solid;
}

.STHSPHPTeamStat_Table td a, .STHSPHPTeamStat_Table th a {

    color:white;
    text-decoration: none;
}

.STHSPHPTeamStat_Table td a:hover, .STHSPHPTeamStat_Table th a:hover {

    color:white;
    text-decoration: underline;
}

/*Box score*/
.STHSBoxScore_PeriodPerPeriod td {
    padding: 5px;
    vertical-align: top;
    color:white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px;
}

.STHSBoxScore_PeriodPerPeriod_Header {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    background-color: rgba(51, 51, 51, 0.459);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    padding-top: 15px;
    padding-bottom: 5px;
}

.STHSBoxScore_PeriodPerPeriod th {
    width: 50%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    padding-top: 15px;
    padding-bottom: 5px;
}

.STHSBoxScore_Lines_Table th, .STHSBoxScore_Lines_Table td {
        border-width: 0.1px;
        border-style:solid;
        border-color: rgba(128, 128, 128, 0.5);
        text-align: center;
        background-color: rgba(0, 0, 0, 0);
        color:#fff;
        padding: 0px 4px 0px 4px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
        font-size: 12px; 
}

.STHSBoxScore_TeamLine {
    text-align: center;
    color: white;

}



.STHSBoxScore_GoalsTeamName, .STHSBoxScore_ShotsTeamName, .STHSBoxScore_GoalsShotsMainTable {
    font-size: 14px;
    font-weight: bold;
    color: white;
} 

.tabmain-content {
    color: white;
    padding: 5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; 
    background-color: #ec070700;

}


.STHSBoxScore_MainDiv {
    border-radius: 1px;
    box-shadow: -1px 1px 1px rgba(0,0,0,0.15);
    border-style: solid;
    border-color: #dedede;
    margin: 6px;
    color: white;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/*Topp 5 på högersidan*/
.STHSIndex_Top5Table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid white;
    border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 5px;
    margin-bottom: 5px;
    margin-left:10px;
    background-color: #2a2a2a;

    
}

.STHSIndex_LeaderCard td {
    vertical-align: middle !important;
}

.STHSIndex_LeaderNameCell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.STHSIndex_Top5Table td > a {

    text-decoration: none;
    color: white;
}

.STHSIndex_Top5Table a:hover {

    text-decoration: underline;
}

.STHSIndex_Top5Table,
.STHSIndex_NewsDiv,
.STHSIndex_StandingCard,
.STHSIndex_TransactionSummaryTable,
.STHSIndex_TradeTable,
.STHSIndex_StarTable {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Unified index panel headers (Trades / News / Free Agents / Standings) */
.STHSIndex_TransactionTitle,
.STHSIndex_NewsPanelHeader,
.STHSIndex_Top20FreeAgents > tbody > tr:first-child > th.STHSTop5,
.STHSIndex_StandingTitle {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 0 14px !important;
    font-size: 1.02em !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: #f2f6fb;
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    vertical-align: middle;
}

.STHSIndex_NewsPanelHeader,
.STHSIndex_StandingTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.STHSIndex_TransactionTitle .STHSIndex_TransactionTitleBar,
.STHSIndex_Top20FreeAgents > tbody > tr:first-child > th .STHSIndex_TransactionTitleBar {
    height: 100%;
    min-height: 0;
}

.STHSIndex_TransactionTitleText,
.STHSIndex_StandingTitle {
    font-family: "Bebas Neue", TitilliumWeb, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
    color: #e8edf4;
}

.STHSIndex_StandingCard {
    padding: 0;
    overflow: hidden;
}

.STHSIndex_StandingTitle {
    margin: 0;
}


.STHSPHPIndexLeadersHeadshot {
    max-width: 50%;
    height: auto;
    margin-left: 60%;
    margin-right: 0px;
    border-radius: 50%;
    width: 80px;
    box-shadow: 0 2px 3px 1px #ddd;
    display: block;
    
}

.STHSIndex_Top20FreeAgents {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    -moz-border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    margin-left:10px;
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%);
}

.STHSIndex_Top20FreeAgents th,
.STHSIndex_Top20FreeAgents td {
    padding: 7px 8px;
    line-height: 1.25;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}

.STHSIndex_Top20FreeAgents tr:first-child th {
    font-size: 1.02em;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 14px;
    color: #f2f6fb;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAHeaderRow td {
    font-size: 11px;
    letter-spacing: .04em;
    font-weight: 700;
    text-transform: uppercase;
    color: #d5dde8;
    background: rgba(255, 255, 255, 0.06);
    padding-top: 6px;
    padding-bottom: 6px;
}

.STHSIndex_Top20FreeAgents tr:nth-child(n+3):nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.STHSIndex_Top20FreeAgents tr:nth-child(n+3):nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.STHSIndex_Top20FreeAgents tr:nth-child(n+3):hover {
    background: rgba(120, 170, 230, 0.08);
}

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

.STHSIndex_Top20FreeAgents .STHSIndex_FAColName {
    text-align: left;
    width: 42%;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAColName a {
    color: #e8eef7;
    text-decoration: none;
    font-weight: 600;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAColName a:hover {
    color: #b6d8ff;
    text-decoration: underline;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAColPos,
.STHSIndex_Top20FreeAgents .STHSIndex_FAColAge,
.STHSIndex_Top20FreeAgents .STHSIndex_FAColOverall {
    text-align: center;
    white-space: nowrap;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAColOverall {
    font-weight: 700;
    color: #f2f6fb;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAColLinks {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FAPos {
    display: inline-block;
    min-width: 2.2em;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #d7e7ff;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FALinks {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FALink {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(120, 170, 230, 0.14);
    border: 1px solid rgba(150, 195, 245, 0.28);
    color: #c9e0ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    line-height: 1.2;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FALink:hover {
    background: rgba(120, 170, 230, 0.28);
    border-color: rgba(180, 215, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FALink--nhl {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FALink--nhl:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.STHSIndex_Top20FreeAgents .STHSIndex_FALinkEmpty {
    color: rgba(255, 255, 255, 0.28);
    font-size: 12px;
}



/*Leaderboard */

.STHSPHPLeaderboard_TableTextTD {
    vertical-align: top;
    background-color: rgba(51, 51, 51, 0.459);
    padding: 0px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    width: 275px;
}

.STHSPHPLeaderboard_TableHeadshotTD {
    background-color: rgba(51, 51, 51, 0.459);
    width: 100px;
    padding: 0px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    width: 140px;
}

.STHSPHPLeaderboard_TableTextPlayer {
    display: -webkit-inline-box;
    vertical-align: middle;
    padding-left: 12px;
    font-size: 20px;
    color: white;
    font-weight: normal;
}

/*News på main*/
.STHSIndex_NewsDiv {
    vertical-align: top;
    text-align: left;
    border: 1px solid white;
    background-color: #2a2a2a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.2;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.STHSIndex_NewsPanelHeader {
    padding: 0 14px;
    font-size: 1.02em;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f2f6fb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.STHSIndex_NewsPanelBody {
    height: calc(100% - 40px);
    padding: 10px;
    box-sizing: border-box;
}

.STHSIndex_NewsPanelBody .STHSIndex_NewsCarousel {
    height: 100%;
}

.STHSIndex_NewsCreateLink {
    font-size: 12px;
    font-weight: 700;
    color: #d7e7ff;
    text-decoration: none;
    white-space: nowrap;
}

.STHSIndex_NewsCreateLink:hover {
    text-decoration: underline;
    color: #ffffff;
}

.STHSIndex_NewsLayout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 10px;
    height: 100%;
}

.STHSIndex_NewsMain {
    min-width: 0;
    height: 100%;
}

.STHSIndex_NewsSidebar {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(6, 9, 14, 0.5);
}

.STHSIndex_NewsSidebarTable {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.STHSIndex_NewsSidebarTable tbody tr {
    height: 10%;
}

.STHSIndex_NewsSidebarTable td {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.STHSIndex_NewsSidebarTable tbody tr:last-child td {
    border-bottom: none;
}

.STHSIndex_NewsSidebarLink {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    width: 100%;
    padding: 6px 8px;
    text-decoration: none;
    color: #e3ecf7;
    background: transparent;
    transition: background-color .18s ease, border-left-color .18s ease;
    border-left: 3px solid transparent;
    box-sizing: border-box;
    border: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.STHSIndex_NewsSidebarLink:hover {
    background: rgba(255, 255, 255, 0.08);
}

.STHSIndex_NewsSidebarLink.is-active {
    background: rgba(31, 111, 235, 0.28);
    border-left-color: #63adff;
    color: #fff;
}

.STHSIndex_NewsSidebarLogo {
    width: 24px;
    height: 24px;
    min-width: 24px;
    object-fit: contain;
    display: block;
}

.STHSIndex_NewsSidebarLogo--placeholder {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.STHSIndex_NewsSidebarTitle {
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

@media screen and (max-width: 900px) {
    .STHSIndex_NewsLayout {
        grid-template-columns: 1fr;
    }

    .STHSIndex_NewsSidebar {
        height: 240px;
    }
}

/* News view page polish */
.STHSNewsViewPage {
    padding: 20px 22px 28px 22px;
}

.STHSNewsViewContainer {
    max-width: 1240px;
    margin: 0 auto;
}

.STHSNewsViewHeader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.STHSNewsViewTitle {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    color: #f2f6fb;
    letter-spacing: 0.01em;
}

.STHSNewsViewSubtitle {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: #b9c7d8;
}

.STHSNewsViewActions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.STHSNewsViewArticle {
    background: linear-gradient(180deg, #242a32 0%, #1d242d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px 20px 12px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.STHSNewsViewArticle h2 {
    margin: 2px 0 10px 0;
    font-size: 30px;
    line-height: 1.2;
    color: #f7fbff;
    letter-spacing: 0.01em;
}

.STHSNewsViewArticle strong {
    color: #d4e1f0;
}

.STHSNewsViewArticle .ck-content {
    margin-top: 10px;
    color: #eef3f9;
    line-height: 1.7;
    font-size: 16px;
}

.STHSNewsViewArticle .ck-content p {
    margin: 0 0 0.95em 0;
}

.STHSNewsViewArticle .ck-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 14px auto;
    border-radius: 8px;
}

.STHSNewsViewArticle a {
    color: #9eccff;
}

.STHSNewsViewArticle hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 14px 0;
}

.STHSNewsViewArticle .STHSIndex_NewsReplyTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 10px 0 12px 0;
    background: rgba(8, 12, 18, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: visible;
}

.STHSNewsViewArticle .STHSIndex_NewsReplyTable td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.45;
}

.STHSNewsViewArticle .STHSIndex_NewsReplyTable tr:last-child td {
    border-bottom: none;
}

.STHSNewsViewArticle .STHSNewsReactionBar {
    margin: 8px 0 4px 0;
}

.STHSNewsViewArticle .STHSNewsReactionBar + .STHSNewsQuickCommentTrigger {
    margin-left: 10px;
}

.STHSNewsViewArticle > .STHSNewsReactionBar {
    margin: 10px 10px 12px 0;
    vertical-align: middle;
}

.STHSNewsViewArticle > .STHSNewsReactionBar + a {
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
}

.STHSNewsViewArticle .STHSNewsReactionBar--compact {
    display: inline-flex;
    margin-top: 10px;
}

.STHSNewsViewArticle .STHSNewsReactionBar--compact .STHSNewsReactionPicker {
    top: calc(100% + 8px);
    bottom: auto;
}

.STHSNewsViewArticle .STHSIndex_NewsReplyTable .STHSNewsReactionBar--compact {
    display: flex;
    margin-top: 14px;
    margin-bottom: 4px;
}

.STHSNewsReactionBar {
    position: relative;
}

.STHSNewsReactionPickerToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 2px 8px;
    min-width: 34px;
    min-height: 26px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.STHSNewsReactionPickerToggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.STHSNewsReactionPickerIcon {
    display: inline-block;
    line-height: 1;
}

.STHSNewsReactionPicker {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    min-width: 236px;
    background: rgba(12, 17, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    z-index: 30;
}

.STHSNewsReactionPicker[hidden] {
    display: none;
}

.STHSNewsReactionBar--compact .STHSNewsReactionPicker {
    right: auto;
    left: 0;
}

.STHSNewsReactionPickerItem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}

.STHSNewsReactionPickerItem:hover {
    background: rgba(31, 111, 235, 0.25);
    border-color: rgba(99, 173, 255, 0.85);
    transform: translateY(-1px);
}

/* Tooltip: vilka lag som reagerat */
.STHSNewsReactionTeamsTooltip {
    position: fixed;
    z-index: 100;
    max-width: 280px;
    padding: 8px 10px;
    background: rgba(18, 24, 32, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    color: #e8eef4;
    font-size: 13px;
    pointer-events: auto;
}
.STHSNewsReactionTeamsTooltip[hidden] {
    display: none !important;
}
.STHSNewsReactionTeamsTooltipTitle {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #b6d8ff;
}
.STHSNewsReactionTeamsTooltipList {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.STHSNewsQuickCommentTrigger {
    border: none;
    background: transparent;
    color: #b6d8ff;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
}

.STHSNewsQuickCommentTrigger:hover {
    text-decoration: underline;
}

.STHSNewsQuickCommentModal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.STHSNewsQuickCommentModal[hidden] {
    display: none !important;
}

.STHSNewsQuickCommentBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.STHSNewsQuickCommentDialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 20px));
    background: linear-gradient(180deg, #242a32 0%, #1d242d 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
}

.STHSNewsQuickCommentHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.STHSNewsQuickCommentHeader h3 {
    margin: 0;
    color: #f6fbff;
    font-size: 20px;
}

.STHSNewsQuickCommentClose {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.STHSNewsQuickCommentNewsTitle {
    font-size: 13px;
    color: #c7d6e7;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.STHSNewsQuickCommentInput {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(7, 11, 17, 0.75);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.STHSNewsQuickCommentInput:focus {
    outline: none;
    border-color: #63adff;
    box-shadow: 0 0 0 2px rgba(99, 173, 255, 0.22);
}

.STHSNewsQuickCommentFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.STHSNewsQuickCommentStatus {
    font-size: 13px;
    color: #ffd6d6;
    min-height: 18px;
}

@media screen and (max-width: 768px) {
    .STHSNewsViewPage {
        padding: 14px 10px 20px 10px;
    }

    .STHSNewsViewHeader {
        align-items: flex-start;
        flex-direction: column;
    }

    .STHSNewsViewTitle {
        font-size: 28px;
    }

    .STHSNewsViewArticle {
        padding: 14px 12px 10px 12px;
    }

    .STHSNewsViewArticle h2 {
        font-size: 24px;
    }
}



/*Färg på tables. Standings osv.*/
.tablesorter tbody td {

    background-color: #000000b4 !important;
    color: #fff;
    border-color: rgba(128, 128, 128, 0.5);
    border-width: 0.1px;
    border-style:solid;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; 

    
}

.tablesorter .header, .tablesorter .tablesorter-header  {
    background-color: #000000b4 !important;
    color: white;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 4px 20px 4px 4px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px;
    text-decoration: none;
    text-shadow: none;
}

.tablesorter input.tablesorter-filter, .tablesorter select.tablesorter-filter {
    width: 98%;
    height: auto;
    margin: 0;
    padding: 4px;
    background-color: #000000b4 !important;
    border: 1px solid white;
    color: white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: height 0.1s ease;
    -moz-transition: height 0.1s ease;
    -o-transition: height 0.1s ease;
    transition: height 0.1s ease;
}

.tablesorter .tablesorter-filter-row td {
    background-color: #000000b4 !important;
    line-height: normal;
    text-align: center;
    -webkit-transition: line-height 0.1s ease;
    -moz-transition: line-height 0.1s ease;
    -o-transition: line-height 0.1s ease;
    transition: line-height 0.1s ease;
}

.tablesorter a {

    color:white;
    text-decoration: none;
}

.tablesorter a:hover {

    text-decoration: underline;

}

.tablesorter .tablesorter-headerDesc, .tablesorter .tablesorter-headerAsc  {

    color:rgb(190, 87, 3);

}

.tablesorter tbody tr:hover {

    background-color: #00c3ffaf;
    
  }

  .tablesorter th, .tablesorter thead td {
    font-size: 12px;
    background-color: rgb(116, 116, 116);
    border-collapse: collapse;
    padding: 4px;
    text-shadow: none;
}




/*Spelarprofiler*/

/*@media (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
*/
.STHSPHPPlayerStat_Table{width:95%;margin:auto;border-width: 2px;border-style: solid;border-collapse: collapse;}


.STHSPHPPlayerStat_Tabmain-content{ 
    width:auto;
    color:white;
    border-radius:1px;
    box-shadow:-1px 1px 1px rgb(255, 255, 255);
    border-style: solid;
    border-color: #dedede; 
    border-radius: 10px; 
    -moz-border-radius: 10px;
    margin:10px;
}

.STHSPHPPlayerStat_Table th{
    border-width: 1px;
    border-style: solid;
    text-align:center;
    background-color: rgb(71, 71, 71);
    color:white;
    padding: 0px 4px 0px 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; 
    line-height:1.4;
}

.STHSPHPPlayerStat_Table td{
    border-width: 1px;
    border-style: solid;
    text-align:center;
    color:white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; 
    line-height:1.4;
    background-color: #555555 !important;
}

.STHSPHPPlayerStat_TabHeader{
    text-align:center;
    font-size:20px;
    color:white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: medium; 
}

.STHSPHPPlayerStat_PlayerNameHeader{
    text-align:center;
    font-size:24px;
    color:white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Base max-width for player stat pages */
.STHSPHPPlayerStat_Main {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 1200px) {
    .STHSPHPPlayerStat_PlayerNameHeader {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .STHSPHPPlayerStat_Main {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

@media screen and (min-width: 1600px) {
    .STHSPHPPlayerStat_PlayerNameHeader {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .STHSPHPPlayerStat_Main {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

.STHSPHPReportTeamImage {
    width: 160px;
    height: 160px;
}

.STHSPHPPlayerReportHeadshot {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
    width: 220px;
    box-shadow: none;
    border: none;
}

.STHSPHPPlayerMugShot {
    width: 100%;
    table-layout: fixed;
}

.STHSPHPPlayerMugShot td:first-child {
    text-align: center;
    vertical-align: middle;
    padding-left: 0;
    width: 200px;
}

.STHSPHPPlayerMugShot td:nth-child(2) {
    text-align: left;
    vertical-align: top;
    padding-left: 5px;
    padding-right: 40px;
    width: 350px;
}

.STHSPHPPlayerMugShot td:nth-child(3) {
    text-align: left;
    vertical-align: top;
    padding-left: 5px;
    padding-right: 40px;
    width: 200px;
}

.STHSPHPPlayerMugShot td:nth-child(4) {
    text-align: center;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
    width: 240px;
}

.STHSPHPPlayerMugShot .player-info-line {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.STHSPHPPlayerMugShot .player-info-label {
    font-weight: bold;
    margin-right: 5px;
}

.STHSPHPPlayerMugShot .player-info-line img {
    vertical-align: middle;
    margin-left: 5px;
}

.player-name-header {
    font-size: 42px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.position-badge {
    display: inline-block;
    background-color: rgba(190, 87, 3, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Game Log section background */
#tabmain10 {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
}

/* Team Log section background - same as Game Log */
#tabmain14 {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
}

/* All other tabmain sections - same background as Game Log */
#tabmain0,
#tabmain1,
#tabmain2,
#tabmain3,
#tabmain5,
#tabmain6,
#tabmain7,
#tabmain9,
#tabmain11,
#tabmain12,
#tabmain13 {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
}

.STHSPHPTeam_HomeDiv {
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    color: #e8edf4;
}

/* Team Home tables use same visual language as StandingCard */
.STHSPHPTeam_HomeDiv .STHSPHPTeamStat_Table {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-collapse: collapse;
    background: rgba(10, 14, 20, 0.25);
    color: #e8edf4;
}

.STHSPHPTeam_HomeDiv .STHSPHPTeamStat_Table th {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #d5dde8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    font-weight: 700;
}

.STHSPHPTeam_HomeDiv .STHSPHPTeamStat_Table td {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.STHSPHPTeam_HomeDiv .STHSPHPTeamStat_Table tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.03);
}

.STHSPHPTeam_HomeDiv .STHSPHPTeamStat_Table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.01);
}

.STHSPHPTeam_HomeDiv .STHSPHPTeamStatDepthChart_Table,
.STHSPHPTeam_HomeDiv .STHSPHPTeamStatDepthChart_Table td {
    background: rgba(10, 14, 20, 0.25) !important;
    color: #e8edf4 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.STHSPHPTeam_HomeDiv .STHSPHPTeamStatDepthChart_Table th {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #d5dde8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Prospect table under Depth: same StandingCard theme */
.STHSPHPTeam_HomeDiv .STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(10, 14, 20, 0.25) !important;
    color: #e8edf4 !important;
}

.STHSPHPTeam_HomeDiv .STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table th {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #d5dde8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.STHSPHPTeam_HomeDiv .STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table td {
    background: transparent !important;
    color: #e8edf4 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.STHSPHPTeam_HomeDiv .STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.STHSPHPTeam_HomeDiv .STHSTeamProspect_DraftPick ~ .STHSPHPTeamStat_Table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.01) !important;
}

/* Today's Games page styling to match Team HomeDiv appearance */
.STHSTodayGame_MainDiv {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: -1px 1px 1px rgb(255, 255, 255);
    border-style: solid;
    border-color: #dedede;
    border-width: 1px;
}

/* Team Salary Cap Detail page styling to match ProTeam roster tables */
.STHSTeamSalaryCapDetail_MainDiv {
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: #e8edf4;
}

/* Center Contract and Cap % columns */
.STHSPHPTeamSalaryCapDetail_Table tbody td:nth-child(6),
table.STHSPHPTeamSalaryCapDetail_Table tbody td:nth-child(6),
.STHSPHPTeamSalaryCapDetail_Table tbody td:nth-child(7),
table.STHSPHPTeamSalaryCapDetail_Table tbody td:nth-child(7) {
    text-align: center !important;
}

/* UFA and RFA color styling */
.STHSPHPTeamSalaryCapDetail_Table td.STHSTeamSalaryCapDetail_UFA,
table.STHSPHPTeamSalaryCapDetail_Table td.STHSTeamSalaryCapDetail_UFA,
.STHSTeamSalaryCapDetail_UFA {
    background-color: #f44336 !important;
    text-align: center !important;
    font-weight: bold;
    color: #fff !important;
}

.STHSPHPTeamSalaryCapDetail_Table td.STHSTeamSalaryCapDetail_RFA,
table.STHSPHPTeamSalaryCapDetail_Table td.STHSTeamSalaryCapDetail_RFA,
.STHSTeamSalaryCapDetail_RFA {
    background-color: #4caf50 !important; /* Changed to green */
    text-align: center !important;
    font-weight: bold;
    color: #fff !important;
}

/* Add / remove salary buttons - geometric centered icons */
.STHSTeamSalaryCapDetail_UFA .btn-add-salary,
td.STHSTeamSalaryCapDetail_UFA .btn-add-salary,
.STHSTeamSalaryCapDetail_RFA .btn-add-salary,
td.STHSTeamSalaryCapDetail_RFA .btn-add-salary,
.STHSTeamSalaryCapDetail_Custom .btn-add-salary,
td.STHSTeamSalaryCapDetail_Custom .btn-add-salary,
.STHSTeamSalaryCapDetail_Custom .btn-remove-salary,
td.STHSTeamSalaryCapDetail_Custom .btn-remove-salary {
    position: relative !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    margin: 0 0 0 6px !important;
    border: 1px solid rgba(255,255,255,0.45) !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.28) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.STHSTeamSalaryCapDetail_Custom .btn-remove-salary,
td.STHSTeamSalaryCapDetail_Custom .btn-remove-salary {
    background: #e53935 !important;
}

.STHSTeamSalaryCapDetail_UFA .btn-add-salary:hover,
td.STHSTeamSalaryCapDetail_UFA .btn-add-salary:hover,
.STHSTeamSalaryCapDetail_RFA .btn-add-salary:hover,
td.STHSTeamSalaryCapDetail_RFA .btn-add-salary:hover,
.STHSTeamSalaryCapDetail_Custom .btn-add-salary:hover,
td.STHSTeamSalaryCapDetail_Custom .btn-add-salary:hover {
    background: rgba(0,0,0,0.42) !important;
}

.STHSTeamSalaryCapDetail_Custom .btn-remove-salary:hover,
td.STHSTeamSalaryCapDetail_Custom .btn-remove-salary:hover {
    background: #c62828 !important;
}

/* Trade + Transaction containers (exact same shell theme) */
.STHSTrade_MainDiv,
.STHSTransaction_MainDiv {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1280px !important;
    color: #e8edf4;
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 10px auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.12);
    border-width: 1px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Beat Menu.php body > * { max-width: none !important } so cards stay inside the content lane */
body > .STHSTrade_MainDiv:not(#cssmenu),
body > .STHSTransaction_MainDiv:not(#cssmenu) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.STHSTrade_MainDiv table,
.STHSTrade_MainDiv td,
.STHSTrade_MainDiv th,
.STHSTrade_MainDiv select,
.STHSTrade_MainDiv input,
.STHSTrade_MainDiv textarea,
.STHSTrade_MainDiv button,
.STHSTransaction_MainDiv table,
.STHSTransaction_MainDiv td,
.STHSTransaction_MainDiv th,
.STHSTransaction_MainDiv select,
.STHSTransaction_MainDiv input,
.STHSTransaction_MainDiv textarea,
.STHSTransaction_MainDiv button {
    font-family: inherit;
}

.STHSTrade_MainDiv h1,
.STHSTransaction_MainDiv h1 {
    color: #f2f6fb;
    margin: 6px 0 14px 0;
}

#MainTradeDiv > h1.trade-center-title,
.STHSTrade_MainDiv > h1.trade-center-title {
    align-items: center;
    background: transparent !important;
    box-sizing: border-box;
    color: #e8edf4 !important;
    display: flex;
    font-family: "Bebas Neue", TitilliumWeb, sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    justify-content: center;
    letter-spacing: 1.2px;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

#MainTradeDiv > h1.trade-center-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 0 8px 0 !important;
}

.STHSTrade_MainDiv .STHSTableFullW {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10, 14, 20, 0.25);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.STHSTrade_MainDiv .STHSTableFullW td {
    color: #e8edf4;
}

.STHSTransaction_MainDiv .STHSPHPTradeLogHistory_Table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10, 14, 20, 0.25);
}

.STHSTransaction_MainDiv .STHSPHPTradeLogHistory_Table td,
.STHSTransaction_MainDiv .STHSPHPTradeLogHistory_Table th {
    color: #e8edf4;
}

.STHSTransaction_MainDiv .tablesorter_Output {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid rgba(102, 170, 255, 0.65);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(45, 118, 206, 0.38) 0%, rgba(27, 78, 146, 0.5) 100%);
    color: #eaf3ff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.STHSTrade_MainDiv .STHSPHPTradeType {
    background: rgba(255, 255, 255, 0.06);
    color: #d5dde8;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px 8px;
}

.STHSTrade_MainDiv .STHSPHPTradeTeamName {
    font-size: 1.15em;
    font-weight: 700;
    color: #f2f6fb;
    padding: 10px 12px;
}

.STHSTrade_MainDiv hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.STHSTrade_MainDiv .STHSPHPTradeAssetRow {
    padding-left: 10px;
}

/* Trade matchup layout (Confirm / Pending / Index / History) */
.STHSTrade_MatchupTable {
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.STHSTrade_MatchupTable col.STHSTrade_ColSide {
    width: 50%;
}

.STHSTrade_MatchupTable col.STHSTrade_ColDivider {
    width: 0;
}

.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side {
    position: relative;
    z-index: 1;
    width: 50%;
    vertical-align: top;
    overflow: hidden;
    padding: 22px 28px;
    min-height: 132px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.STHSTrade_MatchupTable .STHSTrade_Side--from {
    border-right: none;
    box-shadow: inset -22px 0 34px -24px rgba(99, 173, 255, 0.4);
}

.STHSTrade_MatchupTable .STHSTrade_Side--to {
    box-shadow: inset 22px 0 34px -24px rgba(99, 173, 255, 0.4);
}

.STHSTrade_MatchupTable .STHSTrade_DividerCell {
    position: relative;
    width: 0;
    min-width: 0;
    max-width: 0;
    padding: 0 !important;
    margin: 0;
    border: none;
    background: transparent;
    overflow: visible;
    vertical-align: middle;
    z-index: 6;
}

.STHSTrade_MatchupTable .STHSTrade_DividerLine {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    border-radius: 2px;
    background: linear-gradient(
        180deg,
        rgba(99, 173, 255, 0) 0%,
        rgba(99, 173, 255, 0.55) 18%,
        rgba(158, 210, 255, 0.95) 50%,
        rgba(99, 173, 255, 0.55) 82%,
        rgba(99, 173, 255, 0) 100%
    );
    box-shadow:
        0 0 6px 1px rgba(99, 173, 255, 0.55),
        0 0 16px 3px rgba(99, 173, 255, 0.28),
        0 0 28px 6px rgba(99, 173, 255, 0.12);
    pointer-events: none;
}

.STHSTrade_MatchupTable .STHSTrade_DividerSwap {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #f2f8ff;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter:
        drop-shadow(0 0 4px rgba(99, 173, 255, 0.95))
        drop-shadow(0 0 12px rgba(99, 173, 255, 0.55))
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
}

.STHSTrade_MatchupTable .STHSTrade_DividerSwap svg {
    width: 38px;
    height: 34px;
    display: block;
    overflow: visible;
}

.STHSTrade_MatchupTable .STHSTrade_SideWatermark {
    position: absolute;
    top: 50%;
    height: 220px;
    width: auto;
    max-width: none;
    opacity: 0.11;
    filter: grayscale(1);
    pointer-events: none;
    z-index: 0;
    transform: translateY(-50%);
}

.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideWatermark {
    left: -48px;
}

.STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideWatermark {
    right: -48px;
}

.STHSTrade_MatchupTable .STHSTrade_SideInner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 100%;
}

.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideInner {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    padding-right: 10px;
}

.STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideInner {
    align-items: flex-start;
    text-align: left;
    margin-right: auto;
    padding-left: 10px;
}

.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamName {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 0 6px 0;
    margin: 0;
    font-size: 1.35em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamImage {
    width: 42px;
    height: 42px;
    padding: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.STHSTrade_MatchupTable .STHSTrade_SideAssets {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideAssets {
    align-items: flex-end;
}

.STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideAssets {
    align-items: flex-start;
}

.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeAssetRow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    color: #d7e2ef;
}

.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeAssetLogo {
    margin-right: 0;
}

.STHSTrade_MatchupTable .STHSTrade_Condition {
    opacity: 0.78;
    font-size: 0.92em;
    font-style: italic;
}

.STHSTrade_MainDiv .STHSDivInformationMessage,
.STHSTrade_MainDiv .STHSTrade_EmptyMessage,
.STHSIndex_TradeTable .STHSTrade_EmptyMessage {
    color: #c5d0de !important;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.45;
    padding: 18px 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.STHSTrade_MainDiv .STHSTrade_EmptyCell {
    background: transparent !important;
    padding: 8px !important;
    text-transform: none;
}

.STHSTrade_MatchupTable .STHSTrade_HistoryDate,
.STHSIndex_TradeTable .STHSIndex_TransactionDate {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c7d4e4;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 12px !important;
}

/* Compact matchup on homepage trade card */
.STHSIndex_TradeTable.STHSTrade_MatchupTable col.STHSTrade_ColDivider {
    width: 0;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side {
    padding: 14px 16px 20px 16px !important;
    min-height: 100px;
    vertical-align: top !important;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side--from {
    padding-right: 22px !important;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side--to {
    padding-left: 22px !important;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_SideInner {
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
}

/* Mirror left content so logos sit near the divider, matching the right side. */
.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSPHPTradeTeamName,
.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSPHPTradeAssetRow {
    flex-direction: row-reverse;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamName {
    font-size: 1.1em;
    min-height: 40px;
    height: 40px;
    gap: 8px;
    align-items: center;
    line-height: 1;
    box-sizing: border-box;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamImage {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_DividerCell {
    width: 0;
    min-width: 0;
    max-width: 0;
    overflow: visible;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_SideWatermark {
    height: 140px;
    opacity: 0.1;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideWatermark {
    left: -36px;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideWatermark {
    right: -36px;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeAssetRow {
    font-size: 12px;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_DividerSwap {
    width: 34px;
    height: 34px;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_DividerSwap svg {
    width: 28px;
    height: 26px;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_DividerLine {
    top: 8px;
    bottom: 8px;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideInner {
    padding-right: 0;
    margin-right: 0;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideInner {
    padding-left: 0;
    margin-left: 0;
}

.STHSIndex_TradeTable.STHSTrade_MatchupTable .STHSTrade_SideAssets {
    padding-bottom: 6px;
}

.STHSIndex_TradeSpacer td {
    height: 16px;
    padding: 0 !important;
    border: none !important;
    background: transparent;
}

.STHSTransaction_MainDiv .STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable {
    overflow: hidden;
}

.STHSTransaction_MainDiv .STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable > tbody > tr.STHSTrade_MatchupRow > td,
.STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable .STHSTrade_Side,
.STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable .STHSTrade_DividerCell {
    text-align: inherit;
}

.STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side {
    padding-bottom: 26px !important;
}

.STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable .STHSTrade_DividerCell {
    padding-bottom: 0 !important;
}

.STHSPHPTradeLogHistory_Table.STHSTrade_MatchupTable .STHSTrade_HistoryDate {
    text-align: center !important;
}

.STHSTrade_HistorySpacer td {
    height: 22px;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

@media screen and (max-width: 900px) {
    .STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side {
        padding: 16px 14px;
        min-height: 110px;
    }

    .STHSTrade_MatchupTable .STHSTrade_SideWatermark {
        height: 170px;
        opacity: 0.08;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideWatermark {
        left: -36px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideWatermark {
        right: -36px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamName {
        font-size: 1.2em;
        gap: 8px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamImage {
        width: 36px;
        height: 36px;
    }

    .STHSTrade_MatchupTable .STHSTrade_DividerSwap {
        width: 36px;
        height: 36px;
    }

    .STHSTrade_MatchupTable .STHSTrade_DividerSwap svg {
        width: 30px;
        height: 28px;
    }

    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW {
        max-width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .STHSTrade_MainDiv,
    .STHSTransaction_MainDiv,
    body > .STHSTrade_MainDiv:not(#cssmenu),
    body > .STHSTransaction_MainDiv:not(#cssmenu) {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .STHSTrade_MatchupTable,
    .STHSTrade_MainDiv .STHSTableFullW {
        width: 100%;
        max-width: 100%;
    }

    .STHSTrade_MatchupTable .STHSTrade_MatchupRow > .STHSTrade_Side {
        padding: 12px 10px;
        min-height: 96px;
    }

    .STHSTrade_MatchupTable .STHSTrade_SideWatermark {
        height: 120px;
        opacity: 0.06;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideWatermark {
        left: -24px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideWatermark {
        right: -24px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side--from .STHSTrade_SideInner {
        padding-right: 4px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side--to .STHSTrade_SideInner {
        padding-left: 4px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamName {
        font-size: 1.05em;
        min-height: 40px;
        gap: 6px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeTeamImage {
        width: 30px;
        height: 30px;
    }

    .STHSTrade_MatchupTable .STHSTrade_Side .STHSPHPTradeAssetRow {
        font-size: 12px;
    }

    .STHSTrade_MatchupTable .STHSTrade_DividerLine {
        top: 10px;
        bottom: 10px;
    }

    .STHSTrade_MatchupTable .STHSTrade_DividerSwap {
        width: 32px;
        height: 32px;
    }

    .STHSTrade_MatchupTable .STHSTrade_DividerSwap svg {
        width: 26px;
        height: 24px;
    }
}

.STHSTrade_MainDiv .STHSCenter .STHSTableFullW .STHSPHPTradeType a.SubmitButton {
    display: inline-block;
    margin: 8px 0;
}

.STHSTrade_MainDiv .STHSCenter .STHSTableFullW tr + tr .STHSPHPTradeType {
    padding-top: 14px;
    padding-bottom: 14px;
}

#MainTradeDiv .STHSCenter {
    padding: 6px 6px 2px 6px;
}

#MainTradeDiv .STHSCenter form#Team .STHSTableFullW {
    max-width: 860px;
    margin: 0 auto;
    border: none;
    background: transparent;
    box-shadow: none;
}

#MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType {
    background: transparent;
    padding: 12px 8px !important;
}

#MainTradeDiv .STHSCenter form#Team th.STHSPHPTradeType {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #c7d4e4;
    text-transform: uppercase;
    font-weight: 700;
}

#MainTradeDiv .STHSCenter form#Team .STHSTrade_TeamSelectLabel {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #c7d4e4;
    text-transform: uppercase;
    font-weight: 700;
    background: transparent;
    padding: 0 0 8px 0 !important;
    text-align: center;
}

#MainTradeDiv .STHSCenter form#Team .STHSTrade_TeamSelectCell {
    vertical-align: top;
    text-align: center;
    padding: 8px 12px;
}

#MainTradeDiv .STHSCenter form#Team select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(7, 11, 17, 0.75);
    color: #eef4fb;
    font-size: 14px;
}

#MainTradeDiv .STHSCenter form#Team select:focus {
    outline: none;
    border-color: #63adff;
    box-shadow: 0 0 0 2px rgba(99, 173, 255, 0.2);
}

/* ProTeam depth chart position selectors:
   match Trade select theme but keep compact table-friendly size */
.STHSPHPTeamStat_Main .depth-position-selector {
    width: 72px !important;
    min-height: 26px;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(7, 11, 17, 0.75);
    color: #eef4fb;
    font-size: 11px !important;
    line-height: 1.15;
    vertical-align: middle;
    box-sizing: border-box;
}

.STHSPHPTeamStat_Main .depth-position-selector:focus {
    outline: none;
    border-color: #63adff;
    box-shadow: 0 0 0 2px rgba(99, 173, 255, 0.2);
}

#MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType a.SubmitButton,
#MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType input.SubmitButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(280px, 100%);
    height: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(102, 170, 255, 0.65);
    background: linear-gradient(180deg, rgba(45, 118, 206, 0.38) 0%, rgba(27, 78, 146, 0.5) 100%);
    color: #eaf3ff !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    transition: all .16s ease;
}

#MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType a.SubmitButton:hover,
#MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType input.SubmitButton:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(62, 134, 221, 0.5) 0%, rgba(31, 90, 166, 0.62) 100%);
    text-decoration: none;
}

/* Trade Center mobile: stack and center selectors + buttons */
@media screen and (max-width: 700px) {
    #MainTradeDiv .STHSCenter {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW,
    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW tbody,
    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW tr,
    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW th,
    #MainTradeDiv .STHSCenter form#Team .STHSTableFullW td {
        display: block;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center !important;
    }

    #MainTradeDiv .STHSCenter form#Team th.STHSPHPTradeType {
        padding-bottom: 6px !important;
    }

    #MainTradeDiv .STHSCenter form#Team .STHSTrade_TeamSelectCell {
        padding: 0 0 16px 0 !important;
    }

    #MainTradeDiv .STHSCenter form#Team .STHSTrade_TeamSelectLabel {
        padding: 0 0 8px 0 !important;
        margin: 0 auto;
        max-width: 360px;
    }

    #MainTradeDiv .STHSCenter form#Team td {
        padding: 0 0 14px 0 !important;
    }

    #MainTradeDiv .STHSCenter form#Team select,
    #MainTradeDiv .STHSCenter form#Team .STHSW250 {
        display: block !important;
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    #MainTradeDiv .STHSCenter form#Team td.STHSPHPTradeType {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    #MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType a.SubmitButton,
    #MainTradeDiv .STHSCenter form#Team .STHSPHPTradeType input.SubmitButton {
        display: inline-flex !important;
        width: min(280px, 100%) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Make Game Log summary more compact vertically */
#gameLogSummary {
    margin-top: 15px !important;
}

#gameLogSummary h3 {
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

#gameLogSummary h4 {
    margin-bottom: 5px !important;
    margin-top: 0 !important;
}

#gameLogSummary > div {
    margin-bottom: 10px !important;
}

#gameLogSummary .STHSPHPPlayerStat_Table {
    margin-bottom: 8px !important;
}

#gameLogSummary div[style*="margin-top"] {
    margin-top: 10px !important;
    padding-top: 8px !important;
}

/*Sökfunktion*/

.STHSPHPSearch_Field {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: white;
}

.STHSW200 {
    
    color:white;

}

/*Trade history*/
.STHSPHPTradeLogHistory_Table:not(.STHSTrade_MatchupTable) td,
.STHSPHPTradeLogHistory_Table:not(.STHSTrade_MatchupTable) th {
    color:white;
}

.STHSPHPTradeLogHistory_Table:not(.STHSTrade_MatchupTable) th {
    font-size: 20px;
    text-align:center;padding:20px; 
    margin:12px;
}

.STHSPHPTradeLogHistory_Table:not(.STHSTrade_MatchupTable) td {
    font-size: 13px;
    text-align:center;
    padding-bottom:10px;
}

.STHSPHPTradeLogHistoryTeamImage { 
    width:42px;
    height:42px;
    padding-left:0px;
    padding-right:8px;
    vertical-align:middle
}

.STHSPHPTradeLogHistoryTeamImageIndex {
    width:24px;
    height:24px;
    padding-left:0px;
    padding-right:8px;
    vertical-align:middle
    
}




/*Team records*/

.STHSRecordTable {

    color:white;

}


/*Todays games*/

.STHSTodayGame_MainTable, .STHSTodayGame_MainTable td {
    background-color: #00000000 !important;

    color: white;
}

.STHSTodayGame_GameOverall {
    width: auto;
    vertical-align: top;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgb(255, 255, 255);
    background-color: #00000000;
    border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 5px;
    margin-bottom: 5px;
}

.STHSTodayGame_Boxscore a {
    color:rgb(190, 87, 3);
    text-decoration: none;
}

.STHSTodayGame_Boxscore a:hover {
    text-decoration: underline;
}

/*Legacy pages*/

table.basictablesorter tbody td, table.basictablesorter thead tr th {
    background-color: #000000b4 !important;
    color:white;
    border-width: 0.1px;
    border-style:solid;
    border-color: rgba(128, 128, 128, 0.5);
}

table.basictablesorter tbody a {

    color: white;
    text-decoration: none;
}

table.basictablesorter tbody a:hover {

    text-decoration: underline;
}

.STHSTopLink a, h1 a {
    color:rgb(190, 87, 3);
    text-decoration: none;
}

.STHSTopLink a:hover, h1 a:hover {
    color: white;
    text-decoration: underline;
}

.STHSFinance_TeamTable td {
    border-width: 0.1px;
    border-style:solid;
    border-color: rgba(128, 128, 128, 0.5);
}

/*Show/hide columns*/
.tablesorter_ColumnSelector {
    background-color: #000000 !important;
    color: white;
}

.tablesorter_ColumnSelector label {
    background-color: #00000000 !important;
    color: white;
}


.FilterTip, .FilterTip th, .FilterTip td, .FilterTip tr {
    background-color: #000000 !important;
    color: white;
    border-width: 0.1px;
    border-style:solid;
    border-color: rgba(128, 128, 128, 0.5);
}

button {

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px
}

/*Login knapp och meny*/
.STHSPHP_Login {
    right: 115px;
    top: 60px;
    position: absolute;
    overflow: visible;
    width: 150px;
    white-space: nowrap;
    line-height: 20px;
    margin-top: -3px;
    text-align: right;
    font-style: normal;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 14px;
    font-size: 14px;
}

.STHSPHPLoginButton, a.STHSPHPLoginButton {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    text-decoration: none;
    border: none;
    background: rgba(52,54,56,1);
    border: #888 1px solid;
    color: rgba(255,255,255,1);
    border-radius: 12px;
    padding: 3px 15px 3px 15px;
}

#cssmenuLogin ul ul li a {
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
    padding: 11px 15px;
    width: 200px;
    font-size: 15px;
    text-decoration: none;
    font-weight: 400;
    background: black;
    color: white;
    z-index: 1;
}


.STHSPHPTeam_HomePrimaryTableTeamInfoTriangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: white transparent transparent transparent;
    margin: auto;
    color: #ffffff;
}


/*Trades*/

.STHSPHPTradeTeamName {
    padding-left: 0;
    font-size: 24px;
    line-height: normal;
}

.STHSPHPTradeAssetRow {
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.STHSPHPTradeAssetLogo {
    width: 20px;
    height: 20px;
    vertical-align: -4px;
    margin-right: 6px;
    object-fit: contain;
}

@media screen and (max-width: 992px)  {


    .STHSPHPPlayerStat_Table {
        font-size: smaller;
        width:100%;
    }

    .STHSPHPPlayerStat_Table th{
        border-width: 1px;
        border-style: solid;
        text-align:center;
        background-color: rgb(71, 71, 71);
        color:white;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
        font-size: smaller;
        line-height:1;
    }
    
    .STHSPHPPlayerStat_Table td {
        border-width: 1px;
        border-style: solid;
        text-align:center;
        color:white;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
        font-size: smaller; 
        line-height:1;
    }

    .STHSPHPPlayerStat_Tabmain-content{ 
        width:98%;
        
    }
    
    .STHSPHPPlayerStat_PlayerNameHeader{
        text-align:center;
        font-size:20px;
        color:white;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
        line-height:normal;
    }
    
    .player-name-header {
        font-size: 28px;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    
    .STHSPHPPlayerMugShot {
        display: block;
        width: 100%;
    }
    
    .STHSPHPPlayerMugShot tr {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    /* Första kolumnen (laglogotyp) - högst upp till vänster */
    .STHSPHPPlayerMugShot td:first-child {
        display: inline-block;
        width: auto !important;
        padding: 10px 10px 10px 0 !important;
        text-align: left !important;
        flex: 0 0 auto;
        order: 1;
    }
    
    /* Andra kolumnen (spelarinfo vänster) - flyttas ned */
    .STHSPHPPlayerMugShot td:nth-child(2) {
        display: block;
        width: 100% !important;
        padding: 10px 5px !important;
        text-align: left !important;
        order: 3;
    }
    
    /* Tredje kolumnen (spelarinfo höger) - flyttas ned */
    .STHSPHPPlayerMugShot td:nth-child(3) {
        display: block;
        width: 100% !important;
        padding: 10px 5px !important;
        text-align: left !important;
        order: 4;
    }
    
    /* Fjärde kolumnen (headshot) - högst upp bredvid laglogotypen, vänsterjusterad */
    .STHSPHPPlayerMugShot td:nth-child(4) {
        display: inline-block;
        width: auto !important;
        padding: 10px 10px 10px 0 !important;
        text-align: left !important;
        flex: 0 0 auto;
        order: 2;
    }
    
    .STHSPHPReportTeamImage {
        width: 80px;
        height: 80px;
        margin: 0;
        display: block;
    }
    
    .STHSPHPPlayerReportHeadshot {
        width: 100px !important;
        height: auto !important;
        margin: 0;
        display: block;
    }
    
    .position-badge {
        font-size: 11px;
        padding: 3px 10px;
        display: inline-block;
        margin: 5px 0;
    }
    
    .STHSPHPPlayerMugShot .player-info-line {
        font-size: 12px;
        margin: 4px 0;
        justify-content: flex-start;
    }


    .STHSPHPTeamStat_Table {
        width: 98%;

    }

    .STHSPHPTeamStat_Main {
        width: auto;
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

/* Standing page styling */
.STHSStanding_MainDiv {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* News Management page styling */
.STHSNewsManagement_MainDiv {
    max-width: 1240px;
    margin: 0 auto;
}

.STHSNewsManagementPage {
    padding: 20px 22px 28px 22px;
}

.STHSNewsManagementHeader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.STHSNewsManagementTitle {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    color: #f2f6fb;
    letter-spacing: 0.01em;
}

.STHSNewsManagementSubtitle {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: #b9c7d8;
}

.STHSNewsManagementActions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.STHSNewsManagementCreateDb {
    text-align: center;
    margin: 10px 0 14px 0;
}

.STHSNewsManagementCard {
    background: linear-gradient(180deg, #242a32 0%, #1d242d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px 20px 14px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.STHSNewsManagementCreateTitle,
.STHSNewsManagementSectionTitle {
    margin: 0 0 12px 0;
    color: #f7fbff;
    letter-spacing: 0.01em;
}

.STHSNewsManagementCreateTitle {
    text-align: center;
}

.STHSNewsManagementSectionTitle {
    font-size: 28px;
    line-height: 1.2;
}

.STHSPHPNewsMangement_Table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10, 14, 20, 0.25);
}

.STHSPHPNewsMangement_Table thead th {
    background: rgba(255, 255, 255, 0.08);
    color: #e6eef8;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px 8px;
}

.STHSPHPNewsMangement_Table td {
    padding: 8px 8px;
    color: #eaf1f9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.STHSPHPNewsMangement_Table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.STHSPHPNewsMangement_Table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.STHSPHPNewsMangement_Table tbody tr:last-child td {
    border-bottom: none;
}

.STHSPHPNewsMangement_Table a {
    color: #9eccff;
    text-decoration: none;
}

.STHSPHPNewsMangement_Table a:hover {
    text-decoration: underline;
}

.STHSNewsManagementMassDelete {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(8, 12, 18, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #dce8f6;
}

.STHSNewsManagementMassDelete input[type="number"] {
    margin-left: 8px;
    max-width: 140px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: #121821;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .STHSIndex_Main {
        padding-top: 5px;
    }

    .STHSIndex_Main > tbody,
    .STHSIndex_Main > tbody > tr {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .STHSIndex_Main > tbody > tr > td.STHSIndex_Top5,
    .STHSIndex_Main > tbody > tr > td.STHSIndex_NewsTD {
        display: contents;
    }

    .STHSIndex_Main > tbody > tr > td.STHSIndex_NewsTD > br {
        display: none !important;
    }

    .STHSIndex_NewsDiv {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px 0;
    }

    .STHSIndex_TransactionCards {
        order: 2;
        width: 100%;
        margin: 0 0 12px 0;
    }

    .STHSIndex_Top20FreeAgents {
        order: 3;
        width: 100%;
        margin: 0 0 12px 0 !important;
    }

    .STHSIndex_StandingsGrid {
        display: contents;
    }

    .STHSIndex_StandingsGrid > .STHSIndex_StandingCard:nth-child(1) {
        order: 4;
        width: 100%;
        margin: 0 0 12px 0;
    }

    .STHSIndex_StandingsGrid > .STHSIndex_StandingCard:nth-child(2) {
        order: 5;
        width: 100%;
        margin: 0 0 12px 0;
    }

    .STHSIndex_StandingsLegend {
        order: 6;
        width: 100%;
        margin: 0 0 12px 0;
    }

    .STHSIndex_Top5TableImage,
    .STHSIndex_LeaderCards,
    .STHSIndex_StarTable,
    .STHSIndex_TransactionSummaryRow {
        display: none !important;
    }

    .STHSIndex_Top5 .STHSIndex_Top5Table,
    .STHSIndex_LeaderCards .STHSIndex_Top5Table,
    .STHSIndex_StarTable {
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 900px) {
    .STHSIndex_NewsDiv {
        height: auto !important;
    }

    .STHSIndex_NewsPanelBody {
        height: auto;
    }

    .STHSIndex_NewsLayout {
        height: auto;
        grid-template-columns: 1fr;
    }

    .STHSIndex_NewsMain {
        height: clamp(360px, 55vh, 520px);
    }

    .STHSIndex_NewsSidebar {
        height: 220px;
        overflow: auto;
    }

    .STHSNewsCardBody {
        min-height: 0;
        max-height: 50%;
    }
}

@media screen and (max-width: 600px) {
    .STHSIndex_NewsMain {
        height: clamp(320px, 50vh, 440px);
    }

    .STHSNewsCardTitle {
        font-size: 20px;
    }

    .STHSNewsCardActions {
        gap: 10px;
        font-size: 12px;
    }

    .STHSIndex_NewsPanelBody {
        padding: 6px;
    }
}

    .STHSPHPDraftPickTeamImage {
        width: 30px;
        height: 30px;
        padding-left: 0px;
        padding-right: 8px;
        vertical-align: middle;
    }

    /* Headshot regler redan definierade ovan */
    


    .STHSPortraitOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 0%;
        height: 0%;
        background-color: #e74d3c00;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0px;
        display: none;
        z-index: 1000;
        text-align: center;
        border-radius: 0px;
        padding: 0px;
        box-sizing: border-box;
    }

    /* Tab links - smaller screens */
    .tabmain-links a {
        font-size: 12px !important;
        padding: 8px 3px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    li.activemain a {
        font-size: 12px !important;
        padding: 8px 3px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    li.activemain a:hover {
        font-size: 12px !important;
        padding: 8px 3px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    .tabmain-links li {
        margin: 0px 2px !important;
        width: auto !important;
        flex-shrink: 0;
    }

}

/* Extra small screens (phones) */
@media screen and (max-width: 768px) {
    .tabmain-links a {
        font-size: 11px !important;
        padding: 8px 2px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    li.activemain a {
        font-size: 11px !important;
        padding: 8px 2px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    li.activemain a:hover {
        font-size: 11px !important;
        padding: 8px 2px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    .tabmain-links li {
        margin: 0px 1px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    .STHSNewsManagementPage {
        padding: 14px 10px 20px 10px;
    }

    .STHSNewsManagementHeader {
        align-items: flex-start;
        flex-direction: column;
    }

    .STHSNewsManagementTitle {
        font-size: 28px;
    }

    .STHSNewsManagementCard {
        padding: 14px 12px 10px 12px;
    }

    .STHSNewsManagementSectionTitle {
        font-size: 24px;
    }

    .STHSPHPNewsMangement_Table thead th,
    .STHSPHPNewsMangement_Table td {
        padding: 7px 6px;
        font-size: 12px;
    }
}

/* CKEditor editable content area - same background as other sections */
.ck-editor__editable,
.ck-content {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

.STHSHotColdIcon {
    font-size: 1.2em;
    vertical-align: middle;
    line-height: 1;
}

/* Final topbar lock: full-width, solid, always visible on desktop */
@media only screen and (min-width: 1025px) {
    body {
        padding-top: var(--global-topbar-height, 78px) !important;
    }

    .STHSPHPMenuDiv {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: var(--global-topbar-height, 78px) !important;
        height: var(--global-topbar-height, 78px) !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #111922 !important;
        opacity: 1 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        z-index: 10000 !important;
        overflow: hidden !important;
    }

    .STHSPHPMenuDiv > .STHSPHPMenuTeamsRow {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: var(--global-topbar-height, 78px) !important;
        margin: 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        background: transparent !important;
        z-index: auto !important;
    }
}

/* =========================================================
   Player Report redesign (dark card, hero + bars + tiles)
   ========================================================= */

/* Shared outer card width — must beat Menu.php sidebar rule:
   body > *:not(#cssmenu)... { max-width: none !important; } */
body > .STHSPHPPlayerStat_PlayerNameHeader:not(#cssmenu),
body > .STHSPHPPlayerStat_Main:not(#cssmenu) {
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}
.STHSPHPPlayerStat_PlayerNameHeader,
.STHSPHPPlayerStat_Main {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ---- Zone 1: hero (top card) ---- */
.STHSPHPPlayerStat_PlayerNameHeader {
    position: relative;
    text-align: left;
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 auto;
    box-sizing: border-box;
    color: #e8edf4;
}
.STHSPRC_Hero { position: relative; overflow: hidden; }
.STHSPRC_HeroWatermark {
    position: absolute;
    right: -50px; top: 50%;
    transform: translateY(-50%);
    height: 150%;
    opacity: 0.06;
    filter: grayscale(1);
    pointer-events: none;
    z-index: 0;
}
.STHSPRC_Hero::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 46%;
    background: linear-gradient(115deg, rgba(99,173,255,0) 0%, rgba(99,173,255,0.10) 55%, rgba(99,173,255,0.22) 100%);
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 0;
}
.STHSPRC_HeroInner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 22px 26px 0 26px;
    min-height: 300px;
}
.STHSPRC_HeroLeft { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-bottom: 92px; }
.STHSPRC_HeroTeam { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.STHSPRC_HeroTeamLogo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5)); }
.STHSPRC_HeroTeamName { font-size: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #ffffff; }
.STHSPRC_HeroName { display: flex; align-items: center; gap: 16px; line-height: 0.98; margin-bottom: 12px; }
.STHSPRC_HeroJersey {
    flex: 0 0 auto;
    font-size: clamp(42px, 6.5vw, 78px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #63adff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    line-height: 0.9;
}
.STHSPRC_HeroNameText { display: flex; flex-direction: column; min-width: 0; }
.STHSPRC_HeroFirst { display: block; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: #dfe8f4; }
.STHSPRC_HeroLast { display: block; font-size: clamp(34px, 5.2vw, 60px); font-weight: 900; letter-spacing: 0.01em; text-transform: uppercase; color: #f6f9ff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.STHSPRC_HeroMeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #c7d3e2; text-transform: uppercase; letter-spacing: 0.03em; }
.STHSPRC_HeroMetaItem + .STHSPRC_HeroMetaItem::before { content: "|"; margin-right: 10px; color: rgba(255,255,255,0.28); }
.STHSPRC_HeroCountry { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.STHSPRC_HeroFlag { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; vertical-align: middle; }
.STHSPRC_HeroPosBadge { background: #63adff; color: #08121f; font-weight: 800; font-size: 12px; letter-spacing: 0.05em; padding: 4px 11px; border-radius: 6px; text-transform: uppercase; }
.STHSPRC_HeroRetired { color: #ffb4b4; font-weight: 800; }
.STHSPRC_HeroRight { position: relative; flex: 0 0 auto; display: flex; align-items: flex-end; min-height: 220px; padding-right: 48px; }
.STHSPRC_HeroPhoto { position: relative; z-index: 1; height: 300px; width: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.5)); }
.STHSPRC_HeroNumber { position: absolute; top: 2px; right: 54px; z-index: 0; font-size: clamp(46px, 7vw, 92px); font-weight: 900; line-height: 0.8; color: rgba(99,173,255,0.20); pointer-events: none; text-align: right; }
.STHSPRC_HeroNumberLbl { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.22em; color: rgba(158,204,255,0.55); margin-top: 2px; }

/* ---- Lower card (bars + tiles + footer) ---- */
.STHSPHPPlayerStat_Main > br { display: none; }
.STHSPlayerReportLower {
    --prc-accent: #63adff;
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    overflow: hidden;
    color: #e8edf4;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

/* Zone 2: Contract band — sits at the bottom of the hero, slanted right edge,
   so the hero photo/background shows behind it all the way down (like the template) */
.STHSPRC_ContractBand {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 62%;
    background: linear-gradient(180deg, #0d131b 0%, #080c12 100%);
    padding: 15px 104px 15px 26px;
    clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 100%, 0 100%);
    box-shadow: 8px 0 22px rgba(0,0,0,0.45);
    border-top: 1px solid rgba(99,173,255,0.18);
}
.STHSPRC_ContractItem { display: flex; align-items: center; gap: 13px; }
a.STHSPRC_ContractItem--link {
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}
a.STHSPRC_ContractItem--link:hover {
    background: rgba(99,173,255,0.10);
    text-decoration: none;
}
a.STHSPRC_ContractItem--link .STHSPRC_ContractVal { color: #9eccff; }
a.STHSPRC_ContractItem--link:hover .STHSPRC_ContractVal { color: #c5e0ff; }
.STHSPRC_ContractDivider { width: 1px; align-self: stretch; background: rgba(255,255,255,0.12); margin: 2px 12px; }
.STHSPRC_IcoBox {
    width: 42px; height: 42px;
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(99,173,255,0.14);
    color: var(--prc-accent);
}
.STHSPRC_IcoBox svg { width: 22px; height: 22px; }
.STHSPRC_ContractText { display: flex; flex-direction: column; line-height: 1.15; }
.STHSPRC_ContractLbl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fa3ba; }
.STHSPRC_ContractVal { font-size: 22px; font-weight: 800; color: #f6f9ff; }

/* Zone 3: Ratings section (two-column bars) */
.STHSPRC_Body { padding: 4px 26px 18px 26px; }
.STHSPRC_SectionTitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f2f6fb;
    margin: 16px 0 16px 0;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--prc-accent);
}
.STHSPRC_Mid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 46px; }
.STHSPRC_RateCol { display: flex; flex-direction: column; gap: 13px; }
.STHSPRC_Bar { display: flex; align-items: center; gap: 11px; }
.STHSPRC_BarLabel {
    flex: 0 0 118px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #cdd8e6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.STHSPRC_BarTrack { flex: 1 1 auto; height: 9px; border-radius: 6px; background: rgba(255,255,255,0.10); overflow: hidden; }
.STHSPRC_BarFill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #3a7fd0, #63adff); }
.STHSPRC_BarVal { flex: 0 0 auto; min-width: 26px; text-align: right; font-weight: 800; font-size: 16px; color: #f6f9ff; }
.STHSPRC_BarRank { flex: 0 0 auto; min-width: 36px; text-align: left; font-size: 11px; color: #7f93a9; font-weight: 600; }

/* Rate tiers: bronze <70, silver <80, gold <90, diamond >=90 */
.STHSPRC_Bar--bronze .STHSPRC_BarFill { background: linear-gradient(90deg, #8a5a2b, #c98a4a); }
.STHSPRC_Bar--bronze .STHSPRC_BarVal { color: #d4a574; }
.STHSPRC_Bar--silver .STHSPRC_BarFill { background: linear-gradient(90deg, #7a8794, #c5d0db); }
.STHSPRC_Bar--silver .STHSPRC_BarVal { color: #d5dde6; }
.STHSPRC_Bar--gold .STHSPRC_BarFill { background: linear-gradient(90deg, #c9921a, #ffd56a); }
.STHSPRC_Bar--gold .STHSPRC_BarVal { color: #ffd56a; }
.STHSPRC_Bar--diamond .STHSPRC_BarFill { background: linear-gradient(90deg, #4ec7e8, #b8f0ff); box-shadow: 0 0 8px rgba(120, 220, 255, 0.35); }
.STHSPRC_Bar--diamond .STHSPRC_BarVal { color: #b8f0ff; }
.STHSPRC_Bar--overall .STHSPRC_BarLabel { font-weight: 800; letter-spacing: 0.05em; }

/* Zone 4: info tiles */
.STHSPRC_TileGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    background: #0c1219;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 26px;
}
.STHSPRC_Tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 14px 10px;
}
.STHSPRC_TileIco {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(99,173,255,0.12);
    color: var(--prc-accent);
}
.STHSPRC_TileIco svg { width: 20px; height: 20px; }
.STHSPRC_TileLbl { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #8fa3ba; }
.STHSPRC_TileVal { font-size: 15px; font-weight: 700; color: #eef3fa; display: flex; align-items: center; gap: 5px; justify-content: center; }
.STHSPRC_TileFlag { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; vertical-align: middle; }
.STHSPRC_TileStar { color: gold; }

/* Zone 5: footer (two parts) */
.STHSPRC_Footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: #08101a;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 26px;
}
.STHSPRC_FooterCol { display: flex; align-items: center; gap: 14px; min-width: 0; }
.STHSPRC_FooterIco {
    width: 46px; height: 46px;
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--prc-accent);
    color: #08121f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.STHSPRC_FooterIco svg { width: 22px; height: 22px; }
.STHSPRC_FooterText { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.STHSPRC_FooterTitle { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #f2f6fb; }
.STHSPRC_FooterSub { font-size: 13px; color: #c7d3e2; }
.STHSPRC_FooterSub strong { color: #7fe0a0; }
.STHSPRC_FooterSub strong.STHSPRC_StatusGood { color: #7fe0a0; }
.STHSPRC_FooterSub strong.STHSPRC_StatusBad { color: #ff6b6b; }
.STHSPRC_FooterSub a { color: #9eccff; text-decoration: none; }
.STHSPRC_FooterSub a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media screen and (max-width: 900px) {
    .STHSPRC_Mid { grid-template-columns: 1fr; gap: 12px; }
    .STHSPRC_Footer { grid-template-columns: 1fr; }
    .STHSPRC_HeroPhoto { height: 220px; }
    .STHSPRC_HeroRight { padding-right: 28px; min-height: 180px; }
    .STHSPRC_HeroNumber { right: 34px; }
    .STHSPRC_HeroInner { gap: 14px; }
}
@media screen and (max-width: 600px) {
    .STHSPRC_HeroInner { flex-wrap: wrap; padding: 18px 16px; min-height: 0; }
    .STHSPRC_HeroLeft { padding-bottom: 0; }
    .STHSPRC_HeroRight { width: 100%; justify-content: center; min-height: 0; padding-right: 16px; }
    .STHSPRC_HeroPhoto { height: 180px; }
    .STHSPRC_HeroNumber { right: 16px; }
    .STHSPRC_HeroJersey { font-size: 48px; }
    /* Band becomes a normal full-width strip on phones */
    .STHSPRC_ContractBand {
        position: static;
        max-width: none;
        width: 100%;
        clip-path: none;
        flex-wrap: wrap;
        padding: 14px 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        box-shadow: none;
    }
    .STHSPRC_Body, .STHSPRC_TileGrid, .STHSPRC_Footer { padding-left: 16px; padding-right: 16px; }
    .STHSPRC_BarLabel { flex-basis: 92px; }
    .STHSPRC_ContractVal { font-size: 18px; }
}

/* =========================================================
   Player Report — integrate the tab section into the dark card look
   ========================================================= */
/* The tab section is a seamless continuation of the lower card (one unit) */
.STHSPHPPlayerStat_Main .tabsmain.standard {
    position: relative;
    width: 100%;
    margin: 0 0 16px 0;
    background: linear-gradient(180deg, #1e242d 0%, #1a1f27 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 10px 16px 14px 16px;
    box-sizing: border-box;
}

/* Tab buttons */
.STHSPHPPlayerStat_Main .tabmain-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 0 0 8px 0 !important;
    margin: 0 !important;
    gap: 6px;
    grid-template-columns: none !important;
}
.STHSPHPPlayerStat_Main .tabmain-links li {
    width: auto !important;
    float: none !important;
    grid-column: auto !important;
    margin: 0 !important;
}
.STHSPHPPlayerStat_Main .tabmain-links li:first-of-type {
    grid-column: auto !important;
}
.STHSPHPPlayerStat_Main .tabmain-links a {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #c7d3e2;
    border-radius: 9px;
    font-weight: 700;
    font-size: 13px !important;
    padding: 7px 12px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: auto !important;
    transition: all 0.15s ease;
}
.STHSPHPPlayerStat_Main .tabmain-links a:hover {
    background: rgba(99,173,255,0.14) !important;
    color: #ffffff !important;
    border-color: rgba(99,173,255,0.45) !important;
    border-bottom: 1px solid rgba(99,173,255,0.45) !important;
}
.STHSPHPPlayerStat_Main .tabmain-links li.activemain a,
.STHSPHPPlayerStat_Main .tabmain-links li.activemain a:hover {
    background: rgba(99,173,255,0.20) !important;
    color: #ffffff !important;
    border: 1px solid #63adff !important;
    border-bottom: 3px solid #63adff !important;
    font-size: 13px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 7px 12px !important;
}

/* Tab section title inside player report */
.STHSPHPPlayerStat_Main .STHSPHPPlayerStat_TabHeader {
    text-align: left;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fa3ba !important;
    margin: 0 0 10px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    font-family: inherit;
}

/* Tab content wrapper → transparent; the tabsmain card is the single container */
.STHSPHPPlayerStat_Tabmain-content {
    background: rgba(0,0,0,0.14) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 12px !important;
    color: #e8edf4;
}

/* Inner tab panels: transparent so the wrapper is the single card */
.STHSPHPPlayerStat_Tabmain-content .tabmain {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Section titles inside the tabs */
.STHSPHPPlayerStat_Tabmain-content .STHSPHPPlayerStat_TableTitle,
.STHSPHPPlayerStat_Tabmain-content .STHSPHPPlayerStat_SubTitle {
    color: #f2f6fb !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =========================================================
   Player/Goalie Report tab tables → ThemeTable look
   ========================================================= */
.STHSPHPPlayerStat_Main {
    --prc-table-text: #e8edf4;
    --prc-table-link: #d7e7ff;
    --prc-table-border: rgba(255,255,255,0.12);
    --prc-table-head-bg: rgba(255,255,255,0.08);
    --prc-table-row-odd: rgba(20,26,34,0.92);
    --prc-table-row-even: rgba(16,21,29,0.92);
    --prc-table-row-hover: rgba(99,173,255,0.14);
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--prc-table-border) !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%) !important;
    color: var(--prc-table-text) !important;
    box-shadow: none !important;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table th,
.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) th,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) td {
    padding: 7px 10px !important;
    line-height: 1.25;
    vertical-align: middle;
    border: 1px solid var(--prc-table-border) !important;
    font-size: 13px;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table th,
.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table thead td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) th,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) thead td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) .header,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) .tablesorter-header {
    font-weight: 600 !important;
    color: var(--prc-table-text) !important;
    background-color: var(--prc-table-head-bg) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) td {
    color: var(--prc-table-text) !important;
    background-color: var(--prc-table-row-even) !important;
    opacity: 1 !important;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table tr:nth-child(odd) td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) tbody tr:nth-child(odd) td {
    background-color: var(--prc-table-row-odd) !important;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table tr:nth-child(even) td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) tbody tr:nth-child(even) td {
    background-color: var(--prc-table-row-even) !important;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table tr:hover td,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) tbody tr:hover td {
    background-color: var(--prc-table-row-hover) !important;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table a,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) a {
    color: var(--prc-table-link) !important;
    text-decoration: none;
}
.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table a:hover,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) a:hover {
    text-decoration: underline;
}

.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table thead tr:first-child th:first-child,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) thead tr:first-child th:first-child {
    border-top-left-radius: 14px;
}
.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table thead tr:first-child th:last-child,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) thead tr:first-child th:last-child {
    border-top-right-radius: 14px;
}
.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table tr:last-child td:first-child,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) tbody:last-of-type tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}
.STHSPHPPlayerStat_Main .tabmain table.STHSPHPPlayerStat_Table tr:last-child td:last-child,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter:not(.STHSPRC_CCTable) tbody:last-of-type tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}

/* Separator / static rows inside tablesorter */
.STHSPHPPlayerStat_Main .tabmain table.tablesorter tbody.tablesorter-no-sort th,
.STHSPHPPlayerStat_Main .tabmain table.tablesorter tbody.tablesorter-no-sort td {
    background-color: rgba(255,255,255,0.10) !important;
    color: var(--prc-table-text) !important;
    border-color: var(--prc-table-border) !important;
    font-weight: 700;
}
.STHSPHPPlayerStat_Main .tabmain table.tablesorter tbody.tablesorter-no-sort tr > th[colspan],
.STHSPHPPlayerStat_Main .tabmain table.tablesorter tbody.tablesorter-no-sort tr > td[colspan] {
    background-color: rgba(20,26,34,0.96) !important;
    color: #e8edf4 !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
    border-bottom: 1px solid rgba(255,255,255,0.16) !important;
}

/* Column selector buttons match the dark card */
.STHSPHPPlayerStat_Main .tablesorter_ColumnSelectorButton {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    color: #e8edf4 !important;
    border-radius: 8px !important;
}

/* =========================================================
   Contract card (CapWages-style) inside the Information tab
   ========================================================= */
.STHSPRC_ContractCard {
    background: linear-gradient(180deg, #0e1621 0%, #0a121c 100%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 22px 26px 26px 26px;
    color: #e8edf4;
    box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}

/* Top summary stats */
.STHSPRC_CCTop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.STHSPRC_CCStat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.STHSPRC_CCStatLbl {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: #8fa3ba; font-weight: 700;
}
.STHSPRC_CCStatVal { font-size: 22px; font-weight: 800; color: #ffffff; line-height: 1.1; }
.STHSPRC_CCStatSub { font-size: 12px; color: #8fa3ba; font-weight: 600; margin-top: 2px; }

/* Expiry status */
.STHSPRC_CCExpiry { display: flex; align-items: center; gap: 10px; }
.STHSPRC_CCExpiryYear { font-size: 20px; font-weight: 800; color: #ffffff; }
.STHSPRC_CCBadge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px;
    padding: 3px 10px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}
.STHSPRC_CCBadge--ufa { color: #ff8a8a; background: rgba(255,80,80,0.12); border-color: rgba(255,80,80,0.5); }
.STHSPRC_CCBadge--rfa { color: #ffd27f; background: rgba(255,180,60,0.12); border-color: rgba(255,180,60,0.5); }
.STHSPRC_CCBadge--elc { color: #8fe0a0; background: rgba(80,220,130,0.12); border-color: rgba(80,220,130,0.5); }

/* Meta row */
.STHSPRC_CCMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.STHSPRC_CCMetaItem { display: flex; align-items: baseline; gap: 10px; }
.STHSPRC_CCMetaLbl {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: #8fa3ba; font-weight: 700;
}
.STHSPRC_CCMetaVal { font-size: 15px; font-weight: 700; color: #eef3fa; }

/* Per-year breakdown table */
.STHSPRC_CCTableWrap { overflow-x: auto; margin-top: 18px; }
table.STHSPRC_CCTable {
    width: max-content !important;
    max-width: 100%;
    border-collapse: collapse;
    background: transparent !important;
    border: none !important;
    table-layout: auto;
}
table.STHSPRC_CCTable th,
table.STHSPRC_CCTable td {
    text-align: right;
    padding: 12px 18px;
    font-size: 15px;
    color: #e8edf4 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    white-space: nowrap;
}
table.STHSPRC_CCTable .STHSPRC_CCRowHead,
table.STHSPRC_CCTable thead th:first-child {
    text-align: left;
    padding-left: 0;
    padding-right: 28px;
}
table.STHSPRC_CCTable thead th {
    color: #9fb2c8 !important;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.16) !important;
    background: transparent !important;
}
table.STHSPRC_CCTable tbody tr:last-child td { border-bottom: none !important; }
table.STHSPRC_CCTable .STHSPRC_CCRowHead {
    text-align: left;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cfe0f5 !important;
    font-size: 13px;
}
.STHSPRC_CCFlag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffd27f;
    background: rgba(255,180,60,0.14);
    border: 1px solid rgba(255,180,60,0.35);
}

/* Next contract block */
.STHSPRC_CCNext { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.10); }
.STHSPRC_CCNextTitle {
    font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: #f2f6fb; margin-bottom: 14px;
}
.STHSPRC_CCNextGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px 26px;
}
.STHSPRC_CCNextGrid .STHSPRC_CCStatVal { font-size: 17px; }

@media screen and (max-width: 600px) {
    .STHSPRC_ContractCard { padding: 16px; }
    .STHSPRC_CCStatVal { font-size: 19px; }
    .STHSPRC_CCMeta { gap: 10px 24px; }
}

/* =========================================================
   Shared ThemeTable look (ProTeam style) for league tables
   ========================================================= */
.STHSPlayerRoster_MainDiv,
.STHSGoalieRoster_MainDiv,
.STHSCoaches_MainDiv,
.STHSTeamsAndGMInfo_MainDiv,
.STHSPlayerInfo_MainDiv,
.STHSFinance_MainDiv,
.STHSPowerRanking_MainDiv,
table.tablesorter.STHSPHPTeam_ThemeTable {
    --proteam-table-text: #e8edf4;
    --proteam-table-link: #d7e7ff;
    --proteam-table-border: rgba(255, 255, 255, 0.12);
    --proteam-table-head-bg: rgba(255, 255, 255, 0.08);
    --proteam-table-row-odd: rgba(20, 26, 34, 0.92);
    --proteam-table-row-even: rgba(16, 21, 29, 0.92);
    --proteam-table-row-hover: rgba(99, 173, 255, 0.14);
}

.STHSPlayerRoster_MainDiv,
.STHSGoalieRoster_MainDiv,
.STHSCoaches_MainDiv,
.STHSTeamsAndGMInfo_MainDiv,
.STHSPlayerInfo_MainDiv,
.STHSFinance_MainDiv,
.STHSPowerRanking_MainDiv {
    color: var(--proteam-table-text);
}

table.tablesorter.STHSPHPTeam_ThemeTable {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--proteam-table-border) !important;
    border-radius: 14px;
    -moz-border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #242a32 0%, #1e242d 100%) !important;
    color: var(--proteam-table-text) !important;
    box-shadow: none !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable th,
table.tablesorter.STHSPHPTeam_ThemeTable td {
    padding: 7px 10px !important;
    line-height: 1.25;
    vertical-align: middle;
    border-color: var(--proteam-table-border) !important;
    font-size: 12px;
}

table.tablesorter.STHSPHPTeam_ThemeTable td {
    color: var(--proteam-table-text) !important;
    background-color: var(--proteam-table-row-even) !important;
    opacity: 1 !important;
}

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

table.tablesorter.STHSPHPTeam_ThemeTable thead tr:first-child th:first-child {
    border-top-left-radius: 14px;
}

table.tablesorter.STHSPHPTeam_ThemeTable thead tr:first-child th:last-child {
    border-top-right-radius: 14px;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody:last-of-type tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody:last-of-type tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}

table.tablesorter.STHSPHPTeam_ThemeTable th,
table.tablesorter.STHSPHPTeam_ThemeTable thead td,
table.tablesorter.STHSPHPTeam_ThemeTable .header,
table.tablesorter.STHSPHPTeam_ThemeTable .tablesorter-header {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--proteam-table-text) !important;
    background-color: var(--proteam-table-head-bg) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable .tablesorter-headerAsc,
table.tablesorter.STHSPHPTeam_ThemeTable .tablesorter-headerDesc {
    color: #9ec8ff !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody tr:nth-child(odd) td {
    background-color: var(--proteam-table-row-odd) !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody tr:nth-child(even) td {
    background-color: var(--proteam-table-row-even) !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody tr:hover {
    background-color: transparent !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody tr:hover td {
    background-color: var(--proteam-table-row-hover) !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody td a,
table.tablesorter.STHSPHPTeam_ThemeTable tbody td span,
table.tablesorter.STHSPHPTeam_ThemeTable tbody td div {
    color: var(--proteam-table-text) !important;
    opacity: 1 !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable a {
    color: var(--proteam-table-link) !important;
    text-decoration: none;
}

table.tablesorter.STHSPHPTeam_ThemeTable a:hover {
    text-decoration: underline;
    color: #ffffff !important;
}

/* Separator / static rows (e.g. Finance totals) */
table.tablesorter.STHSPHPTeam_ThemeTable tbody.tablesorter-no-sort th,
table.tablesorter.STHSPHPTeam_ThemeTable tbody.tablesorter-no-sort td {
    background-color: rgba(255, 255, 255, 0.10) !important;
    color: var(--proteam-table-text) !important;
    border-color: var(--proteam-table-border) !important;
    font-weight: 700;
    letter-spacing: .02em;
}

table.tablesorter.STHSPHPTeam_ThemeTable tbody.tablesorter-no-sort tr > th[colspan],
table.tablesorter.STHSPHPTeam_ThemeTable tbody.tablesorter-no-sort tr > td[colspan] {
    background-color: rgba(20, 26, 34, 0.96) !important;
    color: #e8edf4 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    text-align: left !important;
    padding: 7px 12px !important;
}

/* Filter row / inputs */
table.tablesorter.STHSPHPTeam_ThemeTable .tablesorter-filter-row td {
    background-color: rgba(10, 14, 20, 0.75) !important;
    border-color: var(--proteam-table-border) !important;
    padding: 6px 4px !important;
}

table.tablesorter.STHSPHPTeam_ThemeTable input.tablesorter-filter,
table.tablesorter.STHSPHPTeam_ThemeTable select.tablesorter-filter {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: var(--proteam-table-text) !important;
    border-radius: 6px;
}

table.tablesorter.STHSPHPTeam_ThemeTable input.tablesorter-filter:focus,
table.tablesorter.STHSPHPTeam_ThemeTable select.tablesorter-filter:focus {
    outline: none;
    border-color: rgba(150, 195, 245, 0.45) !important;
    background-color: rgba(255, 255, 255, 0.09) !important;
}

.STHSPlayerRoster_MainDiv .tablesorter_ColumnSelectorButton,
.STHSPlayerRoster_MainDiv .tablesorter_Output,
.STHSGoalieRoster_MainDiv .tablesorter_ColumnSelectorButton,
.STHSGoalieRoster_MainDiv .tablesorter_Output,
.STHSCoaches_MainDiv .tablesorter_ColumnSelectorButton,
.STHSCoaches_MainDiv .tablesorter_Output,
.STHSTeamsAndGMInfo_MainDiv .tablesorter_ColumnSelectorButton,
.STHSTeamsAndGMInfo_MainDiv .tablesorter_Output,
.STHSPlayerInfo_MainDiv .tablesorter_ColumnSelectorButton,
.STHSPlayerInfo_MainDiv .tablesorter_Output,
.STHSFinance_MainDiv .tablesorter_ColumnSelectorButton,
.STHSFinance_MainDiv .tablesorter_Output,
.STHSPowerRanking_MainDiv .tablesorter_ColumnSelectorButton,
.STHSPowerRanking_MainDiv .tablesorter_Output {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #e8edf4 !important;
    border-radius: 8px !important;
}

/* Ledarsektionens rubrik: självlysande NHL-crest i samma stil som trade-avdelaren */
.STHSIndex_Top5TableImage {
    text-align: center;
}

.STHSIndex_LeadersBanner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 10px 14px 10px;
    min-height: 68px;
}

.STHSIndex_LeadersBanner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 4%;
    right: 4%;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(99, 173, 255, 0) 0%, rgba(99, 173, 255, 0.55) 18%, rgba(158, 210, 255, 0.95) 50%, rgba(99, 173, 255, 0.55) 82%, rgba(99, 173, 255, 0) 100%);
    box-shadow: 0 0 6px 1px rgba(99, 173, 255, 0.55), 0 0 16px 3px rgba(99, 173, 255, 0.28), 0 0 28px 6px rgba(99, 173, 255, 0.12);
    pointer-events: none;
}

.STHSIndex_LeadersBannerChip {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 9px 26px;
    border: 1px solid rgba(99, 173, 255, 0.35);
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(24, 34, 50, 0.98) 0%, rgba(22, 31, 46, 0.94) 65%, rgba(22, 31, 46, 0.78) 100%);
    box-shadow: 0 0 20px rgba(99, 173, 255, 0.18), inset 0 0 14px rgba(99, 173, 255, 0.1);
}

/* Loggan har genomskinliga marginaler i filen: negativ margin kapar bort dem utan att klippa glöden */
.STHSIndex_LeadersBannerCrest {
    display: block;
    width: auto;
    height: 44px;
    margin: 0 -30px;
    filter: drop-shadow(0 0 5px rgba(120, 190, 255, 0.6)) drop-shadow(0 0 14px rgba(99, 173, 255, 0.4)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}

.STHSIndex_LeadersBannerTitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 1.05em;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #eaf4ff;
    text-shadow: 0 0 6px rgba(99, 173, 255, 0.75), 0 0 18px rgba(99, 173, 255, 0.35);
}

@media all and (max-width: 640px) {
    .STHSIndex_LeadersBannerChip {
        gap: 10px;
        padding: 7px 16px;
    }

    .STHSIndex_LeadersBannerCrest {
        height: 36px;
        margin: 0 -25px;
    }

    .STHSIndex_LeadersBannerTitle {
        font-size: 0.92em;
        letter-spacing: 0.1em;
    }
}

.STHSPlayerRoster_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSPlayerRoster_MainDiv .tablesorter_Output:hover,
.STHSGoalieRoster_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSGoalieRoster_MainDiv .tablesorter_Output:hover,
.STHSCoaches_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSCoaches_MainDiv .tablesorter_Output:hover,
.STHSTeamsAndGMInfo_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSTeamsAndGMInfo_MainDiv .tablesorter_Output:hover,
.STHSPlayerInfo_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSPlayerInfo_MainDiv .tablesorter_Output:hover,
.STHSFinance_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSFinance_MainDiv .tablesorter_Output:hover,
.STHSPowerRanking_MainDiv .tablesorter_ColumnSelectorButton:hover,
.STHSPowerRanking_MainDiv .tablesorter_Output:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(180, 215, 255, 0.35) !important;
}