/* ── Hover popup so štatistikami posledného zápasu (homepage) ───── */
.info-block--stats { position: relative; cursor: pointer; transition: background .25s ease; }
.info-block--stats:hover { background: linear-gradient(90deg, rgba(201, 168, 76, .08), transparent); }
.info-block__stats-hint {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    font-family: var(--font-head);
    font-size: .58rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .75;
}

.mh-pop {
    position: fixed;
    z-index: 1500;
    width: 672px;
    max-width: calc(100vw - 24px);
    border-radius: 21.6px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 168, 76, .8), rgba(201, 168, 76, .06) 45%, rgba(201, 168, 76, .5));
    box-shadow: 0 36px 96px rgba(0, 0, 0, .7), 0 0 48px rgba(201, 168, 76, .12);
    opacity: 0;
    transform: translateX(-14px) scale(.97);
    transform-origin: left center;
    pointer-events: none;
    transition: opacity .22s ease, transform .3s cubic-bezier(.2, .9, .25, 1.15);
}
.mh-pop.is-visible { opacity: 1; transform: none; }
.mh-pop__inner {
    position: relative;
    overflow: hidden;
    border-radius: 20.4px;
    padding: 21.6px 21.6px 16.8px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, .14), transparent 70%), linear-gradient(180deg, #141414, #0b0b0b);
}
.mh-pop__arrow {
    position: absolute;
    left: -7px;
    width: 16.8px;
    height: 16.8px;
    background: #141414;
    border-left: 1px solid rgba(201, 168, 76, .6);
    border-bottom: 1px solid rgba(201, 168, 76, .6);
    transform: rotate(45deg);
}

.mh-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14.4px; margin-bottom: 4.8px; }
.mh-team { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--font-head); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.mh-team--b { flex-direction: row-reverse; text-align: right; }
.mh-team img { width: 40.8px; height: 40.8px; object-fit: contain; flex: 0 0 40.8px; }
.mh-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-score { font-family: var(--font-head); font-size: 2.28rem; line-height: 1; letter-spacing: .04em; }
.mh-score .is-win { color: var(--gold); text-shadow: 0 0 24px rgba(201, 168, 76, .45); }
.mh-score .is-loss { color: var(--text-muted); }
.mh-score i { font-style: normal; color: var(--text-faint); margin: 0 7.2px; }
.mh-meta { text-align: center; color: var(--text-faint); font-size: .72rem; letter-spacing: .06em; margin-bottom: 16.8px; }

.mh-players { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9.6px; }
.mh-player {
    position: relative;
    border-radius: 14.4px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #191919, #0e0e0e);
    text-align: center;
    opacity: 0;
    transform: translateY(16.8px);
    animation: mhRise .45s cubic-bezier(.2, .9, .25, 1) forwards;
}
.mh-player.is-mvp { border-color: rgba(201, 168, 76, .7); box-shadow: 0 0 21.6px rgba(201, 168, 76, .25); }
.mh-player__photo { position: relative; height: 110.4px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, .22), transparent 70%); }
.mh-player__photo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.mh-player__photo b { font-family: var(--font-head); font-size: 2.4rem; color: rgba(201, 168, 76, .35); margin-bottom: 21.6px; }
.mh-player__mvp { position: absolute; top: 7.2px; left: 7.2px; padding: 2.4px 8.4px; border-radius: 1198.8px; background: var(--gold); color: #0a0a0a; font-family: var(--font-head); font-size: .52rem; letter-spacing: .12em; }
.mh-player__rating { position: absolute; top: 7.2px; right: 7.2px; padding: 2.4px 8.4px; border-radius: 1198.8px; background: rgba(0, 0, 0, .6); border: 1px solid var(--border); font-family: var(--font-head); font-size: .66rem; }
.mh-player__rating.is-good { color: #5fdc8f; border-color: rgba(70, 200, 120, .45); }
.mh-player__rating.is-bad { color: #ff6b88; border-color: rgba(239, 53, 94, .4); }
.mh-player__body { padding: 7.2px 7.2px 10.8px; }
.mh-player__nick { font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-player__kd { font-family: var(--font-head); font-size: .82rem; margin-top: 3.6px; }
.mh-player__kd .pos { color: #5fdc8f; }
.mh-player__kd .neg { color: #ff6b88; }
.mh-player__adr { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-top: 2.4px; }

.mh-foot { display: flex; justify-content: space-between; margin-top: 14.4px; color: var(--text-faint); font-size: .66rem; letter-spacing: .06em; }
.mh-loading { display: flex; justify-content: center; padding: 60px 0; }
.mh-spinner { width: 40.8px; height: 40.8px; border-radius: 50%; border: 3.6px solid rgba(201, 168, 76, .15); border-top-color: var(--gold); animation: mhSpin .8s linear infinite; }

@keyframes mhRise { to { opacity: 1; transform: none; } }
@keyframes mhSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .mh-pop, .mh-player { transition: none; animation: none; opacity: 1; transform: none; }
}
