/* Referencia szerinti ellenfélpanel, kizárólag a V3 hőskódexhez. */
.strategy-matchups {
    --counter-blue: #a2cfff;
    border: 1px solid #3e536f;
    background: radial-gradient(ellipse at bottom left, #38345b55, transparent 65%), linear-gradient(135deg, #17243a, #1c2d43);
    box-shadow: none;
}
.strategy-matchups .strategy-section-heading { border-color: #6b96c53d; }
.strategy-matchups .strategy-section-heading h2 { color: var(--counter-blue); }
.strategy-counter-layout { min-width: 0; padding: 8px 6px 4px; }
.strategy-counter-tabs { display: flex; gap: 12px; margin-bottom: 24px; }
.strategy-counter-tabs button {
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #577898;
    background: #294360;
    color: #7e9dc3;
    font: 500 clamp(.8rem, 1.3vw, 1.08rem)/1.3 Outfit, sans-serif;
    cursor: pointer;
}
.strategy-counter-tabs button[aria-selected="true"] { border-color: #9fc9ff; background: #406b92; color: #fff; box-shadow: inset 0 0 0 1px #9fc9ff; }
.strategy-counter-tabs button:hover { color: #fff; background: #35597d; }
.strategy-counter-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.strategy-counter-comparison { min-width: 0; }
.strategy-counter-duel { position: relative; min-height: 330px; padding-top: 32px; }
.strategy-counter-banner { position: relative; display: flex; align-items: center; justify-content: space-evenly; gap: 14px; width: 83%; min-height: 115px; isolation: isolate; }
.strategy-counter-banner::before { content: ''; position: absolute; z-index: -2; inset: 0; }
.strategy-counter-banner::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .3; background: linear-gradient(135deg, transparent 25%, #ffffff26 25%, transparent 45%), conic-gradient(from 40deg at 70% 40%, transparent 25%, #ffffff42 26%, transparent 30%, #ffffff28 60%, transparent 65%); }
.strategy-counter-banner--hero { padding-right: 30px; }
.strategy-counter-banner--hero::before { background: linear-gradient(90deg, #da354200, #d33e4c 35%, #ff5963); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.strategy-counter-banner--hero::after { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.strategy-counter-banner--opponent { margin: 18px 0 0 auto; padding-left: 30px; }
.strategy-counter-banner--opponent::before { background: linear-gradient(90deg, #438dc6, #2b6fa9 65%, #2b6fa900); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.strategy-counter-banner--opponent::after { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.strategy-counter-value { min-width: 0; text-align: center; color: white; }
.strategy-counter-value strong { display: block; font: 700 clamp(1.65rem, 3vw, 2.65rem)/1.1 Outfit, sans-serif; font-variant-numeric: tabular-nums; }
.strategy-counter-value span { display: block; margin-top: 3px; font-size: .85rem; }
.strategy-counter-portrait { flex: 0 1 122px; min-width: 0; text-align: center; }
.strategy-counter-portrait img { display: block; width: 110px; height: 110px; max-width: 100%; margin: -8px auto 0; border-radius: 50%; object-fit: cover; border: 2px solid #cee4ff55; box-shadow: 0 5px 18px #07112255; }
.strategy-counter-portrait strong { display: block; margin-top: 5px; color: #fff; font-size: .85rem; line-height: 1.25; overflow-wrap: anywhere; }
.strategy-counter-versus { position: absolute; top: 151px; left: 11%; color: #a2cfff66; font: italic 700 1.15rem/1 Outfit, sans-serif; letter-spacing: .14em; }
.strategy-counter-reason { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; margin-top: 4px; }
.strategy-counter-reason > div { min-width: 0; }
.strategy-counter-reason > div > span { color: #91b4d9; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.strategy-matchups .strategy-counter-reason p { margin: 6px 0 0; color: #cadcf0; font-size: .8rem; line-height: 1.5; }
.strategy-counter-reason button { flex: 0 0 auto; max-width: 45%; padding: 9px 12px; border: 1px solid #689bcb66; color: var(--counter-blue); background: #30507755; font: inherit; font-size: .72rem; cursor: pointer; }
.strategy-counter-reason button:hover { background: #406b9288; }
.strategy-counter-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--counter-blue); }
.strategy-counter-table th { padding: 0 5px 13px; border-bottom: 1px solid #608ab6; text-align: left; font-size: .95rem; font-weight: 500; }
.strategy-counter-table th:first-child { width: 28px; }
.strategy-counter-table th:last-child { width: 112px; text-align: center; }
.strategy-counter-table td { padding: 8px 5px; border-bottom: 1px solid #608ab677; }
.strategy-counter-table tbody tr:last-child td { border-bottom: 0; }
.strategy-counter-table tr.is-selected { background: #78b5ff0d; }
.strategy-counter-rank { font-size: 1.3rem; font-weight: 600; }
.strategy-counter-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 0; border: 0; color: var(--counter-blue); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.strategy-counter-pick img { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; border: 1px solid transparent; }
.strategy-counter-pick span { overflow-wrap: anywhere; font-size: .85rem; }
.strategy-counter-pick:hover { color: white; }
.is-selected .strategy-counter-pick img { border-color: #a2cfff; }
.strategy-counter-score { text-align: center; font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strategy-matchups .strategy-counter-note { max-width: 850px; margin: 22px 0 0; color: var(--counter-blue); font-size: .8rem; line-height: 1.5; }
.strategy-counter-empty { padding: 30px 0; }
.strategy-counter-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.strategy-matchups button:focus-visible { outline: 2px solid #b7dbff; outline-offset: 4px; }
@media (max-width: 1000px) {
    .strategy-counter-panel { grid-template-columns: 1fr; gap: 25px; }
    .strategy-counter-duel { max-width: 620px; margin-inline: auto; }
    .strategy-counter-table th:last-child { width: 130px; }
}
@media (max-width: 480px) {
    .strategy-counter-layout { padding: 0; }
    .strategy-counter-tabs { gap: 8px; margin-bottom: 18px; }
    .strategy-counter-tabs button { flex: 1; padding: 9px 7px; }
    .strategy-counter-duel { min-height: 260px; padding-top: 20px; }
    .strategy-counter-banner { width: 94%; min-height: 108px; gap: 6px; }
    .strategy-counter-banner--hero { padding-right: 20px; }
    .strategy-counter-banner--opponent { padding-left: 20px; margin-top: 5px; }
    .strategy-counter-portrait { flex-basis: 100px; }
    .strategy-counter-portrait img { width: 86px; height: 86px; }
    .strategy-counter-portrait strong { font-size: .75rem; }
    .strategy-counter-versus { top: 130px; left: 2%; font-size: .8rem; }
    .strategy-counter-reason { flex-direction: column; align-items: flex-start; }
    .strategy-counter-reason button { max-width: 100%; }
    .strategy-counter-table th { font-size: .78rem; }
    .strategy-counter-table th:last-child { width: 98px; }
    .strategy-counter-table th:first-child { width: 22px; }
    .strategy-counter-pick { gap: 8px; }
    .strategy-counter-pick img { width: 38px; height: 38px; }
    .strategy-counter-pick span { font-size: .76rem; }
    .strategy-counter-score { font-size: 1.15rem; }
}
