/* A V3 stratégiapanelek közös, az ellenfélpanelhez illő megjelenése. */
.strategy-section.strategy-mechanic-guide,
.strategy-section.strategy-teams {
    --strategy-accent: #a2cfff;
    position: relative;
    isolation: isolate;
    border: 1px solid #3e536f;
    border-radius: 0;
    background: radial-gradient(ellipse at bottom left, #38345b55, transparent 65%), linear-gradient(135deg, #17243a, #1c2d43);
    box-shadow: inset 0 1px 0 #d4e8ff08;
}
.strategy-mechanic-guide .strategy-section-heading,
.strategy-teams .strategy-section-heading { border-bottom-color: #6b96c53d; }
.strategy-mechanic-guide .strategy-section-heading h2,
.strategy-teams .strategy-section-heading h2 { color: #a2cfff; }
.strategy-mechanic-guide .strategy-kicker { color: #83b6e6; font-size: .65rem; letter-spacing: .18em; }
.strategy-mechanic-guide .strategy-mechanic-title {
    max-width: 44%;
    padding: 12px 22px 12px 16px;
    border: 0;
    border-left: 2px solid #9ccfff;
    border-radius: 0;
    background: linear-gradient(110deg, #397bac77, #397bac0a);
    color: #d4eaff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    font-size: .85rem;
}
.strategy-mechanic-guide .strategy-mechanic-grid { gap: 16px; }
.strategy-mechanic-guide .strategy-mechanic-card {
    --mechanic-accent: #a2cfff;
    position: relative;
    isolation: isolate;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #6d95bc55;
    border-top: 2px solid var(--mechanic-accent);
    border-radius: 0;
    background: linear-gradient(145deg, #29456666, #14223899);
    box-shadow: none;
}
.strategy-mechanic-guide .strategy-mechanic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(145deg, transparent 60%, #a2cfff09 60%, transparent 90%);
}
.strategy-mechanic-guide .strategy-mechanic-card.is-timing { --mechanic-accent: #c5b6ff; }
.strategy-mechanic-guide .strategy-mechanic-card.is-team { --mechanic-accent: #8fdfdf; }
.strategy-mechanic-guide .strategy-mechanic-symbol {
    width: 46px;
    height: 46px;
    border: 1px solid #a2cfff40;
    border-radius: 50%;
    background: #7eb9ff0c;
    color: var(--mechanic-accent);
    box-shadow: 0 0 24px #7eb9ff0a;
}
.strategy-mechanic-guide .strategy-mechanic-card h4 { margin-bottom: 12px; font-size: .9rem; }
.strategy-mechanic-guide .strategy-mechanic-card p { color: #d4e1ef; font-size: .88rem; line-height: 1.7; }
.strategy-guide-step { position: absolute; top: 14px; right: 18px; color: #a2cfff22; font: 600 2.8rem/1 Outfit, sans-serif; }
.strategy-mechanic-guide .strategy-mechanic-card.is-plan {
    --mechanic-accent: #fff;
    align-items: center;
    gap: 24px;
    padding: 25px 32px 25px 24px;
    border: 0;
    border-left: 3px solid #a2cfff;
    background: linear-gradient(110deg, #3577aeb8, #285482aa 55%, #1b3047);
    clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.strategy-mechanic-guide .strategy-mechanic-card.is-plan::after {
    background: conic-gradient(from 45deg at 78% 25%, transparent 25%, #ffffff10 26%, transparent 34%, #ffffff0a 60%, transparent 70%);
}
.strategy-guide-portrait { flex: 0 0 104px; text-align: center; }
.strategy-guide-portrait img { display: block; width: 94px; height: 94px; margin-inline: auto; border: 2px solid #cde5ff99; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 20px #07112255; }
.strategy-guide-portrait span { display: block; margin-top: 8px; color: #e9f3ff; font-size: .8rem; font-weight: 600; overflow-wrap: anywhere; }
.strategy-mechanic-guide .is-plan .strategy-mechanic-symbol { display: none; }
.strategy-mechanic-guide .is-plan h4 { margin-bottom: 8px; color: #bfe0ff; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.strategy-mechanic-guide .is-plan p { max-width: 850px; color: #fff; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.65; }
.strategy-mechanic-guide .strategy-mechanic-card.is-mistake {
    --mechanic-accent: #ffc3ca;
    align-items: center;
    border: 1px solid #bf6a7b66;
    border-left: 3px solid #ed8798;
    background: linear-gradient(110deg, #7c364955, #26314855);
}
.strategy-mechanic-guide .is-mistake .strategy-mechanic-symbol { border-color: #ed879855; background: #ed879811; }
.strategy-mechanic-guide .is-mistake h4 { margin-bottom: 6px; }
.strategy-teams .strategy-team-grid { grid-template-columns: 1fr; gap: 18px; }
.strategy-teams .strategy-team-card {
    --team-accent: #a2cfff;
    --team-ribbon: #347ca7;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr);
    padding: 0;
    overflow: hidden;
    border: 1px solid #6288b066;
    background: linear-gradient(110deg, #294c6b44, #14223888);
}
.strategy-teams .strategy-team-card--aggressive { --team-accent: #ffc0d0; --team-ribbon: #aa4667; border-color: #a66a8b66; background: linear-gradient(110deg, #56344e66, #19233c88); }
.strategy-teams .strategy-team-copy {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 26px 38px 26px 24px;
}
.strategy-teams .strategy-team-copy::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(125deg, var(--team-ribbon), #20375166); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.strategy-teams .strategy-team-copy::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, transparent 38%, #ffffff08 38%, transparent 80%); pointer-events: none; }
.strategy-team-emblem { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--team-accent); }
.strategy-team-emblem svg { width: 34px; height: 34px; }
.strategy-team-emblem > span { font: 500 2.25rem/1 Outfit, sans-serif; opacity: .55; }
.strategy-teams .strategy-team-copy .strategy-kicker { margin-bottom: 8px; color: var(--team-accent); font-size: .61rem; letter-spacing: .16em; }
.strategy-teams .strategy-team-copy h3 { color: #fff; font-size: 1.1rem; line-height: 1.4; }
.strategy-teams .strategy-team-copy p { min-height: 0; margin-top: 10px; color: #d5e4f3; font-size: .78rem; line-height: 1.6; }
.strategy-team-formation { min-width: 0; padding: 22px 22px 26px 12px; }
.strategy-team-formation-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 2px 12px; border-bottom: 1px solid #7299bf33; color: var(--team-accent); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.strategy-team-formation-heading span:last-child { color: #b7c9de; }
.strategy-teams .strategy-team-line { gap: 12px; margin-top: 22px; }
.strategy-teams .strategy-team-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 5px 8px;
    overflow: visible;
    border: 1px solid transparent;
    background: transparent;
    color: #e4f0ff;
    font: inherit;
}
.strategy-teams .strategy-team-hero:hover { transform: translateY(-4px); border-color: #a2cfff44; background: #a2cfff0a; }
.strategy-teams .strategy-team-hero:focus-visible { outline: 2px solid var(--team-accent); outline-offset: 3px; }
.strategy-teams .strategy-team-hero.is-anchor { border-color: #ecd09166; background: #edd39f08; box-shadow: none; cursor: default; }
.strategy-teams .strategy-team-hero.is-anchor:hover { transform: none; }
.strategy-team-portrait { position: relative; display: block; width: min(100%, 108px); margin-bottom: 14px; }
.strategy-teams .strategy-team-portrait img { width: 100%; aspect-ratio: 1; height: auto; border: 2px solid #85aed288; border-radius: 50%; box-shadow: 0 5px 18px #07112266; }
.strategy-teams .is-anchor .strategy-team-portrait img { border-color: #edd39f; box-shadow: 0 0 22px #edd39f22; }
.strategy-teams .strategy-team-order { top: auto; bottom: -5px; left: calc(50% - 11px); width: 22px; height: 22px; border: 1px solid #759dc4; color: var(--team-accent); background: #1a2b43; font-size: .65rem; }
.strategy-teams .is-anchor .strategy-team-order { border-color: #edd39f; color: #edd39f; }
.strategy-teams .strategy-team-hero strong { width: 100%; margin-top: 0; padding: 0; overflow: visible; color: #e4f0ff; font-size: .8rem; font-weight: 600; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.strategy-teams .strategy-team-hero small { margin-top: 5px; padding: 0; color: #99b6d4; font-size: .62rem; white-space: normal; }
.strategy-team-anchor-label { margin-top: 9px; color: #edd39f; font-size: .5rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 1000px) {
    .strategy-teams .strategy-team-card { grid-template-columns: 1fr; }
    .strategy-teams .strategy-team-copy { padding: 22px 28px 22px 22px; }
    .strategy-teams .strategy-team-copy::before { clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }
    .strategy-team-emblem { position: absolute; top: 22px; right: 30px; margin: 0; }
    .strategy-team-emblem svg { width: 26px; height: 26px; }
    .strategy-teams .strategy-team-copy h3 { padding-right: 90px; }
    .strategy-team-formation { padding: 20px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
    .strategy-mechanic-guide .strategy-mechanic-card.is-team { flex-direction: column; }
}
@media (max-width: 700px) {
    .strategy-section.strategy-mechanic-guide,
    .strategy-section.strategy-teams { padding: 16px; }
    .strategy-mechanic-guide .strategy-mechanic-title { max-width: 100%; }
    .strategy-mechanic-guide .strategy-mechanic-card { padding: 20px 16px; gap: 12px; }
    .strategy-mechanic-guide .strategy-mechanic-card:not(.is-plan):not(.is-mistake) { flex-direction: column; }
    .strategy-mechanic-guide .strategy-mechanic-card.is-plan { flex-direction: column; align-items: flex-start; padding: 22px 26px 22px 20px; gap: 16px; }
    .strategy-guide-portrait { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
    .strategy-guide-portrait img { width: 66px; height: 66px; }
    .strategy-guide-portrait span { margin: 0; font-size: .95rem; }
    .strategy-mechanic-guide .strategy-mechanic-card.is-mistake { align-items: flex-start; }
    .strategy-mechanic-guide .is-mistake .strategy-mechanic-symbol { width: 34px; height: 34px; }
}
@media (max-width: 480px) {
    .strategy-teams .strategy-team-copy { padding: 22px 18px; }
    .strategy-team-emblem { right: 18px; gap: 8px; }
    .strategy-team-formation { padding: 18px 10px; }
    .strategy-teams .strategy-team-line { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 4px; margin-top: 14px; }
    .strategy-teams .strategy-team-hero { grid-column: span 2; padding-inline: 4px; }
    .strategy-teams .strategy-team-hero:nth-child(4) { grid-column: 2 / span 2; }
    .strategy-teams .strategy-team-portrait { width: min(100%, 78px); }
    .strategy-teams .strategy-team-hero strong { font-size: .74rem; }
    .strategy-teams .strategy-team-copy h3 { font-size: 1rem; padding-right: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .strategy-teams .strategy-team-hero { transition: none; }
    .strategy-teams .strategy-team-hero:hover { transform: none; }
}
