/* Loaded only by the eFootball search page. Classic PES keeps its list layout. */
.efootball-result-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px 18px;
}
.efootball-result-card { min-width: 0; }
.efootball-result-image { display: block; color: inherit; text-decoration: none; }
.efootball-result-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 180 / 254;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .32));
    transition: transform .16s ease;
}
.efootball-result-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}
.efootball-result-name {
    max-width: 100%;
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 780;
}
.efootball-result-name a { color: inherit; text-decoration: none; }
.efootball-result-pack-line {
    max-width: 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}
.efootball-result-pack {
    color: #c6ccd6;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
    text-decoration: none;
}
.efootball-result-name a:hover, .efootball-result-pack:hover {
    color: #ffad5c;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.efootball-result-card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.efootball-result-metric {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 2px 6px;
    max-width: 100%;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
}
.efootball-result-metric strong { color: #ffad5c; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .efootball-result-image:hover img { transform: translateY(-3px); }
}
@media (max-width: 1150px) { .efootball-result-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .efootball-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 540px) {
    .efootball-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
    .efootball-result-meta { margin-top: 10px; gap: 7px; }
    .efootball-result-name { font-size: 16px; }
}
