.jal-widget {
    width: 100%;
    font-family: inherit;
}

.jal-box {
    width: 100%;
}

.jal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
    align-items: flex-end;
}

.jal-filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.jal-filters select {
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.jal-loader,
.jal-empty,
.jal-error {
    padding: 18px;
    border-radius: 10px;
    background: #f5f5f5;
}

.jal-error {
    color: #b00020;
    background: #ffecec;
}

.jal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
}

.jal-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.jal-table {
    width: 100%;
    border-collapse: collapse;
}

.jal-table th,
.jal-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: middle;
}

.jal-table th {
    font-size: 13px;
    text-transform: uppercase;
    opacity: 0.7;
}

.jal-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jal-player img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    background: #eee;
}

.jal-rounds {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jal-round {
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.jal-round h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.jal-matches {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jal-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    background: #f8f8f8;
}

.jal-team {
    font-weight: 600;
}

.jal-score {
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    min-width: 70px;
}

.jal-date {
    grid-column: 1 / -1;
    font-size: 13px;
    opacity: 0.7;
}

.jal-cards {
    display: grid;
    gap: 14px;
}

.jal-card {
    padding: 16px;
    border-radius: 12px;
    background: #f7f7f7;
}

.jal-card-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.jal-card pre {
    white-space: pre-wrap;
    font-size: 12px;
    overflow-x: auto;
}

.jal-sets{
    display:flex;
    gap:6px;
    justify-content:center;
}

.jal-set{
    padding:4px 8px;
    background:#fff;
    border-radius:6px;
    font-weight:700;
}

@media (max-width: 700px) {
    .jal-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .jal-filters select {
        width: 100%;
    }

    .jal-match {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .jal-score {
        order: 2;
    }
}