/* MeczRealu: górny pasek na całą szerokość - Pulpit, krok 1 (MR-20261115-TOPBAR; templates/_mr_topbar.tpl, js/mr-topbar.js).
   Prośba właściciela z 15.11.2026: „główne menu na górze ma być od lewej. i z ikonkami”, styl Apple (grafit, jak ramówka i kino).
   Od 1100 px: pasek przypięty u góry, lewe menu schowane, środek strony na środku ekranu; węziej - wszystko jak dotąd.
   Elementy przypięte do góry ekranu (belki strony głównej, pasek skrótów po lewej, znajomi po prawej) zaczynają się pod paskiem. */
.mrtb { display: none; }
@media (min-width: 768px) {
  html.mr-tb { --mr-tb-h: 56px; scroll-padding-top: calc(var(--mr-tb-h) + 8px); }
  html.mr-tb .mrtb {
    --tb-bg: rgba(28, 28, 30, .86); --tb-solid: #1c1c1e; --tb-line: rgba(255, 255, 255, .08); --tb-tx: #f5f5f7; --tb-dim: rgba(235, 235, 245, .62);
    --tb-fill: rgba(118, 118, 128, .18); --tb-fill2: rgba(118, 118, 128, .26); --tb-pop: rgba(44, 44, 46, .97); --tb-red: #ff453a;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030; display: flex; align-items: center; gap: 6px; height: var(--mr-tb-h); padding: 0 16px 0 18px;
    box-sizing: border-box; background: var(--tb-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--tb-line); color: var(--tb-tx);
    font: 500 14px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -.011em;
  }
  html[data-mr-theme="light"].mr-tb .mrtb {
    --tb-bg: rgba(255, 255, 255, .86); --tb-solid: #fff; --tb-line: rgba(0, 0, 0, .08); --tb-tx: #1d1d1f; --tb-dim: rgba(60, 60, 67, .66);
    --tb-fill: rgba(118, 118, 128, .12); --tb-fill2: rgba(118, 118, 128, .16); --tb-pop: rgba(255, 255, 255, .97);
  }
  /* logo */
  html .mrtb .mrtb-logo { flex: none; display: flex; align-items: center; height: 40px; padding: 0 6px; margin-right: 12px; border-radius: 10px; }
  html .mrtb .mrtb-logo .mr-brand-logo { display: block; width: 56px; height: 25px; overflow: hidden; }
  html[data-mr-theme="light"] .mrtb .mrtb-logo .mr-brand-image { filter: url(#mrLogoInkTb); }
  /* menu od lewej z ikonkami */
  .mrtb-nav { position: relative; display: flex; align-items: center; gap: 2px; min-width: 0; }
  html .mrtb .mrtb-a {
    display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; margin: 0; border: 0; border-radius: 10px; background: none;
    color: var(--tb-dim); font: inherit; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer;
  }
  html .mrtb .mrtb-a i { width: 17px; text-align: center; font-size: 15px; }
  html .mrtb .mrtb-a:hover, html .mrtb .mrtb-a:focus-visible, html .mrtb .mrtb-more[aria-expanded="true"] { background: var(--tb-fill); color: var(--tb-tx); text-decoration: none; }
  html .mrtb .mrtb-a.is-on { background: var(--tb-fill); color: var(--tb-tx); font-weight: 600; }
  /* wyszukiwarka - ta sama co dotąd, przeniesiona z góry prawej kolumny */
  .mrtb-search { flex: 0 1 300px; min-width: 170px; margin-left: auto; }
  html body .mrtb .mrtb-search .search-wrapper {
    position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: 100% !important; height: auto !important;
    margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; transform: none !important; z-index: auto !important;
  }
  html body .mrtb .mrtb-search .search-wrapper .form-control {
    height: 36px !important; padding: 0 12px 0 36px !important; border: 0 !important; border-radius: 10px !important; background: var(--tb-fill2) !important;
    color: var(--tb-tx) !important; font-size: 14px !important; box-shadow: none !important;
  }
  html body .mrtb .mrtb-search .search-wrapper .form-control::placeholder { color: var(--tb-dim) !important; opacity: 1; }
  html body .mrtb .mrtb-search .search-input-icon { left: 12px !important; right: auto !important; top: 10px !important; margin: 0 !important; transform: none !important; transition: none !important; width: 16px; height: 16px; color: var(--tb-dim) !important; }
  html body .mrtb .mrtb-search .dropdown-search { top: calc(100% + 8px) !important; right: 0 !important; left: auto !important; width: 400px !important; max-width: calc(100vw - 32px) !important; }
  /* wiadomości, powiadomienia, zaproszenia, konto */
  .mrtb-icons { flex: none; display: flex; align-items: center; gap: 2px; margin-left: 8px; }
  html .mrtb .mrtb-ic {
    position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--tb-dim); font-size: 17px; text-decoration: none;
  }
  html .mrtb .mrtb-ic:hover, html .mrtb .mrtb-ic.is-on { background: var(--tb-fill); color: var(--tb-tx); }
  .mrtb-n {
    position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--tb-red);
    color: #fff; font-size: 10.5px; font-weight: 600; line-height: 17px; text-align: center; letter-spacing: 0; box-shadow: 0 0 0 2px var(--tb-solid); pointer-events: none;
  }
  .mrtb-n[hidden] { display: none; }
  .mrtb-me { flex: none; display: flex; align-items: center; margin-left: 6px; }
  .mrtb-me-ph { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
  html body .mrtb .mrtb-me .dropdownUserMenuButton { display: block; padding: 0; border-radius: 50%; }
  html body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info { padding: 2px !important; margin: 0 !important; width: auto !important; background: none !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important; }
  html body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info img { width: 32px !important; height: 32px !important; object-fit: cover; }
  html body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info .mx-2, html body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info > svg, html body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info .mr-club-add, html body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info .mr-club { display: none !important; }
  html body .mrtb .mrtb-me .dropdownUserMenuButton:hover .x_user_info { background: var(--tb-fill) !important; }
  html body .mrtb .mrtb-me .x_mobi_user_menu.dropdown-menu { margin-top: 8px !important; min-width: 280px; max-height: calc(100vh - 80px) !important; max-height: calc(100dvh - 80px) !important; }
  /* „Więcej”: pozostałe pozycje lewego menu i „Pokaż więcej”, w działach (MR-20261116-TBMOREGRP): trzy kolumny z nagłówkami
     działów jak w ustawieniach iPhone'a, cienka linia między kolumnami */
  .mrtb-pop {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 2; display: flex; align-items: stretch; gap: 0; width: max-content; max-width: calc(100vw - 16px);
    max-height: calc(100vh - 80px); overflow-y: auto; padding: 8px; box-sizing: border-box; border-radius: 16px; background: var(--tb-pop);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 0 0 1px var(--tb-line), 0 20px 50px rgba(0, 0, 0, .45);
    scrollbar-width: thin; scrollbar-color: var(--tb-fill2) transparent;
  }
  .mrtb-pop[hidden] { display: none; }
  .mrtb-col { display: flex; flex-direction: column; gap: 10px; width: 204px; min-width: 0; padding: 0 4px; }
  .mrtb-col + .mrtb-col { box-shadow: inset 1px 0 0 var(--tb-line); padding-left: 8px; }
  .mrtb-sec { display: flex; flex-direction: column; gap: 1px; }
  html .mrtb .mrtb-sh { padding: 7px 12px 5px; color: var(--tb-dim); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; line-height: 14px; text-transform: uppercase; }
  html .mrtb .mrtb-mi {
    display: flex; align-items: center; gap: 11px; min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; color: var(--tb-tx); font-size: 14px; font-weight: 500;
    text-decoration: none; white-space: nowrap;
  }
  html .mrtb .mrtb-mi span { overflow: hidden; text-overflow: ellipsis; }
  html .mrtb .mrtb-mi:hover, html .mrtb .mrtb-mi:focus-visible { background: var(--tb-fill); color: var(--tb-tx); text-decoration: none; }
  html .mrtb .mrtb-mi > svg, html .mrtb .mrtb-mi > img, html .mrtb .mrtb-mi > i { flex: none; width: 20px !important; height: 20px !important; color: var(--tb-dim); font-size: 16px; line-height: 20px; text-align: center; }

  /* Powiadomienia i Wiadomości: małe menu pod ikonką (MR-20261116-TBDROP, js/mr-topbar.js) - grafit jak „Więcej”, wiersze jak
     w oryginalnym menu: awatar z ikonką rodzaju, tekst z pogrubionym imieniem, fragment, czas, miniaturka, niebieska kropka nowych */
  html .mrtb .mrtb-ic.is-open { background: var(--tb-fill); color: var(--tb-tx); }
  .mrtb-dd {
    position: absolute; top: calc(100% + 8px); right: 16px; z-index: 3; display: flex; flex-direction: column; width: 380px;
    max-height: min(620px, calc(100vh - var(--mr-tb-h) - 24px)); box-sizing: border-box; overflow: hidden; border-radius: 16px; background: var(--tb-pop);
    box-shadow: 0 0 0 1px var(--tb-line), 0 20px 50px rgba(0, 0, 0, .5); color: var(--tb-tx); font-weight: 400; letter-spacing: -.008em;
  }
  .mrtb-dd[hidden] { display: none; }
  /* przy otwartym menu pasek nad oknem wpisu / „Odpowiedzi” (#modal), żeby menu go nie chowało (MR-20261116-TBDROP2) */
  /* menu powiadomień / wiadomości i „Więcej” nad oknem wpisu i „Odpowiedzi” (MR-20261116-TBDROP2, MR-20261117-MOREZ): okno wpisu
     (.modal.mr-post-thread-open) ma z-index 999999 - pasek tylko na czas otwartego menu ponad nim, pod oknami MRWin i czatem */
  html.mr-tb .mrtb:is(.mrtb-dd-on, .mrtb-more-on) { z-index: 1000001; }
  .mrtb-dd-hd { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 12px 8px 18px; }
  .mrtb-dd-hd b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
  html .mrtb .mrtb-dd-tool {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tb-fill); color: var(--tb-dim); font-size: 14px; text-decoration: none;
  }
  html .mrtb .mrtb-dd-tool:hover { background: var(--tb-fill2); color: var(--tb-tx); }
  .mrtb-dd-list {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 2px;
    scrollbar-width: thin; scrollbar-color: var(--tb-fill2) transparent;
  }
  html .mrtb .mrtb-dr {
    position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--tb-tx);
    font-size: 14px; font-weight: 400; line-height: 1.32; text-decoration: none;
  }
  html .mrtb .mrtb-dr:hover, html .mrtb .mrtb-dr:focus-visible { background: var(--tb-fill); color: var(--tb-tx); text-decoration: none; }
  .mrtb-dr-av { position: relative; flex: none; width: 48px; height: 48px; }
  .mrtb-dr-av > img { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--tb-fill2); }
  .mrtb-dr-av.is-two > img { position: absolute; width: 34px; height: 34px; }
  .mrtb-dr-av.is-two > img:first-child { top: 0; left: 0; }
  .mrtb-dr-av.is-two > img + img { right: 0; bottom: 0; box-shadow: 0 0 0 2px #2c2c2e; }
  .mrtb-dr-k {
    position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: #8e8e93; color: #fff; box-shadow: 0 0 0 2px #2c2c2e; font-size: 11px; font-style: normal; line-height: 1;
  }
  .mrtb-dr-k svg { width: 12px; height: 12px; fill: currentColor; }
  .mrtb-dr-av.is-sys { display: grid; place-items: center; border-radius: 50%; background: var(--tb-fill2); color: #8e8e93; font-size: 20px; }
  .mrtb-dr-av.is-sys svg { width: 24px; height: 24px; fill: currentColor; }
  .mrtb-dr-k[data-k="reaction"] { background: #ff375f; }
  .mrtb-dr-k:is([data-k="comment"], [data-k="mention"]) { background: #0a84ff; }
  .mrtb-dr-k[data-k="share"] { background: #30d158; }
  .mrtb-dr-k[data-k="people"] { background: #5e5ce6; }
  .mrtb-dr-k[data-k="post"] { background: #ff9f0a; }
  .mrtb-dr-av.is-sys[data-k="reaction"] { color: #ff375f; }
  .mrtb-dr-av.is-sys:is([data-k="comment"], [data-k="people"], [data-k="other"]) { color: #0a84ff; }
  .mrtb-dr-av.is-sys[data-k="share"] { color: #30d158; }
  .mrtb-dr-av.is-sys[data-k="post"] { color: #ff9f0a; }
  .mrtb-dr-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .mrtb-dr-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(235, 235, 245, .82); overflow-wrap: anywhere; }
  .mrtb-dr-t b { color: var(--tb-tx); font-weight: 600; }
  .mrtb-dr-x { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tb-dim); font-size: 13px; }
  .mrtb-dr-tm { color: var(--tb-dim); font-size: 12.5px; }
  .mrtb-dr-l { display: flex; align-items: baseline; min-width: 0; color: var(--tb-dim); font-size: 13px; }
  .mrtb-dr-l .mrtb-dr-x { flex: 0 1 auto; min-width: 0; }
  .mrtb-dr-l .mrtb-dr-x:not(:empty) + .mrtb-dr-tm::before { content: "\00b7"; margin: 0 5px; }
  .mrtb-dr-l .mrtb-dr-tm { flex: none; font-size: 13px; }
  .mrtb-dr.is-new .mrtb-dr-tm { color: #0a84ff; font-weight: 600; }
  .mrtb-dr.is-new .mrtb-dr-x { color: rgba(235, 235, 245, .82); }
  /* XP za reakcje i komentarze (MR-20261119-XPNOTIFDD) - po prawej stronie wiersza, szare i spokojne (MR-20261121-XPNOTIFGRAY) */
  .mrtb-dr-xp {
    flex: none; align-self: center; padding: 0 7px; border-radius: 999px; background: rgba(118, 118, 128, .18); color: rgba(235, 235, 245, .5);
    font-size: 11px; font-weight: 600; line-height: 17px; letter-spacing: 0; white-space: nowrap;
  }
  html[data-mr-theme="light"] .mrtb-dr-xp { background: rgba(118, 118, 128, .12); color: rgba(60, 60, 67, .55); }
  .mrtb-dr-th { flex: none; width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--tb-fill2); }
  .mrtb-dr-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #0a84ff; }
  html .mrtb .mrtb-dd-all {
    flex: none; display: flex; align-items: center; justify-content: center; height: 40px; margin: 6px 12px 12px; border-radius: 10px;
    background: var(--tb-fill); color: #0a84ff; font-size: 14px; font-weight: 600; text-decoration: none;
  }
  html .mrtb .mrtb-dd-all:hover, html .mrtb .mrtb-dd-all:focus-visible { background: var(--tb-fill2); color: #409cff; text-decoration: none; }
  .mrtb-dd-empty { padding: 36px 20px 30px; color: var(--tb-dim); text-align: center; }
  .mrtb-dd-sk { display: flex; align-items: center; gap: 12px; padding: 8px 10px; }
  .mrtb-dd-sk i { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--tb-fill); }
  .mrtb-dd-sk span { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .mrtb-dd-sk b { display: block; height: 11px; border-radius: 6px; background: var(--tb-fill); }
  .mrtb-dd-sk b + b { width: 55%; }
  html[data-mr-theme="light"] .mrtb-dr-t { color: rgba(60, 60, 67, .85); }
  html[data-mr-theme="light"] :is(.mrtb-dr-k, .mrtb-dr-av.is-two > img + img) { box-shadow: 0 0 0 2px #fff; }

  /* strona pod paskiem: bez lewego menu, środek na środku */
  html.mr-tb .main-wrapper { padding-top: var(--mr-tb-h); }
  html.mr-tb .x-sidebar-width { display: none !important; }
  html.mr-tb .x-content-width { margin-left: auto !important; margin-right: auto !important; }
  html.mr-tb .search-wrapper-prnt { display: none !important; }
  /* prawa kolumna: bez miejsca na wyszukiwarkę nad nią (wyszukiwarka jest w pasku) */
  html.mr-tb .x_content_row > .js_sticky-sidebar { padding-top: 16px !important; }
  html.mr-tb .mr-nav-stack.mr-nav-fixed { top: var(--mr-tb-h) !important; }
  html.mr-tb .mr-nav-spacer { margin-top: 0 !important; }
  html.mr-tb .mr-dock, html.mr-tb .chat-sidebar { top: var(--mr-tb-h) !important; height: calc(100% - var(--mr-tb-h)) !important; }
}
/* węższy ekran: same ikonki w menu, krótsza wyszukiwarka */
@media (min-width: 768px) and (max-width: 1339.98px) {
  html .mrtb .mrtb-nav .mrtb-a { padding: 0 11px; }
  html .mrtb .mrtb-nav .mrtb-a span { display: none; }
  .mrtb-search { flex-basis: 250px; }
  /* menu bez ikon (MR-20261117-TOPMENU) - nazwy także tutaj; gdy się nie mieszczą, js/mr-topbar.js włącza same ikonki (mrtb-tight) */
  html.mrtb-noic:not(.mrtb-tight) .mrtb .mrtb-nav .mrtb-a { padding: 0 12px; }
  html.mrtb-noic:not(.mrtb-tight) .mrtb .mrtb-nav .mrtb-a span { display: inline; }
}
/* menu główne z „Dostosuj” Pulpitu (MR-20261117-TOPMENU; prośba właściciela z 17.11.2026: „trzeba zrobić dodatkowe ustawienia do
   głównego menu”): pozycje schowane i niemieszczące się (w „Więcej”), pozycje dodane z „Więcej” z ich ikonkami, menu bez ikon,
   za szerokie menu - same ikonki; własne menu niewidoczne, dopóki js/mr-topbar.js go nie ułoży (klasa z _mr_topbar.tpl) */
@media (min-width: 768px) {
  html.mr-tb.mrtb-mm:not(.mrtb-mm-ok) .mrtb .mrtb-nav { visibility: hidden; }
  html .mrtb .mrtb-nav .mrtb-a:is(.is-mmoff, .is-fitout) { display: none !important; }
  html .mrtb .mrtb-nav .mrtb-a > :is(svg, img) { flex: none; width: 17px !important; height: 17px !important; margin: 0 !important; }
  html .mrtb .mrtb-nav .mrtb-a > img { border-radius: 4px; object-fit: cover; }
  html.mrtb-noic:not(.mrtb-tight) .mrtb .mrtb-nav .mrtb-a > :is(i, svg, img) { display: none; }
  html.mrtb-tight .mrtb .mrtb-nav .mrtb-a { padding: 0 11px; }
  html.mrtb-tight .mrtb .mrtb-nav .mrtb-a span { display: none; }
}

/* Pulpit na telefonie, krok 1 (MR-20261116-PPHONE1; prośba właściciela: „na telefonie na samej górze główny panel to ma być feed,
   oczywiście header na samej górze”): do 767 px ten pasek jest nagłówkiem telefonu jak w makiecie - logo po lewej, dzwonek i awatar
   z menu konta po prawej (js/mr-topbar.js przenosi menu konta tak jak na komputerze); stary nagłówek telefonu schowany. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone { --mr-tb-h: calc(52px + env(safe-area-inset-top, 0px)); }
  html.mr-tb.mr-pphone .mrtb {
    --tb-bg: rgba(28, 28, 30, .88); --tb-solid: #1c1c1e; --tb-line: rgba(255, 255, 255, .08); --tb-tx: #f5f5f7; --tb-dim: rgba(235, 235, 245, .62);
    --tb-fill: rgba(118, 118, 128, .2); --tb-red: #ff453a;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1035; display: flex !important; align-items: center; gap: 4px; height: var(--mr-tb-h);
    padding: env(safe-area-inset-top, 0px) 10px 0 14px; box-sizing: border-box; background: var(--tb-bg); color: var(--tb-tx);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--tb-line);
    font: 500 14px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  html.mr-tb.mr-pphone .mrtb .mrtb-logo { flex: none; display: flex; align-items: center; height: 40px; padding: 0 2px; }
  html.mr-tb.mr-pphone .mrtb .mrtb-logo .mr-brand-logo { display: block; width: 56px; height: 25px; overflow: hidden; }
  html.mr-tb.mr-pphone .mrtb :is(.mrtb-nav, .mrtb-search, [data-tb="messages"], [data-tb="requests"]) { display: none !important; }
  html.mr-tb.mr-pphone .mrtb .mrtb-icons { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  html.mr-tb.mr-pphone .mrtb .mrtb-ic {
    position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--tb-dim); font-size: 18px; text-decoration: none;
  }
  html.mr-tb.mr-pphone .mrtb .mrtb-n {
    position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--tb-red);
    color: #fff; font-size: 10.5px; font-weight: 600; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--tb-solid); pointer-events: none;
  }
  html.mr-tb.mr-pphone .mrtb .mrtb-n[hidden] { display: none; }
  /* przycisk paneli (ikonka układu, js/mr-pulpit.js) - bez szarego tła przycisku systemowego (MR-20261116-PPHONE1C) */
  html.mr-tb.mr-pphone .mrtb .mrpe-btn { padding: 0; border: 0; background: none; cursor: pointer; }
  html.mr-tb.mr-pphone .mrtb .mrpe-btn .mrpe-ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  html.mr-tb.mr-pphone .mrtb .mrpe-btn.is-on { background: #0a84ff; color: #fff; }
  html.mr-tb.mr-pphone .mrtb .mrpe-btn.is-on .mrpe-ico { fill: rgba(255, 255, 255, .28); }
  html.mr-tb.mr-pphone .mrtb .mrtb-me { flex: none; display: flex; align-items: center; margin-left: 4px; }
  html.mr-tb.mr-pphone .mrtb .mrtb-me-ph { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .dropdownUserMenuButton { display: block; padding: 0; border-radius: 50%; }
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info {
    padding: 2px !important; margin: 0 !important; width: auto !important; background: none !important; border: 0 !important; border-radius: 50% !important;
  }
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info img { width: 32px !important; height: 32px !important; object-fit: cover; }
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info :is(.mx-2, .mr-club-add, .mr-club),
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .dropdownUserMenuButton .x_user_info > svg { display: none !important; }
  /* menu konta (awatar) pod paskiem, nad feedem (MR-20261116-PHUMENU; zgłoszenie właściciela: „na telefonach menu usera chowa się pod
     feedem”): motyw (style.css .x_mobi_user_menu) robi z niego szufladę od góry do dołu ekranu (position: fixed, top: 0, bottom: 0),
     a pasek z rozmyciem tła (backdrop-filter) zamyka takie menu w sobie - miało wysokość paska (ok. 43 px), resztę chował pasek feedu.
     Teraz rozwijana lista pod awatarem, do dolnego paska ikon, z przewijaniem; pełne tło (rozmycie w środku paska nie działa - feed
     prześwitywał) */
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .x_mobi_user_menu.dropdown-menu {
    position: fixed !important; inset: calc(var(--mr-tb-h) + 6px) 10px auto auto !important; top: calc(var(--mr-tb-h) + 6px) !important; right: 10px !important;
    bottom: auto !important; left: auto !important; transform: none !important; margin: 0 !important; width: min(320px, calc(100vw - 20px)) !important;
    max-height: calc(100dvh - var(--mr-tb-h) - 72px - env(safe-area-inset-bottom, 0px)) !important; overflow-y: auto !important; overscroll-behavior: contain;
  }
  /* zamknięte menu schowane (MR-20261116-PHUMENU2; zgłoszenie: „samo wyświetla się na pierwszym planie od razu po odpaleniu aplikacji…
     i nie można go w żaden sposób zamknąć”): motyw chowa je przesunięciem (transform: translateX(-110%), display: block) i pokazuje przy
     body.user_menu_open - reguła wyżej zdejmuje transform, więc zamknięte zostawało na ekranie; teraz widoczne tylko otwarte (.show) */
  html.mr-tb.mr-pphone body .mrtb .mrtb-me .x_mobi_user_menu.dropdown-menu:not(.show) { display: none !important; }
  html.mr-tb.mr-pphone:not([data-mr-theme="light"]) body .mrtb .mrtb-me .x_mobi_user_menu.dropdown-menu {
    background: #2c2c2e !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
  }
  /* stary nagłówek telefonu (logo na środku) schowany, treść pod nowym nagłówkiem */
  html.mr-tb.mr-pphone .logo-wrapper { display: none !important; }
  html.mr-tb.mr-pphone .main-wrapper { padding-top: var(--mr-tb-h) !important; }
}

/* przełącznik stylu „VI” (MR-20261117-PINK, js/mr-topbar.js) - wyłączony: różowe „VI” w różowej obwódce, włączony: różowy gradient
   z białym „VI” i poświatą; na komputerze między herbem klubu a wyszukiwarką, na telefonie obok herbu */
/* kwadrat z zaokrągleniem jak ikona aplikacji zamiast pastylki (MR-20261120-VISQUARE; lista właściciela, punkt 9: „poprawić ikonkę GTA VI
   na bardziej kwadratową a nie prostokątną, chodzi o zaokrąglenia”) */
html .mrtb .mrtb-vi { flex: none; display: grid; place-items: center; width: 34px; min-width: 34px; height: 34px; margin: 0 8px 0 0; padding: 0;
  border: 1.5px solid rgba(255, 79, 163, .55); border-radius: 10px; background: rgba(255, 79, 163, .08); cursor: pointer; transition: background .15s, box-shadow .15s; }
html .mrtb .mrtb-vi b { padding: 0 .14em 0 .02em; font: italic 900 14px/1 "Arial Black", "Segoe UI Black", Impact, sans-serif; letter-spacing: -.02em;
  background: linear-gradient(135deg, #ff4fa3, #ff6f7d 55%, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
html .mrtb .mrtb-vi[hidden] { display: none; }
.mrtb-vi { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
html .mrtb .mrtb-vi:hover, html .mrtb .mrtb-vi:focus-visible { background: rgba(255, 79, 163, .18); outline: 0; }
html .mrtb .mrtb-vi[aria-pressed="true"] { border-color: transparent; background: linear-gradient(135deg, #ff4fa3, #ff6f7d 55%, #ff8a5c); box-shadow: 0 0 14px rgba(255, 79, 163, .55); }
html .mrtb .mrtb-vi[aria-pressed="true"] b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone .mrtb .mrtb-vi { width: 32px; min-width: 32px; height: 32px; margin: 0 2px 0 4px; padding: 0; border-radius: 9px; }
}

/* Twój klub w pasku (MR-20261117-TBCLUB; prośba właściciela z 17.11.2026: „na telefonach chciałbym przenieść klub do góry obok
   zarządzania pulpitem”, „na PC możesz przenieść klub też. daj go od lewej od wyszukiwarki”): okrągły przycisk z herbem klubu -
   na komputerze na lewo od wyszukiwarki, na telefonie przed przyciskiem Pulpitu; zakładka klubu nad feedem i jej wiersz w „Zakładki
   feedu” schowane, gdy jest ten pasek (768-1099 px bez paska - zakładka jak dotąd) */
.mrtb-club img { display: block; width: 26px; height: 26px; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.mrtb-club img:not([src]) { visibility: hidden; }
.mrtb-club i { font-size: 18px; }
/* bez wybranego klubu mały plusik, przytrzymanie palcem nie zaznacza herbu (MR-20261118-TBCLUB2) */
.mrtb-club { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.mrtb-club[hidden] { display: none !important; }
.mrtb-club i.mrtb-club-add { display: none; }
.mrtb-club.is-add img, .mrtb-club.is-add .fa-shield-halved { display: none !important; }
.mrtb-club.is-add i.mrtb-club-add { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tb-fill, rgba(118, 118, 128, .18)); color: var(--tb-dim, rgba(235, 235, 245, .62)); font-size: 11px; }
.mrtb-club.is-add:hover i.mrtb-club-add { background: var(--tb-fill2, rgba(118, 118, 128, .26)); color: var(--tb-tx, #f5f5f7); }
@media (min-width: 768px) {
  html .mrtb .mrtb-club { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 4px 0 auto; padding: 0; border: 0; border-radius: 50%;
    background: none; color: var(--tb-dim); cursor: pointer; transition: background .15s; }
  html .mrtb .mrtb-club:hover, html .mrtb .mrtb-club:focus-visible { background: var(--tb-fill); outline: 0; }
  html .mrtb .mrtb-club + .mrtb-club { margin-left: -6px; }
  html .mrtb .mrtb-club ~ .mrtb-search { margin-left: 0; }
  html.mr-tb #mrTeamNavItem[data-mr-top="klub"], html.mr-tb #mrSetOverlay .mr-set-row[data-key="klub"] { display: none !important; }
}
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone .mrtb .mrtb-club { flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin: 0 0 0 auto; padding: 0; border: 0;
    border-radius: 50%; background: none; color: var(--tb-dim); cursor: pointer; }
  html.mr-tb.mr-pphone .mrtb .mrtb-club + .mrtb-club { width: 32px; margin-left: -4px; }
  html.mr-tb.mr-pphone .mrtb .mrtb-club ~ .mrtb-icons { margin-left: 0; }
  html.mr-tb.mr-pphone #mrTeamNavItem[data-mr-top="klub"], html.mr-tb.mr-pphone #mrSetOverlay .mr-set-row[data-key="klub"] { display: none !important; }
}

/* ============ „Teraz gra” obok herbu klubu (MR-20261119-MUNP, js/mr-topbar.js) ============
   Pastylka: okrągły przycisk pauzy / wznowienia w kolorze Muzyki, korektor (rusza się, gdy gra) i tytuł - klik otwiera okno Muzyki. */
html .mrtb .mrtb-np { flex: none; display: flex; align-items: center; min-width: 0; height: 34px; margin: 0 6px 0 2px; padding: 0 12px 0 3px; border-radius: 999px; background: var(--tb-fill); }
html .mrtb .mrtb-np[hidden] { display: none; }
html .mrtb .mrtb-np-tg { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: #1db954; color: #fff; font-size: 11px; cursor: pointer; transition: filter .15s; }
html .mrtb .mrtb-np-tg:hover, html .mrtb .mrtb-np-tg:focus-visible { filter: brightness(1.1); outline: 0; }
html .mrtb .mrtb-np-tg .fa-play { margin-left: 2px; }
html .mrtb .mrtb-np-t { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 0 0 8px; border: 0; background: none; color: var(--tb-tx, #f5f5f7); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; }
html .mrtb .mrtb-np-t b { max-width: 170px; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
html .mrtb .mrtb-np-t:hover b, html .mrtb .mrtb-np-t:focus-visible b { text-decoration: underline; outline: 0; }
html .mrtb .mrtb-np-eq { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 12px; }
html .mrtb .mrtb-np-eq i { display: block; width: 3px; height: 35%; border-radius: 1px; background: #1db954; }
html .mrtb .mrtb-np.is-playing .mrtb-np-eq i { animation: mrtbEq .9s ease-in-out infinite; }
html .mrtb .mrtb-np.is-playing .mrtb-np-eq i:nth-child(2) { animation-delay: -.3s; }
html .mrtb .mrtb-np.is-playing .mrtb-np-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes mrtbEq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { html .mrtb .mrtb-np.is-playing .mrtb-np-eq i { animation: none; height: 70%; } }
html .mrtb .mrtb-np.is-open { background: var(--tb-fill-h, rgba(118, 118, 128, .36)); }
/* mini konsola po najechaniu (MR-20261120-NPCONSOLE, js/mr-topbar.js) - grafitowe szkło jak mini odtwarzacz Apple Music */
.mrtb-npc { position: fixed; z-index: 2147482500; display: flex; flex-direction: column; gap: 12px; width: 320px; padding: 14px; border-radius: 18px;
  background: rgba(40, 40, 43, .94); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55), inset 0 0 0 .5px rgba(255, 255, 255, .14); color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -.01em;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center; transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.mrtb-npc.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .16s ease; }
.mrtb-npc button { font-family: inherit; }
.mrtb-npc-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mrtb-npc-art { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: rgba(118, 118, 128, .24) center / cover no-repeat;
  color: rgba(235, 235, 245, .6); font-size: 20px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 0 0 .5px rgba(255, 255, 255, .1); }
.mrtb-npc-art.has-pic i { display: none; }
.mrtb-npc-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mrtb-npc-k { display: flex; align-items: center; gap: 6px; color: var(--npc-acc, #1db954); font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
.mrtb-npc-k .mrtb-np-eq { height: 10px; }
.mrtb-npc-k .mrtb-np-eq i { width: 2.5px; background: var(--npc-acc, #1db954); }
.mrtb-npc.is-playing .mrtb-npc-k .mrtb-np-eq i { animation: mrtbEq .9s ease-in-out infinite; }
.mrtb-npc.is-playing .mrtb-npc-k .mrtb-np-eq i:nth-child(2) { animation-delay: -.3s; }
.mrtb-npc.is-playing .mrtb-npc-k .mrtb-np-eq i:nth-child(3) { animation-delay: -.6s; }
.mrtb-npc:not(.is-playing) .mrtb-npc-k .mrtb-np-eq { display: none; }
.mrtb-npc-t { overflow: hidden; color: #f5f5f7; font-size: 15px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.mrtb-npc-a { overflow: hidden; color: rgba(235, 235, 245, .6); font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mrtb-npc-a:empty { display: none; }
/* suwaki: cienki pasek, wypełnienie z --p, kropka po najechaniu */
.mrtb-npc input[type="range"] { --p: 0%; display: block; width: 100%; height: 16px; margin: 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.mrtb-npc input[type="range"]:focus { outline: 0; }
.mrtb-npc input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f5f5f7 var(--p), rgba(255, 255, 255, .2) var(--p)); }
.mrtb-npc input[type="range"]::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .15s; -webkit-appearance: none; appearance: none; }
.mrtb-npc input[type="range"]:is(:hover, :focus-visible, :active)::-webkit-slider-thumb { opacity: 1; }
.mrtb-npc input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.mrtb-npc input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: #f5f5f7; }
.mrtb-npc input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.mrtb-npc-bar { display: flex; flex-direction: column; gap: 2px; }
.mrtb-npc-tm { display: flex; justify-content: space-between; color: rgba(235, 235, 245, .5); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mrtb-npc.is-radio .mrtb-npc-bar, .mrtb-npc.is-radio [data-npc="shuf"], .mrtb-npc.is-radio [data-npc="rep"] { display: none; }
.mrtb-npc-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mrtb-npc-ctl button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: #f5f5f7; font-size: 17px;
  cursor: pointer; transition: background-color .15s, transform .12s, color .15s; }
.mrtb-npc-ctl button:hover { background: rgba(255, 255, 255, .1); }
.mrtb-npc-ctl button:active { transform: scale(.92); }
.mrtb-npc-ctl button:focus-visible { outline: 2px solid #0a84ff; outline-offset: 1px; }
.mrtb-npc-ctl button.is-sm { width: 32px; height: 32px; color: rgba(235, 235, 245, .55); font-size: 13px; }
.mrtb-npc-ctl button.is-sm.is-on { color: var(--npc-acc, #1db954); }
.mrtb-npc-ctl button.is-main { width: 46px; height: 46px; background: #f5f5f7; color: #1c1c1e; font-size: 17px; }
.mrtb-npc-ctl button.is-main:hover { background: #fff; }
.mrtb-npc-ctl button.is-main .fa-play { margin-left: 3px; }
.mrtb-npc-vol { display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(235, 235, 245, .55); font-size: 12px; cursor: default; }
.mrtb-npc-vol i { flex: none; width: 16px; text-align: center; }
.mrtb-npc-app { display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(118, 118, 128, .24);
  color: #f5f5f7; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.mrtb-npc-app:hover { background: rgba(118, 118, 128, .36); }
.mrtb-npc-app i { color: var(--npc-acc, #1db954); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .mrtb-npc, .mrtb-npc.is-on { transition: none; } .mrtb-npc.is-playing .mrtb-npc-k .mrtb-np-eq i { animation: none; height: 70%; } }
@media (max-width: 767.98px) {
  /* w nagłówku telefonu brak miejsca na tytuł - okrągły przycisk i korektor (tytuł w opisie przycisku) */
  html.mr-tb.mr-pphone .mrtb .mrtb-np { height: 32px; margin: 0 2px 0 4px; padding: 0 9px 0 2px; }
  html.mr-tb.mr-pphone .mrtb .mrtb-np-t { gap: 0; padding-left: 7px; }
  html.mr-tb.mr-pphone .mrtb .mrtb-np-t b { display: none; }
}

/* ============ Okno „Twój klub” (js/mr-home-04.js, MR-20261117-CLUBPICK) ============
   Prośba właściciela z 17.11.2026: „zmień menu wyboru klubu”, „zrób szersze te panele z opcjami na PC”. Styl Pulpitu: grafit
   #2a2a2d, zaokrąglenie 28 px; komputer - szerokie okno, po lewej obecny klub i ligi, po prawej herby w kafelkach; telefon - ligi
   jako pastylki, kafelki w 3 kolumnach. */
.mr-team-modal-overlay { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px;
    background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s; }
.mr-team-modal-overlay.mr-open { opacity: 1; visibility: visible; transition: opacity .18s ease; }
.mr-team-modal { display: flex; flex-direction: column; width: min(1000px, 100%); height: min(720px, 100%); overflow: hidden; border-radius: 28px;
    background: #2a2a2d; color: #f5f5f7; text-align: left; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .07);
    font: 500 14px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -.01em;
    transform: scale(.98); transition: transform .18s ease; }
.mr-team-modal-overlay.mr-open .mr-team-modal { transform: none; }
.mr-team-modal-header { flex: none; display: flex; align-items: center; gap: 14px; padding: 20px 20px 14px 22px; }
.mr-team-hic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #409cff, #0a84ff 55%, #0060df);
    color: #fff; font-size: 20px; }
.mr-team-ht { flex: 1; min-width: 0; }
.mr-team-ht h3 { margin: 0; color: #f5f5f7; font: 700 22px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -.02em; }
.mr-team-ht p { margin: 3px 0 0; color: rgba(235, 235, 245, .6); font-size: 13.5px; }
.mr-team-search-wrap { position: relative; flex: none; width: 300px; }
.mr-team-search-icon { position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: rgba(235, 235, 245, .6); font-size: 13px; pointer-events: none; }
.mr-team-search-input { box-sizing: border-box; width: 100%; height: 40px; padding: 0 14px 0 36px; border: 0; border-radius: 12px; outline: 0;
    background: rgba(118, 118, 128, .24); color: #f5f5f7; font: inherit; font-size: 15px; }
.mr-team-search-input::placeholder { color: rgba(235, 235, 245, .6); }
.mr-team-search-input:focus { box-shadow: 0 0 0 3px rgba(10, 132, 255, .45); }
.mr-team-modal-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(118, 118, 128, .24); color: rgba(235, 235, 245, .85); font-size: 15px; cursor: pointer; }
.mr-team-modal-close:hover { background: rgba(118, 118, 128, .36); color: #fff; }
.mr-team-body { flex: 1; min-height: 0; display: flex; gap: 20px; padding: 4px 20px 20px; }
.mr-team-side { flex: none; display: flex; flex-direction: column; gap: 14px; width: 250px; min-height: 0; }
.mr-team-cur { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(118, 118, 128, .16); }
.mr-team-cur-crest, .mr-team-crest { position: relative; display: grid; place-items: center; }
.mr-team-cur-crest { flex: none; width: 48px; height: 48px; }
.mr-team-cur-crest img, .mr-team-crest img { width: 100%; height: 100%; object-fit: contain; }
.mr-team-cur-crest i, .mr-team-crest i { display: none; color: rgba(235, 235, 245, .4); font-size: 26px; }
.mr-team-cur-crest.is-miss i, .mr-team-crest.is-miss i { display: block; }
.mr-team-cur-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-team-cur-t em { color: rgba(235, 235, 245, .6); font-size: 12px; font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.mr-team-cur-t b { overflow: hidden; color: #f5f5f7; font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mr-team-cur-t small { color: rgba(235, 235, 245, .6); font-size: 12.5px; }
.mr-team-reset-row { flex-basis: 100%; }
.mr-team-reset-row[hidden] { display: none; }
.mr-team-reset-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgba(10, 132, 255, .16);
    color: #409cff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mr-team-reset-btn:hover { background: rgba(10, 132, 255, .26); }
.mr-team-leagues { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.mr-team-leagues::-webkit-scrollbar { width: 0; height: 0; }
.mr-team-lg { flex: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 6px 12px; border: 0; border-radius: 12px; background: none;
    color: #f5f5f7; font: inherit; text-align: left; cursor: pointer; }
.mr-team-lg:hover { background: rgba(118, 118, 128, .14); }
.mr-team-lg.is-on { background: rgba(118, 118, 128, .28); }
.mr-team-lg .mr-flag, .mr-team-sec .mr-flag { flex: none; width: 24px; height: 17px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.mr-team-lgn { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-team-lgn b { color: #f5f5f7; font-size: 15px; font-weight: 600; }
.mr-team-lgn em { color: rgba(235, 235, 245, .6); font-size: 12.5px; font-style: normal; }
.mr-team-lgc { flex: none; color: rgba(235, 235, 245, .45); font-size: 13px; font-variant-numeric: tabular-nums; }
.mr-team-list { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 0 0; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
.mr-team-sec { display: flex; align-items: center; gap: 10px; margin: 14px 2px 10px; }
.mr-team-sec:first-child { margin-top: 2px; }
.mr-team-sec b { color: #f5f5f7; font-size: 15px; font-weight: 700; }
.mr-team-sec span { color: rgba(235, 235, 245, .55); font-size: 13px; }
.mr-team-sec.is-big b { font-size: 19px; letter-spacing: -.02em; }
.mr-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.mr-team-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 16px 8px 13px; border: 0; border-radius: 18px;
    background: rgba(118, 118, 128, .16); color: #f5f5f7; font: inherit; text-align: center; cursor: pointer; transition: background .15s ease; }
.mr-team-tile:hover { background: rgba(118, 118, 128, .28); }
.mr-team-tile:focus-visible, .mr-team-lg:focus-visible, .mr-team-modal-close:focus-visible, .mr-team-reset-btn:focus-visible { outline: 2px solid #409cff; outline-offset: 2px; }
.mr-team-tile.is-on { background: rgba(10, 132, 255, .16); box-shadow: inset 0 0 0 2px #0a84ff; }
.mr-team-crest { width: 56px; height: 56px; }
.mr-team-nm { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #f5f5f7; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.mr-team-ck { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #0a84ff;
    color: #fff; font-size: 11px; }
.mr-team-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 70px 16px; color: rgba(235, 235, 245, .6); text-align: center; }
.mr-team-empty i { margin-bottom: 6px; color: rgba(235, 235, 245, .3); font-size: 34px; }
.mr-team-empty b { color: #f5f5f7; font-size: 17px; }

/* telefon: okno na prawie cały ekran, ligi jako pastylki nad kafelkami */
@media (max-width: 767.98px) {
    .mr-team-modal-overlay { align-items: flex-end; padding: 0; }
    .mr-team-modal { width: 100%; height: calc(100% - 24px); border-radius: 28px 28px 0 0; transform: translateY(16px); }
    .mr-team-modal-header { flex-wrap: wrap; gap: 12px; padding: 18px 16px 12px; }
    .mr-team-hic { width: 38px; height: 38px; border-radius: 10px; font-size: 17px; }
    .mr-team-ht h3 { font-size: 20px; }
    .mr-team-ht p { display: none; }
    .mr-team-search-wrap { order: 3; width: 100%; }
    .mr-team-body { flex-direction: column; gap: 12px; padding: 0 0 12px; }
    .mr-team-side { width: auto; gap: 10px; }
    .mr-team-cur { margin: 0 16px; padding: 10px 12px; border-radius: 16px; }
    .mr-team-cur-crest { width: 38px; height: 38px; }
    .mr-team-reset-row { flex-basis: auto; }
    .mr-team-leagues { flex-direction: row; gap: 8px; padding: 0 16px; overflow-x: auto; overflow-y: hidden; }
    .mr-team-lg { width: auto; min-height: 36px; gap: 8px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(118, 118, 128, .2); white-space: nowrap; }
    .mr-team-lg.is-on { background: #f5f5f7; }
    .mr-team-lg.is-on .mr-team-lgn b { color: #1c1c1e; }
    .mr-team-lg .mr-flag { width: 20px; height: 14px; border-radius: 3px; }
    .mr-team-lgn b { font-size: 14px; }
    .mr-team-lgn em, .mr-team-lgc { display: none; }
    .mr-team-list { padding: 0 16px 8px; }
    .mr-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .mr-team-tile { gap: 8px; padding: 12px 6px 10px; border-radius: 16px; }
    .mr-team-crest { width: 44px; height: 44px; }
    .mr-team-nm { font-size: 12.5px; }
}

/* jasny motyw strony */
html[data-mr-theme="light"] .mr-team-modal-overlay { background: rgba(48, 55, 64, .48); }
html[data-mr-theme="light"] .mr-team-modal { background: #fff; color: #1d1d1f; box-shadow: 0 24px 60px rgba(48, 55, 64, .2); }
html[data-mr-theme="light"] :is(.mr-team-ht h3, .mr-team-cur-t b, .mr-team-lgn b, .mr-team-sec b, .mr-team-nm, .mr-team-empty b, .mr-team-search-input, .mr-team-lg) { color: #1d1d1f; }
html[data-mr-theme="light"] :is(.mr-team-search-input, .mr-team-modal-close) { background: rgba(118, 118, 128, .12); }
html[data-mr-theme="light"] :is(.mr-team-cur, .mr-team-tile) { background: rgba(118, 118, 128, .08); }
html[data-mr-theme="light"] :is(.mr-team-tile:hover, .mr-team-lg.is-on) { background: rgba(118, 118, 128, .16); }
html[data-mr-theme="light"] .mr-team-tile.is-on { background: rgba(10, 132, 255, .1); }
/* klub wybrany już w drugim miejscu (MR-20261118-TBCLUB2) */
.mr-team-tile.is-taken { cursor: default; opacity: .38; }
.mr-team-tile.is-taken:hover { background: rgba(118, 118, 128, .16); }

/* ---------- menu konta jak menu pod prawym przyciskiem (MR-20261119-USERMENU2, templates/_user_menu.tpl .mr-um) ----------
   Prośba właściciela: „popraw też to menu usera”, wybór „Wygląd jak inne menu” i „porządek i krótsze nazwy też”: grafit #2c2c2e
   z cienką ramką jak js/mr-card-menu.js .mr-kmenu (css/mr-grafit.css), zaokrąglone pozycje, ikonki w jednym szarym kolorze, nagłówek
   grupy „Administracja”, kwoty portfela i punktów po prawej. Telefon - układ jak dotąd (css/mr-feed-x.css), te same kolory i grupy. */
html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu {
  background: #2c2c2e !important; border: 0 !important; border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
  color: #f5f5f7; font: 500 14.5px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -.01em;
}
html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item > span { display: flex; flex: 1 1 auto; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item > span > em { margin-left: auto; padding-left: 12px; font-style: normal; font-weight: 500; color: rgba(235, 235, 245, .55); font-variant-numeric: tabular-nums; }
html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .mr-um-h { padding: 8px 10px 4px; color: rgba(235, 235, 245, .5); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; line-height: 14px; text-transform: uppercase; }
@media (min-width: 768px) {
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu { min-width: 280px; padding: 6px !important; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:not(.d-none) {
    display: flex !important; align-items: center !important; gap: 12px !important; min-height: 38px; margin: 0 !important; padding: 8px 10px !important;
    border: 0 !important; border-radius: 9px !important; background: transparent !important; color: #f5f5f7 !important;
    font-size: 14.5px !important; font-weight: 500 !important; line-height: 20px !important;
  }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:is(:hover, :focus-visible, :active) { background: rgba(255, 255, 255, .08) !important; color: #f5f5f7 !important; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item > i { flex: none; width: 20px !important; margin: 0 !important; color: rgba(235, 235, 245, .6) !important; font-size: 15px !important; line-height: 20px; text-align: center; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item > span { color: inherit !important; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-divider { margin: 6px 4px !important; border-top: 1px solid rgba(255, 255, 255, .08) !important; opacity: 1 !important; }
  /* nagłówek: awatar, imię, @nick i znaczek weryfikacji */
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:first-child { padding: 8px 10px !important; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:first-child .x_user_info { padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:first-child .x_user_info img { width: 40px !important; height: 40px !important; object-fit: cover; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:first-child .fw-semibold { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; }
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .dropdown-item:first-child p { color: rgba(235, 235, 245, .55); opacity: 1 !important; font-size: 13px; }
}
@media (max-width: 767.98px) {
  html.mr-tb:not([data-mr-theme="light"]) body .x_mobi_user_menu.mr-um.dropdown-menu > .mr-um-h { padding: 12px 20px 6px; }
}

/* gość (MR-20261119-GUESTTB): „Zaloguj się” szara kapsuła, „Załóż konto” niebieska - po prawej zamiast ikon i konta */
html .mrtb .mrtb-guest { gap: 8px; margin-left: 10px; }
html .mrtb .mrtb-gbtn {
  display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 9999px; background: var(--tb-fill); color: var(--tb-tx);
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -.01em;
  white-space: nowrap; text-decoration: none;
}
html .mrtb .mrtb-gbtn:hover { background: var(--tb-fill2, var(--tb-fill)); color: var(--tb-tx); text-decoration: none; }
html .mrtb .mrtb-gbtn.is-main { background: #0a84ff; color: #fff; }
html .mrtb .mrtb-gbtn.is-main:hover { background: #409cff; color: #fff; }
html.mr-tb.mr-pphone .mrtb .mrtb-guest { gap: 6px; margin-left: auto; }
html.mr-tb.mr-pphone .mrtb .mrtb-gbtn { height: 32px; padding: 0 12px; font-size: 13.5px; }
/* gość: stałe menu bez „Więcej” (MR-20261119-GUESTMENU) */
html.mr-guest .mrtb .mrtb-more { display: none !important; }
/* gość: 10 pozycji z napisami - węższe odstępy i wyszukiwarka, żeby napisy mieściły się od ok. 1550 px (węziej same ikonki) */
@media (min-width: 768px) {
  html.mr-guest .mrtb .mrtb-nav .mrtb-a { padding: 0 10px; }
  html.mr-guest .mrtb .mrtb-search { flex-basis: 250px; }
}

/* ===================== Działy portalu: jedna ikonka i jeden kolor wszędzie (MR-20261120-SECICONS) =====================
   Prośba właściciela z 20.11.2026: „ujednolicić ikonki zakładek, czyli karty, typer, gry, muzyka… mają mieć te same kolory i ikonkę
   wszędzie, to samo tv, sport na żywo, gry itp.; każda podstrona jak TELEWIZJA ma mieć dedykowaną ikonkę”. Kolory działów w jednym
   miejscu (--sec-*), te same co w js/mr-dock.js ITEMS (lewy pasek, kafelki Pulpitu), ikonki Font Awesome jak w lewym pasku. data-mrsec
   na pozycjach górnego paska i menu „Więcej” (_mr_topbar.tpl, js/mr-topbar.js), okna po data-mrw. „Oglądaj” = „Sport na żywo”
   (to samo okno), Telewizja jako jedyna z telewizorem. Własne kolory z „Skróty po lewej → Każda osobno” (js/mr-look.js) nadpisują --sec-*. */
:root { --sec-sport: #ff453a; --sec-tv: #0a84ff; --sec-filmy: #bf5af2; --sec-zagraniczne: #14b8a6; --sec-radio: #ff6482; --sec-czat: #f91880; --sec-typer: #ffd60a; --sec-karty: #ff9f0a; --sec-kariera: #ac8e68; --sec-sklad: #38bdf8; --sec-minigry: #5e5ce6; --sec-wyniki: #00c7be; --sec-muzyka: #1db954; --sec-kibice: #0ea5e9; --sec-notatnik: #98989d; }
[data-mrsec="sport"], .mrw[data-mrw="mecze"] { --mrsc: var(--sec-sport); }
[data-mrsec="tv"], .mrw[data-mrw="tv"] { --mrsc: var(--sec-tv); }
[data-mrsec="filmy"], .mrw[data-mrw="filmy"] { --mrsc: var(--sec-filmy); }
[data-mrsec="zagraniczne"], .mrw[data-mrw="zagraniczne"] { --mrsc: var(--sec-zagraniczne); }
[data-mrsec="radio"], .mrw[data-mrw="radio"] { --mrsc: var(--sec-radio); }
[data-mrsec="czat"], .mrw[data-mrw="czatglowny"] { --mrsc: var(--sec-czat); }
[data-mrsec="typer"], .mrw[data-mrw="typer"] { --mrsc: var(--sec-typer); }
[data-mrsec="karty"], .mrw[data-mrw="karty"] { --mrsc: var(--sec-karty); }
[data-mrsec="kariera"], .mrw[data-mrw="kariera"] { --mrsc: var(--sec-kariera); }
[data-mrsec="sklad"], .mrw[data-mrw="sklad"] { --mrsc: var(--sec-sklad); }
[data-mrsec="minigry"], .mrw[data-mrw="minigry"] { --mrsc: var(--sec-minigry); }
[data-mrsec="wyniki"], .mrw[data-mrw="wyniki"] { --mrsc: var(--sec-wyniki); }
[data-mrsec="muzyka"], .mrw[data-mrw="muzyka"] { --mrsc: var(--sec-muzyka); }
[data-mrsec="kibice"], .mrw[data-mrw="kibice"] { --mrsc: var(--sec-kibice); }
[data-mrsec="notatnik"], .mrw[data-mrw="notatnik"] { --mrsc: var(--sec-notatnik); }
/* menu główne domyślnie jednolite - kolor działu przy ikonkach dopiero po włączeniu „Kolorowe ikonki” w „Menu główne” (html.mr-mm-color,
   js/mr-pulpit.js S.mm.cl, _mr_topbar.tpl, js/mr-topbar.js; MR-20261120-MMCOLOR; prośba właściciela: „dodaj domyślne ustawienie, że ikonki
   z menu głównego mają jednolite ikonki, dopiero jak ktoś włączy kolorowe, to mu się pokażą”). Nagłówki okien zostają w kolorze działu. */
html.mr-mm-color .mrtb :is(.mrtb-a, .mrtb-mi)[data-mrsec] > i, .mrw[data-mrw] > .mrw-bar .mrw-ic > i { color: var(--mrsc, inherit) !important; }
/* Działy portalu - krok 2: telefon i chipy (MR-20261120-SECICONS2). Menu „Pokaż więcej” i dolny pasek na telefonie (templates/_sidebar.tpl
   z data-mrsec, js/mr-sidenav.js) - ikonka w kolorze działu. Chipy nad feedem: przełącznik kolorowych ikonek w css/mr-nav-parity.css. */
html.mr-mm-color body .x-sidebar-width .x_side_more_menu.dropdown-menu .dropdown-item[data-mrsec] > i, html.mr-mm-color .x_side_links[data-mrsec] .mr-sn-xic > i { color: var(--mrsc) !important; }
html body .x-sidebar-width .x_side_more_menu.dropdown-menu .dropdown-item[data-mrsec] > i { display: inline-flex !important; align-items: center; justify-content: center; }

/* menu konta: „PRO” / „Zostań PRO” obok imienia (MR-20261121-PROMENU, templates/_user_menu.tpl .mr-um-me) - cały wiersz prowadzi do
   profilu (rozciągnięty odnośnik), plakietka nad nim otwiera okno rangi PRO; róż jak odznaka PRO przy nicku (#E91E63) */
.x_mobi_user_menu.mr-um > .mr-um-me { position: relative; cursor: pointer; }
.mr-um-me .mr-um-nm { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mr-um-me .mr-um-pl { overflow: hidden; color: inherit; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.mr-um-me .mr-um-pl::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.mr-um-me .mr-um-pro { position: relative; z-index: 2; display: inline-flex; flex: none; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px;
  background: rgba(233, 30, 99, .2); color: #ff5c93; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-decoration: none; }
.mr-um-me .mr-um-pro.is-go { background: linear-gradient(135deg, #ff375f, #ff9f0a); color: #fff; letter-spacing: 0; }
.mr-um-me .mr-um-pro:hover { filter: brightness(1.12); text-decoration: none; }
html[data-mr-theme="light"] .mr-um-me .mr-um-pro:not(.is-go) { background: rgba(233, 30, 99, .12); color: #d81b60; }

/* ===================== Górny pasek od 768 px (MR-20261121-NARROW1) =====================
   Prośba właściciela z 21.11.2026: „popraw teraz wygląd na wąskich stronach aby nie było tego tła i panele ładnie wyglądały i header”.
   768–1099 px (tablet, pomniejszone okno): ten sam pasek co na komputerze zamiast starego menu ikon po lewej i wyszukiwarki nad feedem;
   menu same ikonki (pozycje, które się nie mieszczą, js/mr-topbar.js fitNav przenosi do „Więcej”), krótsza wyszukiwarka; do 899 px bez
   drugiego klubu i bez przełącznika VI. */
@media (min-width: 768px) and (max-width: 1099.98px) {
  html.mr-tb .mrtb { gap: 4px; padding: 0 10px 0 12px; }
  html .mrtb .mrtb-logo { margin-right: 6px; }
  .mrtb-nav { flex: 0 1 auto; overflow: hidden; }
  html .mrtb .mrtb-nav .mrtb-a { padding: 0 10px; }
  .mrtb-search { flex: 0 1 220px; min-width: 140px; }
  .mrtb-icons { margin-left: 4px; }
  /* treść stron bez Pulpitu (Portfel, Wiadomości, Kibice…) na całą szerokość kontenera - motyw odejmował miejsce na stare lewe menu
     (style.css: calc(100% - 81px)), którego tu już nie ma (MR-20261121-NARROW3) */
  html.mr-tb .x-content-width { width: 100% !important; }
}
@media (min-width: 768px) and (max-width: 899.98px) {
  html .mrtb .mrtb-club + .mrtb-club, html .mrtb .mrtb-vi { display: none !important; }
  .mrtb-search { flex-basis: 170px; min-width: 120px; }
}
