/* The multiview (live_multi.html, multiview.js): several live maps at once, each its map's live view in a tile
   (the map's page ?embed=1, live-embed.css). «Крупно»: two a row, the full view; «Сетка»: four a screen, the
   heroes or the map and the chart; narrower than 1024 px one a row in both. The site's tokens: --s, Inter and
   JetBrains Mono, labels in capitals. */

/* Wider than the site's column: the tiles take the window, up to 1680 px. */
.mv-shell { max-width: min(1680px, 100%); }
.mv-main { --mv-gap: calc(16px * var(--s)); --mv-rim: rgba(255, 255, 255, .08); }

/* ── The head: the way back, the title, the modes, «Добавить матч» ─────── */

.mv-head { display: flex; align-items: center; gap: calc(16px * var(--s)); margin: 0 0 calc(18px * var(--s)); }
.mv-title {
    display: flex;
    align-items: center;
    gap: calc(10px * var(--s));
    margin: 0;
    color: #e2e8f0;
    font-size: calc(15px * var(--s));
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.mv-tools { display: flex; align-items: center; gap: calc(12px * var(--s)); margin-left: auto; }
/* The buttons are the map page's (match-details.css .lp-detail-link: its way back, the next map). */
.mv-head .lp-detail-link { cursor: pointer; }
.mv-head .lp-detail-link.mv-add-open { padding: 0 calc(18px * var(--s)) 0 calc(14px * var(--s)); }
.mv-head .lp-detail-link.mv-add-open:hover svg { transform: none; }
.mv-head .lp-detail-link.mv-add-open:disabled { opacity: .45; cursor: default; }
/* The modes are the dashboard's rail (telegram-cta.css .dash-rail), its pill sliding to the chosen one; their words in
   capitals as the head's buttons' (the user, 08.11), each word's box its capitals' height, so the icon centred on it
   stands on the capitals' middle at any scale (a shift by eye was high at one scale, low at another). */
/* As tall as the buttons by it at every scale (the map page's .lp-detail-link: 44 px at the site's scale), its modes
   filling it but for its padding (the user, 09.11: a little lower than «Добавить матч» on wider screens). */
.mv-modes { flex-wrap: nowrap; align-items: stretch; box-sizing: border-box; height: calc(44px * var(--s)); padding: calc(4px * var(--s)); }
.mv-modes > a { padding-top: 0; padding-bottom: 0; }
.mv-modes > a {
    display: inline-flex;
    align-items: center;
    gap: calc(8px * var(--s));
    font-size: max(12px, calc(13px * var(--s)));
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}
.mv-modes > a span { text-box: trim-both cap alphabetic; }
.mv-modes svg { flex: none; width: calc(14px * var(--s)); height: calc(14px * var(--s)); fill: currentColor; }

.mv-chips { display: none; }

/* ── The tiles ──────────────────────────────────────────────────────── */

/* Each tile its own height in both modes: a tile whose events open grows alone, the one beside it stays as it is,
   the page under it (the user, 02.12: stretched to the row, it had an empty part of its own under its view). */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mv-gap); align-items: start; }
/* Narrower than 1024 px one tile a row, in both modes (multiview.js fits the tiles again as the window crosses it):
   two a row showed their views scaled to 56 % and less there (39 % at 640 px), the live games now going down the page
   instead (the user, 18.11: 1200 px too wide, 1024 still fine; 7 % of the multiview's computers, 30 days). */
@media (max-width: 1023.98px) { .mv-grid { grid-template-columns: minmax(0, 1fr); } }

.mv-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--mv-rim);
    border-radius: .75rem;
    background: rgba(20, 24, 35, .6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .05);
    /* No backdrop blur (the site's glass): under four tiles whose charts draw 30 times a second it was extra work
       for the browser (08.11, measured), and on the page's soft background it looks the same without. */
}
.mv-tile:hover { border-color: rgba(255, 255, 255, .14); }

.mv-tile-head {
    display: flex;
    align-items: center;
    gap: calc(12px * var(--s));
    min-height: calc(40px * var(--s));
    padding: calc(6px * var(--s)) calc(8px * var(--s)) calc(6px * var(--s)) calc(6px * var(--s));
    border-bottom: 1px solid rgba(30, 41, 59, .7);
    border-radius: calc(.75rem - 1px) calc(.75rem - 1px) 0 0;
}
.mv-tile-meta { display: flex; flex: 1; align-items: center; gap: calc(9px * var(--s)); min-width: 0; font-size: calc(12px * var(--s)); }
.mv-tile-meta b,
.mv-tile-league { color: #e2e8f0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.mv-tile-league { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* The series' format and the tournament's tier (multiview.js boMarkup, tierMarkup): the matches page's badges, one kind
   for both as there (the user, 27.11), a size down, never cut; BO5 and Tier 1 lit (live-page.css .lp-tier.is-1). */
.mv-tile-meta .mv-tile-badge { flex: none; height: max(18px, calc(20px * var(--s))); padding: 0 calc(7px * var(--s)); font-size: max(10px, calc(11px * var(--s))); }
.mv-tile-actions { display: flex; align-items: center; gap: calc(2px * var(--s)); margin-left: auto; }
.mv-icon {
    display: inline-grid;
    place-items: center;
    width: calc(30px * var(--s));
    height: calc(30px * var(--s));
    border-radius: calc(7px * var(--s));
    color: #64748b;
    transition: background-color .15s ease, color .15s ease;
}
.mv-icon:hover { background: rgba(148, 163, 184, .12); color: #e2e8f0; }
.mv-icon[data-act="remove"]:hover { background: rgba(248, 113, 113, .14); color: #fca5a5; }
/* The match's own page: a grey ground at rest, apart from «убрать» beside it (the user's A, 17.11). */
.mv-tile-open { background: rgba(148, 163, 184, .10); color: #94a3b8; }
.mv-tile-open:hover { background: rgba(148, 163, 184, .18); color: #e2e8f0; }
.mv-icon svg { width: calc(18px * var(--s)); height: calc(18px * var(--s)); }

/* «Сетка»'s panel switch in a tile's head: the rail a step smaller (as the hero stats' period, .hs-rail), its type
   the sub rail's (telegram-cta.css .dash-rail--sub, .8125rem). Every size in it whole pixels, its line as tall as
   its segment: the capitals then fall on the same pixel rows at any place on the page, as many above as below,
   and the pill on them (the user, 09.11: the words sat a pixel off their middle). */
.mv-panel-seg { gap: 2px; padding: 3px; border-radius: .5rem; }
.mv-panel-seg.dash-rail--sub > button {
    height: 22px;
    height: round(nearest, 1.6125rem, 1px);
    padding: 0 .8rem;
    border-radius: .375rem;
    color: #94a3b8;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 22px;
    line-height: round(nearest, 1.6125rem, 1px);
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 200ms ease;
}
.mv-panel-seg > button:hover,
.mv-panel-seg > [aria-pressed="true"] { color: #fff; }
.mv-panel-seg .dash-rail-thumb { border-radius: .375rem; }
/* The pills placed by left/top (multiview.js placeThumb), slid as the dashboard's. */
.mv-modes .dash-rail-thumb,
.mv-panel-seg .dash-rail-thumb {
    transition: left 300ms cubic-bezier(.22, 1, .36, 1), top 300ms cubic-bezier(.22, 1, .36, 1),
                width 300ms cubic-bezier(.22, 1, .36, 1), height 300ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease;
}
@media (prefers-reduced-motion: reduce) {
    .mv-modes .dash-rail-thumb,
    .mv-panel-seg .dash-rail-thumb { transition: none; }
}

/* The map's page, scaled to the tile when the tile is narrower than its computer view needs. */
.mv-frame { position: relative; overflow: hidden; border-radius: 0 0 calc(.75rem - 1px) calc(.75rem - 1px); }
.mv-frame iframe { display: block; border: 0; background: transparent; transform-origin: 0 0; }
/* A cover over the page until it is drawn and has told its height: no half-drawn view, no jump. Not the iframe's
   own opacity: Chrome does not draw a page it takes for invisible, it would never be drawn. */
.mv-frame::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: #0e121b;
    pointer-events: none;
    transition: opacity .3s ease;
}
.mv-frame.drawn::after { opacity: 0; }
/* «Крупно»: the map's events opened or shut by the head's button (multiview.js setEvents), the tile sliding to its
   new height, its view above them still. */
.mv-tile.mv-sliding .mv-frame { transition: height 280ms cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) {
    .mv-tile.mv-sliding .mv-frame { transition: none; }
}

/* ── Moving a tile: by its head (a mouse) or its grip ─────────────────── */

.mv-grip {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: calc(22px * var(--s));
    height: calc(30px * var(--s));
    margin-right: calc(-4px * var(--s));
    border-radius: calc(6px * var(--s));
    color: #475569;
    cursor: grab;
    touch-action: none;
}
.mv-grip:hover { background: rgba(148, 163, 184, .1); color: #cbd5e1; }
.mv-grip svg { width: calc(18px * var(--s)); height: calc(18px * var(--s)); }
@media (hover: hover) and (pointer: fine) {
    .mv-tile-head { cursor: grab; }
    .mv-tile-head a,
    .mv-tile-head button { cursor: pointer; }
}
.mv-main.mv-dragging,
.mv-main.mv-dragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
.mv-main.mv-dragging iframe { pointer-events: none; }
.mv-main .is-dragging {
    position: relative;
    z-index: 40;
    border-color: rgba(129, 140, 248, .6) !important;
    box-shadow: 0 28px 70px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(129, 140, 248, .35);
    will-change: transform;
}
.mv-main .is-dragging::before { opacity: 0 !important; }

/* ── «Добавить матч» under the tiles: the live maps not shown, one click each ── */

.mv-below { margin-top: var(--mv-gap); }
.mv-add {
    display: flex;
    align-items: center;
    gap: calc(22px * var(--s));
    padding: calc(14px * var(--s)) calc(16px * var(--s)) calc(14px * var(--s)) calc(22px * var(--s));
    border: 1px dashed rgba(148, 163, 184, .22);
    border-radius: .75rem;
    background: rgba(11, 14, 20, .35);
    color: #94a3b8;
}
.mv-add-label { display: flex; flex: none; align-items: center; gap: calc(12px * var(--s)); }
.mv-add-plus {
    display: grid;
    place-items: center;
    width: calc(36px * var(--s));
    height: calc(36px * var(--s));
    border-radius: 50%;
    background: rgba(99, 102, 241, .14);
    color: #a5b4fc;
}
.mv-add-plus svg { width: calc(22px * var(--s)); height: calc(22px * var(--s)); }
.mv-add-title { font-size: calc(13px * var(--s)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mv-add-sub { color: #64748b; font-size: calc(13px * var(--s)); }
/* One row's height for every row and for the line that says there is none: the block as tall with no row as with
   one, a live row as tall as a break's (the user, 10.11: the block jumped as a row came and went). A break's row is
   the tallest: its score (16 px, line 1) and word (line 1) .mv-break's 3 px apart, its padding and border. */
.mv-add { --mv-add-row: calc(16px * var(--s) + 3px * var(--s) + max(9.5px, 10px * var(--s)) + 2 * 8px * var(--s) + 2px); }
.mv-add-row { min-height: var(--mv-add-row); }
.mv-add-sub { display: flex; align-items: center; min-height: var(--mv-add-row); }
.mv-add-list {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(auto-fill, minmax(calc(380px * var(--s) + 40px), 1fr));
    /* Every row as tall as the tallest (a break's word under its score), each row's content in its middle. */
    grid-auto-rows: 1fr;
    gap: calc(6px * var(--s));
}
.mv-add-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: calc(10px * var(--s));
    padding: calc(8px * var(--s)) calc(8px * var(--s)) calc(8px * var(--s)) calc(12px * var(--s));
    border: 1px solid #1e293b;
    border-radius: calc(9px * var(--s));
    background: rgba(11, 14, 20, .7);
    color: #e2e8f0;
    transition: border-color .15s ease, background-color .15s ease;
}
.mv-add-row:hover { border-color: rgba(129, 140, 248, .5); background: rgba(99, 102, 241, .1); }
.mv-add-row:disabled { opacity: .5; cursor: default; }
.mv-add-team { display: flex; align-items: center; gap: calc(8px * var(--s)); min-width: 0; }
.mv-add-team b { flex: 0 1 auto; min-width: 0; overflow: hidden; font-size: calc(13px * var(--s)); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
/* The gold or «ПОБЕДА» in the middle of the room between the name and the score (the user, 09.11); short of room,
   the name gives way (its ellipsis), the badge stays whole. */
.mv-add-mark { display: flex; flex: 1 0 auto; justify-content: center; }
/* In a draft or between two maps: the series' score in the middle as the other rows' kills, «ДРАФТ» or «ПЕРЕРЫВ» small
   under it, one look for both (as the matches page's break: the score over the word). */
.mv-break { display: inline-flex; flex-direction: column; align-items: center; gap: calc(3px * var(--s)); white-space: nowrap; }
.mv-break .mv-score { line-height: 1; }
/* The word's letter spacing after its last letter matched before its first: the letters, not the box, under the
   score's middle (as live-page.css .lp-draft-word under a card's score). */
.mv-break .mv-word { padding-left: .12em; font-size: max(9.5px, calc(10px * var(--s))); line-height: 1; letter-spacing: .12em; }
.mv-series-score b { color: #e2e8f0; }
.mv-logo { flex: none; width: calc(22px * var(--s)); height: calc(22px * var(--s)); object-fit: contain; }
.mv-logo.blank {
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #1e293b;
    color: #94a3b8;
    font-size: calc(11px * var(--s));
    font-weight: 700;
}
.mv-gold {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 3px;
    height: calc(20px * var(--s));
    padding: 0 calc(6px * var(--s));
    border: 1px solid rgba(245, 158, 11, .35);
    border-radius: calc(5px * var(--s));
    background: rgba(245, 158, 11, .08);
    color: #fcd34d;
    font-family: "JetBrains Mono", monospace;
    font-size: calc(11.5px * var(--s));
    font-weight: 700;
}
/* The map over: «ПОБЕДА» by its winner in the gold's place, as the map page's board has it (live-map.css .live-board-win). */
.mv-win {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: calc(20px * var(--s));
    padding: 0 calc(7px * var(--s));
    border: 1px solid rgba(16, 185, 129, .35);
    border-radius: calc(5px * var(--s));
    background: rgba(16, 185, 129, .13);
    color: #34d399;
    font: 700 max(10.5px, calc(11.5px * var(--s)))/1 "JetBrains Mono", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mv-score { font-family: "JetBrains Mono", monospace; font-size: calc(16px * var(--s)); font-weight: 700; white-space: nowrap; }
.mv-score .r { color: #34d399; }
.mv-score .d { color: #f87171; }
.mv-score i { margin: 0 3px; color: #475569; font-style: normal; }
.mv-word { color: #a5b4fc; font-family: Inter, sans-serif; font-size: calc(11.5px * var(--s)); letter-spacing: .14em; text-transform: uppercase; }
.mv-add-go { display: grid; place-items: center; width: calc(28px * var(--s)); height: calc(28px * var(--s)); border-radius: calc(7px * var(--s)); background: rgba(99, 102, 241, .16); color: #a5b4fc; }
.mv-add-go svg { width: calc(18px * var(--s)); height: calc(18px * var(--s)); }

/* «Добавить матч» in the head: the block lights up a moment where the page scrolls to. */
@keyframes mv-flash {
    0% { border-color: rgba(148, 163, 184, .22); box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
    18% { border-color: rgba(165, 180, 252, .9); box-shadow: 0 0 0 3px rgba(129, 140, 248, .28), 0 0 32px rgba(99, 102, 241, .32); }
    100% { border-color: rgba(148, 163, 184, .22); box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}
@keyframes mv-flash-row {
    0%, 100% { border-color: #1e293b; background-color: rgba(11, 14, 20, .7); }
    20% { border-color: rgba(129, 140, 248, .65); background-color: rgba(99, 102, 241, .16); }
}
.mv-add.mv-flash { animation: mv-flash 1.6s ease-out both; }
.mv-add.mv-flash .mv-add-row { animation: mv-flash-row 1.6s ease-out .1s both; }
@media (prefers-reduced-motion: reduce) {
    .mv-add.mv-flash,
    .mv-add.mv-flash .mv-add-row { animation-duration: .01s; }
}

/* Nothing live. */
.mv-empty {
    margin: 0;
    padding: 2.5rem 1rem;
    border: 1px dashed rgba(148, 163, 184, .18);
    border-radius: .75rem;
    color: #64748b;
    font-size: calc(15px * var(--s));
    text-align: center;
}

/* ── Phones: the tiles one under another, a line of chips on top to go to one ── */

@media (max-width: 639px) {
    .mv-main { --mv-gap: 12px; }
    .mv-head { gap: 10px; margin-bottom: 12px; }
    .mv-title { font-size: 13px; }
    .mv-tools { gap: 8px; }
    .mv-modes { display: none; }
    .mv-head .lp-detail-link.mv-add-open { justify-content: center; width: 44px; min-height: 44px; padding: 0; }
    .mv-add-open .lp-detail-text { display: none; }

    .mv-chips {
        position: sticky;
        top: calc(70px + env(safe-area-inset-top, 0px));  /* under the site's sticky bar */
        z-index: 30;
        display: flex;
        gap: 8px;
        margin: 0 -16px 12px;
        padding: 8px 16px;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        background: rgba(5, 6, 10, .82);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
    .mv-chips:empty { display: none; }
    .mv-chips::-webkit-scrollbar { display: none; }
    .mv-chip {
        display: inline-flex;
        flex: none;
        align-items: center;
        gap: 6px;
        height: 40px;
        padding: 0 10px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 10px;
        background: rgba(20, 24, 35, .7);
        color: #e2e8f0;
    }
    .mv-chip .mv-logo { width: 22px; height: 22px; }
    .mv-chip .mv-score { font-size: 15px; }
    .mv-chip .mv-score i { margin: 0 2px; }
    .mv-chip .mv-word { font-size: 11px; letter-spacing: .12em; }
    .mv-chip-clock { margin-left: 2px; color: #94a3b8; font-family: "JetBrains Mono", monospace; font-size: 11.5px; }
    .mv-chip-add { justify-content: center; width: 40px; padding: 0; border-style: dashed; color: #a5b4fc; }
    .mv-chip-add svg { width: 20px; height: 20px; }

    .mv-grid { grid-template-columns: minmax(0, 1fr); }
    .mv-tile { border-radius: 12px; }
    .mv-tile-head { gap: 8px; min-height: 40px; padding: 4px; }
    .mv-grip { width: 30px; height: 34px; }
    .mv-grip svg { width: 20px; height: 20px; }
    .mv-tile-meta { gap: 7px; font-size: 11px; }
    .mv-icon { width: 34px; height: 34px; }
    .mv-icon svg { width: 19px; height: 19px; }
    .mv-panel-seg { display: none; }
    .mv-add { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 12px; }
    .mv-add-label { justify-content: center; }
    .mv-add-sub { justify-content: center; text-align: center; }
    .mv-add-list { grid-template-columns: minmax(0, 1fr); }
}

/* The bot's prediction (live_multi.html #mv-cta), a series with predictions only: in a tile's head after its
   tournament, left of «Сетка»'s panel switch, the same word in both modes and the size of the switch's buttons
   (the user, 12.11): their height, padding, type and whole-pixel line, not the switch's box around them.
   Over the list's [data-view="c"] .lp-cta. */
[data-view="c"] .mv-tile-head .mv-cta {
    flex: none;
    justify-content: center;
    gap: 6px;
    height: 22px;
    height: round(nearest, 1.6125rem, 1px);
    padding: 0 .8rem;
    border-radius: .375rem;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 22px;
    line-height: round(nearest, 1.6125rem, 1px);
}
.mv-cta-strip { display: none; }

/* A narrow tile keeps it in its head (the user, 11.11: never under it): the tournament's name goes first, then its
   tier, then the BO, then the map's number, a tablet's narrowest tiles keep only its icon. The narrowest tile on a
   computer is 478 px (two a row at 1024); phones have the strip instead. The tiles' meta never cut: past its steps
   it hides what it cannot show. */
@media (min-width: 640px) {
    .mv-tile { container: mv-tile / inline-size; }
    .mv-tile-meta { overflow: hidden; }

    /* The events button at the score (data-evbtn="score", the site's): the head as before it, «Сетка»'s switch its two
       panels, «Крупно» none. The steps are the head's fixed parts measured at the page's scale (.85): grip, button
       (101), switch, actions and their gaps 341 px, its padding 12, the map's number 48, the BO's badge 44 and the
       tier's 56 more (27.11: the BO the tier's badge, 9 px wider than its mono chip was; the tier, 16.11, had no step
       and was cut). */
    @container mv-tile (max-width: 522.98px) {
        .mv-main[data-evbtn="score"][data-mode="grid"] .mv-tile.has-cta .mv-tile-league { display: none; }
    }
    @container mv-tile (max-width: 507.98px) {
        .mv-main[data-evbtn="score"][data-mode="grid"] .mv-tile.has-cta .mv-tile-tier { display: none; }
    }
    @container mv-tile (max-width: 451.98px) {
        .mv-main[data-evbtn="score"][data-mode="grid"] .mv-tile.has-cta .mv-tile-bo { display: none; }
    }
    @container mv-tile (max-width: 407.98px) {
        .mv-main[data-evbtn="score"][data-mode="grid"] .mv-tile.has-cta .mv-tile-meta { display: none; }
    }
    @container mv-tile (max-width: 343.98px) {
        [data-view="c"] .mv-main[data-evbtn="score"][data-mode="grid"] .mv-tile.has-cta .mv-cta { width: 30px; width: calc(round(nearest, 1.6125rem, 1px) + 8px); padding: 0; }
        .mv-main[data-evbtn="score"][data-mode="grid"] .mv-tile.has-cta .mv-cta > span { display: none; }
    }
    /* «Крупно» has no switch: as much more room, its map's number never in the way. */
    @container mv-tile (max-width: 374.98px) {
        .mv-main[data-evbtn="score"][data-mode="large"] .mv-tile.has-cta .mv-tile-league { display: none; }
    }
    @container mv-tile (max-width: 360.98px) {
        .mv-main[data-evbtn="score"][data-mode="large"] .mv-tile.has-cta .mv-tile-tier { display: none; }
    }
    @container mv-tile (max-width: 304.98px) {
        .mv-main[data-evbtn="score"][data-mode="large"] .mv-tile.has-cta .mv-tile-bo { display: none; }
    }

    /* The events button in the head (data-evbtn="head", ?evbtn=head: kept for a later design, 02.12): «Сетка»'s switch
       three panels, «Крупно» its button. Measured at .85 beside the head's fixed parts: the map's number 48 px, the BO
       44 more, the tier 54 more, the tournament's name 48 more (a few letters before its «…», not a stub of it). The
       fixed parts: «Сетка» 448 px with the prediction's button (grip, button 101, the switch 225, actions, their gaps,
       the padding), 337 without; «Крупно» 317 (its button 93 in the switch's place). */
    @container mv-tile (max-width: 641.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile.has-cta .mv-tile-league { display: none; }
    }
    @container mv-tile (max-width: 593.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile.has-cta .mv-tile-tier { display: none; }
    }
    @container mv-tile (max-width: 539.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile.has-cta .mv-tile-bo { display: none; }
    }
    @container mv-tile (max-width: 495.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile.has-cta .mv-tile-meta { display: none; }
    }
    @container mv-tile (max-width: 439.98px) {
        [data-view="c"] .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile.has-cta .mv-cta { width: 30px; width: calc(round(nearest, 1.6125rem, 1px) + 8px); padding: 0; }
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile.has-cta .mv-cta > span { display: none; }
    }
    @container mv-tile (max-width: 530.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile:not(.has-cta) .mv-tile-league { display: none; }
    }
    @container mv-tile (max-width: 482.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile:not(.has-cta) .mv-tile-tier { display: none; }
    }
    @container mv-tile (max-width: 428.98px) {
        .mv-main[data-evbtn="head"][data-mode="grid"] .mv-tile:not(.has-cta) .mv-tile-bo { display: none; }
    }
    @container mv-tile (max-width: 510.98px) {
        .mv-main[data-evbtn="head"][data-mode="large"] .mv-tile.has-cta .mv-tile-league { display: none; }
    }
    @container mv-tile (max-width: 462.98px) {
        .mv-main[data-evbtn="head"][data-mode="large"] .mv-tile.has-cta .mv-tile-tier { display: none; }
    }
    @container mv-tile (max-width: 408.98px) {
        .mv-main[data-evbtn="head"][data-mode="large"] .mv-tile.has-cta .mv-tile-bo { display: none; }
    }
}

@media (max-width: 639px) {
    /* Phones: a strip across the tile under its head (the user, 11.11), the head keeping the tournament. */
    [data-view="c"] .mv-tile-head .mv-cta { display: none; }
    .mv-cta-strip {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
        border-bottom: 1px solid rgba(99, 102, 241, .25);
        background: rgba(99, 102, 241, .1);
        color: #a5b4fc;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .06em;
        text-decoration: none;
        text-transform: uppercase;
        transition: background-color .18s ease, color .18s ease;
    }
    .mv-cta-strip:hover { background: rgba(99, 102, 241, .2); color: #c7d2fe; }
    .mv-cta-strip svg { width: 15px; height: 15px; flex: none; }
}
