.predicto-matches {
    --predicto-match-accent: var(--button-bg, #17d496);
    box-sizing: border-box;
    width: 100%;
    margin: 1.5rem 0;
    color: var(--text-main, #fff);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.predicto-matches *, .predicto-matches *::before, .predicto-matches *::after { box-sizing: border-box; }
.predicto-matches [hidden] { display: none !important; }
.predicto-matches .predicto-match-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; padding: 0; }
.predicto-matches a.predicto-match-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 16px;
    border: 1px solid var(--predicto-match-accent);
    border-radius: 24px;
    background: transparent;
    color: var(--predicto-match-accent);
    font: inherit;
    font-size: 15px;
    text-decoration: none;
}
.predicto-matches a.predicto-match-filter[aria-selected="true"],
.predicto-matches a.predicto-match-filter:hover { background: var(--predicto-match-accent); color: var(--button-color, #000); }
.predicto-matches .predicto-match-group { margin: 0 0 24px; }
.predicto-matches .predicto-match-group h2.predicto-match-group-title { margin: 0 0 12px; font: inherit; font-size: 18px; font-weight: 650; }
.predicto-matches.is-enhanced .predicto-match-group-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.predicto-matches .predicto-match-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.predicto-matches .predicto-match-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line-color, #272727);
    border-radius: 10px;
    background: var(--card-bg, #141414);
}
.predicto-matches .predicto-match-card .predicto-match-league { display: flex; align-items: center; justify-content: center; min-height: 40px; margin: 0; padding: 8px; border-radius: 8px; background: var(--card-secondary-bg, #1d1d1d); color: var(--text-main, #fff); font: inherit; font-size: 15px; font-weight: 600; text-align: center; }
.predicto-matches .predicto-card-match { display: grid; grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr); align-items: start; gap: 8px; }
.predicto-matches .predicto-card-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.predicto-matches .predicto-card-badge { display: grid; place-items: center; width: 70px; max-width: 100%; height: 70px; padding: 9px; border-radius: 50%; background: var(--card-secondary-bg, #1d1d1d); }
.predicto-matches .predicto-card-badge img.predicto-card-icon { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; padding: 0; border: 0; border-radius: 0; }
.predicto-matches .predicto-card-team-name { color: var(--text-main, #fff); font: inherit; font-size: 14px; line-height: 1.25; }
.predicto-matches .predicto-card-time { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 26px; font: inherit; font-size: 14px; text-align: center; white-space: nowrap; }
.predicto-matches .predicto-card-time strong { font-size: 15px; font-weight: 650; }
.predicto-matches a.predicto-prediction-link { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; margin-top: auto; padding: 10px 14px; border: 0; border-radius: var(--button-radius, 12px); background: var(--predicto-match-accent); color: var(--button-color, #000); font: inherit; font-size: 15px; line-height: 1.3; text-align: center; text-decoration: none; }
.predicto-matches a.predicto-prediction-link:hover { filter: brightness(1.12); text-decoration: underline; }
.predicto-matches a:focus-visible { outline: 3px solid var(--predicto-match-accent); outline-offset: 4px; }
.predicto-matches .predicto-matches-empty { margin: 0; padding: 20px; border: 1px solid var(--line-color, #272727); border-radius: 10px; background: var(--card-bg, #141414); color: var(--text-secondary, #e0e0e0); font: inherit; }
@media (max-width: 360px) {
    .predicto-matches .predicto-match-card { padding: 12px; }
    .predicto-matches .predicto-card-match { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); gap: 6px; }
    .predicto-matches .predicto-card-badge { height: 60px; width: 60px; }
}
@media print {
    .predicto-matches .predicto-match-filters { display: none; }
    .predicto-matches [data-match-group][hidden] { display: block !important; }
    .predicto-matches.is-enhanced .predicto-match-group-title { position: static; width: auto; height: auto; margin: 0 0 12px; clip-path: none; }
}
