﻿.tk-module-box-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tk-box-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tk-box-link:hover,
.tk-box-link:focus {
    color: inherit;
}

.tk-module-card {
    --tk-secondary-rgb: var(--bs-secondary-rgb, 108, 117, 125);
    border-color: rgba(var(--tk-secondary-rgb), 0.65);
    background: rgba(var(--tk-secondary-rgb), 0.08);
    border-radius: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.tk-box-link:hover .tk-module-card,
.tk-box-link:focus .tk-module-card {
    border-color: rgba(var(--tk-secondary-rgb), 0.95);
    background: rgba(var(--tk-secondary-rgb), 0.14);
    box-shadow: 0 4px 12px rgba(var(--tk-secondary-rgb), 0.2);
    transform: translateY(-1px);
}

.tk-box-headline {
    text-align: center;
    font-size: 0.9rem;
    color: var(--bs-secondary, #6c757d);
    margin-bottom: 10px;
}

.tk-nextmatch-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.tk-team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tk-team-left {
    justify-content: flex-start;
}

.tk-team-right {
    justify-content: flex-end;
}

.tk-team-logo {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(var(--tk-secondary-rgb), 0.65);
    background: rgba(var(--tk-secondary-rgb), 0.14);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tk-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-logo-fallback {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bs-secondary, #6c757d);
    text-align: center;
    padding: 0 4px;
}

.tk-team-tag {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--bs-body-color, #212529);
    line-height: 1.1;
}

.tk-nextmatch-vs {
    padding: 6px 12px;
    border-radius: 0;
    border: 1px solid rgba(var(--tk-secondary-rgb), 0.75);
    background: rgba(var(--tk-secondary-rgb), 0.2);
    color: var(--bs-body-color, #212529);
    font-weight: 700;
    font-size: 0.9rem;
}

.tk-nextmatch-meta {
    margin-top: 12px;
    border-top: 1px solid rgba(var(--tk-secondary-rgb), 0.55);
    padding-top: 10px;
    font-size: 0.86rem;
    color: var(--bs-secondary, #6c757d);
    line-height: 1.45;
}

.tk-nextmatch-meta strong {
    color: var(--bs-body-color, #212529);
    font-weight: 700;
}
