
.ett-championship {
    --ett-yellow: #f4c400;
    --ett-yellow-soft: rgba(244,196,0,.12);
    --ett-bg: #0f0f10;
    --ett-panel: #18191b;
    --ett-panel-2: #222326;
    --ett-line: rgba(255,255,255,.11);
    --ett-line-strong: rgba(255,255,255,.18);
    --ett-text: #f5f5f5;
    --ett-muted: #b8bcc2;
    margin: 32px 0;
    color: var(--ett-text) !important;
    font-family: inherit;
}

.ett-championship *,
.ett-championship *::before,
.ett-championship *::after {
    box-sizing: border-box;
}

.ett-championship__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(244,196,0,.18), transparent 34%),
        linear-gradient(135deg, #0e0f10 0%, #202124 100%);
    border: 1px solid var(--ett-line);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,.26);
}

.ett-championship__header::after {
    content: "";
    position: absolute;
    inset: auto -60px -100px auto;
    width: 220px;
    height: 220px;
    border: 34px solid rgba(255,255,255,.025);
    border-radius: 50%;
    pointer-events: none;
}

.ett-championship__header-copy {
    position: relative;
    z-index: 1;
}

.ett-championship__header-copy p {
    margin: 8px 0 0;
    color: var(--ett-muted) !important;
    font-size: .95rem;
}

.ett-championship__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--ett-yellow) !important;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.ett-championship h2,
.ett-championship h3 {
    color: #fff !important;
}

.ett-championship h2 {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.ett-championship__round-count {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: 96px;
    min-height: 96px;
    padding: 12px;
    color: #111 !important;
    background: linear-gradient(135deg, #f7d52b, var(--ett-yellow));
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(244,196,0,.22);
    text-align: center;
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

.ett-championship__round-count span {
    display: block;
    margin-top: 4px;
    color: #111 !important;
    font-size: .68rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ett-championship__category {
    margin-top: 26px;
    overflow: hidden;
    background: var(--ett-panel);
    border: 1px solid var(--ett-line);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(0,0,0,.18);
}

.ett-championship__category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(90deg, #1b1c1f, #26272a);
    border-bottom: 1px solid var(--ett-line);
}

.ett-championship__category-head h3 {
    margin: 0;
    padding-left: 14px;
    border-left: 5px solid var(--ett-yellow);
    font-size: 1.12rem;
    line-height: 1.25;
}

.ett-championship__category-head > span {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--ett-yellow) !important;
    background: var(--ett-yellow-soft);
    border: 1px solid rgba(244,196,0,.22);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ett-championship__table-wrap {
    overflow-x: auto;
    background: var(--ett-panel);
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #555 #1b1b1b;
    scrollbar-width: thin;
}

.ett-championship__table {
    width: 100%;
    min-width: 940px;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--ett-panel) !important;
    color: var(--ett-text) !important;
}

.ett-championship__table th,
.ett-championship__table td {
    padding: 15px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ett-line) !important;
    color: var(--ett-text) !important;
    background: transparent !important;
    text-align: center;
    vertical-align: middle;
}

.ett-championship__table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    color: #f9f9f9 !important;
    background: #252629 !important;
    box-shadow: inset 0 -1px 0 var(--ett-line-strong);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ett-championship__table th small,
.ett-championship__table td small {
    display: block;
    margin-top: 4px;
    color: var(--ett-muted) !important;
    font-size: .68rem;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
}

.ett-championship__table tbody tr {
    transition: background .18s ease, transform .18s ease;
}

.ett-championship__table tbody tr:hover td {
    background: rgba(255,255,255,.035) !important;
}

.ett-championship__table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.ett-championship__table a,
.ett-championship__table a:visited {
    color: #fff !important;
    font-weight: 850;
    text-decoration: none;
}

.ett-championship__table a:hover,
.ett-championship__table a:focus {
    color: var(--ett-yellow) !important;
}

.ett-championship__table thead a,
.ett-championship__table thead a:visited {
    color: var(--ett-yellow) !important;
}

.ett-col-rank {
    min-width: 82px;
}

.ett-col-number {
    min-width: 76px;
    color: var(--ett-yellow) !important;
    font-weight: 900;
    white-space: nowrap;
}

.ett-col-team {
    min-width: 230px;
    text-align: left !important;
    font-weight: 850;
}

.ett-col-nation {
    min-width: 72px;
    color: var(--ett-muted) !important;
}

.ett-col-round {
    min-width: 118px;
}

.ett-col-total {
    min-width: 92px;
}

.ett-col-total strong {
    display: inline-grid;
    place-items: center;
    min-width: 56px;
    min-height: 42px;
    padding: 8px 11px;
    color: #111 !important;
    background: linear-gradient(135deg, #f7d52b, var(--ett-yellow));
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(244,196,0,.16);
    font-size: 1.12rem;
    font-weight: 950;
}

.ett-rank {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    color: #fff !important;
    background: #34363a;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
    font-weight: 950;
}

.ett-medal-label {
    display: block;
    margin-top: 6px;
    font-size: .62rem !important;
    font-weight: 950 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.is-rank-1 .ett-rank {
    color: #111 !important;
    background: linear-gradient(135deg, #ffe470, #d9a700);
    border-color: rgba(255,228,112,.6);
    box-shadow: 0 8px 18px rgba(217,167,0,.2);
}

.is-rank-2 .ett-rank {
    color: #111 !important;
    background: linear-gradient(135deg, #f1f3f5, #aab0b6);
    border-color: rgba(241,243,245,.65);
}

.is-rank-3 .ett-rank {
    color: #111 !important;
    background: linear-gradient(135deg, #e1aa78, #9d6335);
    border-color: rgba(225,170,120,.6);
}

.is-rank-1 .ett-medal-label { color: #f3c623 !important; }
.is-rank-2 .ett-medal-label { color: #d8dde2 !important; }
.is-rank-3 .ett-medal-label { color: #d2955c !important; }

.is-rank-1 td {
    background: linear-gradient(90deg, rgba(243,198,35,.08), rgba(243,198,35,.018)) !important;
}

.is-rank-2 td {
    background: linear-gradient(90deg, rgba(200,205,210,.07), rgba(200,205,210,.015)) !important;
}

.is-rank-3 td {
    background: linear-gradient(90deg, rgba(200,135,79,.08), rgba(200,135,79,.015)) !important;
}

.ett-col-round strong {
    color: #fff !important;
    font-size: 1.03rem;
    font-weight: 900;
}

.ett-col-round.is-dropped {
    opacity: .48;
    text-decoration: line-through;
}

.ett-no-result {
    color: #777 !important;
    font-weight: 700;
}

.ett-championship__note,
.ett-championship-empty {
    margin-top: 16px;
    padding: 15px 17px;
    color: var(--ett-muted) !important;
    background: #18191b;
    border: 1px solid var(--ett-line);
    border-radius: 12px;
    font-size: .88rem;
}

@media (max-width: 760px) {
    .ett-championship {
        margin: 22px 0;
    }

    .ett-championship__header {
        align-items: center;
        padding: 20px;
        border-radius: 16px;
    }

    .ett-championship__header-copy p {
        font-size: .82rem;
    }

    .ett-championship__round-count {
        min-width: 76px;
        min-height: 76px;
        border-radius: 14px;
        font-size: 1.55rem;
    }

    .ett-championship__category {
        border-radius: 14px;
    }

    .ett-championship__category-head {
        padding: 14px 15px;
    }

    .ett-championship__category-head h3 {
        font-size: 1rem;
    }

    .ett-championship__category-head > span {
        padding: 6px 8px;
        font-size: .64rem;
    }

    .ett-championship__table {
        min-width: 860px;
    }
}

@media (max-width: 520px) {
    .ett-championship__header {
        gap: 14px;
    }

    .ett-championship h2 {
        font-size: 1.6rem;
    }

    .ett-championship__round-count {
        min-width: 68px;
        min-height: 68px;
        font-size: 1.35rem;
    }

    .ett-championship__round-count span {
        font-size: .58rem;
    }

    .ett-championship__category-head {
        align-items: flex-start;
    }
}


/* v1.4.0 – Nationen, Fahrzeugbilder und feste Läufe */
.ett-col-image {
    width: 126px;
    min-width: 126px;
}

.ett-col-image img {
    display: block;
    width: 104px;
    height: 66px;
    margin: 0 auto;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(0,0,0,.28);
}

.ett-image-placeholder {
    display: inline-grid;
    place-items: center;
    width: 104px;
    height: 66px;
    color: #777 !important;
    background: rgba(255,255,255,.035);
    border: 1px dashed rgba(255,255,255,.14);
    border-radius: 10px;
}

.ett-col-nation {
    min-width: 84px;
    font-weight: 850;
}

@media (max-width: 760px) {
    .ett-col-image {
        width: 112px;
        min-width: 112px;
    }

    .ett-col-image img,
    .ett-image-placeholder {
        width: 92px;
        height: 58px;
    }
}


/* v1.5.0 – größere Seitenbreite und klickbare Laufköpfe */
.ett-championship {
    width: min(96vw, 1680px);
    max-width: 1680px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.ett-championship__header,
.ett-championship__category {
    width: 100%;
}

.ett-championship__table {
    min-width: 1240px;
    font-size: 1rem;
}

.ett-championship__table th,
.ett-championship__table td {
    padding: 17px 15px !important;
}

.ett-col-team {
    min-width: 260px;
}

.ett-col-round {
    min-width: 145px;
}

.ett-round-link,
.ett-round-link:visited {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin: -10px -8px;
    padding: 10px 8px;
    color: #ffffff !important;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ett-round-link:hover,
.ett-round-link:focus {
    color: #111111 !important;
    background: linear-gradient(135deg, #f7d52b, var(--ett-yellow));
    transform: translateY(-1px);
}

.ett-round-link:hover small,
.ett-round-link:focus small {
    color: #111111 !important;
}

.ett-round-link span {
    font-weight: 950;
}

.ett-round-link small {
    margin-top: 5px !important;
    color: var(--ett-yellow) !important;
    font-weight: 800 !important;
}

@media (max-width: 900px) {
    .ett-championship {
        width: calc(100vw - 24px);
        margin-left: 50%;
    }

    .ett-championship__table {
        min-width: 1160px;
    }
}

/* v1.7.6 – Abstand direkt oberhalb der Meisterschaft entfernen */
.ett-championship {
    margin-top: 0 !important;
}

@media (max-width: 760px) {
    .ett-championship {
        margin-top: 0 !important;
    }
}
