/* Sprint 20.2.2 — Match Detail Precision Polish */
.mi {
    --mi-bg: #080d17;
    --mi-panel: #111a2a;
    --mi-panel-2: #151f31;
    --mi-card: #172235;
    --mi-soft: #0d1524;
    --mi-line: rgba(139, 164, 204, .16);
    --mi-line-strong: rgba(139, 164, 204, .26);
    --mi-text: #eef4ff;
    --mi-muted: #8491aa;
    --mi-blue: #3b8cff;
    --mi-cyan: #4dc6ff;
    --mi-green: #36d99a;
    --mi-red: #ff6774;
    --mi-amber: #ffc145;
    --mi-purple: #a970ff;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 18px 60px;
    color: var(--mi-text);
}

.mi * { box-sizing: border-box; }
.mi a { color: inherit; text-decoration: none; }
.mi button, .mi a { -webkit-tap-highlight-color: transparent; }
.mi button:focus-visible, .mi a:focus-visible, .mi [tabindex="0"]:focus-visible {
    outline: 2px solid rgba(77, 198, 255, .82);
    outline-offset: 2px;
}
.mi-icon { width: 18px; height: 18px; flex: none; }

/* Hero */
.mi-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 20px;
    background: var(--mi-panel);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
}
.mi-hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 12, 21, .98) 0%, rgba(7, 12, 21, .78) 42%, rgba(7, 12, 21, .55) 70%, rgba(7, 12, 21, .92) 100%),
        linear-gradient(0deg, rgba(7, 12, 21, .93), transparent 70%),
        var(--mi-map) center / cover no-repeat,
        var(--mi-map-fallback) center / min(180px, 34%) auto no-repeat,
        radial-gradient(circle at 68% 48%, rgba(77, 198, 255, .10), transparent 36%),
        #0b1422;
    opacity: .72;
    transform: scale(1.015);
}
.mi-hero__topline, .mi-hero__grid { position: relative; z-index: 1; }
.mi-hero__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid var(--mi-line);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mi-green);
}
.mi-hero__actions { display: flex; gap: 7px; }
.mi-hero__actions a, .mi-hero__actions button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--mi-line);
    border-radius: 9px;
    background: rgba(10, 17, 29, .76);
    color: var(--mi-text);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.mi-hero__actions a:hover, .mi-hero__actions button:hover {
    transform: translateY(-1px);
    border-color: rgba(77, 198, 255, .42);
    background: rgba(59, 140, 255, .14);
}
.mi-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 300px;
    gap: 28px;
    align-items: center;
    padding: 28px;
}
.mi-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mi-muted); font-size: 12px; }
.mi-hero__meta b { color: var(--mi-text); font-weight: 750; }
.mi-hero__map { display: flex; align-items: center; gap: 13px; margin-top: 13px; }
.mi-hero__map img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.mi-hero__map h1 { margin: 0; font-size: 44px; line-height: 1; font-weight: 950; letter-spacing: -.04em; }
.mi-hero__identity dl { display: flex; flex-wrap: wrap; gap: 20px; margin: 17px 0 0; }
.mi-hero__identity dl div { display: flex; gap: 7px; align-items: center; }
.mi-hero__identity dt { color: var(--mi-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.mi-hero__identity dd { margin: 0; font-size: 12px; font-weight: 700; }
.mi-score { display: flex; align-items: flex-end; gap: 22px; text-align: center; }
.mi-score > div { display: flex; flex-direction: column; gap: 3px; }
.mi-score small { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--mi-muted); font-weight: 900; }
.mi-score span { font-size: 11px; text-transform: uppercase; color: var(--mi-muted); font-weight: 900; }
.mi-score b, .mi-score > i { font-size: 68px; line-height: .9; font-style: normal; font-weight: 950; color: rgba(220, 229, 244, .48); }
.mi-score .is-winner b, .mi-score .is-winner span { color: var(--mi-green); }
.mi-integrity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background: rgba(15, 24, 39, .84);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
}
.mi-integrity header, .mi-integrity footer {
    grid-column: 1 / -1;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid var(--mi-line);
    color: var(--mi-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .13em;
}
.mi-integrity footer { border: 0; border-top: 1px solid var(--mi-line); padding: 7px; }
.mi-integrity > div { padding: 14px 8px; text-align: center; }
.mi-integrity > div + div { border-left: 1px solid var(--mi-line); }
.mi-integrity b { display: block; font-size: 30px; }
.mi-integrity small { color: var(--mi-muted); font-size: 9px; text-transform: uppercase; }
.mi-integrity .is-warning { color: var(--mi-amber); }
.mi-integrity .is-good { color: var(--mi-green); }

/* Tabs — intentionally not sticky; avoids colliding with the global navigation */
.mi-tabs {
    position: relative;
    z-index: 4;
    display: flex;
    overflow-x: auto;
    margin-top: 14px;
    padding: 0 10px;
    border: 1px solid var(--mi-line);
    border-radius: 14px;
    background: rgba(14, 23, 38, .95);
    scrollbar-width: none;
}
.mi-tabs::-webkit-scrollbar { display: none; }
.mi-tabs a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 50px;
    padding: 0 16px;
    white-space: nowrap;
    color: var(--mi-muted);
    font-size: 12px;
    font-weight: 850;
}
.mi-tabs a small {
    min-width: 20px;
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #9db1cf;
    font-size: 9px;
    text-align: center;
}
.mi-tabs a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 2px;
    background: transparent;
}
.mi-tabs a:hover, .mi-tabs a.is-active { color: var(--mi-text); }
.mi-tabs a.is-active::after { background: var(--mi-green); }
.mi-tabs a.is-active small { background: rgba(54, 217, 154, .12); color: var(--mi-green); }

.mi-panels { margin-top: 14px; }
.mi-panel { display: none; }
.mi-panel.is-active { display: block; }
.mi-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 14px;
    padding: 4px 2px;
}
.mi-section-head--compact { margin-top: 24px; margin-bottom: 10px; }
.mi-section-head span { display: block; color: var(--mi-blue); font-size: 10px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.mi-section-head h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.025em; }
.mi-section-head > small { color: var(--mi-muted); font-size: 11px; text-align: right; }

/* KPI strips */
.mi-kpis {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background: var(--mi-panel);
}
.mi-kpis--six { grid-template-columns: repeat(6, 1fr); }
.mi-kpis--five { grid-template-columns: repeat(5, 1fr); }
.mi-kpis--four { grid-template-columns: repeat(4, 1fr); }
.mi-kpis article { min-width: 0; padding: 15px; border-right: 1px solid var(--mi-line); }
.mi-kpis article:last-child { border-right: 0; }
.mi-kpis span { display: block; color: var(--mi-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.mi-kpis b { display: block; margin-top: 8px; overflow: hidden; font-size: 24px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.mi-kpis small { display: block; margin-top: 7px; color: var(--mi-muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Subtabs / toolbars */
.mi-subtabs { display: flex; justify-content: flex-end; gap: 3px; margin: 15px 0 8px; overflow-x: auto; scrollbar-width: none; }
.mi-subtabs::-webkit-scrollbar { display: none; }
.mi-subtabs button, .mi-toolbar button {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 7px 11px;
    background: #0b1320;
    color: var(--mi-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.mi-subtabs button:hover, .mi-toolbar button:hover { color: var(--mi-text); border-color: var(--mi-line); }
.mi-subtabs button.is-active, .mi-toolbar button.is-active { background: var(--mi-green); color: #07130f; border-color: var(--mi-green); }
.mi-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
    padding: 10px;
    border: 1px solid var(--mi-line);
    border-radius: 11px;
    background: rgba(13, 21, 36, .82);
}
.mi-toolbar > span { display: inline-flex; align-items: center; gap: 7px; margin-right: 5px; color: var(--mi-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.mi-toolbar .mi-icon { width: 14px; height: 14px; }

/* Team tables */
.mi-team-table {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--mi-line);
    border-radius: 14px;
    background: var(--mi-panel);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}
.mi-team-table > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--mi-line);
    background: rgba(255, 255, 255, .018);
}
.mi-team-table > header > div:first-child { display: flex; align-items: center; gap: 10px; }
.mi-team-table > header > div:first-child > b { font-size: 23px; }
.mi-team-table > header h3 { margin: 0; font-size: 14px; }
.mi-team-table > header > div:first-child > span { padding: 3px 7px; border-radius: 20px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.mi-team-table .is-win { color: var(--mi-green); background: rgba(54, 217, 154, .12); }
.mi-team-table .is-loss { color: var(--mi-red); background: rgba(255, 103, 116, .11); }
.mi-team-table .is-draw { color: var(--mi-amber); background: rgba(255, 193, 69, .11); }
.mi-team-table__summary { display: flex; gap: 13px; color: var(--mi-muted); font-size: 10px; }
.mi-team-table__summary span { white-space: nowrap; }
.mi-team-table__summary b { color: var(--mi-text); }
.mi-table-wrap { overflow-x: auto; }
.mi-team-table table { width: 100%; min-width: 1160px; border-collapse: collapse; table-layout: fixed; }
.mi-team-table th, .mi-team-table td {
    height: 48px;
    padding: 7px 8px;
    border-right: 1px solid rgba(139, 164, 204, .08);
    border-bottom: 1px solid rgba(139, 164, 204, .08);
    text-align: center;
    font-size: 11px;
}
.mi-team-table th:first-child, .mi-team-table td:first-child { width: 225px; text-align: left; padding-left: 14px; }
.mi-team-table th { color: var(--mi-muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; cursor: default; background: rgba(8, 13, 23, .32); }
.mi-team-table th[data-sort] { cursor: pointer; user-select: none; }
.mi-team-table th[data-sort]::after { content: "↕"; margin-left: 5px; opacity: .28; }
.mi-team-table th[data-direction="asc"]::after { content: "↑"; opacity: 1; color: var(--mi-cyan); }
.mi-team-table th[data-direction="desc"]::after { content: "↓"; opacity: 1; color: var(--mi-cyan); }
.mi-team-table tbody tr { transition: background .15s ease; }
.mi-team-table tbody tr:hover { background: rgba(59, 140, 255, .045); }
.mi-player-cell a { display: flex; align-items: center; gap: 10px; color: var(--mi-text); min-width: 0; }
.mi-player-cell__copy { display: flex; flex-direction: column; min-width: 0; }
.mi-player-cell__copy b { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-player-cell__copy small { color: var(--mi-muted); font-size: 9px; }
.mi-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--mi-avatar);
    min-width: var(--mi-avatar);
    max-width: var(--mi-avatar);
    height: var(--mi-avatar);
    min-height: var(--mi-avatar);
    max-height: var(--mi-avatar);
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(145deg, #22324d, #111a2b);
    flex: 0 0 var(--mi-avatar);
}
.mi-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.mi-avatar__fallback { font-weight: 950; color: #8fbaff; }
.mi-rank {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 58px;
    min-height: 28px;
    padding: 3px 7px;
    border: 1px solid var(--mi-line-strong);
    border-radius: 6px;
    background: rgba(8, 13, 23, .52);
    font-size: 10px;
    white-space: nowrap;
}
.mi-rank > i { width: 4px; height: 16px; background: var(--mi-blue); transform: skew(-10deg); }
.mi-rank--legendary > i, .mi-rank--ancient > i { background: var(--mi-red); }
.mi-rank--mythical > i { background: var(--mi-purple); }
.mi-rank--unusual > i { background: var(--mi-amber); }
.mi-rank--competitive { min-width: 88px; max-width: 115px; }
.mi-rank--competitive img { width: 25px; height: 25px; object-fit: contain; }
.mi-rank--competitive > b { overflow: hidden; max-width: 68px; text-overflow: ellipsis; }
.mi-rank--empty { min-width: 42px; color: var(--mi-muted); }
.mi-rank__change { position: absolute; top: -7px; right: -6px; padding: 1px 4px; border-radius: 4px; background: #0b1320; font-size: 8px; }
.mi-rank__change.is-up { color: var(--mi-green); border: 1px solid rgba(54, 217, 154, .24); }
.mi-rank__change.is-down { color: var(--mi-red); border: 1px solid rgba(255, 103, 116, .24); }
.mi-trust { position: relative; display: inline-flex; justify-content: center; min-width: 38px; padding: 4px; border-radius: 5px; background: rgba(54, 217, 154, .09); overflow: hidden; }
.mi-trust b { position: relative; z-index: 1; }
.mi-trust i { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--mi-score) * 1%); background: var(--mi-green); }
.mi-trust--warn { color: var(--mi-amber); background: rgba(255, 193, 69, .08); }
.mi-trust--warn i { background: var(--mi-amber); }
.mi-trust--bad { color: var(--mi-red); background: rgba(255, 103, 116, .08); }
.mi-trust--bad i { background: var(--mi-red); }
.mi-trust--empty { color: var(--mi-muted); background: transparent; }
.is-positive { color: var(--mi-green); }
.is-negative { color: var(--mi-red); }
.mi-heat-cell { position: relative; overflow: hidden; }
.mi-heat-cell::before { content: ""; position: absolute; inset: 0; width: var(--mi-heat); background: linear-gradient(90deg, rgba(54, 217, 154, .17), rgba(54, 217, 154, .03)); pointer-events: none; }
.mi-heat-cell--rating::before { background: linear-gradient(90deg, rgba(59, 140, 255, .19), rgba(59, 140, 255, .03)); }
.mi-heat-cell > * { position: relative; z-index: 1; }

/* Round strip */
.mi-round-strip {
    margin: 14px 0;
    padding: 13px 15px 11px;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(18, 27, 43, .98), rgba(11, 18, 30, .98));
}
.mi-round-strip > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.mi-round-strip > header span { color: var(--mi-blue); font-size: 8px; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; }
.mi-round-strip > header h3 { margin: 3px 0 0; font-size: 14px; }
.mi-round-strip > header small { color: var(--mi-muted); font-size: 9px; }
.mi-round-strip__viewport { overflow-x: auto; overflow-y: visible; padding: 22px 4px 5px; scrollbar-width: thin; }
.mi-round-strip__track { display: flex; align-items: center; min-width: max-content; padding: 0 7px; }
.mi-round-dot {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 3px;
    padding: 0;
    border: 1px solid rgba(77, 198, 255, .22);
    border-radius: 8px;
    background: rgba(77, 198, 255, .12);
    color: var(--mi-cyan);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.mi-round-dot.team-2 { border-color: rgba(255, 193, 69, .22); background: rgba(255, 193, 69, .12); color: var(--mi-amber); }
.mi-round-dot:hover, .mi-round-dot:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .26); border-color: currentColor; }
.mi-round-dot .mi-icon { width: 16px; height: 16px; }
.mi-round-dot > span { position: absolute; top: -16px; color: var(--mi-muted); font-size: 8px; font-weight: 900; }
.mi-round-dot > i { position: absolute; right: -2px; bottom: -2px; width: 7px; height: 7px; border-radius: 50%; border: 2px solid #0b1320; background: var(--mi-red); }
.mi-round-dot::after {
    content: attr(data-mi-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 11px);
    z-index: 20;
    width: max-content;
    max-width: 260px;
    padding: 7px 9px;
    border: 1px solid var(--mi-line-strong);
    border-radius: 7px;
    background: #080e18;
    color: var(--mi-text);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
    font-size: 9px;
    line-height: 1.45;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .13s ease, transform .13s ease;
}
.mi-round-dot:hover::after, .mi-round-dot:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.mi-round-strip__half { width: 1px; height: 44px; margin: 0 8px; background: linear-gradient(transparent, var(--mi-line-strong), transparent); }
.mi-round-strip > footer { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-round-strip > footer span { display: inline-flex; align-items: center; gap: 5px; }
.mi-round-strip > footer i { width: 8px; height: 8px; border-radius: 50%; background: var(--mi-cyan); }
.mi-round-strip > footer i.team-two { background: var(--mi-amber); }
.mi-round-strip > footer i.has-bomb { background: var(--mi-red); }

/* Timeline */
.mi-timeline { display: grid; gap: 9px; }
.mi-round {
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-left: 3px solid var(--mi-cyan);
    border-radius: 11px;
    background: var(--mi-panel);
    transition: border-color .15s ease, background .15s ease;
}
.mi-round.team-2 { border-left-color: var(--mi-amber); }
.mi-round.is-open { border-color: rgba(77, 198, 255, .26); background: #131d2e; }
.mi-round[hidden] { display: none; }
.mi-round__summary {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto 28px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 13px;
    border: 0;
    background: transparent;
    color: var(--mi-text);
    text-align: left;
    cursor: pointer;
}
.mi-round__summary:hover { background: rgba(255, 255, 255, .018); }
.mi-round__number { display: flex; flex-direction: column; align-items: center; }
.mi-round__number small { color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-round__number b { font-size: 20px; }
.mi-round__reason { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mi-round__reason .mi-icon { width: 21px; height: 21px; color: var(--mi-cyan); }
.mi-round.team-2 .mi-round__reason .mi-icon { color: var(--mi-amber); }
.mi-round__reason > span { min-width: 0; }
.mi-round__reason b { display: block; font-size: 12px; }
.mi-round__reason small { display: block; margin-top: 2px; color: var(--mi-muted); font-size: 9px; }
.mi-round__score { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.mi-round__score i { color: var(--mi-muted); font-style: normal; }
.mi-round__chevron { display: grid; place-items: center; color: var(--mi-muted); transition: transform .18s ease; }
.mi-round.is-open .mi-round__chevron { transform: rotate(180deg); }
.mi-round__details { border-top: 1px solid var(--mi-line); }
.mi-killfeed { display: grid; gap: 6px; padding: 10px 12px 12px; }
.mi-killfeed__row {
    display: grid;
    grid-template-columns: minmax(145px, 1fr) 130px minmax(145px, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
}
.mi-killfeed__row > a { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mi-killfeed__row > a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.mi-killfeed__row > a.is-victim { justify-content: flex-end; text-align: right; }
.mi-killfeed__weapon { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mi-killfeed__weapon img { width: 62px; height: 20px; object-fit: contain; }
.mi-killfeed__weapon small { color: var(--mi-muted); font-size: 7px; text-transform: uppercase; }
.mi-event-flags { display: flex; gap: 3px; flex-wrap: wrap; justify-content: flex-end; }
.mi-event-flags i { padding: 2px 4px; border-radius: 3px; background: rgba(59, 140, 255, .13); color: #8ebcff; font-size: 7px; font-style: normal; font-weight: 900; }
.mi-killfeed__row--objective { grid-template-columns: 22px auto 1fr; color: var(--mi-amber); }
.mi-killfeed__row--objective small { color: var(--mi-muted); }
.mi-killfeed__row--objective .mi-icon { width: 18px; height: 18px; }

/* Player cards */
.mi-player-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.mi-player-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 12px;
    background: var(--mi-panel);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.mi-player-card:hover { transform: translateY(-2px); border-color: rgba(77, 198, 255, .3); background: #141f31; }
.mi-player-card > header { display: flex; align-items: center; gap: 11px; padding: 13px; border-bottom: 1px solid var(--mi-line); }
.mi-player-card > header > div { min-width: 0; }
.mi-player-card h3 { margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-player-card > header span { display: flex; gap: 6px; align-items: center; }
.mi-player-card dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.mi-player-card dl div { padding: 10px; border-right: 1px solid rgba(139, 164, 204, .08); border-bottom: 1px solid rgba(139, 164, 204, .08); }
.mi-player-card dl div:nth-child(3n) { border-right: 0; }
.mi-player-card dt { color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-player-card dd { margin: 4px 0 0; font-weight: 900; }
.mi-player-card footer { display: flex; align-items: center; gap: 9px; padding: 9px 12px; color: var(--mi-muted); font-size: 9px; }
.mi-player-card footer img { width: 52px; height: 20px; object-fit: contain; }
.mi-player-card footer span { flex: 1; }
.mi-player-card footer b { color: var(--mi-text); }

/* Weapons / hitbox */
.mi-weapons-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; margin-top: 12px; align-items: start; }
.mi-weapon-list { display: grid; gap: 6px; }
.mi-weapon-list article { display: grid; grid-template-columns: 92px minmax(150px, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--mi-line); border-radius: 10px; background: var(--mi-panel); }
.mi-weapon-list img { width: 82px; height: 30px; object-fit: contain; }
.mi-weapon-list h3 { margin: 0; font-size: 13px; }
.mi-weapon-list span { color: var(--mi-muted); font-size: 9px; text-transform: uppercase; }
.mi-weapon-list i { display: block; position: relative; height: 3px; margin-top: 8px; background: #202b3d; }
.mi-weapon-list i::after { content: ""; display: block; width: var(--weapon-share); height: 100%; background: linear-gradient(90deg, var(--mi-cyan), var(--mi-green)); }
.mi-weapon-list dl { display: grid; grid-template-columns: repeat(6, 54px); margin: 0; }
.mi-weapon-list dl div { text-align: right; }
.mi-weapon-list dt { color: var(--mi-muted); font-size: 8px; }
.mi-weapon-list dd { margin: 3px 0 0; font-size: 11px; font-weight: 900; }
.mi-hitbox {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 12px;
    background: var(--mi-panel);
}
.mi-hitbox header { padding: 12px; border-bottom: 1px solid var(--mi-line); }
.mi-hitbox header span { color: var(--mi-blue); font-size: 9px; text-transform: uppercase; font-weight: 900; }
.mi-hitbox header h3 { margin: 5px 0 2px; }
.mi-hitbox header small { color: var(--mi-muted); font-size: 9px; }
.mi-hitbox__readout { margin: 10px 12px 0; min-height: 32px; padding: 8px 10px; border: 1px solid rgba(77, 198, 255, .14); border-radius: 7px; background: rgba(77, 198, 255, .06); color: #b7c8e5; font-size: 9px; }
.mi-hitbox svg { display: block; width: 140px; height: 300px; margin: 10px auto; overflow: visible; }
.mi-hitbox .body-base { fill: #263245; opacity: .7; pointer-events: none; }
.mi-hitbox .hit-region { fill: var(--mi-green); opacity: var(--hit-opacity); cursor: pointer; transition: opacity .15s ease, filter .15s ease, transform .15s ease; transform-box: fill-box; transform-origin: center; }
.mi-hitbox .hit-region:hover, .mi-hitbox .hit-region:focus-visible, .mi-hitbox .hit-region.is-active { opacity: 1 !important; filter: drop-shadow(0 0 7px rgba(54, 217, 154, .58)); transform: scale(1.025); }
.mi-hitbox__rows { padding: 0 12px 12px; }
.mi-hitbox__rows button { display: grid; grid-template-columns: 1fr 38px 48px; width: 100%; margin: 0; padding: 7px 6px; border: 0; border-bottom: 1px solid rgba(139, 164, 204, .08); background: transparent; color: var(--mi-text); font-size: 9px; cursor: pointer; }
.mi-hitbox__rows button:hover, .mi-hitbox__rows button.is-active { background: rgba(54, 217, 154, .055); }
.mi-hitbox__rows button span { text-align: left; }
.mi-hitbox__rows button b, .mi-hitbox__rows button small { text-align: right; }
.mi-hitbox__rows button small { color: var(--mi-muted); }

/* Duels */
.mi-versus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mi-versus-grid article { padding: 14px; border: 1px solid var(--mi-line); border-radius: 12px; background: var(--mi-panel); }
.mi-versus-grid h3 { margin: 0 0 13px; color: var(--mi-muted); font-size: 10px; text-transform: uppercase; }
.mi-versus-grid article > div { display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; gap: 10px; }
.mi-versus-grid b { font-size: 19px; text-align: center; }
.mi-versus-grid i { height: 6px; border-radius: 10px; background: rgba(255, 103, 116, .38); overflow: hidden; }
.mi-versus-grid i span { display: block; height: 100%; background: linear-gradient(90deg, var(--mi-cyan), var(--mi-green)); }
.mi-versus-grid footer { display: flex; justify-content: space-between; margin-top: 7px; color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-duel-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mi-duel-pair { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--mi-line); border-radius: 11px; background: var(--mi-panel); }
.mi-duel-pair__player { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mi-duel-pair__player > span:not(.mi-avatar) { min-width: 0; }
.mi-duel-pair__player b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.mi-duel-pair__player small { color: var(--mi-muted); font-size: 8px; }
.mi-duel-pair__player.is-right { justify-content: flex-end; text-align: right; }
.mi-duel-pair__score { text-align: center; }
.mi-duel-pair__score > b { font-size: 20px; }
.mi-duel-pair__score > i { margin: 0 5px; color: var(--mi-muted); font-style: normal; }
.mi-duel-pair__score > span { display: block; position: relative; height: 4px; margin: 6px 0 3px; border-radius: 99px; background: rgba(255, 103, 116, .38); overflow: hidden; }
.mi-duel-pair__score > span i { display: block; height: 100%; background: linear-gradient(90deg, var(--mi-cyan), var(--mi-green)); }
.mi-duel-pair__score small { color: var(--mi-muted); font-size: 7px; text-transform: uppercase; }
.mi-duel-leaders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.mi-duel-leader {
    display: grid;
    grid-template-columns: 30px 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid var(--mi-line);
    border-radius: 10px;
    background: var(--mi-panel);
    transition: border-color .15s ease, background .15s ease;
}
.mi-duel-leader:hover { border-color: rgba(77, 198, 255, .26); background: #141f31; }
.mi-duel-leader em { color: var(--mi-muted); font-style: normal; font-size: 11px; }
.mi-duel-leader__copy { min-width: 0; }
.mi-duel-leader__copy b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-duel-leader__copy small { display: block; color: var(--mi-muted); font-size: 9px; }
.mi-duel-leader__stats { text-align: right; }
.mi-duel-leader__stats b { display: block; font-size: 13px; }
.mi-duel-leader__stats small { color: var(--mi-muted); font-size: 8px; }

/* Insights */
.mi-insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mi-insight-card { min-height: 176px; padding: 15px; border: 1px solid var(--mi-line); border-radius: 13px; background: linear-gradient(145deg, var(--mi-panel), #0d1523); }
.mi-insight-card > header { display: flex; align-items: center; gap: 8px; }
.mi-insight-card > header > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(59, 140, 255, .10); color: var(--mi-cyan); }
.mi-insight-card > header small { color: var(--mi-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.mi-insight-card h3 { margin: 17px 0 10px; font-size: 18px; }
.mi-insight-card__compare { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; gap: 8px; }
.mi-insight-card__compare b { text-align: center; font-size: 17px; }
.mi-insight-card__compare i { height: 6px; border-radius: 99px; background: rgba(255, 103, 116, .36); overflow: hidden; }
.mi-insight-card__compare i span { display: block; height: 100%; background: linear-gradient(90deg, var(--mi-cyan), var(--mi-green)); }
.mi-insight-card > footer { display: flex; justify-content: space-between; margin-top: 7px; color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-insight-card__note { display: block; margin-top: 12px; color: var(--mi-amber); font-size: 8px; }
.mi-insight-card--weapon img { display: block; width: 130px; height: 45px; margin: 15px auto 5px; object-fit: contain; }
.mi-insight-card--weapon h3 { margin: 7px 0; text-align: center; }
.mi-insight-card--weapon p { color: var(--mi-muted); font-size: 10px; text-align: center; }

/* Highlights */
.mi-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mi-highlight-card {
    position: relative;
    overflow: hidden;
    min-height: 214px;
    padding: 14px;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background:
        radial-gradient(circle at 100% 0%, rgba(59, 140, 255, .13), transparent 42%),
        linear-gradient(145deg, var(--mi-panel), #0d1523);
    transition: transform .16s ease, border-color .16s ease;
}
.mi-highlight-card:hover { transform: translateY(-2px); border-color: rgba(77, 198, 255, .28); }
.mi-highlight-card[hidden] { display: none; }
.mi-highlight-card > header { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; }
.mi-highlight-card__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(59, 140, 255, .11); color: var(--mi-cyan); }
.mi-highlight-card.type-clutch .mi-highlight-card__icon { background: rgba(54, 217, 154, .11); color: var(--mi-green); }
.mi-highlight-card.type-special_kill .mi-highlight-card__icon { background: rgba(255, 193, 69, .10); color: var(--mi-amber); }
.mi-highlight-card > header small { display: block; color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-highlight-card > header b { display: block; margin-top: 2px; font-size: 10px; }
.mi-highlight-card__score { color: var(--mi-muted); font-size: 12px; font-weight: 900; }
.mi-highlight-card__player { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.mi-highlight-card__player > a { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mi-highlight-card__player > a > span:not(.mi-avatar) { min-width: 0; }
.mi-highlight-card__player b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-highlight-card__player small { display: block; max-width: 130px; overflow: hidden; color: var(--mi-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.mi-highlight-card__player strong { color: var(--mi-text); font-size: 25px; letter-spacing: -.04em; }
.mi-highlight-card__weapon { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding: 7px 9px; border-radius: 7px; background: rgba(255, 255, 255, .026); }
.mi-highlight-card__weapon img { width: 66px; height: 22px; object-fit: contain; }
.mi-highlight-card__weapon span { color: var(--mi-muted); font-size: 9px; }
.mi-highlight-card > footer { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.mi-highlight-card > footer span { padding: 3px 5px; border-radius: 4px; background: rgba(59, 140, 255, .11); color: #9bc2ff; font-size: 7px; font-weight: 900; }
.mi-highlight-card > button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 14px; padding: 7px 9px; border: 1px solid var(--mi-line); border-radius: 7px; background: rgba(8, 13, 23, .45); color: var(--mi-muted); font-size: 9px; cursor: pointer; }
.mi-highlight-card > button:hover { color: var(--mi-text); border-color: rgba(77, 198, 255, .25); }
.mi-highlight-card > button .mi-icon { width: 14px; height: 14px; transform: rotate(-90deg); }

/* Telemetry */
.mi-telemetry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mi-telemetry-grid article { overflow: hidden; border: 1px solid var(--mi-line); border-radius: 12px; background: var(--mi-panel); }
.mi-telemetry-grid article > header { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--mi-line); }
.mi-telemetry-grid h3 { margin: 0 0 5px; }
.mi-telemetry-grid dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.mi-telemetry-grid dl div { padding: 10px 8px; text-align: center; border-right: 1px solid rgba(139, 164, 204, .08); }
.mi-telemetry-grid dl div:last-child { border-right: 0; }
.mi-telemetry-grid dt { color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-telemetry-grid dd { margin: 4px 0 0; font-weight: 900; }
.mi-lab-note { padding: 11px; border: 1px solid rgba(255, 193, 69, .25); border-radius: 9px; color: var(--mi-amber); font-size: 10px; }

/* Generic states / demo */
.mi-state { padding: 50px; border: 1px dashed var(--mi-line); border-radius: 14px; background: var(--mi-panel); text-align: center; }
.mi-state b { font-size: 17px; }
.mi-state p { color: var(--mi-muted); }
.mi-demo { padding: 25px; border: 1px solid var(--mi-line); border-radius: 13px; background: var(--mi-panel); }
.mi-demo p { color: var(--mi-muted); }
.mi-demo code { display: block; overflow: auto; padding: 13px; border-radius: 8px; background: #080d16; color: #b9d3ff; }
.mi-demo > div { display: flex; gap: 8px; margin-top: 12px; }
.mi-demo button, .mi-demo a { padding: 9px 13px; border: 1px solid var(--mi-line); border-radius: 8px; background: #172438; color: var(--mi-text); cursor: pointer; font-weight: 800; }
.mi-empty { padding: 50px; text-align: center; }

@media (max-width: 1120px) {
    .mi-hero__grid { grid-template-columns: 1fr auto; }
    .mi-integrity { grid-column: 1 / -1; max-width: none; }
    .mi-kpis--six { grid-template-columns: repeat(3, 1fr); }
    .mi-kpis--six article:nth-child(3n) { border-right: 0; }
    .mi-kpis--six article:nth-child(n + 4) { border-top: 1px solid var(--mi-line); }
    .mi-weapons-layout { grid-template-columns: 1fr; }
    .mi-hitbox { max-width: none; }
    .mi-hitbox svg { height: 260px; }
    .mi-versus-grid, .mi-insights, .mi-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .mi-kpis--five { grid-template-columns: repeat(3, 1fr); }
    .mi-kpis--five article:nth-child(3) { border-right: 0; }
    .mi-kpis--five article:nth-child(n + 4) { border-top: 1px solid var(--mi-line); }
    .mi-duel-pairs, .mi-duel-leaders__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .mi { padding: 10px 10px 40px; }
    .mi-hero__grid { grid-template-columns: 1fr; padding: 18px; }
    .mi-hero__identity { text-align: center; }
    .mi-hero__map, .mi-hero__meta, .mi-hero__identity dl { justify-content: center; }
    .mi-hero__map h1 { font-size: 34px; }
    .mi-score { justify-content: center; }
    .mi-score b, .mi-score > i { font-size: 54px; }
    .mi-integrity { grid-column: auto; }
    .mi-tabs { border-radius: 10px; }
    .mi-tabs a { height: 45px; padding: 0 12px; }
    .mi-section-head { align-items: flex-start; }
    .mi-kpis--six, .mi-kpis--five, .mi-kpis--four { grid-template-columns: repeat(2, 1fr); }
    .mi-kpis article, .mi-kpis article:nth-child(3) { border-right: 1px solid var(--mi-line); border-top: 1px solid var(--mi-line); }
    .mi-kpis article:nth-child(-n + 2) { border-top: 0; }
    .mi-kpis article:nth-child(even) { border-right: 0; }
    .mi-team-table > header { align-items: flex-start; flex-direction: column; }
    .mi-team-table__summary { width: 100%; justify-content: space-between; }
    .mi-round-strip > header { align-items: flex-start; flex-direction: column; }
    .mi-round__summary { grid-template-columns: 48px 1fr auto 24px; padding: 10px; }
    .mi-round__score { font-size: 14px; }
    .mi-killfeed__row { grid-template-columns: minmax(90px, 1fr) 70px minmax(90px, 1fr); }
    .mi-killfeed__row .mi-event-flags { grid-column: 1 / -1; justify-content: center; }
    .mi-killfeed__weapon img { width: 50px; }
    .mi-player-grid, .mi-telemetry-grid, .mi-versus-grid, .mi-insights, .mi-highlights { grid-template-columns: 1fr; }
    .mi-weapon-list article { grid-template-columns: 70px 1fr; }
    .mi-weapon-list img { width: 65px; }
    .mi-weapon-list dl { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .mi-weapon-list dl div { text-align: center; }
    .mi-player-card dl, .mi-telemetry-grid dl { grid-template-columns: repeat(2, 1fr); }
    .mi-telemetry-grid dl div:nth-child(2) { border-right: 0; }
    .mi-duel-pair { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); gap: 6px; }
    .mi-duel-pair .mi-avatar { --mi-avatar: 32px !important; }
    .mi-highlight-card { min-height: 0; }
}

@media (max-width: 470px) {
    .mi-score { gap: 12px; }
    .mi-score b, .mi-score > i { font-size: 46px; }
    .mi-hero__map h1 { font-size: 29px; }
    .mi-killfeed__row { grid-template-columns: 1fr; text-align: center; }
    .mi-killfeed__row > a, .mi-killfeed__row > a.is-victim { justify-content: center; }
    .mi-killfeed__row > a.is-victim { flex-direction: row-reverse; }
    .mi-duel-pair { grid-template-columns: 1fr; text-align: center; }
    .mi-duel-pair__player, .mi-duel-pair__player.is-right { justify-content: center; text-align: center; }
    .mi-duel-pair__player.is-right { flex-direction: row-reverse; }
    .mi-duel-pair__score { order: 3; }
}

/* Sprint 20.2.2 — Match Detail Precision Polish */
.mi {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 var(--titan-page-bottom-gap, 60px);
}

.mi-hero,
.mi-tabs,
.mi-panels { width: 100%; }

.mi-floating-tooltip {
    position: fixed;
    z-index: 2147483000;
    max-width: min(320px, calc(100vw - 16px));
    padding: 8px 10px;
    border: 1px solid rgba(139, 164, 204, .34);
    border-radius: 8px;
    background: rgba(6, 11, 19, .98);
    color: #eef4ff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .55), 0 0 0 1px rgba(77, 198, 255, .04) inset;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .12s ease, transform .12s ease;
}
.mi-floating-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.mi-floating-tooltip::after {
    content: "";
    position: absolute;
    left: clamp(10px, var(--mi-tooltip-anchor, 50%), calc(100% - 10px));
    width: 8px;
    height: 8px;
    background: #080e18;
    border-right: 1px solid rgba(139, 164, 204, .34);
    border-bottom: 1px solid rgba(139, 164, 204, .34);
    transform: translateX(-50%) rotate(45deg);
}
.mi-floating-tooltip[data-placement="top"]::after { bottom: -5px; }
.mi-floating-tooltip[data-placement="bottom"]::after { top: -5px; transform: translateX(-50%) rotate(225deg); }

.mi-round-strip {
    position: relative;
    overflow: visible;
    padding: 15px 18px 13px;
}
.mi-round-strip__viewport {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    padding: 25px 6px 8px;
    scroll-padding-inline: 20px;
}
.mi-round-strip__track {
    width: max-content;
    min-width: max-content;
    margin-inline: auto;
    padding-inline: 12px;
}
.mi-round-dot {
    width: 38px;
    height: 38px;
    margin-inline: 4px;
    border-radius: 9px;
}
.mi-round-dot > span { top: -18px; font-size: 9px; }
.mi-round-dot::after { content: none !important; display: none !important; }
.mi-round-strip > footer { justify-content: center; margin-top: 10px; }

.mi-rank {
    overflow: visible;
    isolation: isolate;
    min-width: 72px;
    min-height: 30px;
    padding-inline: 8px;
    cursor: help;
}
.mi-rank > b { font-variant-numeric: tabular-nums; }
.mi-rank__change {
    z-index: 3;
    top: -8px;
    right: -7px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}
.mi-team-table td:nth-child(2),
.mi-team-table th:nth-child(2) { overflow: visible; }

.mi-weapons-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
    align-items: start;
}
.mi-weapon-list { min-width: 0; }
.mi-weapon-row {
    appearance: none;
    display: grid;
    grid-template-columns: 92px minmax(150px, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mi-line);
    border-radius: 10px;
    background: var(--mi-panel);
    color: var(--mi-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, opacity .15s ease, transform .15s ease;
}
.mi-weapon-row:hover { border-color: rgba(77, 198, 255, .28); background: #141f31; }
.mi-weapon-row.is-selected {
    border-color: rgba(54, 217, 154, .72);
    background: linear-gradient(90deg, rgba(54, 217, 154, .09), rgba(17, 26, 42, .98));
    box-shadow: 0 0 0 1px rgba(54, 217, 154, .08) inset;
}
.mi-weapon-row.is-muted { opacity: .42; }
.mi-weapon-row.is-selected img { filter: drop-shadow(0 0 7px rgba(54, 217, 154, .38)); }
.mi-weapon-row img { width: 82px; height: 30px; object-fit: contain; }
.mi-weapon-row h3 { margin: 0; font-size: 13px; }
.mi-weapon-row > div > span { color: var(--mi-muted); font-size: 9px; text-transform: uppercase; }
.mi-weapon-row > div > i { display: block; position: relative; height: 3px; margin-top: 8px; background: #202b3d; }
.mi-weapon-row > div > i::after { content: ""; display: block; width: var(--weapon-share); height: 100%; background: linear-gradient(90deg, var(--mi-cyan), var(--mi-green)); }
.mi-weapon-row dl { display: grid; grid-template-columns: repeat(6, 54px); margin: 0; }
.mi-weapon-row dl div { text-align: right; }
.mi-weapon-row dt { color: var(--mi-muted); font-size: 8px; }
.mi-weapon-row dd { margin: 3px 0 0; font-size: 11px; font-weight: 900; }

.mi-hitbox {
    position: relative;
    overflow: visible;
    align-self: start;
}
.mi-hitbox > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.mi-hitbox > header > div { min-width: 0; }
.mi-hitbox > header > button {
    flex: none;
    padding: 5px 8px;
    border: 1px solid rgba(77, 198, 255, .18);
    border-radius: 6px;
    background: rgba(77, 198, 255, .07);
    color: #9ec9ff;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}
.mi-hitbox > header > button:hover { border-color: rgba(77, 198, 255, .38); color: #fff; }
.mi-hitbox__selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--mi-line);
    background: rgba(255, 255, 255, .016);
}
.mi-hitbox__selection strong { font-size: 11px; }
.mi-hitbox__selection small { color: var(--mi-muted); font-size: 8px; text-transform: uppercase; }
.mi-hitbox__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 10px 12px 0;
    overflow: hidden;
    border: 1px solid rgba(139, 164, 204, .11);
    border-radius: 8px;
    background: rgba(8, 13, 23, .34);
}
.mi-hitbox__summary > div { padding: 9px 6px; text-align: center; border-right: 1px solid rgba(139, 164, 204, .08); }
.mi-hitbox__summary > div:last-child { border-right: 0; }
.mi-hitbox__summary b { display: block; font-size: 14px; }
.mi-hitbox__summary small { display: block; margin-top: 3px; color: var(--mi-muted); font-size: 7px; text-transform: uppercase; }
.mi-hitbox__readout { min-height: 36px; display: flex; align-items: center; }
.mi-hitbox svg {
    width: min(190px, 72%);
    height: 330px;
    margin: 12px auto 8px;
}
.mi-hitbox .body-outline { fill: #253247; opacity: .62; pointer-events: none; }
.mi-hitbox .hit-region {
    stroke: rgba(161, 255, 221, .08);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}
.mi-hitbox .hit-region:hover,
.mi-hitbox .hit-region:focus-visible,
.mi-hitbox .hit-region.is-active {
    opacity: 1 !important;
    filter: drop-shadow(0 0 9px rgba(54, 217, 154, .62));
    transform: scale(1.018);
}
.mi-hitbox__rows button {
    grid-template-columns: minmax(0, 1fr) 42px 52px;
    border-radius: 5px;
}
.mi-hitbox__rows button:hover,
.mi-hitbox__rows button.is-active { color: #fff; background: rgba(54, 217, 154, .075); }

.mi-duel-pairs { grid-template-columns: 1fr; }
.mi-duel-pair {
    grid-template-columns: minmax(210px, 1fr) 150px minmax(210px, 1fr);
    min-height: 74px;
    padding: 12px 14px;
}
.mi-duel-pair__player { gap: 10px; }
.mi-duel-pair__player .mi-avatar { --mi-avatar: 40px !important; }
.mi-duel-pair__score > b { font-size: 23px; }
.mi-duel-pair__score > span { height: 5px; }
.mi-duel-leaders__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mi-duel-leader {
    grid-template-columns: 28px 38px minmax(0, 1fr) minmax(62px, auto);
    min-height: 58px;
}
.mi-duel-leader .mi-avatar { --mi-avatar: 38px !important; }

@media (max-width: 1120px) {
    .mi-weapons-layout { grid-template-columns: 1fr; }
    .mi-hitbox { width: 100%; max-width: 520px; margin-inline: auto; }
    .mi-duel-pair { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .mi { padding-bottom: 44px; }
    .mi-round-strip { padding-inline: 12px; }
    .mi-round-strip__track { margin-inline: 0; }
    .mi-weapon-row { grid-template-columns: 70px minmax(0, 1fr); }
    .mi-weapon-row img { width: 64px; }
    .mi-weapon-row dl { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .mi-weapon-row dl div { text-align: center; }
    .mi-hitbox svg { height: 290px; }
    .mi-duel-pair { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); padding: 10px; }
    .mi-duel-pair__player .mi-avatar { --mi-avatar: 34px !important; }
    .mi-duel-leaders__grid { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
    .mi-duel-pair { grid-template-columns: 1fr; }
    .mi-hitbox svg { width: min(175px, 80%); }
}

/* Sprint 20.2.4 — exact Public Profile rank proportions and centered scoreboard cells */
.mi-team-table th:nth-child(2),
.mi-team-table td:nth-child(2) {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
    overflow: hidden;
    padding-inline: 5px;
    text-align: center;
    vertical-align: middle;
}
.mi-rank {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 124px;
    min-width: 0;
    min-height: 32px;
    padding: 2px 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    cursor: help;
    vertical-align: middle;
    box-sizing: border-box;
}
.mi-rank__asset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    min-width: 88px;
    max-width: 88px;
    height: 26px;
    flex: 0 0 88px;
    overflow: hidden;
}
/* Keep the canonical badge typography exactly aligned with Public Profile → Ranks. */
.mi-rank .cs2rating.sm,
.mi-team-rank .cs2rating.sm {
    width: 88px;
    max-width: 88px;
    height: 24px;
    flex: 0 0 88px;
    overflow: visible;
}
.mi-rank .cs2rating.sm span,
.mi-team-rank .cs2rating.sm span {
    display: inline-flex;
    align-items: baseline;
    transform: translateY(-1px);
    font-size: 14px;
    line-height: 1;
}
.mi-rank .cs2rating.sm small,
.mi-team-rank .cs2rating.sm small {
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
}
.mi-rank--competitive {
    width: 100%;
    min-width: 0;
    max-width: 124px;
}
.mi-rank--competitive .mi-rank__asset img {
    display: block;
    width: 70px;
    max-width: 70px;
    height: 24px;
    object-fit: contain;
    object-position: center;
}
.mi-rank__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    min-width: 27px;
    max-width: 27px;
    height: 24px;
    overflow: hidden;
    flex: 0 0 27px;
}
.mi-rank__change {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    min-width: 27px;
    max-width: 27px;
    height: 16px;
    min-height: 16px;
    padding: 0 2px;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    font-size: 7px;
    line-height: 1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    box-shadow: none;
}
.mi-rank__change.is-up {
    border: 1px solid rgba(54, 217, 154, .24);
    background: rgba(54, 217, 154, .08);
    color: var(--mi-green);
}
.mi-rank__change.is-down {
    border: 1px solid rgba(255, 103, 116, .24);
    background: rgba(255, 103, 116, .08);
    color: var(--mi-red);
}
.mi-rank--empty {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    min-height: 24px;
    color: var(--mi-muted);
    border: 1px solid rgba(139, 164, 204, .12);
    border-radius: 5px;
    background: rgba(8, 13, 23, .28);
}
.mi-team-table__rank-summary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.mi-team-table__rank-summary > small {
    color: var(--mi-muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.mi-team-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    vertical-align: middle;
}
.mi-team-rank--competitive img {
    display: block;
    width: 70px;
    height: 24px;
    object-fit: contain;
    object-position: center;
}
.mi-team-rank--text { color: var(--mi-text); font-weight: 900; }

@media (max-width: 760px) {
    .mi-team-table th:nth-child(2),
    .mi-team-table td:nth-child(2) {
        width: 128px;
        min-width: 128px;
        max-width: 128px;
    }
    .mi-rank { max-width: 120px; }
    .mi-rank__meta { width: 25px; min-width: 25px; max-width: 25px; flex-basis: 25px; }
    .mi-rank__change { width: 25px; min-width: 25px; max-width: 25px; }
}

/* Sprint 20.3.0 — Match Experience: analytics console, players, timeline, duels, insights, highlights and telemetry */
.mi {
    width: 100%;
    max-width: 1540px;
    padding: 28px 28px 72px;
}
.mi-panels { min-height: 420px; }
.mi-panel { animation: miPanelIn .18s ease-out; }
@keyframes miPanelIn { from { opacity: .35; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Shared professional cards */
.mi-chart-card,
.mi-player-explorer,
.mi-duel-summary,
.mi-duel-matrix-card,
.mi-opening-card,
.mi-insight-strip,
.mi-impact-leaders,
.mi-telemetry-table-card,
.mi-lab-note--panel {
    border: 1px solid var(--mi-line);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(21,31,49,.94), rgba(14,23,38,.94));
    box-shadow: 0 16px 38px rgba(0,0,0,.10);
}
.mi-chart-card { min-width: 0; overflow: hidden; }
.mi-chart-card > header,
.mi-impact-leaders > header,
.mi-telemetry-table-card > header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--mi-line);
    background: rgba(255,255,255,.015);
}
.mi-chart-card > header > span,
.mi-impact-leaders > header > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(77,198,255,.18);
    border-radius: 9px;
    background: rgba(77,198,255,.07);
    color: var(--mi-cyan);
}
.mi-chart-card header small,
.mi-impact-leaders header small,
.mi-telemetry-table-card header span {
    display: block;
    color: var(--mi-blue);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.mi-chart-card header h3,
.mi-chart-card header h4,
.mi-impact-leaders header h3,
.mi-telemetry-table-card header h3 {
    margin: 3px 0 0;
    font-size: 14px;
    letter-spacing: -.015em;
}
.mi-chart-frame { height: 270px; padding: 14px 14px 12px; }
.mi-chart-frame--large { height: 390px; }
.mi-chart-frame canvas { width: 100% !important; height: 100% !important; }

/* Timeline console and rich rounds */
.mi-timeline-console {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border: 1px solid var(--mi-line);
    border-radius: 12px;
    background: rgba(15,24,39,.92);
}
.mi-timeline-console__filters,
.mi-timeline-console__jump,
.mi-timeline-console__jump > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
.mi-timeline-console__filters > span,
.mi-timeline-console__jump > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 3px;
    color: var(--mi-muted);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.mi-timeline-console button {
    min-height: 29px;
    padding: 0 9px;
    border: 1px solid var(--mi-line);
    border-radius: 6px;
    background: rgba(8,13,23,.55);
    color: var(--mi-muted);
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}
.mi-timeline-console button b {
    display: inline-flex;
    min-width: 18px;
    justify-content: center;
    margin-left: 5px;
    padding: 2px 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: inherit;
    font-size: 8px;
}
.mi-timeline-console button:hover,
.mi-timeline-console button.is-active {
    border-color: rgba(54,217,154,.35);
    background: rgba(54,217,154,.10);
    color: var(--mi-green);
}
.mi-timeline-console__jump { padding-top: 9px; border-top: 1px solid rgba(139,164,204,.10); }
.mi-timeline-console__jump > div { min-width: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: thin; }
.mi-timeline-console__jump button { width: 29px; min-width: 29px; padding: 0; font-variant-numeric: tabular-nums; }
.mi-timeline-v2 { display: grid; gap: 10px; }
.mi-round-v2 {
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background: var(--mi-panel);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.mi-round-v2:hover,
.mi-round-v2.is-open { border-color: rgba(77,198,255,.24); box-shadow: 0 14px 32px rgba(0,0,0,.10); }
.mi-round-v2__summary {
    width: 100%;
    min-height: 74px;
    display: grid;
    grid-template-columns: 64px minmax(150px,1fr) minmax(150px,230px) minmax(150px,1fr) 116px;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.mi-round-v2__number { display: grid; justify-items: center; gap: 1px; }
.mi-round-v2__number small { color: var(--mi-muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.mi-round-v2__number b { font-size: 24px; font-variant-numeric: tabular-nums; }
.mi-round-v2__squad { min-width: 0; display: flex; align-items: center; gap: 5px; }
.mi-round-v2__squad.team-two { justify-content: flex-end; }
.mi-round-v2__squad > span { position: relative; display: inline-flex; opacity: .78; }
.mi-round-v2__squad > span > i {
    position: absolute;
    right: -3px;
    bottom: -3px;
    display: grid;
    place-items: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border: 2px solid var(--mi-panel);
    border-radius: 999px;
    background: var(--mi-green);
    color: #05130e;
    font-size: 7px;
    font-style: normal;
    font-weight: 950;
}
.mi-round-v2__result { display: grid; grid-template-columns: 36px 26px 36px; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.mi-round-v2__result > span { font-size: 24px; font-weight: 950; font-variant-numeric: tabular-nums; }
.mi-round-v2__result .mi-icon { color: var(--mi-cyan); }
.mi-round-v2.team-2 .mi-round-v2__result .mi-icon { color: var(--mi-amber); }
.mi-round-v2__result small { grid-column: 1 / -1; color: var(--mi-muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.mi-round-v2__meta { display: flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--mi-muted); font-size: 8px; white-space: nowrap; }
.mi-round-v2__meta .mi-icon { width: 14px; transition: transform .18s ease; }
.mi-round-v2.is-open .mi-round-v2__meta .mi-icon { transform: rotate(180deg); }
.mi-round-v2__events { display: grid; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid var(--mi-line); background: rgba(8,13,23,.30); }
.mi-event-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(130px,1fr) 128px minmax(130px,1fr) minmax(80px,auto);
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 7px 10px;
    border: 1px solid rgba(139,164,204,.10);
    border-left: 3px solid rgba(77,198,255,.55);
    border-radius: 8px;
    background: rgba(17,26,42,.78);
}
.mi-event-row.is-special { border-left-color: var(--mi-amber); background: rgba(255,193,69,.035); }
.mi-event-row[hidden] { display: none !important; }
.mi-event-row time { color: var(--mi-muted); font-size: 9px; font-weight: 850; font-variant-numeric: tabular-nums; }
.mi-event-player { min-width: 0; display: flex; align-items: center; gap: 7px; }
.mi-event-player.is-victim { justify-content: flex-end; color: #b5bfd0; }
.mi-event-player span:last-child,
.mi-event-player span:first-child:not(.mi-avatar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 800; }
.mi-event-weapon { display: grid; justify-items: center; gap: 2px; }
.mi-event-weapon img { width: 66px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; }
.mi-event-weapon span { color: var(--mi-muted); font-size: 7px; text-transform: uppercase; }
.mi-event-flags { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
.mi-event-flags b,
.mi-event-flags small { padding: 3px 5px; border: 1px solid rgba(255,193,69,.18); border-radius: 4px; background: rgba(255,193,69,.06); color: var(--mi-amber); font-size: 7px; }
.mi-event-flags small { border-color: var(--mi-line); background: transparent; color: var(--mi-muted); }
.mi-event-row--objective { grid-template-columns: 44px 28px minmax(150px,1fr) minmax(120px,1fr) 50px; border-left-color: var(--mi-red); }
.mi-event-objective-icon { color: var(--mi-red); }
.mi-event-empty { padding: 16px; text-align: center; color: var(--mi-muted); font-size: 10px; }

/* Players explorer */
.mi-player-explorer { overflow: hidden; }
.mi-player-team-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--mi-line); }
.mi-player-team-picker > section { min-width: 0; padding: 14px; }
.mi-player-team-picker > section + section { border-left: 1px solid var(--mi-line); }
.mi-player-team-picker section > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mi-player-team-picker section > header span { color: var(--mi-muted); font-size: 9px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.mi-player-team-picker section > header b { font-size: 20px; }
.mi-player-team-picker section > div { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.mi-player-team-picker button {
    position: relative;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 92px;
    padding: 9px 6px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: rgba(8,13,23,.28);
    color: inherit;
    cursor: pointer;
    transition: .16s ease;
}
.mi-player-team-picker button:hover { border-color: rgba(77,198,255,.22); background: rgba(77,198,255,.04); }
.mi-player-team-picker button.is-active { border-color: rgba(54,217,154,.32); background: rgba(54,217,154,.07); box-shadow: inset 0 -2px var(--mi-green); }
.mi-player-team-picker button > span:last-child { min-width: 0; width: 100%; display: grid; gap: 2px; text-align: center; }
.mi-player-team-picker button b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.mi-player-team-picker button small { color: var(--mi-muted); font-size: 8px; font-variant-numeric: tabular-nums; }
.mi-player-detail-stack { padding: 16px; }
.mi-player-detail[hidden] { display: none !important; }
.mi-player-detail__hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 14px; }
.mi-player-detail__identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.mi-player-detail__identity > div:last-child { min-width: 0; }
.mi-player-detail__identity > div > span { color: var(--mi-blue); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.mi-player-detail__identity h3 { margin: 3px 0 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; }
.mi-player-detail__identity h3 + div { display: flex; align-items: center; gap: 7px; }
.mi-player-detail__profile { flex: none; padding: 8px 11px; border: 1px solid var(--mi-line); border-radius: 7px; color: var(--mi-muted); font-size: 9px; font-weight: 850; }
.mi-player-detail__profile:hover { border-color: rgba(77,198,255,.3); color: var(--mi-cyan); }
.mi-player-kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); overflow: hidden; margin-bottom: 12px; border: 1px solid var(--mi-line); border-radius: 11px; }
.mi-player-kpis > div { min-width: 0; padding: 12px; border-right: 1px solid var(--mi-line); background: rgba(8,13,23,.26); }
.mi-player-kpis > div:last-child { border-right: 0; }
.mi-player-kpis span { display: block; color: var(--mi-muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.mi-player-kpis b { display: block; margin-top: 5px; font-size: 18px; font-variant-numeric: tabular-nums; }
.mi-player-detail__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.mi-player-weapons,
.mi-player-mechanics { overflow: hidden; border: 1px solid var(--mi-line); border-radius: 14px; background: rgba(8,13,23,.26); }
.mi-player-weapons > header,
.mi-player-mechanics > header { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border-bottom: 1px solid var(--mi-line); color: var(--mi-muted); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.mi-player-weapons > div { display: grid; grid-template-columns: 74px minmax(0,1fr) 44px; align-items: center; gap: 10px; min-height: 47px; padding: 7px 12px; border-bottom: 1px solid rgba(139,164,204,.08); }
.mi-player-weapons > div:last-child { border-bottom: 0; }
.mi-player-weapons img { width: 68px; height: 25px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }
.mi-player-weapons > div > span { min-width: 0; display: grid; gap: 5px; }
.mi-player-weapons b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.mi-player-weapons i { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(139,164,204,.12); }
.mi-player-weapons em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--mi-blue),var(--mi-green)); }
.mi-player-weapons strong { text-align: right; font-size: 9px; }
.mi-player-mechanics dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; }
.mi-player-mechanics dl div { padding: 13px 14px; border-right: 1px solid rgba(139,164,204,.08); border-bottom: 1px solid rgba(139,164,204,.08); }
.mi-player-mechanics dt { color: var(--mi-muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.mi-player-mechanics dd { margin: 5px 0 0; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* Duels */
.mi-duel-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; margin-bottom: 12px; }
.mi-duel-summary article { padding: 14px 15px; border-right: 1px solid var(--mi-line); }
.mi-duel-summary article:last-child { border-right: 0; }
.mi-duel-summary span { display: block; color: var(--mi-muted); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.mi-duel-summary b { display: block; margin-top: 6px; font-size: 23px; }
.mi-duel-summary small { display: block; margin-top: 5px; color: var(--mi-muted); font-size: 8px; }
.mi-duel-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: 12px; }
.mi-duel-matrix-card,
.mi-opening-card { min-width: 0; overflow: hidden; }
.mi-duel-matrix-card > header,
.mi-opening-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 12px 14px; border-bottom: 1px solid var(--mi-line); }
.mi-duel-matrix-card header span,
.mi-opening-card header span { display: block; color: var(--mi-blue); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.mi-duel-matrix-card h3,
.mi-opening-card h3 { margin: 3px 0 0; font-size: 14px; }
.mi-duel-matrix-card header small { color: var(--mi-muted); font-size: 8px; }
.mi-duel-matrix-wrap { overflow: auto; padding: 12px; }
.mi-duel-matrix { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 4px; }
.mi-duel-matrix th { min-width: 52px; height: 38px; color: var(--mi-muted); font-size: 8px; font-weight: 850; text-align: center; }
.mi-duel-matrix thead th:first-child { min-width: 96px; text-align: left; }
.mi-duel-matrix td { padding: 0; text-align: center; }
.mi-duel-matrix td button { width: 64px; height: 44px; border: 1px solid var(--mi-line); border-radius: 7px; background: rgba(8,13,23,.38); color: var(--mi-text); cursor: help; }
.mi-duel-matrix td button.is-win { border-color: rgba(54,217,154,.18); background: rgba(54,217,154,.07); }
.mi-duel-matrix td button.is-loss { border-color: rgba(255,103,116,.18); background: rgba(255,103,116,.06); }
.mi-duel-matrix td button b { font-size: 11px; }
.mi-duel-matrix td button i { padding: 0 4px; color: var(--mi-muted); font-style: normal; }
.mi-duel-matrix td > strong,
.mi-duel-matrix td > small { display: block; font-size: 10px; }
.mi-duel-matrix td > small { color: var(--mi-muted); }
.mi-opening-filters { display: flex; gap: 3px; }
.mi-opening-filters button { padding: 5px 7px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--mi-muted); font-size: 8px; font-weight: 900; cursor: pointer; }
.mi-opening-filters button.is-active { border-color: rgba(54,217,154,.24); background: rgba(54,217,154,.09); color: var(--mi-green); }
.mi-opening-list { max-height: 408px; overflow-y: auto; }
.mi-opening-list > * { min-width: 0; display: grid; grid-template-columns: 32px minmax(115px,1fr) 60px minmax(115px,1fr) 44px; align-items: center; gap: 7px; min-height: 56px; padding: 7px 11px; border-bottom: 1px solid rgba(139,164,204,.08); }
.mi-opening-list > *[hidden] { display: none !important; }
.mi-opening-list > * > span:first-child { color: var(--mi-muted); font-size: 8px; font-weight: 900; }
.mi-opening-list a { min-width: 0; display: flex; align-items: center; gap: 6px; }
.mi-opening-list a:nth-of-type(2) { justify-content: flex-end; }
.mi-opening-list a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.mi-opening-list > * > img { width: 56px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; }
.mi-opening-list > * > small { text-align: right; color: var(--mi-muted); font-size: 8px; }
.mi-duel-pair-section { margin-top: 16px; }
.mi-duel-pairs--compact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.mi-duel-pairs--compact article { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 90px minmax(0,1fr); align-items: center; gap: 8px; min-height: 66px; padding: 9px 11px; border: 1px solid var(--mi-line); border-radius: 10px; background: var(--mi-panel); }
.mi-duel-pairs--compact article > a { min-width: 0; display: flex; align-items: center; gap: 7px; }
.mi-duel-pairs--compact article > a:last-child { justify-content: flex-end; text-align: right; }
.mi-duel-pairs--compact article > a span:not(.mi-avatar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; font-weight: 800; }
.mi-duel-pairs--compact article > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; }
.mi-duel-pairs--compact article > div b { font-size: 18px; }
.mi-duel-pairs--compact article > div i { color: var(--mi-muted); font-style: normal; }
.mi-duel-pairs--compact article > div small { grid-column: 1 / -1; color: var(--mi-muted); font-size: 7px; }

/* Insights */
.mi-insight-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; margin-bottom: 12px; }
.mi-insight-strip article { min-width: 0; padding: 14px; border-right: 1px solid var(--mi-line); }
.mi-insight-strip article:last-child { border-right: 0; }
.mi-insight-strip article > span { display: flex; align-items: center; gap: 7px; color: var(--mi-cyan); }
.mi-insight-strip small { color: var(--mi-muted); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.mi-insight-strip b { display: block; margin-top: 8px; font-size: 23px; }
.mi-insight-strip em { display: block; margin-top: 5px; overflow: hidden; color: var(--mi-muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.mi-insights-dashboard { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 12px; margin-bottom: 12px; }
.mi-impact-leaders { overflow: hidden; }
.mi-impact-leaders > div { display: grid; }
.mi-impact-leaders > div > a { min-width: 0; display: grid; grid-template-columns: 25px 34px minmax(0,1fr) 48px; align-items: center; gap: 8px; min-height: 54px; padding: 8px 12px; border-bottom: 1px solid rgba(139,164,204,.08); }
.mi-impact-leaders > div > a:last-child { border-bottom: 0; }
.mi-impact-leaders em { color: var(--mi-muted); font-size: 9px; font-style: normal; }
.mi-impact-leaders a > span:not(.mi-avatar) { min-width: 0; display: grid; gap: 2px; }
.mi-impact-leaders b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.mi-impact-leaders small { overflow: hidden; color: var(--mi-muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.mi-impact-leaders strong { text-align: right; font-size: 14px; }
.mi-insights--polished { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.mi-insights--polished .mi-insight-card { min-height: 175px; padding: 15px; }
.mi-insight-card__compare { margin-top: auto; }

/* Highlights */
.mi-highlight-stage { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.mi-highlight-v2 {
    position: relative;
    min-width: 0;
    min-height: 210px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background: linear-gradient(150deg,rgba(23,34,53,.96),rgba(12,20,34,.96));
    isolation: isolate;
}
.mi-highlight-v2.is-featured { grid-column: span 2; min-height: 250px; }
.mi-highlight-v2[hidden] { display: none !important; }
.mi-highlight-v2__ambient { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(8,13,23,.98),rgba(8,13,23,.65)), var(--highlight-avatar) center / cover no-repeat; opacity: .22; filter: blur(1px) saturate(.7); transform: scale(1.06); }
.mi-highlight-v2 > header { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.mi-highlight-v2 > header > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,193,69,.18); border-radius: 9px; background: rgba(255,193,69,.07); color: var(--mi-amber); }
.mi-highlight-v2 header small { display: block; color: var(--mi-amber); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.mi-highlight-v2 header b { display: block; margin-top: 3px; color: var(--mi-muted); font-size: 8px; }
.mi-highlight-v2 header strong { color: var(--mi-text); font-size: 28px; font-weight: 950; }
.mi-highlight-v2.is-featured header strong { font-size: 42px; }
.mi-highlight-v2__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.mi-highlight-v2__body > a { min-width: 0; display: flex; align-items: center; gap: 9px; }
.mi-highlight-v2__body > a > span:last-child { min-width: 0; display: grid; gap: 2px; }
.mi-highlight-v2__body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.mi-highlight-v2__body small { overflow: hidden; color: var(--mi-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.mi-highlight-v2__weapon { display: grid; justify-items: end; gap: 2px; }
.mi-highlight-v2__weapon img { width: 86px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.mi-highlight-v2__weapon span { color: var(--mi-muted); font-size: 7px; text-transform: uppercase; }
.mi-highlight-v2 > footer { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 11px; }
.mi-highlight-v2 > footer span { padding: 3px 5px; border: 1px solid rgba(255,193,69,.18); border-radius: 4px; background: rgba(255,193,69,.06); color: var(--mi-amber); font-size: 7px; font-weight: 900; }
.mi-highlight-v2 > button { align-self: flex-start; margin-top: 12px; padding: 7px 9px; border: 1px solid var(--mi-line); border-radius: 6px; background: rgba(8,13,23,.5); color: var(--mi-muted); font-size: 8px; font-weight: 850; cursor: pointer; }
.mi-highlight-v2 > button:hover { border-color: rgba(77,198,255,.3); color: var(--mi-cyan); }

/* Telemetry */
.mi-telemetry-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; margin-bottom: 12px; border: 1px solid var(--mi-line); border-radius: 13px; background: var(--mi-panel); }
.mi-telemetry-summary article { min-width: 0; padding: 14px; border-right: 1px solid var(--mi-line); }
.mi-telemetry-summary article:last-child { border-right: 0; }
.mi-telemetry-summary article > span { display: flex; align-items: center; gap: 7px; color: var(--mi-cyan); }
.mi-telemetry-summary small { color: var(--mi-muted); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.mi-telemetry-summary b { display: block; margin-top: 8px; font-size: 23px; }
.mi-telemetry-summary em { display: block; margin-top: 5px; color: var(--mi-muted); font-size: 8px; font-style: normal; }
.mi-telemetry-dashboard { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 12px; }
.mi-telemetry-table-card { overflow: hidden; }
.mi-telemetry-table-card > header { justify-content: space-between; }
.mi-telemetry-table-card > header > small { color: var(--mi-amber); font-size: 8px; font-weight: 900; }
.mi-telemetry-table-card .mi-table-wrap { overflow-x: auto; }
.mi-telemetry-table-card table { width: 100%; min-width: 1120px; border-collapse: collapse; }
.mi-telemetry-table-card th { height: 38px; padding: 7px 9px; border-bottom: 1px solid var(--mi-line); color: var(--mi-muted); font-size: 7px; font-weight: 950; text-align: center; text-transform: uppercase; }
.mi-telemetry-table-card th:first-child { text-align: left; }
.mi-telemetry-table-card td { padding: 8px 9px; border-bottom: 1px solid rgba(139,164,204,.08); font-size: 9px; text-align: center; font-variant-numeric: tabular-nums; }
.mi-telemetry-table-card td:first-child { text-align: left; }
.mi-telemetry-table-card td > a { min-width: 190px; display: flex; align-items: center; gap: 8px; }
.mi-telemetry-table-card td > a > span:last-child { min-width: 0; display: flex; align-items: center; gap: 5px; }
.mi-telemetry-table-card td > a b { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-lab-note--panel { display: flex; align-items: flex-start; gap: 11px; margin-top: 12px; padding: 13px 15px; color: var(--mi-muted); }
.mi-lab-note--panel > span { color: var(--mi-amber); }
.mi-lab-note--panel b { color: var(--mi-text); font-size: 10px; }
.mi-lab-note--panel p { margin: 4px 0 0; font-size: 9px; line-height: 1.55; }

/* Home/matches freshness note: visual order is import order, while the card keeps the real played date. */

@media (max-width: 1240px) {
    .mi { padding-inline: 20px; }
    .mi-round-v2__summary { grid-template-columns: 54px minmax(120px,1fr) minmax(130px,200px) minmax(120px,1fr) 92px; }
    .mi-event-row { grid-template-columns: 42px minmax(110px,1fr) 100px minmax(110px,1fr) minmax(68px,auto); }
    .mi-player-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .mi-player-kpis > div:nth-child(3) { border-right: 0; }
    .mi-player-kpis > div:nth-child(-n+3) { border-bottom: 1px solid var(--mi-line); }
    .mi-duel-layout,
    .mi-insights-dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .mi { padding: 18px 14px 52px; }
    .mi-hero__grid { grid-template-columns: 1fr; }
    .mi-player-team-picker { grid-template-columns: 1fr; }
    .mi-player-team-picker > section + section { border-left: 0; border-top: 1px solid var(--mi-line); }
    .mi-player-detail__grid,
    .mi-telemetry-dashboard { grid-template-columns: 1fr; }
    .mi-duel-summary,
    .mi-insight-strip,
    .mi-telemetry-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mi-duel-summary article:nth-child(2),
    .mi-insight-strip article:nth-child(2),
    .mi-telemetry-summary article:nth-child(2) { border-right: 0; }
    .mi-duel-summary article:nth-child(-n+2),
    .mi-insight-strip article:nth-child(-n+2),
    .mi-telemetry-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--mi-line); }
    .mi-highlight-stage,
    .mi-insights--polished { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mi-highlight-v2.is-featured { grid-column: 1 / -1; }
    .mi-round-v2__summary { grid-template-columns: 48px 1fr 120px 1fr; }
    .mi-round-v2__meta { display: none; }
    .mi-round-v2__squad .mi-avatar { --mi-avatar: 26px !important; }
    .mi-event-row { grid-template-columns: 38px minmax(100px,1fr) 86px minmax(100px,1fr); }
    .mi-event-flags { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
    .mi { padding-inline: 10px; }
    .mi-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .mi-section-head > small { text-align: left; }
    .mi-player-team-picker section > div { grid-template-columns: repeat(5,minmax(72px,1fr)); overflow-x: auto; }
    .mi-player-team-picker button { min-width: 72px; }
    .mi-player-detail-stack { padding: 12px; }
    .mi-player-detail__hero { align-items: flex-start; flex-direction: column; }
    .mi-player-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mi-player-kpis > div { border-bottom: 1px solid var(--mi-line); }
    .mi-player-kpis > div:nth-child(even) { border-right: 0; }
    .mi-player-kpis > div:nth-last-child(-n+2) { border-bottom: 0; }
    .mi-highlight-stage,
    .mi-insights--polished,
    .mi-duel-pairs--compact { grid-template-columns: 1fr; }
    .mi-round-v2__summary { grid-template-columns: 42px minmax(90px,1fr) 98px minmax(90px,1fr); gap: 6px; padding-inline: 8px; }
    .mi-round-v2__squad > span:nth-child(n+4) { display: none; }
    .mi-round-v2__result > span { font-size: 19px; }
    .mi-event-row,
    .mi-event-row--objective { grid-template-columns: 36px minmax(0,1fr) 72px; }
    .mi-event-player.is-victim { grid-column: 2 / -1; justify-content: flex-start; }
    .mi-event-weapon { grid-column: 3; grid-row: 1; }
    .mi-event-flags { grid-column: 2 / -1; justify-content: flex-start; }
    .mi-event-row--objective > b { grid-column: 2 / -1; }
    .mi-event-row--objective > span:last-of-type,
    .mi-event-row--objective > small { grid-column: 2 / -1; }
    .mi-duel-summary,
    .mi-insight-strip,
    .mi-telemetry-summary { grid-template-columns: 1fr; }
    .mi-duel-summary article,
    .mi-insight-strip article,
    .mi-telemetry-summary article { border-right: 0; border-bottom: 1px solid var(--mi-line); }
    .mi-duel-summary article:last-child,
    .mi-insight-strip article:last-child,
    .mi-telemetry-summary article:last-child { border-bottom: 0; }
    .mi-opening-list > * { grid-template-columns: 28px minmax(100px,1fr) 46px minmax(100px,1fr); }
    .mi-opening-list > * > small { display: none; }
    .mi-opening-list > * > img { width: 44px; }
    .mi-chart-frame { height: 240px; }
    .mi-chart-frame--large { height: 320px; }
}
.mi-opening-round {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--mi-line);
    border-radius: 6px;
    background: rgba(8,13,23,.48);
    color: var(--mi-muted);
    font-size: 8px;
    font-weight: 950;
    cursor: pointer;
}
.mi-opening-round:hover { border-color: rgba(77,198,255,.30); color: var(--mi-cyan); }

/* Sprint 20.3.1 — no-refresh runtime typography and readability polish */
.mi {
    margin-inline: auto;
    color: #f1f5fc;
    font-size: 14px;
    line-height: 1.45;
    --mi-muted: #9aa8bf;
}
.mi button,
.mi input,
.mi select,
.mi textarea { font: inherit; }
.mi-tabs a {
    font-size: 12.5px;
    line-height: 1;
    letter-spacing: .005em;
}
.mi-tabs a small { font-size: 9.5px; }
.mi-section-head { margin-bottom: 16px; }
.mi-section-head span { font-size: 10.5px; line-height: 1.2; }
.mi-section-head h2 { font-size: 24px; line-height: 1.18; }
.mi-section-head > small { font-size: 11.5px; line-height: 1.4; }
.mi-hero__topline,
.mi-hero__identity dt,
.mi-score small,
.mi-integrity header,
.mi-integrity footer { font-size: 10.5px; }
.mi-hero__meta,
.mi-hero__identity dd { font-size: 12.5px; }
.mi-integrity small { font-size: 9.5px; }
.mi-kpis span,
.mi-player-kpis span,
.mi-duel-summary span,
.mi-insight-strip small,
.mi-telemetry-summary small { font-size: 9.5px; line-height: 1.25; }
.mi-kpis small,
.mi-duel-summary small,
.mi-insight-strip em,
.mi-telemetry-summary em { font-size: 10px; line-height: 1.35; }
.mi-subtabs button,
.mi-toolbar button,
.mi-timeline-console button,
.mi-opening-filters button { font-size: 10.5px; line-height: 1; }
.mi-toolbar > span,
.mi-timeline-console__filters > span,
.mi-timeline-console__jump > span { font-size: 10px; }

.mi-team-table th,
.mi-team-table td {
    line-height: 1.35;
    vertical-align: middle;
}
.mi-team-table th { font-size: 9.5px; }
.mi-team-table td { font-size: 11.5px; }
.mi-player-cell__copy b { font-size: 12px; line-height: 1.25; }
.mi-player-cell__copy small { font-size: 9.5px; line-height: 1.3; }
.mi-team-table__summary { font-size: 10.5px; }

.mi-chart-card header small,
.mi-impact-leaders header small,
.mi-telemetry-table-card header span,
.mi-player-team-picker section > header span,
.mi-player-detail__identity > div > span,
.mi-player-weapons > header,
.mi-player-mechanics > header,
.mi-duel-matrix-card header span,
.mi-opening-card header span,
.mi-highlight-v2 header small { font-size: 9.5px; line-height: 1.25; }
.mi-chart-card header h3,
.mi-chart-card header h4,
.mi-impact-leaders header h3,
.mi-telemetry-table-card header h3,
.mi-duel-matrix-card h3,
.mi-opening-card h3 { font-size: 15px; line-height: 1.25; }
.mi-player-team-picker button b { font-size: 10.5px; line-height: 1.25; }
.mi-player-team-picker button small { font-size: 9.5px; line-height: 1.25; }
.mi-player-detail__identity h3 { font-size: 22px; line-height: 1.18; }
.mi-player-detail__profile { font-size: 10.5px; }
.mi-player-weapons b,
.mi-player-weapons strong { font-size: 10.5px; }
.mi-player-mechanics dt { font-size: 9.5px; }
.mi-player-mechanics dd { font-size: 17px; line-height: 1.2; }

.mi-round-v2__number small,
.mi-round-v2__result small,
.mi-round-v2__meta { font-size: 9.5px; line-height: 1.3; }
.mi-event-row time { font-size: 10px; }
.mi-event-player span:last-child,
.mi-event-player span:first-child:not(.mi-avatar) { font-size: 11px; line-height: 1.25; }
.mi-event-weapon span,
.mi-event-flags b,
.mi-event-flags small { font-size: 8.5px; line-height: 1.2; }
.mi-event-empty { font-size: 11px; }

.mi-duel-matrix th,
.mi-opening-list > * > span:first-child,
.mi-opening-list a b,
.mi-opening-list > * > small,
.mi-duel-pairs--compact article > a span:not(.mi-avatar) { font-size: 9.5px; line-height: 1.25; }
.mi-duel-pairs--compact article > div small { font-size: 8.5px; }
.mi-impact-leaders b { font-size: 10.5px; }
.mi-impact-leaders small { font-size: 9px; line-height: 1.25; }
.mi-highlight-v2 header b,
.mi-highlight-v2__body small,
.mi-highlight-v2__weapon span,
.mi-highlight-v2 > footer span,
.mi-highlight-v2 > button { font-size: 9px; line-height: 1.25; }
.mi-highlight-v2__body b { font-size: 11.5px; }

.mi-telemetry-table-card th {
    height: 42px;
    padding: 8px 10px;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: .055em;
}
.mi-telemetry-table-card td {
    padding: 10px;
    font-size: 11px;
    line-height: 1.3;
}
.mi-telemetry-table-card td > a b { font-size: 11px; }
.mi-telemetry-table-card > header > small { font-size: 9.5px; }
.mi-lab-note--panel b { font-size: 11px; }
.mi-lab-note--panel p { font-size: 10.5px; line-height: 1.55; }

@media (max-width: 900px) {
    .mi { font-size: 13.5px; }
    .mi-section-head h2 { font-size: 22px; }
}
@media (max-width: 640px) {
    .mi-tabs a { font-size: 12px; }
    .mi-section-head h2 { font-size: 21px; }
    .mi-telemetry-table-card th { font-size: 8.5px; }
    .mi-telemetry-table-card td { font-size: 10.5px; }
}


/* Sprint 20.3.2 — final Match Details geometry, collapsed timeline and anchored-tooltip polish */
.mi {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 var(--titan-page-bottom-gap, 60px);
}
.mi-panels { min-height: 0; }
.mi-panel { width: 100%; min-width: 0; }

/* Round details are an accordion and always start collapsed. */
.mi-round-v2:not(.is-open) .mi-round-v2__events { display: none; }
.mi-round-v2__events[hidden] { display: none !important; }
.mi-round-v2__summary { min-height: 70px; }
.mi-round-v2:not(.is-open) { box-shadow: none; }
.mi-round-v2__meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Duel columns size to their own content instead of stretching to the neighbour. */
.mi-duel-layout { align-items: start; }
.mi-duel-matrix-card,
.mi-opening-card { align-self: start; height: auto; }
.mi-duel-matrix-wrap { max-width: 100%; }
.mi-duel-matrix { margin-inline: auto; }
.mi-duel-matrix th > .mi-tooltip-anchor {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-inline: auto;
    border-radius: 7px;
    cursor: help;
}
.mi-duel-matrix th > .mi-tooltip-anchor:hover,
.mi-duel-matrix th > .mi-tooltip-anchor:focus-visible { background: rgba(77,198,255,.08); }
.mi-duel-matrix td button { position: relative; }

/* Portal tooltip follows the concrete avatar/cell anchor and never inherits card geometry. */
.mi-floating-tooltip {
    contain: layout paint style;
    max-width: min(300px, calc(100vw - 20px));
    padding: 8px 10px;
    font-size: 10.5px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}
.mi-floating-tooltip::after {
    left: clamp(10px, var(--mi-tooltip-anchor-x, 50%), calc(100% - 10px));
}
.mi-floating-tooltip[data-placement="left"]::after,
.mi-floating-tooltip[data-placement="right"]::after {
    top: clamp(10px, var(--mi-tooltip-anchor-y, 50%), calc(100% - 10px));
    left: auto;
    bottom: auto;
}
.mi-floating-tooltip[data-placement="left"]::after {
    right: -5px;
    transform: translateY(-50%) rotate(-45deg);
}
.mi-floating-tooltip[data-placement="right"]::after {
    left: -5px;
    transform: translateY(-50%) rotate(135deg);
}

@media (max-width: 900px) {
    .mi { padding-bottom: var(--titan-page-bottom-gap, 52px); }
}
@media (max-width: 640px) {
    .mi { padding-bottom: var(--titan-page-bottom-gap, 44px); }
    .mi-round-v2__summary { min-height: 64px; }
}


/* Sprint 20.3.3 — mobile round navigator, readable telemetry identities and compact highlights */
.mi-timeline-console__round-grid {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 1px 1px 3px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}
.mi-timeline-console__round-grid > button {
    width: 31px;
    min-width: 31px;
    height: 31px;
    padding: 0;
    scroll-snap-align: start;
    font-variant-numeric: tabular-nums;
}

.mi-telemetry-table-card table { min-width: 1190px; }
.mi-telemetry-table-card th:first-child,
.mi-telemetry-table-card td:first-child { width: 260px; min-width: 260px; }
.mi-telemetry-player-cell > a {
    min-width: 0 !important;
    width: 100%;
    align-items: center;
}
.mi-telemetry-player-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 7px;
}
.mi-telemetry-player-copy > b {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.2;
    font-family: Inter, "Segoe UI", "Segoe UI Symbol", "Noto Sans Symbols 2", Arial, sans-serif;
}
.mi-telemetry-player-rank {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}
.mi-telemetry-player-rank .mi-rank { max-width: 92px; }

.mi-highlight-stage--compact {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}
.mi-highlight-v3 {
    min-width: 0;
    display: grid;
    grid-template-columns: 78px minmax(0,1fr) auto;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--mi-line);
    border-radius: 13px;
    background: linear-gradient(135deg,rgba(21,31,49,.96),rgba(12,20,34,.96));
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.mi-highlight-v3[hidden] { display: none !important; }
.mi-highlight-v3__accent {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 13px 10px;
    border-right: 1px solid rgba(255,193,69,.13);
    background: linear-gradient(180deg,rgba(255,193,69,.08),rgba(255,193,69,.025));
    color: var(--mi-amber);
}
.mi-highlight-v3__accent > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,193,69,.20);
    border-radius: 9px;
    background: rgba(255,193,69,.07);
}
.mi-highlight-v3__accent strong {
    max-width: 68px;
    overflow: hidden;
    color: var(--mi-text);
    font-size: 22px;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mi-highlight-v3__content {
    min-width: 0;
    display: grid;
    gap: 9px;
    padding: 12px 13px;
}
.mi-highlight-v3__content > header {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.mi-highlight-v3__content > header b {
    min-width: 0;
    overflow: hidden;
    color: var(--mi-amber);
    font-size: 9.5px;
    font-weight: 950;
    letter-spacing: .09em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.mi-highlight-v3__content > header small {
    flex: 0 0 auto;
    color: var(--mi-muted);
    font-size: 9.5px;
    font-variant-numeric: tabular-nums;
}
.mi-highlight-v3__player {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
.mi-highlight-v3__player > span:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.mi-highlight-v3__player b {
    overflow: hidden;
    color: var(--mi-text);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mi-highlight-v3__player small {
    overflow: hidden;
    color: var(--mi-muted);
    font-size: 9.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mi-highlight-v3__meta {
    min-height: 23px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.mi-highlight-v3__weapon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 7px;
    border: 1px solid rgba(77,198,255,.14);
    border-radius: 6px;
    background: rgba(77,198,255,.045);
}
.mi-highlight-v3__weapon img {
    width: 46px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .82;
}
.mi-highlight-v3__weapon b,
.mi-highlight-v3__flag {
    color: var(--mi-muted);
    font-size: 8.5px;
    font-weight: 850;
    line-height: 1;
}
.mi-highlight-v3__flag {
    padding: 4px 6px;
    border: 1px solid rgba(255,193,69,.16);
    border-radius: 5px;
    background: rgba(255,193,69,.05);
    color: var(--mi-amber);
}
.mi-highlight-v3__open {
    width: 42px;
    min-width: 42px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 8px 5px;
    border: 0;
    border-left: 1px solid var(--mi-line);
    background: rgba(8,13,23,.34);
    color: var(--mi-muted);
    cursor: pointer;
}
.mi-highlight-v3__open span { display: none; }
.mi-highlight-v3__open:hover,
.mi-highlight-v3__open:focus-visible { background: rgba(77,198,255,.07); color: var(--mi-cyan); }
.mi-highlight-v3__open .mi-icon { transform: rotate(-90deg); }

@media (max-width: 900px) {
    .mi-highlight-stage--compact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .mi-timeline-console__jump {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 7px;
    }
    .mi-timeline-console__jump > span { margin-right: 0; }
    .mi-timeline-console__round-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(6,minmax(0,1fr));
        gap: 6px;
        overflow: visible !important;
        padding: 0;
        scroll-snap-type: none;
    }
    .mi-timeline-console__round-grid > button {
        width: 100% !important;
        min-width: 0 !important;
        height: 32px;
    }
    .mi-telemetry-table-card th:first-child,
    .mi-telemetry-table-card td:first-child { width: 245px; min-width: 245px; }
    .mi-highlight-v3 { grid-template-columns: 66px minmax(0,1fr) 38px; }
    .mi-highlight-v3__accent { padding-inline: 7px; }
    .mi-highlight-v3__accent strong { font-size: 19px; }
    .mi-highlight-v3__content { padding: 11px 10px; }
    .mi-highlight-v3__content > header { align-items: flex-start; flex-direction: column; gap: 3px; }
    .mi-highlight-v3__player .mi-avatar { --mi-avatar: 36px !important; }
    .mi-highlight-v3__weapon b { display: none; }
}


/* Sprint 20.3.4 — Steam in-game demo launcher restored in Match hero */
.mi-hero__actions [data-match-watch-demo] {
    border-color: rgba(139, 112, 255, .34);
    background: linear-gradient(180deg, rgba(111, 76, 255, .19), rgba(53, 35, 120, .16));
    color: #b7a8ff;
}
.mi-hero__actions [data-match-watch-demo]:hover,
.mi-hero__actions [data-match-watch-demo]:focus-visible {
    border-color: rgba(167, 139, 250, .62);
    background: linear-gradient(180deg, rgba(124, 92, 255, .28), rgba(65, 43, 145, .23));
    color: #ddd6fe;
}


/* Sprint 20.3.5 — canonical map labels and missing-art fallback */
.mi-hero__backdrop { background-color: #0b1422; }

/* Sprint 20.3.6 — mobile player subtabs and Timeline command-center polish */
@media (max-width: 640px) {
    .mi-subtabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
        margin: 12px 0 10px;
        overflow: visible;
        padding: 6px;
        border: 1px solid var(--mi-line);
        border-radius: 11px;
        background: rgba(13,21,36,.78);
    }
    .mi-subtabs button {
        width: 100%;
        min-width: 0;
        min-height: 38px;
        padding: 7px 8px;
        border-color: rgba(139,164,204,.08);
        font-size: 9.5px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .mi-timeline-console {
        gap: 10px;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 11px;
    }
    .mi-timeline-console__filters {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 6px;
    }
    .mi-timeline-console__filters > span {
        grid-column: 1 / -1;
        margin: 0 0 1px;
    }
    .mi-timeline-console__filters > button {
        min-width: 0;
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0 6px;
        font-size: 8.5px;
        line-height: 1.1;
        text-align: center;
    }
    .mi-timeline-console__filters > button b {
        min-width: 17px;
        margin-left: 0;
    }

    .mi-round-v2 { border-radius: 11px; }
    .mi-round-v2__summary {
        min-height: 96px;
        grid-template-columns: minmax(0,1fr) 94px minmax(0,1fr);
        grid-template-areas:
            "number result meta"
            "team-one result team-two";
        grid-template-rows: auto auto;
        gap: 7px 8px;
        padding: 9px 10px;
    }
    .mi-round-v2__number {
        grid-area: number;
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        gap: 5px;
    }
    .mi-round-v2__number b { font-size: 21px; }
    .mi-round-v2__squad.team-one { grid-area: team-one; justify-content: flex-start; }
    .mi-round-v2__squad.team-two { grid-area: team-two; justify-content: flex-end; }
    .mi-round-v2__result { grid-area: result; grid-template-columns: 30px 22px 30px; gap: 3px; }
    .mi-round-v2__result > span { font-size: 20px; }
    .mi-round-v2__result small {
        max-width: 94px;
        overflow: hidden;
        font-size: 7.5px;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mi-round-v2__meta {
        grid-area: meta;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .mi-round-v2__meta > span { display: none; }
    .mi-round-v2__meta .mi-icon { width: 18px; height: 18px; }
    .mi-round-v2__squad { gap: 0; }
    .mi-round-v2__squad > span { display: inline-flex !important; }
    .mi-round-v2__squad > span + span { margin-left: -6px; }
    .mi-round-v2__squad .mi-avatar {
        --mi-avatar: 25px !important;
        border: 2px solid var(--mi-panel);
        box-shadow: 0 3px 9px rgba(0,0,0,.26);
    }
    .mi-round-v2__squad > span > i {
        right: -2px;
        bottom: -3px;
        min-width: 13px;
        height: 13px;
        border-width: 1px;
        font-size: 6.5px;
    }
    .mi-round-v2__events {
        gap: 7px;
        padding: 9px;
    }
    .mi-event-row,
    .mi-event-row--objective {
        min-height: 0;
        padding: 9px;
        gap: 6px 8px;
        border-radius: 8px;
    }
    .mi-event-row--kill {
        grid-template-columns: 34px minmax(0,1fr) 68px;
        grid-template-areas:
            "event-time attacker weapon"
            ". victim victim"
            ". flags flags";
    }
    .mi-event-row--kill > time { grid-area: event-time; align-self: center; }
    .mi-event-row--kill > .is-attacker { grid-area: attacker; }
    .mi-event-row--kill > .mi-event-weapon { grid-area: weapon; }
    .mi-event-row--kill > .is-victim {
        grid-area: victim;
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
    .mi-event-row--kill > .mi-event-flags {
        grid-area: flags;
        justify-content: flex-start;
    }
    .mi-event-player span:last-child,
    .mi-event-player span:first-child:not(.mi-avatar) {
        font-size: 9.5px;
    }
    .mi-event-weapon img { width: 58px; height: 20px; }
    .mi-event-weapon span { font-size: 6.5px; }
    .mi-event-row--objective {
        grid-template-columns: 34px 24px minmax(0,1fr);
        grid-template-areas:
            "objective-time objective-icon objective-title"
            ". . objective-player"
            ". . objective-site";
    }
    .mi-event-row--objective > time { grid-area: objective-time; }
    .mi-event-row--objective > .mi-event-objective-icon { grid-area: objective-icon; }
    .mi-event-row--objective > b { grid-area: objective-title; }
    .mi-event-row--objective > span:last-of-type { grid-area: objective-player; }
    .mi-event-row--objective > small { grid-area: objective-site; }
}

@media (max-width: 420px) {
    .mi-subtabs { gap: 5px; padding: 5px; }
    .mi-subtabs button { min-height: 40px; font-size: 9px; }
    .mi-timeline-console__round-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .mi-round-v2__summary {
        grid-template-columns: minmax(0,1fr) 84px minmax(0,1fr);
        gap: 6px;
        padding-inline: 8px;
    }
    .mi-round-v2__result { grid-template-columns: 27px 20px 27px; }
    .mi-round-v2__result > span { font-size: 18px; }
    .mi-round-v2__result small { max-width: 84px; font-size: 7px; }
    .mi-round-v2__squad .mi-avatar { --mi-avatar: 23px !important; }
    .mi-round-v2__squad > span + span { margin-left: -7px; }
}
