/* =========================================================
   SUPERSTATS – SPILLERE
   Selvstændig designfil
   Baseline fra den afsluttede /hold/-sektion
   ========================================================= */

.ss-spillere-page {
    font-family: Arial, Helvetica, sans-serif;
    color: #10315B;
}

.ss-spillere-page .spiller-info-box,
.ss-spillere-page .spiller-summary-box,
.ss-spillere-page .spiller-kampe-box {
    overflow: hidden !important;
    border-radius: 7px !important;
}

/* Titel */
.ss-spillere-page .spiller-info-box > h2 {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    background: #104470 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 7px 7px 0 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

.ss-spillere-page .spiller-info-box > h2 a {
    color: #ffffff !important;
}

/* Fælles tabelhoved */
.ss-spillere-page table.spiller-info-table > thead > tr > th,
.ss-spillere-page table.spiller-summary-table > thead > tr > th,
.ss-spillere-page table.spiller-kampe-table > thead > tr > th {
    height: 23px !important;
    box-sizing: border-box !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    background: #cfe5f2 !important;
    color: #10315B !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #9db6c9 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.ss-spillere-page table > thead > tr > th.leftalign,
.ss-spillere-page table > tbody > tr > td.leftalign {
    text-align: left !important;
}

.ss-spillere-page table.spiller-info-table > tbody > tr > td,
.ss-spillere-page table.spiller-summary-table > tbody > tr > td,
.ss-spillere-page table.spiller-kampe-table > tbody > tr > td {
    height: 30px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

/* Statistikdelen og kampoversigten holdes kompakte */
.ss-spillere-page .spiller-summary-table th,
.ss-spillere-page .spiller-summary-table td,
.ss-spillere-page .spiller-kampe-table th:not(.leftalign),
.ss-spillere-page .spiller-kampe-table td:not(.leftalign) {
    text-align: center !important;
}

/* Kampoversigt afsluttes med den faste blå linje */
.ss-spillere-page table.spiller-kampe-table {
    margin-bottom: 0 !important;
    border-bottom: 3px solid #104470 !important;
}

/* Fast bundmodel */
.ss-spillere-page .spiller-bottom {
    box-sizing: border-box !important;
    min-height: 43px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    background: #ffffff !important;
    border-top: 0 !important;
    border-left: 1px solid #dddddd !important;
    border-right: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    border-radius: 0 0 7px 7px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

.ss-spillere-page .spiller-season-form {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ss-spillere-page .spiller-season-form p {
    margin: 0 !important;
    padding: 0 !important;
}

/* onchange gør den gamle Skift-knap overflødig */
.ss-spillere-page .spiller-season-form input.knap {
    display: none !important;
}

.ss-spillere-page .spiller-season-select {
    box-sizing: border-box !important;
    width: 105px !important;
    height: 29px !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

/* All-time-link i bunden */
.ss-spillere-page .spiller-bottom > p,
.ss-spillere-page .spiller-bottom > ul {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

@media screen and (max-width:700px) {
    .ss-spillere-page .spiller-info-box > h2 {
        padding: 7px 10px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .ss-spillere-page table.spiller-info-table > thead > tr > th,
    .ss-spillere-page table.spiller-summary-table > thead > tr > th,
    .ss-spillere-page table.spiller-kampe-table > thead > tr > th {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        font-size: 11px !important;
        line-height: 16px !important;
    }

    .ss-spillere-page .spiller-season-select {
        width: 100px !important;
        font-size: 16px !important;
    }
}


/* =========================================================
   SPILLERE v2 – REN HEADER OG KORREKT BUND
   ========================================================= */

.ss-spillere-page .spiller-info-box > h2 {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.ss-spillere-page .spiller-title-main {
    flex: 0 1 auto;
}

.ss-spillere-page .spiller-title-club {
    flex: 0 1 auto;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-transform: none !important;
    opacity: .85;
}

.ss-spillere-page .spiller-title-club::before {
    content: "· ";
}

.ss-spillere-page .spiller-title-club a {
    color: #ffffff !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.ss-spillere-page .spiller-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 43px !important;
    padding: 7px 9px !important;
}

.ss-spillere-page .spiller-bottom-link {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

.ss-spillere-page .spiller-bottom-link a {
    white-space: nowrap;
}

.ss-spillere-page .spiller-bottom-link::before {
    content: none !important;
}

.ss-spillere-page .spiller-season-form {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

@media screen and (max-width:700px) {
    .ss-spillere-page .spiller-info-box > h2 {
        display: block !important;
    }

    .ss-spillere-page .spiller-title-club {
        display: block !important;
        margin-top: 1px !important;
    }

    .ss-spillere-page .spiller-title-club::before {
        content: none;
    }
}


/* =========================================================
   SPILLERE v3 – BUND
   ========================================================= */

.ss-spillere-page .spiller-bottom {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 43px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #ffffff !important;
    border-top: 0 !important;
    border-left: 1px solid #dddddd !important;
    border-right: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    border-radius: 0 0 7px 7px !important;
}

.ss-spillere-page a.spiller-bottom-link {
    display: block !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    white-space: nowrap !important;
}

.ss-spillere-page a.spiller-bottom-link::before,
.ss-spillere-page a.spiller-bottom-link::after {
    content: none !important;
    display: none !important;
}

.ss-spillere-page .spiller-season-form {
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
}

.ss-spillere-page .spiller-season-select {
    display: block !important;
    margin: 0 !important;
}


/* =========================================================
   SPILLERE v6 – HEADER + DIV-STRUKTUR
   ========================================================= */

/* Spilleroverskriften skal være én rolig linje */
.ss-spillere-page .spiller-info-box > h2 {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ss-spillere-page .spiller-title-main {
    display: inline !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.ss-spillere-page .spiller-title-separator {
    display: inline !important;
    margin: 0 4px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    opacity: .75;
}

.ss-spillere-page .spiller-title-club {
    display: inline !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    text-transform: none !important;
    opacity: .85;
}

.ss-spillere-page .spiller-title-club::before {
    content: none !important;
}

.ss-spillere-page .spiller-title-club a {
    display: inline !important;
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

/* Footer er nu en selvstændig søskende til kampboksen */
.ss-spillere-page .spiller-kampe-box {
    margin-bottom: 0 !important;
    border-radius: 7px 7px 0 0 !important;
}

.ss-spillere-page .spiller-bottom {
    margin-top: 0 !important;
    border-radius: 0 0 7px 7px !important;
}

@media screen and (max-width:700px) {
    .ss-spillere-page .spiller-info-box > h2 {
        display: block !important;
        white-space: nowrap !important;
    }

    .ss-spillere-page .spiller-title-club {
        display: inline !important;
        margin: 0 !important;
    }

    .ss-spillere-page .spiller-title-separator {
        display: inline !important;
    }
}


/* =========================================================
   SPILLERE v7 – TOPBOKS, RESULTATPRIKKER OG BUNDLINK
   ========================================================= */

/* Topboksen: ren titel uden klubtekst i den blå bjælke */
.ss-spillere-page .spiller-info-box > h2 {
    display: block !important;
    height: auto !important;
    min-height: 40px !important;
    padding: 8px 14px !important;
    line-height: 24px !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

.ss-spillere-page .spiller-title-main {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
}

/* Klub er nu et almindeligt felt i infolinjen */
.ss-spillere-page .spiller-info-table .spiller-klub-cell a {
    color: #10315B !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.ss-spillere-page .spiller-info-table .spiller-klub-cell a:hover {
    text-decoration: underline !important;
}

/* Resultatprikker – samme CSS-model/farver som SuperStats */
.ss-spillere-page .result-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    vertical-align: middle !important;
}

.ss-spillere-page .result-win {
    background: #1b9a36 !important;
}

.ss-spillere-page .result-draw {
    background: #f2a56b !important;
}

.ss-spillere-page .result-loss {
    background: #eb5757 !important;
}

/* Bundlink følger utility-standarden 12/18 */
.ss-spillere-page a.spiller-bottom-link {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #104470 !important;
    text-decoration: none !important;
}

.ss-spillere-page a.spiller-bottom-link:hover {
    text-decoration: underline !important;
}

@media screen and (max-width:700px) {
    .ss-spillere-page .spiller-info-box > h2 {
        min-height: 36px !important;
        padding: 7px 10px !important;
        line-height: 22px !important;
    }

    .ss-spillere-page .spiller-title-main {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .ss-spillere-page a.spiller-bottom-link {
        font-size: 12px !important;
        line-height: 18px !important;
    }
}


/* =========================================================
   SPILLERE v8 – FINPUDSNING AF SPILLERSIDEN
   ========================================================= */

/* Kortere "Hele" giver mere ro i sæsonstatistikken */
.ss-spillere-page .spiller-summary-table th,
.ss-spillere-page .spiller-summary-table td {
    white-space: nowrap !important;
}

/* Kampoversigt: tekstkolonner venstre, statistik konsekvent centreret */
.ss-spillere-page .spiller-kampe-table .stats-center {
    text-align: center !important;
}

.ss-spillere-page .spiller-kampe-table .spiller-udfald-head,
.ss-spillere-page .spiller-kampe-table .spiller-udfald {
    width: 24px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

/* CSS-prikker */
.ss-spillere-page .result-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    vertical-align: middle !important;
}

.ss-spillere-page .result-win {
    background: #1b9a36 !important;
}

.ss-spillere-page .result-draw {
    background: #f2a56b !important;
}

.ss-spillere-page .result-loss {
    background: #eb5757 !important;
}

/* Bundnavigation følger den faste SuperStats utility-standard */
.ss-spillere-page a.spiller-bottom-link {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #104470 !important;
    text-decoration: none !important;
}

.ss-spillere-page a.spiller-bottom-link:hover {
    text-decoration: underline !important;
}


/* =========================================================
   SPILLERE v9 – KORT + RUNDE V/U/T-PRIKKER
   ========================================================= */

/* Resultatmarkeringer følger SuperStats' runde prikmodel */
.ss-spillere-page .result-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    vertical-align: middle !important;
}

.ss-spillere-page .result-win {
    background: #1b9a36 !important;
}

.ss-spillere-page .result-draw {
    background: #f2a56b !important;
}

.ss-spillere-page .result-loss {
    background: #eb5757 !important;
}

/* Kortikoner må ikke blive nulstillet af spiller-tabellens span-regler */
.ss-spillere-page .spiller-kampe-table td .icon.yellow,
.ss-spillere-page .spiller-kampe-table td .icon.yelred,
.ss-spillere-page .spiller-kampe-table td .icon.red,
.ss-spillere-page .spiller-kampe-table td .icon.yellowann,
.ss-spillere-page .spiller-kampe-table td .icon.redann {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   SPILLERE v10 – KORTDATA + RENE HJØRNER
   ========================================================= */

/*
   De små "hak" kom af border-radius + overflow:hidden på bokse,
   der visuelt skal hænge sammen. Kun de reelle yderhjørner rundes.
*/
.ss-spillere-page .spiller-info-box {
    border-radius: 7px 7px 0 0 !important;
}

.ss-spillere-page .spiller-summary-box {
    border-radius: 0 !important;
}

.ss-spillere-page .spiller-kampe-box {
    border-radius: 7px 7px 0 0 !important;
}

/* Undgå at globale box-regler tegner små afrundede sidebrud */
.ss-spillere-page .spiller-info-box table,
.ss-spillere-page .spiller-summary-box table,
.ss-spillere-page .spiller-kampe-box table {
    border-radius: 0 !important;
}

/* Kortikoner skal beholde SuperStats' eksisterende icon-grafik */
.ss-spillere-page .spiller-kampe-table .icon {
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   SPILLERE v11 – LÅST BASISDESIGN
   ========================================================= */

/* Nederste kampboks skal ikke have afrundede top-hjørner.
   Det fjerner de små brud i begge sider af THEAD. */
.ss-spillere-page .spiller-kampe-box {
    border-radius: 0 !important;
}

/* Ingen nedarvet afrunding på tabeldele i kampboksen */
.ss-spillere-page .spiller-kampe-box,
.ss-spillere-page .spiller-kampe-box table,
.ss-spillere-page .spiller-kampe-box thead,
.ss-spillere-page .spiller-kampe-box thead tr,
.ss-spillere-page .spiller-kampe-box thead th {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Den hvide bund er den eneste afrundede afslutning nederst */
.ss-spillere-page .spiller-bottom {
    border-radius: 0 0 7px 7px !important;
}

/* Bevar den kompakte statistiklinje */
.ss-spillere-page .spiller-summary-table th,
.ss-spillere-page .spiller-summary-table td,
.ss-spillere-page .spiller-kampe-table th,
.ss-spillere-page .spiller-kampe-table td {
    box-sizing: border-box !important;
}

/* Utility-link og select låses til SuperStats-standarden */
.ss-spillere-page a.spiller-bottom-link {
    font-size: 12px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}

.ss-spillere-page .spiller-season-select {
    height: 29px !important;
    padding: 4px 6px !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

@media screen and (max-width:700px) {
    .ss-spillere-page .spiller-season-select {
        font-size: 16px !important;
    }
}


/* =========================================================
   SPILLERE v12 – FJERN TOPBRUD + STANDARD BUNDLINK
   ========================================================= */

/*
   Bruddet kommer fra den generelle .box-styling omkring kampboksen,
   ikke kun fra border-radius på tabellen. Kampboksen nulstilles derfor
   helt i toppen.
*/
.ss-spillere-page .spiller-kampe-box {
    overflow: visible !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table {
    width: 100% !important;
    margin: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead,
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr,
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr > th {
    border-radius: 0 !important;
}

/* Nederste link følger standard brød-/linktekst på statistiksiderne */
.ss-spillere-page a.spiller-bottom-link {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #104470 !important;
}


/* =========================================================
   SPILLERE v13 – KAMPBOKS MED KANT, UDEN HJØRNEBRUD
   ========================================================= */

/*
   Behold den normale 1px grå ramme omkring kampboksen.
   Kun radius fjernes, så THEAD møder kanten rent.
*/
.ss-spillere-page .spiller-kampe-box {
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-top: 1px solid #dddddd !important;
    border-left: 1px solid #dddddd !important;
    border-right: 1px solid #dddddd !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Den blå afslutning ligger på tabellen, som før */
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table {
    border-bottom: 3px solid #104470 !important;
}

/* Footer fortsætter rammen og afslutter den med afrundede bundhjørner */
.ss-spillere-page .spiller-bottom {
    border-top: 0 !important;
    border-left: 1px solid #dddddd !important;
    border-right: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    border-radius: 0 0 7px 7px !important;
}


/* =========================================================
   SPILLERE v14 – TOPRUNDING UDEN BRUD
   ========================================================= */

/*
   Rund selve kampboksen, men lad THEAD udfylde de afrundede
   hjørner. Rammen ligger på boksen – ikke på tabelhovedets sider.
*/
.ss-spillere-page .spiller-kampe-box {
    overflow: hidden !important;
    border: 1px solid #dddddd !important;
    border-bottom: 0 !important;
    border-radius: 7px 7px 0 0 !important;
    background: #ffffff !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 3px solid #104470 !important;
    border-radius: 0 !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead,
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr,
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr > th {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Første og sidste THEAD-celle går helt ud til boksens kant.
   overflow:hidden på boksen laver selve den rene runding. */
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr > th:first-child {
    border-left: 0 !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr > th:last-child {
    border-right: 0 !important;
}


/* =========================================================
   SPILLERE v15 – TOPRUNDING + SYNLIG RAMME
   ========================================================= */

/*
   Rammen tegnes på en ydre outline. Dermed kan overflow:hidden
   lave den rene toprunding uden at THEAD dækker 1px-kanten.
*/
.ss-spillere-page .spiller-kampe-box {
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #ffffff !important;

    border: 0 !important;
    outline: 1px solid #dddddd !important;
    outline-offset: -1px !important;

    border-radius: 7px 7px 0 0 !important;
}

/* THEAD ligger 1px inden for rammen */
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table {
    box-sizing: border-box !important;
    width: calc(100% - 2px) !important;
    margin: 1px 1px 0 1px !important;
    border: 0 !important;
    border-bottom: 3px solid #104470 !important;
    border-radius: 6px 6px 0 0 !important;
}

/* Selve tabelhovedet følger den indvendige runding */
.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr > th:first-child {
    border-top-left-radius: 6px !important;
}

.ss-spillere-page .spiller-kampe-box > table.spiller-kampe-table > thead > tr > th:last-child {
    border-top-right-radius: 6px !important;
}


/* =========================================================
   SPILLERE v16 – TYDELIG RAMME OM KAMPBOKS
   ========================================================= */

/* Samme rolige grå ramme, men tydeligere mod den hvide baggrund */
.ss-spillere-page .spiller-kampe-box {
    outline: 1px solid #bfc7cc !important;
    outline-offset: -1px !important;
}

/* Footer fortsætter visuelt samme ramme */
.ss-spillere-page .spiller-bottom {
    border-left-color: #bfc7cc !important;
    border-right-color: #bfc7cc !important;
    border-bottom-color: #bfc7cc !important;
}


/* =========================================================
   SPILLERE v17 – BUNDLINK EFTER FAST SUPERSTATS-SKABELON
   ========================================================= */

.ss-spillere-page a.spiller-bottom-link {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #10315B !important;
    text-decoration: none !important;
}

.ss-spillere-page a.spiller-bottom-link:visited {
    color: #10315B !important;
}

.ss-spillere-page a.spiller-bottom-link:hover,
.ss-spillere-page a.spiller-bottom-link:focus {
    color: #104470 !important;
    text-decoration: underline !important;
}


/* =========================================================
   SPILLERE v18 – SPILLER ALL-TIME
   Samme faste designlinje som spiller-sæsonsiden
   ========================================================= */

.ss-spillere-page.spiller-alltime-page .box.full.blue.multipleheader {
    box-sizing: border-box !important;
}

/* Top: samme spillerprofil som sæsonsiden */
.spiller-alltime-page .spiller-info-box {
    overflow: hidden !important;
    border: 1px solid #bfc7cc !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

.spiller-alltime-page .spiller-info-box > h2,
.spiller-alltime-page .spiller-alltime-transfer-box > h2 {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    background: #104470 !important;
    color: #ffffff !important;
    border: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

/* Fælles kompakt THEAD */
.spiller-alltime-page table > thead > tr > th {
    height: 23px !important;
    box-sizing: border-box !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    background: #cfe5f2 !important;
    color: #10315B !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #9db6c9 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.spiller-alltime-page table > thead > tr > th.leftalign {
    text-align: left !important;
}

.spiller-alltime-page table > tbody > tr > td,
.spiller-alltime-page table > tfoot > tr > td {
    vertical-align: middle !important;
}

/* Sæsonoversigten: tydelig ramme + blå afslutning */
.spiller-alltime-page .spiller-alltime-season-box {
    overflow: hidden !important;
    border: 1px solid #bfc7cc !important;
    border-bottom: 0 !important;
    border-radius: 7px 7px 0 0 !important;
    background: #ffffff !important;
}

.spiller-alltime-page .spiller-alltime-season-table {
    margin: 0 !important;
    border-bottom: 3px solid #104470 !important;
}

/* Footer følger den låste SuperStats-skabelon */
.spiller-alltime-page .spiller-alltime-bottom {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 43px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #ffffff !important;
    border-left: 1px solid #bfc7cc !important;
    border-right: 1px solid #bfc7cc !important;
    border-bottom: 1px solid #bfc7cc !important;
    border-top: 0 !important;
    border-radius: 0 0 7px 7px !important;
}

/* De efterfølgende statistikbokse */
.spiller-alltime-page .spiller-alltime-facts-box,
.spiller-alltime-page .spiller-alltime-highlights-box,
.spiller-alltime-page .spiller-alltime-opponents-box,
.spiller-alltime-page .spiller-alltime-transfer-box {
    overflow: hidden !important;
    border: 1px solid #bfc7cc !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

.spiller-alltime-page .spiller-alltime-facts-box table,
.spiller-alltime-page .spiller-alltime-highlights-box table,
.spiller-alltime-page .spiller-alltime-opponents-box table,
.spiller-alltime-page .spiller-alltime-transfer-box table {
    border-bottom: 3px solid #104470 !important;
}

/* Gamle tomme footers skal ikke skabe høje blå/hvide afslutninger */
.spiller-alltime-page .spiller-alltime-facts-box tfoot,
.spiller-alltime-page .spiller-alltime-highlights-box tfoot,
.spiller-alltime-page .spiller-alltime-transfer-box tfoot {
    display: none !important;
}

/* Tal centreret, tekstfelter venstre */
.spiller-alltime-page .spiller-alltime-season-table th:not(.leftalign),
.spiller-alltime-page .spiller-alltime-season-table td:not(.leftalign),
.spiller-alltime-page .spiller-alltime-opponents-table th:not(.leftalign),
.spiller-alltime-page .spiller-alltime-opponents-table td:not(.leftalign) {
    text-align: center !important;
}

/* Bundlink: fast SuperStats utility-standard */
.spiller-alltime-page a.spiller-bottom-link {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #10315B !important;
    text-decoration: none !important;
}

.spiller-alltime-page a.spiller-bottom-link:visited {
    color: #10315B !important;
}

.spiller-alltime-page a.spiller-bottom-link:hover,
.spiller-alltime-page a.spiller-bottom-link:focus {
    color: #104470 !important;
    text-decoration: underline !important;
}

@media screen and (max-width:700px) {
    .spiller-alltime-page .spiller-info-box > h2,
    .spiller-alltime-page .spiller-alltime-transfer-box > h2 {
        padding: 7px 10px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .spiller-alltime-page table > thead > tr > th {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        font-size: 11px !important;
        line-height: 16px !important;
    }

    .spiller-alltime-page .spiller-season-select {
        font-size: 16px !important;
    }
}


/* =========================================================
   SPILLERE v19 – ALL-TIME RAMMER / FOOTER / TRANSFERS
   ========================================================= */

/* Fjern de gamle .box-rammer. Hver sektion får kun én ramme. */
.spiller-alltime-page .spiller-info-box,
.spiller-alltime-page .spiller-alltime-season-box,
.spiller-alltime-page .spiller-alltime-facts-box,
.spiller-alltime-page .spiller-alltime-highlights-box,
.spiller-alltime-page .spiller-alltime-opponents-box,
.spiller-alltime-page .spiller-alltime-transfer-box {
    outline: 0 !important;
    box-shadow: none !important;
}

/* Sæsonboksen hænger direkte sammen med den hvide kontrolbund. */
.spiller-alltime-page .spiller-alltime-season-box {
    margin-bottom: 0 !important;
    border: 1px solid #bfc7cc !important;
    border-bottom: 0 !important;
    border-radius: 7px 7px 0 0 !important;
    overflow: hidden !important;
}

.spiller-alltime-page .spiller-alltime-season-box > table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 3px solid #104470 !important;
    border-radius: 0 !important;
}

.spiller-alltime-page .spiller-alltime-bottom {
    margin-top: 0 !important;
    min-height: 43px !important;
    padding: 7px 9px !important;
    background: #ffffff !important;
    border: 1px solid #bfc7cc !important;
    border-top: 0 !important;
    border-radius: 0 0 7px 7px !important;
    box-shadow: none !important;
}

/* De almindelige all-time bokse: én ren ramme, ingen dobbeltkant. */
.spiller-alltime-page .spiller-alltime-facts-box,
.spiller-alltime-page .spiller-alltime-highlights-box,
.spiller-alltime-page .spiller-alltime-opponents-box,
.spiller-alltime-page .spiller-alltime-transfer-box {
    border: 1px solid #bfc7cc !important;
    border-radius: 7px !important;
    overflow: hidden !important;
}

.spiller-alltime-page .spiller-alltime-facts-box > table,
.spiller-alltime-page .spiller-alltime-highlights-box > table,
.spiller-alltime-page .spiller-alltime-opponents-box > table,
.spiller-alltime-page .spiller-alltime-transfer-box > table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 3px solid #104470 !important;
    border-radius: 0 !important;
}

/* Ingen tomme legacy-footers. */
.spiller-alltime-page .spiller-alltime-facts-box tfoot,
.spiller-alltime-page .spiller-alltime-highlights-box tfoot,
.spiller-alltime-page .spiller-alltime-transfer-box tfoot {
    display: none !important;
}

/* Transfers: overskriften skal have normal SuperStats-højde og ikke overlappe THEAD. */
.spiller-alltime-page .spiller-alltime-transfer-box > h2 {
    position: static !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
    background: #104470 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-transform: uppercase !important;
}

.spiller-alltime-page .spiller-alltime-transfer-box > table {
    clear: both !important;
}

/* Footer-kontroller – præcis samme utility-størrelse som vores skabelon. */
.spiller-alltime-page .spiller-season-form {
    margin: 0 !important;
    padding: 0 !important;
}

.spiller-alltime-page .spiller-season-select {
    width: 105px !important;
    height: 29px !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

@media screen and (max-width:700px) {
    .spiller-alltime-page .spiller-alltime-transfer-box > h2 {
        padding: 7px 10px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .spiller-alltime-page .spiller-season-select {
        font-size: 16px !important;
    }
}


/* =========================================================
   SPILLERE v21 – ALL-TIME FINPUDSNING
   ========================================================= */

/* Karriere og Nøgletal får rigtige overskrifter. */
.spiller-alltime-page .spiller-alltime-facts-box > h2,
.spiller-alltime-page .spiller-alltime-highlights-box > h2 {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    background: #104470 !important;
    color: #ffffff !important;
    border: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: left !important;
}

/* Klub i sæsonoversigten: logo + fuldt klubnavn. */
.spiller-alltime-page .spiller-season-clubs {
    white-space: normal !important;
}

.spiller-alltime-page .spiller-season-club {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
}

.spiller-alltime-page .spiller-season-logo {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    vertical-align: middle !important;
}

.spiller-alltime-page .spiller-club-separator {
    display: inline !important;
}

/* Transfers – fem rolige, kompakte kolonner. */
.spiller-alltime-page .spiller-alltime-transfer-box > table th,
.spiller-alltime-page .spiller-alltime-transfer-box > table td {
    box-sizing: border-box !important;
}

.spiller-alltime-page .spiller-alltime-transfer-box .transfer-season {
    width: 95px !important;
    white-space: nowrap !important;
}

.spiller-alltime-page .spiller-alltime-transfer-box .transfer-window {
    width: 75px !important;
    white-space: nowrap !important;
}

.spiller-alltime-page .spiller-alltime-transfer-box .transfer-type {
    width: 105px !important;
    white-space: nowrap !important;
}

.spiller-alltime-page .transfer-club-inner {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
}

.spiller-alltime-page .transfer-logo {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

@media screen and (max-width:700px) {
    .spiller-alltime-page .spiller-alltime-facts-box > h2,
    .spiller-alltime-page .spiller-alltime-highlights-box > h2 {
        padding: 7px 10px !important;
        font-size: 14px !important;
        line-height: 18px !important;
    }

    .spiller-alltime-page .spiller-alltime-transfer-box .transfer-season {
        width: 78px !important;
    }

    .spiller-alltime-page .spiller-alltime-transfer-box .transfer-window {
        width: 62px !important;
    }

    .spiller-alltime-page .spiller-alltime-transfer-box .transfer-type {
        width: 88px !important;
    }
}


/* =========================================================
   SPILLERE v22 – SÆSONHOLD + LUFT / KARRIERE
   ========================================================= */

/* Hold-kolonnen rykkes lidt ind, så overskrift og forkortelser/logoer flugter. */
.spiller-alltime-page .spiller-alltime-season-table th:nth-child(2),
.spiller-alltime-page .spiller-alltime-season-table td:nth-child(2) {
    padding-left: 12px !important;
}

/* Forkortet klubnavn + logo – kompakt som resten af tabellen. */
.spiller-alltime-page .spiller-season-club {
    gap: 5px !important;
}

.spiller-alltime-page .spiller-season-logo {
    width: 18px !important;
    height: 18px !important;
}

/* Mere ro mellem den samlede sæsonboks og Karriere. */
.spiller-alltime-page .spiller-alltime-facts-box {
    margin-top: 18px !important;
}

/* Karriere/Nøgletal følger den almindelige blå SuperStats-overskrift. */
.spiller-alltime-page .spiller-alltime-facts-box > h2,
.spiller-alltime-page .spiller-alltime-highlights-box > h2 {
    margin: 0 !important;
    padding: 7px 12px !important;
    background: #104470 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
}

/* De små all-time bokse skal være rolige og uden ekstra tom top/bund. */
.spiller-alltime-page .spiller-alltime-facts-box > table,
.spiller-alltime-page .spiller-alltime-highlights-box > table {
    margin: 0 !important;
}

.spiller-alltime-page .spiller-alltime-facts-box tbody tr:first-child td,
.spiller-alltime-page .spiller-alltime-highlights-box tbody tr:first-child td {
    border-top: 0 !important;
}


/* =========================================================
   SPILLERE v23 – NØGLETAL = SUPERSTATS-OVERSKRIFT
   ========================================================= */

.spiller-alltime-page .spiller-alltime-highlights-box > h2 {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    background: #104470 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: left !important;
}


/* =========================================================
   SPILLERE v24 – KARRIERE / NØGLETAL, RIGTIG SUPERSTATS-HEADER
   ========================================================= */

/*
   v23 ændrede reelt ikke udtrykket, fordi Nøgletal allerede havde
   samme 14/18-regel. Nu bruger begge bokse den egentlige
   SuperStats-overskrift som de øvrige hovedbokse.
*/
.spiller-alltime-page .spiller-alltime-facts-box > h2,
.spiller-alltime-page .spiller-alltime-highlights-box > h2 {
    position: static !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 8px 14px !important;

    background: #104470 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 24px !important;

    text-align: left !important;
    text-transform: uppercase !important;
}

@media screen and (max-width:700px) {
    .spiller-alltime-page .spiller-alltime-facts-box > h2,
    .spiller-alltime-page .spiller-alltime-highlights-box > h2 {
        padding: 7px 10px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }
}
