/* KMHockey Table Center - publik tabellvisning */
.kh-table-center {
    --kh-blue: #071a3c;
    --kh-blue-2: #102b59;
    --kh-red: #c51f2d;
    --kh-yellow: #f2c94c;
    --kh-text: #111827;
    --kh-muted: #64748b;
    --kh-border: rgba(15, 23, 42, 0.12);
    --kh-card: #ffffff;
    margin: 2rem auto;
    max-width: 1180px;
    color: var(--kh-text);
}

.kh-table-center * {
    box-sizing: border-box;
}

.kh-table-center__header {
    padding: 1.4rem;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(135deg, var(--kh-blue), var(--kh-blue-2));
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(7, 26, 60, 0.24);
}

.kh-table-center__eyebrow {
    margin: 0 0 0.25rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kh-table-center__eyebrow-dark {
    color: var(--kh-muted);
}

.kh-table-center__header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.kh-table-center__season-tabs,
.kh-table-center__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.kh-table-center__tab {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    padding: 0.65rem 1rem;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.kh-table-center__tab:hover,
.kh-table-center__tab:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.kh-table-center__tab.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--kh-blue);
}

.kh-table-center__subhead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--kh-border);
    border-top: 0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.kh-table-center__subhead h3 {
    margin: 0;
    color: var(--kh-blue);
    font-size: 1.1rem;
    font-weight: 900;
}

.kh-table-center__subhead .kh-table-center__tabs {
    margin-top: 0;
}

.kh-table-center__subhead .kh-table-center__tab {
    border-color: rgba(7, 26, 60, 0.18);
    background: #ffffff;
    color: var(--kh-blue);
}

.kh-table-center__subhead .kh-table-center__tab:hover,
.kh-table-center__subhead .kh-table-center__tab:focus-visible {
    border-color: rgba(7, 26, 60, 0.4);
    background: #f8fafc;
}

.kh-table-center__subhead .kh-table-center__tab.is-active {
    background: var(--kh-blue);
    color: #ffffff;
}

.kh-table-center__season-panel,
.kh-table-center__panel {
    display: none;
}

.kh-table-center__season-panel.is-active,
.kh-table-center__panel.is-active {
    display: block;
}

.kh-table-card {
    border: 1px solid var(--kh-border);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: var(--kh-card);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.kh-table-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--kh-border);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.kh-table-card__top h3 {
    margin: 0;
    color: var(--kh-blue);
    font-size: 1.1rem;
    font-weight: 900;
}

.kh-table-card__top p {
    margin: 0.2rem 0 0;
    color: var(--kh-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.kh-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.kh-standings-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95rem;
}

.kh-standings-table th,
.kh-standings-table td {
    padding: 0.78rem 0.72rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    white-space: nowrap;
}

.kh-standings-table th {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kh-standings-table tbody tr:hover {
    background: #f8fafc;
}

.kh-standings-table .kh-rank {
    width: 3.2rem;
    color: #475569;
    font-weight: 900;
}

.kh-standings-table .kh-team {
    min-width: 240px;
    text-align: left;
    font-weight: 900;
}

.kh-standings-table .kh-points {
    color: var(--kh-blue);
    font-size: 1.05rem;
    font-weight: 950;
}

.kh-table-help,
.kh-table-empty {
    margin: 0;
    padding: 0.9rem 1.2rem 1.1rem;
    color: var(--kh-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.kh-table-empty {
    color: #991b1b;
    font-weight: 800;
}

@media (max-width: 760px) {
    .kh-table-center {
        margin: 1.4rem auto;
    }

    .kh-table-center__header {
        padding: 1.1rem;
        border-radius: 18px 18px 0 0;
    }

    .kh-table-center__season-tabs,
    .kh-table-center__tabs {
        gap: 0.5rem;
    }

    .kh-table-center__tab {
        flex: 1 1 auto;
        padding: 0.62rem 0.75rem;
        font-size: 0.88rem;
    }

    .kh-table-center__subhead {
        display: block;
        padding: 1rem;
    }

    .kh-table-center__subhead .kh-table-center__tabs {
        margin-top: 0.85rem;
    }

    .kh-table-card {
        border-radius: 0 0 18px 18px;
    }

    .kh-table-card__top {
        padding: 0.9rem 1rem;
    }

    .kh-standings-table {
        min-width: 780px;
        font-size: 0.88rem;
    }

    .kh-standings-table th,
    .kh-standings-table td {
        padding: 0.68rem 0.58rem;
    }

    .kh-standings-table .kh-team {
        min-width: 210px;
    }
}

/* v0.2.2 – tydligare tabellpresentation */
.kh-table-card__top {
    background: linear-gradient(135deg, #071a3c 0%, #102b59 100%);
    color: #ffffff;
}

.kh-table-card__top h3,
.kh-table-card__top p {
    color: #ffffff;
}

.kh-table-card__top p {
    opacity: 0.78;
}

.kh-standings-table th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #e8eef8;
    color: #071a3c;
}

.kh-standings-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.kh-standings-table tbody tr:hover {
    background: #eef5ff;
}

.kh-standings-table .kh-rank {
    background: inherit;
}

.kh-standings-table .kh-team {
    position: sticky;
    left: 0;
    z-index: 2;
    background: inherit;
    box-shadow: 10px 0 18px rgba(15, 23, 42, 0.04);
}

.kh-standings-table thead .kh-team {
    z-index: 4;
    background: #e8eef8;
}

.kh-standings-table .kh-goals,
.kh-standings-table .kh-diff {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.kh-standings-table .kh-diff.is-positive {
    color: #166534;
}

.kh-standings-table .kh-diff.is-negative {
    color: #991b1b;
}

.kh-standings-table .kh-points {
    background: rgba(7, 26, 60, 0.035);
}

.kh-standings-table .kh-points span {
    display: inline-flex;
    min-width: 2.15rem;
    height: 2.15rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #071a3c;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
}

.kh-table-scroll {
    scrollbar-color: rgba(7, 26, 60, 0.45) rgba(7, 26, 60, 0.08);
    scrollbar-width: thin;
}

.kh-table-scroll::-webkit-scrollbar {
    height: 10px;
}

.kh-table-scroll::-webkit-scrollbar-track {
    background: rgba(7, 26, 60, 0.08);
}

.kh-table-scroll::-webkit-scrollbar-thumb {
    background: rgba(7, 26, 60, 0.45);
    border-radius: 999px;
}

@media (max-width: 760px) {
    .kh-standings-table .kh-team {
        min-width: 185px;
    }

    .kh-standings-table .kh-points span {
        min-width: 1.9rem;
        height: 1.9rem;
        font-size: 0.9rem;
    }
}


/* =========================================================
   KH Table Center v0.2.6 – medlemsstyrda tabellkommentarer
   Använder KH Comments Manager / WordPress comments, inte eget öppet formulär.
   ========================================================= */
.kh-table-center__member-comments {
    margin-top: 30px;
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(6, 20, 48, .96), rgba(12, 30, 67, .92));
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 24px 60px rgba(2, 8, 23, .22);
    color: #e5edff;
}

.kh-table-center__member-comments-head {
    margin-bottom: 18px;
}

.kh-table-center__member-comments-head h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    letter-spacing: -0.04em;
}

.kh-table-center__member-comments-head p:not(.kh-table-center__eyebrow) {
    margin: 0;
    color: rgba(226, 232, 240, .78);
}

.kh-table-center__member-comments .kh-comments,
.kh-table-center__member-comments .kh-comments-wrap,
.kh-table-center__member-comments .comments-area {
    margin-top: 18px;
}

.kh-table-center__comments-note {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(250, 204, 21, .12);
    color: #fde68a;
    border: 1px solid rgba(250, 204, 21, .24);
}

@media (max-width: 720px) {
    .kh-table-center__member-comments {
        padding: 20px;
        border-radius: 22px;
    }
}

/* Eliteprospects-länkar i tabeller */
.kh-standings-table .kh-team-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 108, 255, 0.32);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.kh-standings-table .kh-team-link:hover,
.kh-standings-table .kh-team-link:focus {
    color: #0057d9;
    border-bottom-color: currentColor;
}

/* v0.3.1 – tydligare klickbara lagnamn */
.kh-standings-table .kh-team-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kh-standings-table .kh-team-link::after {
    content: "↗";
    font-size: 0.75em;
    opacity: 0.72;
}

/* v0.3.6 – snyggare publik tabellsida och hover-info för lag */
.kh-table-center__header {
    padding: clamp(22px, 4vw, 34px);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(7, 18, 45, .96), rgba(18, 41, 90, .90));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 70px rgba(2, 8, 23, .22);
    margin-bottom: 22px;
}

.kh-table-center__header h2 {
    color: #fff;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.kh-table-card__top {
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.kh-standings-table tbody tr:hover {
    background: rgba(29, 78, 216, .08);
}

.kh-standings-table .kh-team {
    position: relative;
    overflow: visible;
}

.kh-standings-table .kh-team-link::after {
    content: none !important;
}

.kh-team-hover-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}

.kh-team-link-arrow {
    font-size: .76em;
    opacity: .72;
    margin-left: 3px;
}

.kh-team-mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .10);
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.2;
}

.kh-team-hover-card {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 20;
    min-width: 230px;
    max-width: 300px;
    padding: 13px 14px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(6, 18, 42, .98), rgba(17, 39, 88, .96));
    color: #e5edff;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 45px rgba(2, 8, 23, .36);
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    white-space: normal;
}

.kh-team-hover-card::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 100%;
    border: 8px solid transparent;
    border-top-color: rgba(17, 39, 88, .96);
}

.kh-team-hover-card strong,
.kh-team-hover-card span {
    display: block;
}

.kh-team-hover-card strong {
    margin-bottom: 7px;
    color: #fff;
    font-size: .95rem;
}

.kh-team-hover-card span {
    color: rgba(226, 232, 240, .84);
    font-size: .82rem;
    line-height: 1.45;
}

.kh-team-hover-wrap:hover .kh-team-hover-card,
.kh-team-hover-wrap:focus-within .kh-team-hover-card {
    opacity: 1;
    transform: translateY(0);
}

.kh-table-help {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .05);
    border: 1px solid rgba(148, 163, 184, .16);
    color: rgba(15, 23, 42, .78);
    font-size: .92rem;
    line-height: 1.55;
}

.kh-table-help strong {
    color: #0f172a;
}

.kh-table-help span {
    display: block;
    margin-top: 4px;
    color: rgba(15, 23, 42, .65);
}

@media (max-width: 720px) {
    .kh-team-hover-card {
        display: none;
    }
    .kh-team-mini-badge {
        display: none;
    }
}


/* =========================================================
   KH Table Center v0.3.8 – stabil hover-info utan z-index/clip-problem
   Tooltipen i tabellcellen används bara som datakälla. En flytande tooltip
   renderas via JS i body så den inte klipps av sticky headers eller scrollboxar.
   ========================================================= */
.kh-standings-table .kh-team {
    overflow: visible;
}

.kh-team-hover-card {
    display: none !important;
}

.kh-table-center-tooltip {
    position: fixed;
    z-index: 999999;
    width: max-content;
    min-width: 230px;
    max-width: min(320px, calc(100vw - 32px));
    padding: 13px 14px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(6, 18, 42, .98), rgba(17, 39, 88, .97));
    color: #e5edff;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 22px 55px rgba(2, 8, 23, .42);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    white-space: normal;
}

.kh-table-center-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.kh-table-center-tooltip strong,
.kh-table-center-tooltip span {
    display: block;
}

.kh-table-center-tooltip strong {
    margin-bottom: 7px;
    color: #ffffff;
    font-size: .96rem;
    line-height: 1.2;
}

.kh-table-center-tooltip span {
    color: rgba(226, 232, 240, .86);
    font-size: .83rem;
    line-height: 1.45;
}

.kh-table-center-tooltip::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 100%;
    border: 8px solid transparent;
    border-top-color: rgba(17, 39, 88, .97);
}

@media (max-width: 720px) {
    .kh-table-center-tooltip {
        display: none !important;
    }
}

/* =========================================================
   KH Table Center v0.3.9 – publika laglänkar och stabil tooltip
   ========================================================= */
.kh-table-card,
.kh-table-scroll,
.kh-standings-table,
.kh-standings-table tbody,
.kh-standings-table tr,
.kh-standings-table td.kh-team {
    overflow: visible;
}

.kh-team-hover-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}

.kh-team-link {
    color: #071a3f;
    font-weight: 900;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, .35);
    transition: color .18s ease, border-color .18s ease, text-shadow .18s ease;
}

.kh-team-link:hover,
.kh-team-link:focus-visible {
    color: #2563eb;
    border-bottom-color: rgba(37, 99, 235, .95);
    text-shadow: 0 0 14px rgba(37, 99, 235, .22);
}

.kh-team-link-arrow {
    margin-left: 4px;
    font-size: .78em;
    opacity: .75;
}

.kh-team-no-link {
    font-weight: 900;
    color: #071a3f;
}

.kh-team-mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .08);
    color: rgba(15, 23, 42, .62);
    font-size: .72rem;
    font-weight: 800;
}

.kh-team-hover-card {
    display: none !important;
}

/* =========================================================
   KH Table Center v0.4.5 – snyggare publik tabell och mobilvänlig laginfo
   ========================================================= */
.kh-table-center {
    --kh-table-blue: #071a3c;
    --kh-table-accent: #2563eb;
}

.kh-table-center__header {
    position: relative;
    overflow: hidden;
}

.kh-table-center__header::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 68%);
    pointer-events: none;
}

.kh-table-center__subhead {
    border-radius: 22px 22px 0 0;
    border-top: 1px solid var(--kh-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.kh-table-card {
    border-radius: 0 0 24px 24px;
}

.kh-table-card__top {
    align-items: center;
    background: linear-gradient(135deg, #071a3c, #102b59 72%, #1d4ed8);
}

.kh-table-card__top h3 {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    letter-spacing: -0.03em;
}

.kh-standings-table th {
    height: 42px;
}

.kh-standings-table tbody tr {
    transition: background .16s ease, transform .16s ease;
}

.kh-standings-table tbody tr:hover {
    background: rgba(37, 99, 235, .095);
}

.kh-standings-table .kh-rank {
    font-size: .95rem;
}

.kh-standings-table .kh-points span {
    box-shadow: 0 8px 18px rgba(7, 26, 60, .18);
}

.kh-team-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 3px;
    border: 1px solid rgba(37, 99, 235, .32);
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
}

.kh-team-info-button:hover,
.kh-team-info-button:focus-visible {
    background: #1d4ed8;
    color: #fff;
}

.kh-table-center-tooltip.is-mobile {
    left: 14px !important;
    right: 14px !important;
    top: auto !important;
    bottom: 16px !important;
    width: auto;
    max-width: none;
    padding: 16px;
    border-radius: 20px;
    pointer-events: auto;
}

.kh-table-center-tooltip.is-mobile::after {
    display: none;
}

.kh-table-help {
    display: grid;
    gap: 3px;
}

@media (max-width: 720px) {
    .kh-table-center-tooltip {
        display: block !important;
    }
    .kh-team-mini-badge {
        display: none !important;
    }
    .kh-team-info-button {
        width: 22px;
        height: 22px;
    }
    .kh-table-center__subhead {
        border-radius: 18px 18px 0 0;
    }
    .kh-table-card {
        border-radius: 0 0 18px 18px;
    }
}

/* KH Table Center v0.4.9 – bättre separata tabellsidor */
.kh-table-center__header h2{
    letter-spacing:-.035em;
}
.kh-table-center__header:has(h2) .kh-table-center__eyebrow{
    opacity:.9;
}
.kh-table-center .kh-table-card__top h3{
    letter-spacing:-.02em;
}

/* =========================================================
   KH Table Center v0.5.3 – publik tabellsida premium-polish
   ========================================================= */
.kh-table-center {
    max-width: 1220px;
}

.kh-table-center__header {
    isolation: isolate;
    padding: clamp(24px, 4.4vw, 42px);
    background:
        radial-gradient(circle at 88% 10%, rgba(37, 99, 235, .34), transparent 34%),
        linear-gradient(135deg, rgba(5, 16, 42, .98), rgba(12, 36, 84, .96) 52%, rgba(7, 26, 60, .98));
}

.kh-table-center__header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,.10), transparent 36%, rgba(242,201,76,.12));
    opacity: .55;
}

.kh-table-center__header h2 {
    max-width: 820px;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
}

.kh-table-center__season-tabs {
    margin-top: 1.35rem;
}

.kh-table-center__subhead {
    align-items: center;
    margin-top: 18px;
    border-radius: 24px 24px 0 0;
    background: rgba(255,255,255,.96);
}

.kh-table-card {
    border-radius: 0 0 26px 26px;
    border-color: rgba(148, 163, 184, .22);
    box-shadow: 0 26px 70px rgba(2, 8, 23, .14);
}

.kh-table-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1.18rem 1.35rem;
}

.kh-table-card__title {
    min-width: 0;
}

.kh-table-card__eyebrow {
    margin: 0 0 .22rem !important;
    color: rgba(255,255,255,.72) !important;
    font-size: .72rem !important;
    font-weight: 900 !important;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.kh-table-card__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

.kh-table-card__chips span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 34px;
    padding: .44rem .72rem;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.88);
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.kh-table-card__chips strong {
    color: #ffffff;
    font-size: 1rem;
}

.kh-table-scroll {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.kh-standings-table {
    min-width: 920px;
    font-size: .94rem;
}

.kh-standings-table th {
    background: linear-gradient(180deg, #edf4ff, #e4edf9);
    border-bottom: 1px solid rgba(15, 23, 42, .13);
}

.kh-standings-table td {
    border-bottom-color: rgba(15, 23, 42, .065);
}

.kh-standings-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, .88);
}

.kh-standings-table tbody tr:hover {
    background: rgba(37, 99, 235, .10);
}

.kh-standings-table .kh-rank {
    color: rgba(15, 23, 42, .68);
}

.kh-standings-table .kh-team {
    min-width: 270px;
}

.kh-team-link,
.kh-team-no-link {
    font-size: .98rem;
}

.kh-team-link {
    border-bottom-style: dotted;
}

.kh-team-info-button {
    transform: translateY(-1px);
}

.kh-standings-table .kh-points {
    min-width: 72px;
}

.kh-standings-table .kh-points span {
    min-width: 2.35rem;
    height: 2.35rem;
    background: linear-gradient(135deg, #071a3c, #1d4ed8);
    box-shadow: 0 10px 22px rgba(29, 78, 216, .22);
}

.kh-table-help {
    margin: 0;
    padding: 1rem 1.25rem 1.15rem;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(180deg, rgba(248,250,252,.94), rgba(241,245,249,.98));
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, .18);
}

.kh-table-center-tooltip {
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 12%, rgba(37, 99, 235, .30), transparent 36%),
        linear-gradient(145deg, rgba(5, 16, 42, .99), rgba(17, 39, 88, .98));
}

@media (max-width: 720px) {
    .kh-table-center {
        margin: 1rem auto;
    }
    .kh-table-center__header {
        border-radius: 22px;
    }
    .kh-table-center__subhead {
        margin-top: 14px;
        border-radius: 18px 18px 0 0;
    }
    .kh-table-card__top {
        display: block;
        padding: 1rem;
    }
    .kh-table-card__chips {
        justify-content: flex-start;
        margin-top: .75rem;
    }
    .kh-table-card__chips span {
        font-size: .78rem;
    }
    .kh-standings-table {
        min-width: 820px;
    }
    .kh-standings-table .kh-team {
        min-width: 205px;
    }
    .kh-table-help {
        font-size: .86rem;
    }
}


/* =========================================================
   KH Table Center v0.5.4 – säker ljus rubrik på blå tabellkort
   ========================================================= */
.kh-table-center .kh-table-center__header h1,
.kh-table-center .kh-table-center__header h2,
.kh-table-center .kh-table-center__header h3,
.kh-table-center .kh-table-card__top h1,
.kh-table-center .kh-table-card__top h2,
.kh-table-center .kh-table-card__top h3,
.kh-table-center .kh-table-card__top .kh-table-card__title h3 {
    color: #ffffff !important;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .28) !important;
}

.kh-table-center .kh-table-center__header .kh-table-center__eyebrow,
.kh-table-center .kh-table-card__top .kh-table-card__eyebrow,
.kh-table-center .kh-table-card__top p {
    color: rgba(255, 255, 255, .82) !important;
}

.kh-table-center .kh-table-card__top a,
.kh-table-center .kh-table-center__header a {
    color: #ffffff !important;
}
