/* SuperStats - faelles mobilstandard v1
   Desktop er uberort. Forsidens godkendte mobilregler bevares.
   Reglerne herunder er forelobig til andre sider end forsiden. */
.ss-mobile-brand,.ss-mobile-menu{display:none;}
@media screen and (max-width:700px){
  body.ss-mobile-shared{margin:0;min-width:0;background:#f2f4f5;color:#10315B;font-family:Arial,Helvetica,sans-serif;}
  body.ss-mobile-shared #outer{padding:0;background:none;min-width:0;width:100%;}
  body.ss-mobile-shared #wrap{box-sizing:border-box;width:100%;min-width:0;min-height:100vh;margin:0;background:none;}
  body.ss-mobile-shared #header{box-sizing:border-box;float:none;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:auto;min-height:76px;padding:14px 16px;background:#104470;}
  body.ss-mobile-shared #header #logo,body.ss-mobile-shared #header #nav{display:none!important;}
  body.ss-mobile-shared .ss-mobile-brand{display:flex;align-items:center;min-width:0;text-decoration:none!important;color:#fff!important;}
  body.ss-mobile-shared .ss-mobile-brand strong{display:block;font:700 25px/1.1 Arial,Helvetica,sans-serif;letter-spacing:-.6px;}
  body.ss-mobile-shared .ss-mobile-brand small{display:block;margin-top:6px;font:700 10px/1.2 Arial,Helvetica,sans-serif;letter-spacing:1.4px;color:#d4e0ea;}
  body.ss-mobile-shared .ss-mobile-menu{display:block;position:relative;flex:0 0 auto;z-index:200;}
  body.ss-mobile-shared .ss-mobile-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:11px 12px;border:1px solid #7c9ab4;border-radius:6px;color:white;font:700 16px/1.2 Arial,Helvetica,sans-serif;}
  body.ss-mobile-shared .ss-mobile-menu>summary::-webkit-details-marker,body.ss-mobile-shared .ss-mnav-section>summary::-webkit-details-marker{display:none;}
  body.ss-mobile-shared .ss-mobile-menu>summary span{font-size:23px;}
  body.ss-mobile-shared .ss-mobile-menu-panel{position:absolute;right:0;top:calc(100% + 8px);box-sizing:border-box;width:min(340px,calc(100vw - 32px));max-height:70vh;overflow-y:auto;background:#12325a;border:1px solid #54728e;border-radius:8px;box-shadow:0 10px 24px #0003;}
  body.ss-mobile-shared .ss-mnav-section{border-bottom:1px solid #ffffff20;}
  body.ss-mobile-shared .ss-mnav-section>summary{cursor:pointer;list-style:none;padding:15px 18px;color:white;font:700 15px/1.3 Arial,Helvetica,sans-serif;}
  body.ss-mobile-shared .ss-mnav-section>summary:after{content:'+';float:right;font-size:20px;}
  body.ss-mobile-shared .ss-mnav-section[open]>summary:after{content:'−';}
  body.ss-mobile-shared .ss-mnav-links{display:grid;grid-template-columns:1fr;background:#0e294c;padding:4px 0;}
  body.ss-mobile-shared .ss-mnav-links a,body.ss-mobile-shared .ss-mnav-sitemap{display:block;padding:11px 20px;color:#fff!important;text-decoration:none;font:14px/1.35 Arial,Helvetica,sans-serif;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner{box-sizing:border-box!important;display:flex!important;flex-direction:column;gap:0;width:100%!important;min-height:0;padding:0!important;background:#fff;overflow:visible;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-klubber{display:flex;width:100%;max-width:100%;flex:0 0 auto;gap:0;overflow-x:auto;scrollbar-width:none;padding:8px 10px;box-sizing:border-box;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-klubber::-webkit-scrollbar{display:none;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-klub{flex:0 0 42px;min-width:42px;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-social{box-sizing:border-box;display:flex!important;justify-content:space-around;width:100%!important;margin:0!important;padding:12px 16px;border-top:1px solid #e0e5e9;gap:8px!important;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-social a.ss-social-link{width:28px;height:30px;flex:0 0 28px;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-social svg{width:23px;height:23px;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-pokal-container{box-sizing:border-box;width:100%;min-width:0;flex:0 0 auto;}
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-pokal-nav{max-width:100%;overflow-x:auto;}
  body.ss-mobile-shared #content,body.ss-mobile-shared #hojre,body.ss-mobile-shared #contentsitemap,body.ss-mobile-shared #contentrealsitemap{box-sizing:border-box;float:none;width:100%;max-width:100%;margin:0;padding:14px;min-width:0;}
  body.ss-mobile-shared #hojre{padding-top:0;}
  body.ss-mobile-shared #footer{box-sizing:border-box;clear:both;width:100%;max-width:100%;padding:24px 14px;margin:0;background:none;}
  body.ss-mobile-shared #content img,body.ss-mobile-shared #hojre img{max-width:100%;height:auto;}
  body.ss-mobile-shared #content .box,body.ss-mobile-shared #hojre .box{max-width:100%;}
  body.ss-mobile-shared #content .box.full,body.ss-mobile-shared #content .box.xlarge,body.ss-mobile-shared #content .box.large{width:100%;}
  body.ss-mobile-shared #content .box h2{box-sizing:border-box;max-width:100%;}
  body.ss-mobile-shared #content .box .inner,body.ss-mobile-shared #content .box .corner{box-sizing:border-box;max-width:100%;overflow-x:auto;}
  body.ss-mobile-shared #content table{max-width:none;}
  body.ss-mobile-shared #content input,body.ss-mobile-shared #content select,body.ss-mobile-shared #content textarea{max-width:100%;box-sizing:border-box;}
  body.ss-mobile-shared #nedtael,body.ss-mobile-shared #count,body.ss-mobile-shared #countlogoer{box-sizing:border-box;max-width:100%;}
  body.ss-mobile-shared #footer ul{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:0;}
  body.ss-mobile-shared #footer ul li{display:inline-block;border:0;padding:0;background:none;}
}

/* SuperStats - faelles mobilstandard v2: undersider */
@media screen and (max-width:700px) {
  /* Klublogoerne er tilgaengelige under Menu > Hold. */
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-klubber { display:none!important; }
  body.ss-mobile-shared #ikoner.ss-top-ikoner { border-bottom:1px solid #dfe5e9; }
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-social { border-top:0; }

  /* Undgaa sammenpressede brede statistiktabeller. Scroll kun ved behov. */
  body.ss-mobile-shared #content { overflow-x:auto; }
  body.ss-mobile-shared #content table:has(thead th:nth-child(8)) {
    min-width:640px;
    width:100%;
  }
  body.ss-mobile-shared #content table:has(thead th:nth-child(8)) th,
  body.ss-mobile-shared #content table:has(thead th:nth-child(8)) td {
    white-space:nowrap;
  }
  body.ss-mobile-shared #content table:has(thead th:nth-child(8)) img {
    max-height:25px;
    width:auto;
  }

  /* Godkendt mobilfooter fra forsiden, anvendt paa undersider. */
  body.ss-mobile-shared #footer {
    width:calc(100% - 24px)!important;
    margin:12px 12px 12px!important;
    padding:17px 10px 16px!important;
    border-top:2px solid #104470!important;
    background:transparent!important;
    text-align:center!important;
  }
  body.ss-mobile-shared #footer ul {
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    column-gap:19px!important;
    row-gap:11px!important;
    max-width:520px;
    margin:0 auto!important;
    padding:0!important;
  }
  body.ss-mobile-shared #footer ul li {
    flex:0 0 auto;
    width:auto!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    font-size:12px!important;
    line-height:1.5!important;
    white-space:normal!important;
  }
  body.ss-mobile-shared #footer ul li:first-child {
    flex:0 0 100%;
    font-size:0!important;
    line-height:1.3!important;
    margin-bottom:3px!important;
  }
  body.ss-mobile-shared #footer ul li:first-child::before {
    content:"SuperStats";
    display:block;
    color:#10315B;
    font:bold 19px/1.3 Arial,Helvetica,sans-serif;
  }
  body.ss-mobile-shared #footer ul li:first-child::after {
    content:"SUPERLIGAEN I TAL";
    display:block;
    margin-top:2px;
    color:#718394;
    font:600 10px/1.4 Arial,Helvetica,sans-serif;
    letter-spacing:1.5px;
  }
  body.ss-mobile-shared #footer ul li:nth-child(2) {
    order:10;
    flex:0 0 100%;
    margin-top:3px!important;
    font-size:11px!important;
    color:#82909d!important;
  }
  body.ss-mobile-shared #footer ul li:nth-child(3),
  body.ss-mobile-shared #footer ul li:nth-child(4),
  body.ss-mobile-shared #footer ul li:nth-child(6),
  body.ss-mobile-shared #footer ul li:nth-child(7) { order:2; }
  body.ss-mobile-shared #footer ul li:nth-child(5) { display:none!important; }
  body.ss-mobile-shared #footer ul li a {
    color:#104470!important;
    font-size:12px!important;
    text-decoration:none!important;
  }
}

/* v3: Sidebarens tre bokse skal fylde mobilkolonnens bredde. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #hojre > .box,
  body.ss-mobile-shared #hojre .box,
  body.ss-mobile-shared #hojre .box.small,
  body.ss-mobile-shared #hojre .box.medium,
  body.ss-mobile-shared #hojre .box.large,
  body.ss-mobile-shared #hojre .box.full {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.ss-mobile-shared #hojre .box > h2,
  body.ss-mobile-shared #hojre .box > .inner,
  body.ss-mobile-shared #hojre .box > .corner,
  body.ss-mobile-shared #hojre .box > .content {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.ss-mobile-shared #hojre .box table {
    width:100%!important;
    max-width:100%!important;
  }
}

/* v4 – ens bredde paa hovedindhold og sidebar paa mobil.
   Kun undersider: desktop og forsiden beroeres ikke. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #content,
  body.ss-mobile-shared #hojre {
    display:block!important;
    position:relative!important;
    clear:both!important;
    float:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:14px!important;
  }
  body.ss-mobile-shared #hojre {padding-top:0!important;}
  /* Gamle 300px-bokse og eventuelle indre beholdere. */
  body.ss-mobile-shared #hojre > div,
  body.ss-mobile-shared #hojre > section,
  body.ss-mobile-shared #hojre > .box,
  body.ss-mobile-shared #hojre .box {
    box-sizing:border-box!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.ss-mobile-shared #hojre .box > h2,
  body.ss-mobile-shared #hojre .box > .inner,
  body.ss-mobile-shared #hojre .box > .corner,
  body.ss-mobile-shared #hojre .box > .content,
  body.ss-mobile-shared #hojre .box > table,
  body.ss-mobile-shared #hojre .box table {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ss-mobile-shared #hojre table {table-layout:auto;}
}


/* v5 – faktiske 300px-begrænsninger i /genbrug/bund.txt.
   Højrespaltens specialbokse er ikke .box-elementer. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #hojre .stilling-box,
  body.ss-mobile-shared #hojre .season-overview-card,
  body.ss-mobile-shared #hojre .season-top-card {
    box-sizing:border-box!important;
    display:block;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}

/* v6: De faktiske elementer i /genbrug/bund.txt.
   Yderboksen .box.hojre.blue ligger omkring alle tre moduler. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #hojre > .box.hojre.blue {
    display:block!important;
    float:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
  }
  body.ss-mobile-shared #hojre .hold-stilling-box,
  body.ss-mobile-shared #hojre .seneste-kampe-box,
  body.ss-mobile-shared #hojre .optakter-box {
    display:block!important;
    float:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  /* På den aktuelle stillingsside gentages stillingen ikke i sidekolonnen. */
  body.ss-mobile-shared:has(.ss-aktuel) #hojre .hold-stilling-box {
    display:none!important;
  }
}

/* v7 – /hold/ klubtop og brede statistiktabeller på mobil.
   Kun fælles undersider; desktop og forsiden berøres ikke. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-page #clubdetails,
  body.ss-mobile-shared .ss-hold-page #clubdetails > tbody,
  body.ss-mobile-shared .ss-hold-page #clubdetails > tbody > tr {
    display:block!important;
    width:100%!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails > tbody > tr {
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px 10px!important;
    padding:14px!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails td.logo {
    display:block!important;
    width:64px!important;
    padding:0!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails td.logo img {
    max-width:60px!important;
    max-height:60px!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails td.clubname {
    display:block!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    font-size:19px!important;
    line-height:24px!important;
    white-space:normal!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails td.center {display:none!important;}
  body.ss-mobile-shared .ss-hold-page #clubdetails td.meta {
    display:block!important;
    grid-column:1 / -1!important;
    width:100%!important;
    padding:8px 0 0!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails .hold-toplinks,
  body.ss-mobile-shared .ss-hold-page #clubdetails .hold-toplinks-row {
    display:flex!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    width:100%!important;
  }
  body.ss-mobile-shared .ss-hold-page #clubdetails td.meta a {
    display:inline-block!important;
    max-width:100%!important;
    white-space:normal!important;
    font-size:12px!important;
    line-height:17px!important;
    padding:5px 8px!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel,
  body.ss-mobile-shared .ss-hold-page .hold-alltime-tablebox {
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel #sortTable {
    width:max-content!important;
    min-width:730px!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-alltime-tablebox table {
    width:max-content!important;
    min-width:100%!important;
  }
  body.ss-mobile-shared .ss-hold-page .inner form select {
    max-width:100%!important;
    min-width:0!important;
  }
}

/* v8 – /hold/sason: filtre, trænerlinje og X-link. Kun mobil. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-page .hold-players-panel > .inner,
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .hold-alltime-nav {
    overflow:visible!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .inner form {
    justify-content:flex-start!important;
    align-items:stretch!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:100%!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .inner form .form-item {
    flex:1 1 0!important;
    min-width:0!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .inner form .form-item:first-child {
    flex:1.5 1 0!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .inner form select {
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding-left:9px!important;
    padding-right:24px!important;
    font-size:14px!important;
  }
  /* Træneren er ikke en statistikkolonne: vis bundlinjen i mobilens synlige bredde. */
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .hold-trainer-footer {
    position:sticky!important;
    left:0!important;
    box-sizing:border-box!important;
    width:calc(100vw - 52px)!important;
    max-width:calc(100vw - 52px)!important;
    min-width:0!important;
    justify-content:flex-end!important;
    text-align:right!important;
    padding:9px 12px!important;
  }
  body.ss-mobile-shared #hojre > .right {
    float:none!important;
    display:flex!important;
    justify-content:flex-end!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:8px 0 0!important;
  }
}

/* v9: Sæsonens navigationsvælgere og selvstændig scroll for spillertabel. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-page > .box.full.blue.multipleheader > .inner form {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;
    width:100%!important;max-width:100%!important;margin:0!important;
  }
  body.ss-mobile-shared .ss-hold-page > .box.full.blue.multipleheader > .inner form p.form-item {
    display:block!important;float:none!important;flex:none!important;width:100%!important;
    max-width:100%!important;margin:0!important;padding:0!important;
  }
  body.ss-mobile-shared .ss-hold-page > .box.full.blue.multipleheader > .inner form p.form-item:empty {display:none!important;}
  body.ss-mobile-shared .ss-hold-page > .box.full.blue.multipleheader > .inner form select.hold-nav-select {
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;text-align:left!important;font-size:15px!important;
    padding:9px 32px 9px 12px!important;height:auto!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel {overflow:visible!important;}
  body.ss-mobile-shared .ss-hold-page .hold-players-scroll {
    display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;box-sizing:border-box;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-scroll #sortTable {
    width:max-content!important;min-width:730px!important;max-width:none!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .hold-trainer-footer {
    position:static!important;left:auto!important;width:100%!important;max-width:100%!important;
    min-width:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;
    justify-content:flex-end!important;gap:7px!important;text-align:right!important;
    box-sizing:border-box!important;padding:12px 14px!important;
  }
}


/* v10 – /hold/alltime: hold sæsonoverskrifter og tal i samme tabel-flow. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-alltime-page .hold-alltime-summary table {
    width:100%!important;min-width:0!important;max-width:100%!important;
    table-layout:auto!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-alltime-summary th,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-alltime-summary td {
    white-space:nowrap!important;
    font-size:11px!important;
    padding-left:3px!important;padding-right:3px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-alltime-summary td:first-child,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-alltime-summary th:first-child {
    text-align:left!important;padding-left:7px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox {
    width:100%!important;max-width:100%!important;
    overflow-x:auto!important;-webkit-overflow-scrolling:touch;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox table {
    width:700px!important;min-width:700px!important;max-width:none!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox thead,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox tbody {
    display:table-row-group!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox thead {display:table-header-group!important;}
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox tr {display:table-row!important;}
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox th,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox td {
    display:table-cell!important;position:static!important;float:none!important;
    box-sizing:border-box!important;white-space:nowrap!important;
    text-align:center!important;font-size:12px!important;
    padding:8px 5px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox th:first-child,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox td:first-child {
    width:110px!important;text-align:left!important;padding-left:9px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox th:nth-child(2),
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox td:nth-child(2) {width:85px!important;}
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox th:nth-child(7),
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox td:nth-child(7) {width:105px!important;}
  body.ss-mobile-shared .ss-hold-alltime-page .hold-club-switcher {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    padding:10px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-club-switcher form,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-club-switcher .form-item-right {
    display:block!important;float:none!important;width:100%!important;
    max-width:100%!important;margin:0!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-club-switcher select {
    display:block!important;box-sizing:border-box!important;width:100%!important;
    max-width:100%!important;min-width:0!important;
  }
}

/* v11 – /hold/alltime/: fuld bredde i den særskilte højrespalte,
   samt klubtop der ikke overlapper. Kun mobil. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #hojre .hold-sidebox,
  body.ss-mobile-shared #hojre .hold-alltime-sidebox {
    display:block!important;
    float:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 12px!important;
  }
  body.ss-mobile-shared #hojre .hold-key-grid,
  body.ss-mobile-shared #hojre .hold-alltime-records {
    width:100%!important;
    max-width:100%!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page #clubdetails > tbody > tr {
    display:grid!important;
    grid-template-columns:66px minmax(0,1fr)!important;
    column-gap:12px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page #clubdetails td.logo {
    grid-column:1!important;
    grid-row:1!important;
    width:66px!important;
    min-width:0!important;
    padding:0!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page #clubdetails td.clubname {
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    padding:0!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    font-size:19px!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page #clubdetails td.center {
    display:none!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page #clubdetails td.meta {
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    padding:8px 0 0!important;
  }
}

/* v12 – Sæsoner: overskriftsbjælken følger hele den vandret scrollbare tabel. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox > h2,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox > .box-title,
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox > .header {
    box-sizing:border-box!important;
    width:700px!important;
    min-width:700px!important;
    max-width:none!important;
    background:#104470!important;
    color:#fff!important;
  }
  body.ss-mobile-shared .ss-hold-alltime-page .hold-seasons-tablebox {
    background:#fff!important;
  }
}

/* v13 – klubtop /hold/alltime/: samme stabile mobilgrid som sæsonsiden.
   Overskriftsrettelsen fra v12 bevares. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-page.ss-hold-alltime-page #clubdetails > tbody > tr {
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    gap:10px 12px!important;
    padding:14px!important;
  }
  body.ss-mobile-shared .ss-hold-page.ss-hold-alltime-page #clubdetails td.logo {
    display:flex!important;
    position:static!important;
    grid-column:1!important;
    grid-row:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:64px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
  }
  body.ss-mobile-shared .ss-hold-page.ss-hold-alltime-page #clubdetails td.logo img {
    display:block!important;
    position:static!important;
    width:auto!important;
    max-width:60px!important;
    height:auto!important;
    max-height:60px!important;
    margin:0!important;
    float:none!important;
  }
  body.ss-mobile-shared .ss-hold-page.ss-hold-alltime-page #clubdetails td.clubname {
    display:block!important;
    position:static!important;
    grid-column:2!important;
    grid-row:1!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    text-align:left!important;
    font-size:19px!important;
    line-height:24px!important;
    white-space:normal!important;
  }
  body.ss-mobile-shared .ss-hold-page.ss-hold-alltime-page #clubdetails td.meta {
    display:block!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:8px 0 0!important;
  }
}


/* v14 – fælles mobilbredde for højrespalternes yderste widgets.
   Ingen side- eller widget-specifikke klassenavne. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #hojre {
    display:block!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0 14px 14px!important;
    margin:0!important;
  }
  body.ss-mobile-shared #hojre > :is(div,section,article):not(.right):not(#space20) {
    box-sizing:border-box!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  /* Kun yderste kort i højrespalten, ikke alle indre statistikfelter. */
  body.ss-mobile-shared #hojre > :is(div,section,article):not(.right):not(#space20) > :is(div,section,article)[class*="-card"],
  body.ss-mobile-shared #hojre > :is(div,section,article)[class*="-card"],
  body.ss-mobile-shared #hojre > :is(div,section,article):not(.right):not(#space20) > :is(div,section,article)[class*="-box"] {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
  }
}

/* v15 – fælles tabel-scroll på undersider. Header og footer forbliver udenfor. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-page .ss-section {
    min-width:0; max-width:100%; box-sizing:border-box;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll {
    display:block; width:100%; max-width:100%; min-width:0;
    overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    box-sizing:border-box;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table {
    display:table!important; width:100%!important;
    min-width:max-content!important; max-width:none!important;
    table-layout:auto!important; border-collapse:collapse;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table th,
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table td {
    display:table-cell!important; white-space:nowrap!important;
    box-sizing:border-box;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table thead {
    display:table-header-group!important;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table tbody {
    display:table-row-group!important;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table tr {
    display:table-row!important;
  }
}

/* v16: Bevar seks eller flere kolonner i naturlig tabelbredde. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table:has(thead th:nth-child(6)) {
    min-width:640px!important;
  }
  body.ss-mobile-shared .ss-page .ss-mobile-table-scroll > table.ss-table colgroup col {
    display:table-column!important;
  }
}


/* v17 – fælles mobilstandard for bundnavigation og sæsonvælgere.
   Kun undersider. Links øverst, filtre nedenunder.
   Ingen ændringer på desktop eller forsiden. */
@media screen and (max-width:700px) {
  /* Standard-footere med links og select-felter. */
  body.ss-mobile-shared .ss-footer-controls:has(select) {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    gap:9px!important;
    min-width:0!important;
  }
  body.ss-mobile-shared .ss-footer-controls:has(select) > .ss-footer-nav {
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ss-mobile-shared .ss-footer-controls:has(select) > .ss-footer-spacer {
    display:none!important;
  }
  body.ss-mobile-shared .ss-footer-controls:has(select) > .ss-select {
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
    text-align:right!important;
  }
  body.ss-mobile-shared .ss-footer-controls:has(select) > .ss-select form {
    max-width:100%!important;
  }
  /* To selecter i én form: den sidste er normalt sæsonvælger. */
  body.ss-mobile-shared .spiller-alder-bottom {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-links {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:8px!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls > select {
    display:block!important;
    float:none!important;
    box-sizing:border-box!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    font-size:16px!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls > select:first-child {
    flex:1 1 0!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls > select[name="aar"] {
    flex:0 0 145px!important;
    width:145px!important;
    min-width:145px!important;
    padding-right:28px!important;
  }
  /* Andre standard-bundselecter, hvor sæsonen vælges separat. */
  body.ss-mobile-shared .ss-footer select[name="aar"],
  body.ss-mobile-shared .ss-footer select[name="season"],
  body.ss-mobile-shared .ss-footer select[name="saeson"] {
    box-sizing:border-box!important;
    min-width:145px!important;
    font-size:16px!important;
    padding-right:28px!important;
  }
}
@media screen and (max-width:360px) {
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls {
    flex-wrap:wrap!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls > select:first-child {
    flex:1 1 100%!important;
  }
  body.ss-mobile-shared .spiller-alder-bottom .spiller-alder-controls > select[name="aar"] {
    flex:1 1 100%!important;
    width:100%!important;
  }
}

/* v18 – fælles mobil-scroll også for femkolonnede statistiktabeller.
   Gælder kun tabeller som JS har pakket ind; overskrift/footer står fast. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #content .ss-mobile-table-scroll,
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll {
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
  }
  body.ss-mobile-shared #content .ss-mobile-table-scroll > table.ss-table,
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table.ss-table {
    display:table!important;
    width:100%!important;
    max-width:none!important;
    table-layout:auto!important;
  }
  body.ss-mobile-shared #content .ss-mobile-table-scroll > table.ss-table:has(thead th:nth-child(5)),
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table.ss-table:has(thead th:nth-child(5)) {
    min-width:620px!important;
  }
  body.ss-mobile-shared #content .ss-mobile-table-scroll > table.ss-table th,
  body.ss-mobile-shared #content .ss-mobile-table-scroll > table.ss-table td,
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table.ss-table th,
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table.ss-table td {
    display:table-cell!important;
    white-space:nowrap!important;
  }
}

/* v19 – Venstrestil trænerlinjen under spillertabellen på mobil. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .hold-trainer-footer {
    justify-content:flex-start!important;
    text-align:left!important;
  }
  body.ss-mobile-shared .ss-hold-page .hold-players-panel .hold-trainers {
    text-align:left!important;
  }
}

/* v20 – fælles mobilheader og SoMe-footer. Desktop uændret. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #header, body.ss-mobile-shared #header {
    display:flex!important; flex-wrap:nowrap!important; align-items:center!important;
    justify-content:space-between!important; gap:9px!important;
    box-sizing:border-box!important; min-height:72px!important;
    padding:12px 14px!important; background:#104470!important;
  }
  body.ss-mobile-front #header .ss-mobile-brand,
  body.ss-mobile-shared #header .ss-mobile-brand {
    display:flex!important; flex:0 1 auto!important; min-width:0!important;
    margin-right:auto!important; text-decoration:none!important;
  }
  body.ss-mobile-front #header .ss-mobile-brand strong,
  body.ss-mobile-shared #header .ss-mobile-brand strong {
    display:block!important; font:800 clamp(21px,6vw,29px)/1.05 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.7px!important; white-space:nowrap!important;
  }
  body.ss-mobile-front #header .ss-word-super,
  body.ss-mobile-shared #header .ss-word-super { color:#fff!important; }
  body.ss-mobile-front #header .ss-word-stats,
  body.ss-mobile-shared #header .ss-word-stats { color:#ffcc00!important; }
  body.ss-mobile-front #header .ss-mobile-brand small,
  body.ss-mobile-shared #header .ss-mobile-brand small {
    display:block!important; margin-top:5px!important; color:#dce9f3!important;
    font:600 9px/1.2 Arial,Helvetica,sans-serif!important; letter-spacing:1.3px!important;
    white-space:nowrap!important;
  }
  body.ss-mobile-front #header .ss-mobile-menu,
  body.ss-mobile-shared #header .ss-mobile-menu {display:block!important;position:relative!important;flex:0 0 auto!important;margin:0!important;}
  body.ss-mobile-front #header .ss-mobile-menu > summary,
  body.ss-mobile-shared #header .ss-mobile-menu > summary {
    display:flex!important; align-items:center!important; justify-content:center!important;
    width:43px!important; height:43px!important; min-height:43px!important;
    box-sizing:border-box!important; padding:0!important; border:1px solid #8eafc9!important;
    border-radius:6px!important; background:transparent!important; color:#fff!important;
  }
  body.ss-mobile-front #header .ss-menu-label,
  body.ss-mobile-shared #header .ss-menu-label {display:none!important;}
  body.ss-mobile-front #header .ss-mobile-menu > summary span[aria-hidden],
  body.ss-mobile-shared #header .ss-mobile-menu > summary span[aria-hidden] {font-size:25px!important;line-height:1!important;}
  body.ss-mobile-front #header .ss-mobile-search,
  body.ss-mobile-shared #header .ss-mobile-search {
    display:flex!important; align-items:center!important; justify-content:center!important;
    flex:0 0 38px!important; width:38px!important; height:43px!important;
    margin:0!important; padding:0!important; color:#fff!important; background:none!important;
    text-indent:0!important;
  }
  body.ss-mobile-front #header .ss-mobile-search svg,
  body.ss-mobile-shared #header .ss-mobile-search svg {display:block!important;width:24px!important;height:24px!important;}
  body.ss-mobile-front #ikoner.ss-top-ikoner .ss-top-social,
  body.ss-mobile-shared #ikoner.ss-top-ikoner .ss-top-social {display:none!important;}
  body.ss-mobile-front #ikoner.ss-top-ikoner,
  body.ss-mobile-shared #ikoner.ss-top-ikoner {display:none!important;}
  body .ss-mobile-social-footer {
    display:flex!important; justify-content:center!important; align-items:center!important;
    gap:24px!important; padding:17px 12px 10px!important; margin:10px 12px 0!important;
    border-top:1px solid #d5dde4!important;
  }
  body .ss-mobile-social-footer a.ss-social-link {
    display:flex!important; align-items:center!important; justify-content:center!important;
    flex:0 0 30px!important; width:30px!important; height:34px!important;
    color:#104470!important; background:none!important; text-decoration:none!important;
  }
  body .ss-mobile-social-footer svg {width:23px!important;height:23px!important;}
}
@media screen and (min-width:701px) { .ss-mobile-social-footer {display:none!important;} }

/* Mobil-logo: SUPER og STATS skal stå på samme linje. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #header .ss-mobile-brand strong .ss-word-super,
  body.ss-mobile-front #header .ss-mobile-brand strong .ss-word-stats,
  body.ss-mobile-shared #header .ss-mobile-brand strong .ss-word-super,
  body.ss-mobile-shared #header .ss-mobile-brand strong .ss-word-stats {
    display:inline!important;
    flex:none!important;
    white-space:nowrap!important;
  }
  body.ss-mobile-front #header .ss-mobile-brand strong,
  body.ss-mobile-shared #header .ss-mobile-brand strong {
    display:block!important;
    white-space:nowrap!important;
  }
}

/* v22 – samlet, kompakt mobilfooter på alle sider. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer,
  body.ss-mobile-shared #footer {
    box-sizing:border-box!important;
    width:calc(100% - 24px)!important;
    max-width:600px!important;
    margin:12px auto 16px!important;
    padding:20px 14px 17px!important;
    border:1px solid #dce4ea!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 1px 2px rgba(16,68,112,.035)!important;
    text-align:center!important;
  }
  body.ss-mobile-front #footer ul,
  body.ss-mobile-shared #footer ul {
    display:flex!important; flex-wrap:wrap!important;
    align-items:center!important; justify-content:center!important;
    column-gap:17px!important; row-gap:0!important;
    width:100%!important; max-width:100%!important;
    margin:0!important; padding:0!important; list-style:none!important;
  }
  body.ss-mobile-front #footer ul > li,
  body.ss-mobile-shared #footer ul > li {
    flex:0 0 auto!important; width:auto!important; margin:0!important;
    padding:0!important; border:0!important; background:transparent!important;
    line-height:1.4!important;
  }
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    order:0!important; flex:0 0 100%!important; width:100%!important;
    margin:0 0 13px!important; font-size:0!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::before,
  body.ss-mobile-shared #footer ul > li:first-child::before {
    content:"SUPERSTATS"!important; display:block!important;
    font:800 24px/1.12 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.6px!important; color:#104470!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::after,
  body.ss-mobile-shared #footer ul > li:first-child::after {
    content:"SUPERLIGAEN I TAL"!important; display:block!important;
    margin:5px 0 0!important; font:600 9px/1.4 Arial,Helvetica,sans-serif!important;
    letter-spacing:2px!important; color:#718394!important;
  }
  body.ss-mobile-front #footer ul > li.ss-mobile-social-footer,
  body.ss-mobile-shared #footer ul > li.ss-mobile-social-footer {
    order:1!important; flex:0 0 100%!important; width:100%!important;
    display:flex!important; justify-content:center!important; align-items:center!important;
    gap:24px!important; padding:13px 0!important; margin:0 0 13px!important;
    border-top:1px solid #e2e8ed!important;
    border-bottom:1px solid #e2e8ed!important;
  }
  body #footer ul > li.ss-mobile-social-footer a.ss-social-link {
    display:flex!important; align-items:center!important; justify-content:center!important;
    width:36px!important; height:34px!important; flex:0 0 36px!important;
    color:#104470!important; text-decoration:none!important; background:transparent!important;
  }
  body #footer ul > li.ss-mobile-social-footer svg {width:24px!important;height:24px!important;}
  body.ss-mobile-front #footer ul > li:nth-child(4),
  body.ss-mobile-front #footer ul > li:nth-child(5),
  body.ss-mobile-front #footer ul > li:nth-child(8),
  body.ss-mobile-shared #footer ul > li:nth-child(4),
  body.ss-mobile-shared #footer ul > li:nth-child(5),
  body.ss-mobile-shared #footer ul > li:nth-child(8) {order:2!important;}
  body.ss-mobile-front #footer ul > li:nth-child(6),
  body.ss-mobile-front #footer ul > li:nth-child(7),
  body.ss-mobile-shared #footer ul > li:nth-child(6),
  body.ss-mobile-shared #footer ul > li:nth-child(7) {display:none!important;}
  body.ss-mobile-front #footer ul > li:nth-child(8) a,
  body.ss-mobile-shared #footer ul > li:nth-child(8) a {font-size:0!important;}
  body.ss-mobile-front #footer ul > li:nth-child(8) a::after,
  body.ss-mobile-shared #footer ul > li:nth-child(8) a::after {content:"Kontakt";font-size:12px!important;}
  body.ss-mobile-front #footer ul > li a,
  body.ss-mobile-shared #footer ul > li a {color:#104470!important;font-size:12px!important;text-decoration:none!important;}
  body.ss-mobile-front #footer ul > li:nth-child(3),
  body.ss-mobile-shared #footer ul > li:nth-child(3) {
    display:block!important; order:10!important; flex:0 0 100%!important;
    width:100%!important; margin:15px 0 0!important;
    color:#82909d!important; font-size:0!important;
  }
  body.ss-mobile-front #footer ul > li:nth-child(3)::after,
  body.ss-mobile-shared #footer ul > li:nth-child(3)::after {
    content:"© 2007–2026 SuperStats.dk";
    font:400 11px/1.5 Arial,Helvetica,sans-serif!important;
  }
}

/* v23 – footer: korrekt navigation og tofarvet ordmærke. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    font-size:0!important;
    line-height:1.1!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::before,
  body.ss-mobile-shared #footer ul > li:first-child::before {
    content:"SUPER"!important;
    display:inline!important;
    font:800 24px/1.12 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.6px!important;
    color:#104470!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::after,
  body.ss-mobile-shared #footer ul > li:first-child::after {
    content:"STATS"!important;
    display:inline!important;
    margin:0!important;
    font:800 24px/1.12 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.6px!important;
    color:#d4a800!important;
  }
  body #footer ul > li:first-child .ss-footer-tagline {
    display:block!important;
    margin:7px 0 0!important;
    font:600 9px/1.4 Arial,Helvetica,sans-serif!important;
    letter-spacing:2px!important;
    color:#718394!important;
  }
  /* Efter indsættelse af SoMe-elementet er kontaktlinket nr. 7, ikke nr. 8. */
  body.ss-mobile-front #footer ul > li:nth-child(5),
  body.ss-mobile-shared #footer ul > li:nth-child(5),
  body.ss-mobile-front #footer ul > li:nth-child(7),
  body.ss-mobile-shared #footer ul > li:nth-child(7) {
    display:list-item!important;
    order:2!important;
    flex:0 0 auto!important;
    width:auto!important;
  }
  body.ss-mobile-front #footer ul > li:nth-child(6),
  body.ss-mobile-shared #footer ul > li:nth-child(6) {display:none!important;}
  body.ss-mobile-front #footer ul > li:nth-child(7) a,
  body.ss-mobile-shared #footer ul > li:nth-child(7) a {font-size:0!important;}
  body.ss-mobile-front #footer ul > li:nth-child(7) a::after,
  body.ss-mobile-shared #footer ul > li:nth-child(7) a::after {
    content:"Kontakt"!important;
    font-size:12px!important;
  }
  body.ss-mobile-front #footer ul > li:nth-child(4),
  body.ss-mobile-shared #footer ul > li:nth-child(4) {order:2!important;}
  body.ss-mobile-front #footer ul > li:nth-child(3),
  body.ss-mobile-shared #footer ul > li:nth-child(3) {margin-top:11px!important;}
}

/* v24 – footerlogo: SUPER og STATS paa samme linje, tagline nedenunder.
   Kun mobil; ingen aendringer af header, navigation eller desktop. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:baseline!important;
    align-content:center!important;
    column-gap:0!important;
    row-gap:0!important;
    width:100%!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::before,
  body.ss-mobile-shared #footer ul > li:first-child::before,
  body.ss-mobile-front #footer ul > li:first-child::after,
  body.ss-mobile-shared #footer ul > li:first-child::after {
    display:block!important;
    flex:0 0 auto!important;
    margin:0!important;
    line-height:1.12!important;
  }
  body.ss-mobile-front #footer ul > li:first-child .ss-footer-tagline,
  body.ss-mobile-shared #footer ul > li:first-child .ss-footer-tagline {
    display:block!important;
    flex:0 0 100%!important;
    order:3!important;
    width:100%!important;
    margin:7px 0 0!important;
    text-align:center!important;
  }
}

/* v25 – fodboldmand i den fælles mobilfooter. Kun mobil. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    box-sizing:border-box!important;
    display:flex!important;
    flex:0 1 auto!important;
    width:max-content!important;
    max-width:100%!important;
    min-height:52px!important;
    margin:0 auto 3px!important;
    padding:3px 0 3px 55px!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    align-content:center!important;
    justify-content:center!important;
    background-image:url('/images/superstats-logo-6.png')!important;
    background-repeat:no-repeat!important;
    background-position:left center!important;
    background-size:45px 45px!important;
  }
  body.ss-mobile-front #footer ul > li:first-child .ss-footer-tagline,
  body.ss-mobile-shared #footer ul > li:first-child .ss-footer-tagline {
    flex:0 0 100%!important;
    width:100%!important;
    margin-top:5px!important;
    white-space:nowrap!important;
  }
}

/* v26 – saml fodboldmand og ordmaerke i en centreret enhed. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    flex:0 0 auto!important;
    width:fit-content!important;
    max-width:100%!important;
    margin:0 auto 3px!important;
    padding:3px 0 3px 51px!important;
    justify-content:flex-start!important;
    background-position:0 center!important;
    background-size:45px 45px!important;
  }
}

/* v27/v15 – fodboldmand og SUPERSTATS som én centreret enhed.
   Samme regel i begge mobil-CSS-filer, så forsiden ikke overskriver den. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    box-sizing:border-box!important;
    display:flex!important;
    flex:0 0 auto!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 auto 3px!important;
    padding:3px 0 3px 50px!important;
    align-self:center!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    align-content:center!important;
    background-image:url('/images/superstats-logo-6.png')!important;
    background-repeat:no-repeat!important;
    background-position:left center!important;
    background-size:45px 45px!important;
  }
}

/* v28 / forside v16 – centrer hele logoenheden, og placer undertitlen
   præcist under SUPERSTATS. Ingen ændring af resten af footeren. */
@media screen and (max-width:700px) {
  body.ss-mobile-front #footer ul > li:first-child,
  body.ss-mobile-shared #footer ul > li:first-child {
    display:grid!important;
    grid-template-columns:50px max-content max-content!important;
    grid-template-rows:auto auto!important;
    justify-content:center!important;
    align-items:center!important;
    align-content:center!important;
    column-gap:0!important;
    row-gap:3px!important;
    flex:0 0 auto!important;
    width:max-content!important;
    max-width:100%!important;
    min-height:54px!important;
    margin:0 auto 3px!important;
    padding:3px 0!important;
    background-image:url('/images/superstats-logo-6.png')!important;
    background-position:left center!important;
    background-size:45px 45px!important;
    background-repeat:no-repeat!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::before,
  body.ss-mobile-shared #footer ul > li:first-child::before {
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    margin:0!important;
  }
  body.ss-mobile-front #footer ul > li:first-child::after,
  body.ss-mobile-shared #footer ul > li:first-child::after {
    grid-column:3!important;
    grid-row:1!important;
    display:block!important;
    margin:0!important;
  }
  body.ss-mobile-front #footer ul > li:first-child .ss-footer-tagline,
  body.ss-mobile-shared #footer ul > li:first-child .ss-footer-tagline {
    grid-column:2 / 4!important;
    grid-row:2!important;
    display:block!important;
    width:auto!important;
    margin:0!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
}

/* v29 – fælles selectfordeling og gammel X-følg-knap.
   To direkte selectfelter, hvor nr. 2 er sæson: sæsonen får fast læsbar bredde.
   Andre filteropstillinger og desktop påvirkes ikke. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #content form:has(> select:first-child + select:last-child:is([name="aar"],[name="season"],[name="saeson"])) {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:8px!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ss-mobile-shared #content form:has(> select:first-child + select:last-child:is([name="aar"],[name="season"],[name="saeson"])) > select:first-child {
    flex:1 1 0!important;
    width:0!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.ss-mobile-shared #content form:has(> select:first-child + select:last-child:is([name="aar"],[name="season"],[name="saeson"])) > select:nth-child(2) {
    flex:0 0 145px!important;
    width:145px!important;
    min-width:145px!important;
    max-width:145px!important;
    padding-right:26px!important;
  }
}

/* Skjul den gamle sorte Twitter/X-follow-widget på alle sider.
   Den nyere SoMe-footer er uafhængig af denne knap. */
a.twitter-follow-button,
iframe[id^="twitter-widget-"]:has(a.twitter-follow-button) {
  display:none!important;
}


/* v30 – fælles tabelbredder på mobil.
   Brede tabeller rulles individuelt; sektionernes overskrifter bliver stående.
   JS-filen superstats-mobile-tables.js lægger wrapperen omkring tabellerne. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #content {
    overflow-x:clip;
  }
  body.ss-mobile-shared .ss-page,
  body.ss-mobile-shared .ss-section,
  body.ss-mobile-shared #content .box,
  body.ss-mobile-shared #content .box > .inner {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
  }
  body.ss-mobile-shared .ss-mobile-table-scroll {
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#91a9bc #eef2f5;
  }
  body.ss-mobile-shared .ss-mobile-table-scroll > table {
    display:table!important;
    width:max-content!important;
    min-width:100%!important;
    max-width:none!important;
    table-layout:auto!important;
    border-collapse:collapse;
  }
  body.ss-mobile-shared .ss-mobile-table-scroll > table thead {display:table-header-group!important;}
  body.ss-mobile-shared .ss-mobile-table-scroll > table tbody {display:table-row-group!important;}
  body.ss-mobile-shared .ss-mobile-table-scroll > table tfoot {display:table-footer-group!important;}
  body.ss-mobile-shared .ss-mobile-table-scroll > table tr {display:table-row!important;}
  body.ss-mobile-shared .ss-mobile-table-scroll > table th,
  body.ss-mobile-shared .ss-mobile-table-scroll > table td {
    display:table-cell!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    vertical-align:middle;
  }
  body.ss-mobile-shared .ss-mobile-table-scroll > table img {
    max-width:32px;
    max-height:32px;
    width:auto;
    height:auto;
    object-fit:contain;
    vertical-align:middle;
  }
  /* Tabeller med mange kolonner får plads til alle felter uden sammenpresning. */
  body.ss-mobile-shared .ss-mobile-table-scroll > table:has(thead th:nth-child(5)) {
    min-width:620px!important;
  }
  body.ss-mobile-shared .ss-mobile-table-scroll > table:has(thead th:nth-child(7)) {
    min-width:760px!important;
  }
  /* Gør det tydeligt, når indholdet fortsætter til højre. */
  body.ss-mobile-shared .ss-mobile-table-scroll.ss-table-can-scroll {
    border-right:2px solid #a8bbca;
  }
}

/* v31 – kompakte profiloversigter og mindre klublogoer på mobil. */
@media screen and (max-width:700px) {
  /* Tre kolonner (fx Position / Alder / Født) kan være på én skærm. */
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table:not(:has(thead th:nth-child(4))) {
    width:100%!important; min-width:0!important; max-width:100%!important; table-layout:fixed!important;
  }
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table:not(:has(thead th:nth-child(4))) th,
  body.ss-mobile-shared .ss-spillere-page .ss-mobile-table-scroll > table:not(:has(thead th:nth-child(4))) td {
    white-space:normal!important; overflow-wrap:break-word; padding-left:5px!important; padding-right:5px!important;
  }
  /* Profilens klublogoer skal ikke dominere tabellerne. */
  body.ss-mobile-shared .ss-spillere-page table img[src*="/images/logo/teams/"],
  body.ss-mobile-shared .ss-spillere-page table img.spiller-hold-logo {
    width:22px!important; height:22px!important; max-width:22px!important; max-height:22px!important; object-fit:contain!important;
  }
}


/* v32 – spillerprofil: faktatabellen skal ikke behandles som bred statistik. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box {
    width:100%!important; max-width:100%!important; min-width:0!important;
  }
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box .ss-mobile-table-scroll {
    width:100%!important; max-width:100%!important; min-width:0!important;
    overflow:visible!important; border-right:0!important;
  }
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table,
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box .ss-mobile-table-scroll > table.spiller-info-table {
    display:table!important; width:100%!important; min-width:0!important;
    max-width:100%!important; table-layout:fixed!important;
  }
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table th,
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table td {
    box-sizing:border-box!important; padding:7px 3px!important; font-size:12px!important;
    white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
    vertical-align:middle!important;
  }
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table :is(th,td):nth-child(1) {width:17%!important;text-align:center!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table :is(th,td):nth-child(2) {width:32%!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table :is(th,td):nth-child(3) {width:15%!important;text-align:center!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table :is(th,td):nth-child(4) {width:36%!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table :is(th,td):nth-child(n+5) {display:none!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box img.spiller-hold-logo {width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-bottom {position:relative!important;z-index:5!important;overflow:visible!important;}
  body.ss-mobile-shared .spiller-season-refined .spiller-bottom a.spiller-bottom-link {
    position:relative!important;z-index:6!important;display:inline-block!important;
    color:#104470!important;text-decoration:underline!important;
    pointer-events:auto!important;cursor:pointer!important;
  }
}


/* v33 – spillerprofil: kun den nye faktaboks på mobil.
   Tilsidesætter v32 uden at påvirke desktop eller andre tabeller. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box table.spiller-info-table,
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box .ss-mobile-table-scroll > table.spiller-info-table {
    display:none!important;
  }
  body.ss-mobile-shared .spiller-season-refined .spiller-info-box .ss-mobile-table-scroll {
    display:none!important;
  }
  body.ss-mobile-shared .spiller-season-refined .spiller-mobile-facts {
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
}
/* v34 – fælles klublogoer i statistiktabeller på mobil.
   Kun kendte klublogostier i tbody; topbokse og øvrige billeder bevares. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #content table:not(#clubdetails) tbody img:is(
    [src*="/images/logo/teams/"],
    [src*="/images/teamlogo/"],
    [src*="/europacup/logo/"]
  ) {
    box-sizing:border-box!important;
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
    max-width:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    flex:0 0 16px!important;
    object-fit:contain!important;
    object-position:center!important;
    vertical-align:middle!important;
    float:none!important;
    padding:0!important;
  }
}

/* v35 – klubprofilens top-logo har egen størrelse på alle holdsider.
   #clubdetails er samtidig undtaget fra v34-reglen for små tabellogoer. */
@media screen and (max-width:700px) {
  body.ss-mobile-shared #content #clubdetails td.logo {
    text-align:center!important;
    vertical-align:middle!important;
    min-width:64px!important;
  }
  body.ss-mobile-shared #content #clubdetails td.logo img {
    display:block!important;
    box-sizing:border-box!important;
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    flex:0 0 56px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto!important;
    padding:0!important;
    float:none!important;
    vertical-align:middle!important;
  }
}

/* v36 – fælles standard for selectfelter i mobilindhold.
   Desktop og hovedmenu er uden for reglens område. */
@media screen and (max-width:700px) {
 body.ss-mobile-shared #content select,
 body.ss-mobile-shared #hojre select {
   box-sizing:border-box!important;
   display:block;
   width:100%!important;
   min-width:0!important;
   max-width:100%!important;
   height:36px!important;
   min-height:36px!important;
   margin:0!important;
   padding:5px 28px 5px 9px!important;
   border:1px solid #cbd7e0!important;
   border-radius:5px!important;
   background-color:#fff!important;
   color:#10315b!important;
   font:400 16px/22px Arial,Helvetica,sans-serif!important;
   text-transform:none!important;
 }
 /* Bevar flerlinjede listefelters funktion. */
 body.ss-mobile-shared #content select:is([multiple],[size]:not([size="1"])),
 body.ss-mobile-shared #hojre select:is([multiple],[size]:not([size="1"])) {
   height:auto!important;
   min-height:72px!important;
   padding:5px 9px!important;
 }
 body.ss-mobile-shared #content select:focus-visible,
 body.ss-mobile-shared #hojre select:focus-visible {
   outline:2px solid #104470;
   outline-offset:2px;
 }
 /* Pokaltoppens fælles vælgergruppe: egen række, ét felt per linje. */
 body.ss-mobile-shared #content .pokal-page .pokal-feature-main > .pokal-club-feature-controls {
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-column:1/-1!important;
   grid-row:2!important;
   gap:8px!important;
   justify-self:stretch!important;
   align-self:stretch!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
   margin:0!important;
   padding:0!important;
   float:none!important;
 }
 body.ss-mobile-shared #content .pokal-page .pokal-feature-main > .pokal-club-feature-controls select:is(#pokal-club-switch,#pokal-rival-switch) {
   width:100%!important;
   min-width:0!important;
   max-width:100%!important;
   height:36px!important;
   font:400 16px/22px Arial,Helvetica,sans-serif!important;
 }
}

/* v37 – tokolonne-reglen kræver to selectfelter; skjulte input tælles ikke som en vælger. */

/* v38 – fælles footer uden afhængighed af linksenes rækkefølge. */
@media screen and (max-width:700px){
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul{column-gap:6px!important;row-gap:6px!important;}
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a.foot),
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href^="/sitemap"]),
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href="/om"]),
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href^="mailto:"]){display:flex!important;order:2!important;flex:1 1 85px!important;width:auto!important;min-width:0!important;max-width:160px!important;margin:0!important;padding:0!important;font-size:12px!important;align-items:stretch!important;justify-content:center!important;}
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a.foot)::after,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href^="/sitemap"])::after,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href="/om"])::after,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href^="mailto:"])::after{content:none!important;display:none!important;}
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a.foot,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a[href^="/sitemap"],
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a[href="/om"],
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a[href^="mailto:"]{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important;min-height:36px!important;padding:6px 4px!important;margin:0!important;font:400 12px/18px Arial,Helvetica,sans-serif!important;text-align:center!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;color:#104470!important;}
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a.foot::after,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a[href^="/sitemap"]::after,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a[href="/om"]::after,
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li>a[href^="mailto:"]::after{content:none!important;display:none!important;}
 /* Bevar den eksisterende mobilbeslutning om at skjule annoncørlinket. */
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href^="/annoncer"]){display:none!important;}
 /* Copyright placeres efter navigationen, uanset antal links. */
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):not(.ss-mobile-social-footer):not(:has(a)){display:block!important;order:10!important;flex:0 0 100%!important;width:100%!important;max-width:none!important;margin:8px 0 0!important;color:#82909d!important;font:400 11px/16px Arial,Helvetica,sans-serif!important;}
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):not(.ss-mobile-social-footer):not(:has(a))::after{content:none!important;display:none!important;}
}

/* v39 – samme bundstruktur med og uden sociale links. */
@media screen and (max-width:700px){
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px 4px!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:first-child{
  grid-column:1/-1!important;grid-row:1!important;order:0!important;
  justify-self:center!important;width:max-content!important;max-width:100%!important;
  margin:0 auto 8px!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li.ss-mobile-social-footer{
  grid-column:1/-1!important;order:1!important;justify-self:center!important;
  width:100%!important;max-width:none!important;margin:0!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):has(>a.foot),
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):has(>a[href^="/sitemap"]),
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):has(>a[href="/om"]),
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):has(>a[href^="mailto:"]){
  grid-column:auto!important;grid-row:auto!important;order:2!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;justify-self:stretch!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):not(.ss-mobile-social-footer):not(:has(a)){
  grid-column:1/-1!important;grid-row:auto!important;order:10!important;
  text-align:center!important;margin:6px 0 0!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:has(>a[href^="/annoncer"]){display:none!important;}
}

/* v40 – kontakt findes via linkmål, uanset placering i bundlisten. */
@media screen and (max-width:700px){
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child):has(>a[href^="mailto:"]){
  display:flex!important;grid-column:auto!important;order:2!important;
  width:100%!important;min-width:0!important;max-width:none!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child)>a[href^="mailto:"]{
  display:flex!important;font-size:0!important;line-height:18px!important;
  align-items:center!important;justify-content:center!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #footer ul>li:not(:first-child)>a[href^="mailto:"]::after{
  display:block!important;content:"Kontakt"!important;
  font:400 12px/18px Arial,Helvetica,sans-serif!important;
 }
}

/* v41 – fælles fordeling til spillermedaljer (flag, navn, periode, fire tal).
   Eksisterende EM/VM-klasser genkendes automatisk.
   Andre sider kan bruge klassen ss-player-medals-table på samme tabelstruktur. */
@media screen and (max-width:700px){
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel,.ss-vm-medals-panel
 ) .ss-mobile-table-scroll{
  width:100%!important;min-width:0!important;max-width:100%!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ){
  display:table!important;width:100%!important;min-width:0!important;
  max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) col{width:auto!important;min-width:0!important;max-width:none!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td){
  box-sizing:border-box!important;min-width:0!important;max-width:none!important;
  padding:8px 3px!important;font:400 11px/16px Arial,Helvetica,sans-serif!important;
  vertical-align:middle!important;float:none!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) th{font-weight:700!important;white-space:normal!important;overflow-wrap:normal!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td):nth-child(1){width:7%!important;text-align:center!important;padding-left:4px!important;padding-right:1px!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td):nth-child(2){width:38%!important;text-align:left!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td):nth-child(2) a{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td):nth-child(3){width:19%!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;font-variant-numeric:tabular-nums}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td):nth-child(n+4){width:9%!important;text-align:center!important;white-space:nowrap!important;padding-left:1px!important;padding-right:1px!important;font-variant-numeric:tabular-nums}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) :is(th,td):last-child{font-weight:700!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) td:first-child img{display:inline-block!important;width:16px!important;height:12px!important;max-width:16px!important;max-height:12px!important;object-fit:contain!important;margin:0!important;padding:0!important;vertical-align:middle!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) tbody tr:nth-child(odd)>td{background:#fff!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(
  .ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table
 ) tbody tr:nth-child(even)>td{background:#f2f4f5!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-heading,.ss-vm-medals-heading){flex-wrap:wrap!important;gap:4px 10px!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-heading,.ss-vm-medals-heading) h2{font-size:16px!important;line-height:21px!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-bottom,.ss-vm-medals-bottom){flex-wrap:wrap!important;gap:8px!important}
}

/* v42 – faste kolonner og bevaret tabelstruktur til spillermedaljer. */
@media screen and (max-width:700px){
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(1){width:7%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(2){width:38%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(3){width:19%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(4){width:9%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(5){width:9%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(6){width:9%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) col:nth-child(7){width:9%!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) thead{display:table-header-group!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) tbody{display:table-row-group!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) tr{display:table-row!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) :is(th,td){display:table-cell!important;position:static!important;float:none!important;transform:none!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) tr.ss-em-medals-extra,body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) tr.ss-vm-medals-extra{display:none!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) tbody.ss-em-medals-expanded tr.ss-em-medals-extra,body:is(.ss-mobile-shared,.ss-mobile-front) #content :is(.ss-em-medals-panel table,.ss-vm-medals-panel table,table.ss-player-medals-table) tbody.ss-vm-medals-expanded tr.ss-vm-medals-extra{display:table-row!important}
}

/* v43 – hvid mobilheader med samme fodboldspiller og farver som footeren. */
@media screen and (max-width:700px){
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
  gap:5px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:76px!important;
  margin:0!important;padding:10px 12px!important;box-sizing:border-box!important;
  background:#fff!important;background-image:none!important;border:0!important;border-bottom:2px solid #104470!important;
  position:relative!important;overflow:visible!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand{
  display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;max-width:220px!important;
  min-height:54px!important;margin:0 auto 0 0!important;padding:0 0 0 41px!important;
  background: url('/images/superstats-logo-6.png') no-repeat left center!important;background-size:36px 36px!important;
  text-decoration:none!important;color:#104470!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand > span{display:block!important;min-width:0!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand strong{
  display:block!important;margin:0!important;padding:0!important;font:800 clamp(20px,5.5vw,26px)/1.1 Arial,Helvetica,sans-serif!important;
  letter-spacing:-.9px!important;white-space:nowrap!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand .ss-word-super{display:inline!important;color:#104470!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand .ss-word-stats{display:inline!important;color:#c5a512!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand small{
  display:block!important;margin:5px 0 0!important;padding:0!important;color:#7a8790!important;
  font:600 8px/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:1.3px!important;white-space:nowrap!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-search{
  display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;float:none!important;
  flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;
  border:0!important;background:none!important;color:#104470!important;text-decoration:none!important;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-search svg{display:block!important;width:23px!important;height:23px!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-menu{display:block!important;position:relative!important;flex:0 0 44px!important;width:44px!important;margin:0!important;padding:0!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-menu > summary{
  display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;
  min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:none!important;color:#104470!important;list-style:none!important;cursor:pointer;
 }
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-menu > summary::-webkit-details-marker{display:none!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-menu > summary span[aria-hidden]{font-size:26px!important;line-height:1!important;color:#104470!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-menu-label{display:none!important}
 body:is(.ss-mobile-shared,.ss-mobile-front) #header#header :is(.ss-mobile-search,.ss-mobile-menu > summary):focus-visible{outline:2px solid #104470!important;outline-offset:2px!important;border-radius:4px!important}
}

/* Blå mobilheader med fodboldspilleren bevaret. */
@media screen and (max-width:700px){
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header{background:#104470!important;border-bottom:2px solid #104470!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand .ss-word-super{color:#fff!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand .ss-word-stats{color:#ffcc00!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand small{color:#dce9f3!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-search,
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-menu > summary,
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-menu > summary span[aria-hidden]{color:#fff!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header :is(.ss-mobile-search,.ss-mobile-menu > summary):focus-visible{outline-color:#ffcc00!important}
}

/* Undertitlen centreres under ordmærket, uden fodboldspilleren. */
@media screen and (max-width:700px){
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand > span{display:table!important;width:max-content!important;max-width:100%!important;text-align:center!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand small{width:100%!important;text-align:center!important;margin-left:0!important;margin-right:0!important}
}

/* v46 – kompakt mobilheader og enklere velkomstboks. */
@media screen and (max-width:700px){
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header{min-height:70px!important;padding-top:7px!important;padding-bottom:7px!important}
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand{background-image:url('/images/superstats-spiller-transparent.png')!important;background-size:32px 32px!important;padding-left:37px!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-logo-wrap,
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-kicker{display:none!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-top{padding:16px!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-identity{display:block!important;min-width:0!important;gap:0!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-copy{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;text-align:left!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero h1{margin:0 0 6px!important;font-size:21px!important;line-height:1.25!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-text{margin:0!important;font-size:13px!important;line-height:1.5!important}
}

/* v47 – roligere mobilforside og lidt større fodboldspiller. */
@media screen and (max-width:700px){
body:is(.ss-mobile-shared,.ss-mobile-front) #header#header .ss-mobile-brand{background-size:37px 37px!important;padding-left:42px!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-top{display:block!important;height:auto!important;min-height:0!important;padding:18px 16px!important;margin:0!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-identity{height:auto!important;min-height:0!important;padding:0!important;margin:0!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-copy{height:auto!important;min-height:0!important;padding:0!important;margin:0!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero h1{margin:0 0 6px!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-text{margin:0!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;padding:0!important;margin:0!important;border-top:1px solid #dce4ea!important;background:#f2f6f9!important;overflow:hidden!important;border-radius:0 0 8px 8px!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-stat{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:66px!important;padding:12px 8px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;text-align:center!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-stat:nth-child(odd){border-right:1px solid #dce4ea!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-stat:nth-child(n+3){border-top:1px solid #dce4ea!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-number{margin:0!important;font:700 21px/1.15 Arial,Helvetica,sans-serif!important}
body:is(.ss-mobile-shared,.ss-mobile-front) .superstats-hero .superstats-hero-label{margin:0!important;font:400 12px/1.3 Arial,Helvetica,sans-serif!important}
}
