/* MeczRealu: nowy wygląd strony na telefonie z makiety (.claude-propozycje/makiety-2211/pasek-dolny/ui-*.png; właściciel 23.11.2026:
   „przygotuj mi całe kompletne ui pod telefony”, po makietach: „robimy to!!!”). Krok po kroku; od 23.11.2026 dla wszystkich zalogowanych
   (_head.tpl, MR-20261123-PHONEIGALL). Stare style, które ten wygląd zastąpi, znikną przy włączeniu dla wszystkich
   (wyjątek właściciela w CLAUDE.md).

   Krok 1 (MR-20261123-PHONEIG1): dolny pasek jako pływająca kapsuła jak w Instagramie - 8 px od krawędzi, szkło z rozmyciem
   i cieniem, wybrany dział w jaśniejszej pigułce, liczniki w rogu ikonki. Te same ikony i to samo działanie co dotąd
   (lewe menu przerobione na pasek, css/mr-pulpit.css PPHONE); chowanie przy przewijaniu (PPHIDE) zjeżdża teraz o całą
   kapsułę z odstępem. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone .x-sidebar-fixed { height: calc(82px + env(safe-area-inset-bottom, 0px)) !important; }
  html.mr-tb.mr-pphone .x-sidebar-fixed::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: auto 14px calc(20px + env(safe-area-inset-bottom, 0px)) 14px !important; height: 54px; border-radius: 27px;
    background: rgba(36, 36, 39, .74) !important; border: 1px solid rgba(255, 255, 255, .1) !important;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(22px) saturate(170%) !important; backdrop-filter: blur(22px) saturate(170%) !important;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
  }
  html.mr-tb.mr-pphone[data-mr-theme="light"] .x-sidebar-fixed::before {
    background: rgba(255, 255, 255, .82) !important; border-color: rgba(0, 0, 0, .08) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
  }
  /* ikony w kapsule (kontener .main-header ma 0 px wysokości - liczymy od góry paska: 82 - 20 - 54 = 8 px); kapsuła jak na Facebooku -
     14 px od boków, 20 px od dołu, 54 px wysokości (MR-20261123-PHONEIG8A i 8A2; właściciel: „trochę węższe menu nawigacji na dole bo jest
     za szerokie i minimalnie za nisko”, „dużo ludzi ma szkiełko na ekranie, które ma czarne krawędzie… tak jak na facebooku jest git”) */
  html.mr-tb.mr-pphone .x-sidebar-fixed .x_sidebar_links {
    position: absolute !important; left: 20px; right: 20px; top: 8px; bottom: auto; height: 54px;
    padding: 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important;
  }
  /* wybrany dział - jaśniejsza pigułka pod ikoną */
  html.mr-tb.mr-pphone .x-sidebar-fixed .x_sidebar_links .x_side_links.main .main_bg_half {
    width: 48px; height: 42px; border-radius: 21px; justify-content: center; background: rgba(255, 255, 255, .15) !important;
  }
  html.mr-tb.mr-pphone[data-mr-theme="light"] .x-sidebar-fixed .x_sidebar_links .x_side_links.main .main_bg_half { background: rgba(0, 0, 0, .07) !important; }
  /* liczniki w prawym górnym rogu ikonki, z obwódką w kolorze kapsuły */
  html.mr-tb.mr-pphone .x-sidebar-fixed .x_sidebar_links .counter {
    top: 1px !important; left: 21px !important; right: auto !important; transform: none !important;
    min-width: 18px !important; height: 18px !important; line-height: 18px !important; padding: 0 5px !important;
    border-radius: 9px !important; font-size: 11px !important; box-shadow: 0 0 0 2px #2a2a2d;
  }
  html.mr-tb.mr-pphone[data-mr-theme="light"] .x-sidebar-fixed .x_sidebar_links .counter { box-shadow: 0 0 0 2px #fff; }
  /* chowanie przy przewijaniu w dół - cała kapsuła z odstępem pod ekran */
  html.mr-tb.mr-pphone.mr-x-hdr-hide body:not(.search_open):not(.user_menu_open):not(.more_menu_open) .x-sidebar-fixed::before,
  html.mr-tb.mr-pphone.mr-x-hdr-hide body:not(.search_open):not(.user_menu_open):not(.more_menu_open) .x_sidebar_links > :not(.x_side_create) {
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px))) !important;
  }
}

/* Krok 2 (MR-20261123-PHONEIG2, js/mr-phone-ig.js): menu zakładek pod przytrzymanym domkiem i kółka nad paskiem - ▶ Oglądaj nad białym ✎
   (✎ tylko tam, gdzie jest okno pisania - html.mrig-pub; bez niego ▶ tuż nad paskiem). Kapsuła: 10-72 px od dołu, kółka co 12 px. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone .x-sidebar-fixed .x_sidebar_links > a.x_side_links:first-child { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  html.mr-tb.mr-pphone .x-sidebar-fixed .x_side_create {
    right: 14px !important; bottom: calc(152px + env(safe-area-inset-bottom, 0px)) !important; width: 56px !important; height: 56px !important; max-width: 56px !important;
  }
  html.mr-tb.mr-pphone:not(.mrig-pub) .x-sidebar-fixed .x_side_create { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
  html.mr-tb.mr-pphone .x-sidebar-fixed .x_side_create > .btn { width: 56px !important; height: 56px !important; box-shadow: 0 6px 20px rgba(0, 0, 0, .45) !important; }
  .mrig-pen { display: none; }
  html.mr-tb.mr-pphone.mrig-pub .mrig-pen {
    display: flex; position: fixed; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; padding: 0; border: 0;
    border-radius: 50%; align-items: center; justify-content: center; background: #f1f1f1; color: #0f0f0f; font-size: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45); -webkit-tap-highlight-color: transparent;
  }
  html.mr-tb.mr-pphone.mrig-pub[data-mr-theme="light"] .mrig-pen { background: #0f1419; color: #fff; }
  html.mr-tb.mr-pphone.mrig-pub .mrig-pen:active { transform: scale(.94); }
  /* nad paskiem „Zainstaluj aplikację” (Android) - przesunięte jak ▶ (_footer.tpl, --mr-app-banner-h) */
  html.mr-app-banner-on .mrig-pen { transform: translateY(calc(-1 * var(--mr-app-banner-h, 0px))); }
  html.mrps-lock .mrig-pen,
  body:is(.mr-notif-open, .mr-post-thread-open, .mr-comment-thread-open, .mr-publisher-body-locked, .mr-main-publisher-open) .mrig-pen { display: none !important; }
  /* menu zakładek nad domkiem; pasek nad przyciemnieniem, pozostałe ikony przygaszone */
  .mrig-dim { position: fixed; inset: 0; z-index: 1090; background: rgba(0, 0, 0, .5); }
  html.mrig-hm-open .x-sidebar-fixed { z-index: 1091 !important; }
  html.mrig-hm-open .x-sidebar-fixed .x_sidebar_links > :not(:first-child):not(.x_side_create) { opacity: .4; }
  html.mrig-hm-open .x-sidebar-fixed .x_side_create, html.mrig-hm-open .mrig-pen { visibility: hidden; }
  .mrig-hm {
    position: fixed; z-index: 1092; left: 14px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: min(300px, calc(100vw - 20px));
    max-height: calc(100dvh - 140px); overflow-y: auto; padding: 8px; border-radius: 24px; color: #f5f5f7;
    background: rgba(44, 44, 47, .94); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); animation: mrigHm .18s ease-out;
  }
  @keyframes mrigHm { from { opacity: 0; transform: translateY(8px) scale(.97); transform-origin: 30px 100%; } }
  .mrig-hm-t { font-size: 12px; font-weight: 700; color: #8e8e93; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; }
  .mrig-hm-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 16px; background: none; color: inherit; text-align: left; }
  .mrig-hm-i.is-on { background: rgba(255, 255, 255, .1); }
  .mrig-hm-ic { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; font-size: 14px; overflow: hidden; }
  .mrig-hm-ic img { width: 100%; height: 100%; object-fit: cover; }
  .mrig-hm-i.is-add .mrig-hm-ic { background: rgba(10, 132, 255, .2); color: #64b5ff; }
  .mrig-hm-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .mrig-hm-tx b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mrig-hm-tx small { font-size: 12.5px; color: #8e8e93; }
  .mrig-hm-ck { color: #0a84ff; font-size: 15px; }
  .mrig-hm hr { border: 0; height: 1px; background: rgba(255, 255, 255, .08); margin: 6px 10px; opacity: 1; }
  html[data-mr-theme="light"] .mrig-hm { background: rgba(255, 255, 255, .95); color: #0f1419; border-color: rgba(0, 0, 0, .08); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
  html[data-mr-theme="light"] .mrig-hm-i.is-on, html[data-mr-theme="light"] .mrig-hm-ic { background: rgba(0, 0, 0, .06); }
  html[data-mr-theme="light"] .mrig-hm hr { background: rgba(0, 0, 0, .08); }
}

/* Krok 3 (MR-20261123-PHONEIG3): górny pasek - Twoje zdjęcie (menu konta) po lewej, logo na środku, po prawej herby w jednej kapsule,
   Pulpit i dzwonek. Przełącznik „VI” z paska przeniesiony do menu konta (js/mr-phone-ig.js, .mrig-vi). */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone #mrTbar .mrtb-logo { position: absolute !important; left: 50% !important; top: 6px; transform: translateX(-50%); margin: 0 !important; z-index: 1; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me { position: absolute !important; left: 12px; top: 0; height: 52px; margin: 0 !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-vi { display: none !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-club {
    height: 34px !important; width: 31px !important; min-width: 0 !important; margin: 9px 0 !important; padding: 0 !important; border: 0 !important;
    border-radius: 0 !important; background: rgba(255, 255, 255, .09) !important; box-shadow: none !important;
  }
  html.mr-tb.mr-pphone[data-mr-theme="light"] #mrTbar .mrtb-club { background: rgba(0, 0, 0, .06) !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-nav + .mrtb-club { margin-left: auto !important; width: 35px !important; padding-left: 5px !important; border-radius: 17px 0 0 17px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-club + .mrtb-club { width: 35px !important; padding-right: 5px !important; border-radius: 0 17px 17px 0 !important; margin-right: 4px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-club img { width: 21px !important; height: 21px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-icons > .mrtb-ic { width: 32px !important; height: 34px !important; }
  /* VI w menu konta */
  .mrig-vi { display: flex !important; align-items: center; gap: 10px; }
  .mrig-vi b { display: inline-grid; place-items: center; width: 22px; height: 18px; border-radius: 5px; font-size: 10.5px; font-weight: 900; font-style: italic; color: #ff2d78; border: 1.5px solid currentColor; }
  .mrig-vi em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #8e8e93; }
}

/* Krok 4 (MR-20261123-PHONEIG4): góra strony głównej jak w makiecie - bez rzędu zakładek (są pod przytrzymanym domkiem), jaśniejsze
   zaokrąglone pigułki z jednokolorowymi ikonkami, mniejsze relacje, „Promowane” jako żółta plakietka, okno pisania schowane (otwiera je ✎;
   pole zostaje na stronie, tylko o zerowej wysokości, żeby dało się je otworzyć - po otwarciu js przenosi je do <body>). */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone #mrShellTop .x_top_posts.mr-deck { display: none !important; }
  html.mr-tb.mr-pphone #mrShellTop .mr-chips #menuList > li > a.btn {
    height: 34px !important; border-radius: 17px !important; padding: 0 14px 0 12px !important; display: inline-flex !important; align-items: center; gap: 7px;
    background: rgba(255, 255, 255, .17) !important; border: 1px solid rgba(255, 255, 255, .06) !important; color: #fff !important; font-weight: 600 !important;
  }
  html.mr-tb.mr-pphone #mrShellTop .mr-chips #menuList > li > a.btn .menu-icon { color: #fff !important; background: none !important; }
  html.mr-tb.mr-pphone[data-mr-theme="light"] #mrShellTop .mr-chips #menuList > li > a.btn { background: rgba(0, 0, 0, .07) !important; border-color: rgba(0, 0, 0, .04) !important; color: #0f1419 !important; }
  html.mr-tb.mr-pphone[data-mr-theme="light"] #mrShellTop .mr-chips #menuList > li > a.btn .menu-icon { color: #0f1419 !important; }
  html.mr-tb.mr-pphone body:not(.mr-main-publisher-open) #mrPublisherHome {
    height: 0 !important; min-height: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none;
  }
  html.mr-tb.mr-pphone #mrSbar .mr-sbar-av { width: 52px !important; height: 52px !important; }
  html.mr-tb.mr-pphone #mrSbar .mr-sbar-av img { width: 43px !important; height: 43px !important; }
  html.mr-tb.mr-pphone .post.boosted > .text-orange.fw-bold.small {
    display: inline-flex !important; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(255, 214, 10, .12);
    color: #ffd60a !important; font-size: 12px !important; letter-spacing: .02em;
  }
  html.mr-tb.mr-pphone[data-mr-theme="light"] .post.boosted > .text-orange.fw-bold.small { background: rgba(255, 159, 10, .14); color: #b25000 !important; }
  /* górny pasek na wąskich telefonach: herby i ikony o włos węższe, żeby nie dotykały logo */
  html.mr-tb.mr-pphone #mrTbar .mrtb-nav + .mrtb-club, html.mr-tb.mr-pphone #mrTbar .mrtb-club + .mrtb-club { width: 33px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-icons > .mrtb-ic { width: 30px !important; }
}

/* Krok 5 (MR-20261123-PHONEIG5): menu „Więcej” (⋯) jako pływająca karta z kafelkami nad paskiem i menu konta wysuwane z lewej -
   te same pozycje i działanie co dotąd (Bootstrap dropdown, body.more_menu_open / body.user_menu_open), tylko wygląd. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone body.more_menu_open .x_side_more_menu.show {
    position: fixed !important; inset: auto 14px calc(98px + env(safe-area-inset-bottom, 0px)) 14px !important; transform: none !important; margin: 0 !important;
    width: auto !important; max-width: none !important; height: auto !important; max-height: calc(100dvh - 170px) !important; overflow-y: auto !important;
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 52px 12px 14px !important; border-radius: 28px !important;
    background: rgba(36, 36, 39, .95) !important; -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .1) !important; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5) !important; z-index: 1095 !important;
  }
  html.mr-tb.mr-pphone body.more_menu_open .x_side_more_menu.show::before { content: "Więcej"; position: absolute; left: 18px; top: 16px; font-size: 20px; font-weight: 800; color: #f5f5f7; }
  html.mr-tb.mr-pphone body.more_menu_open .x_side_more_menu.show::after { content: ""; position: absolute; left: 50%; top: 7px; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
  html.mr-tb.mr-pphone body.more_menu_open .x_side_more_menu.show > .dropdown-divider { display: none !important; }
  html.mr-tb.mr-pphone body.more_menu_open .x_side_more_menu.show > .dropdown-item {
    flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 6px !important; text-align: center !important;
    min-height: 74px; height: auto !important; padding: 12px 2px 10px !important; margin: 0 !important; border: 0 !important; border-radius: 18px !important;
    background: rgba(255, 255, 255, .07) !important; color: #e5e5ea !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1.2 !important;
    white-space: normal !important; word-break: keep-all !important; overflow-wrap: normal !important; hyphens: none !important;
  }
  html.mr-tb.mr-pphone body.more_menu_open .x_side_more_menu.show > .dropdown-item > :is(svg, i, img) { width: 22px !important; height: 22px !important; font-size: 20px !important; margin: 0 !important; color: #f5f5f7 !important; flex: 0 0 auto; }
  html.mr-tb.mr-pphone body.more_menu_open .x-sidebar-width::before { content: ""; position: fixed; inset: 0; z-index: 1094; background: rgba(0, 0, 0, .5); }
  html.mr-tb.mr-pphone body.more_menu_open .x-sidebar-fixed { z-index: 1096 !important; }
  html.mr-tb.mr-pphone body.more_menu_open .x-sidebar-fixed .dropdownMoreMenuButton .main_bg_half { width: 48px; height: 42px; border-radius: 21px; justify-content: center; background: rgba(255, 255, 255, .15) !important; }
  html.mr-tb.mr-pphone body:is(.more_menu_open, .user_menu_open) .x-sidebar-fixed .x_side_create,
  html.mr-tb.mr-pphone body:is(.more_menu_open, .user_menu_open) .mrig-pen { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
  html.mr-tb.mr-pphone[data-mr-theme="light"] body.more_menu_open .x_side_more_menu.show { background: rgba(255, 255, 255, .96) !important; border-color: rgba(0, 0, 0, .08) !important; box-shadow: 0 -10px 40px rgba(0, 0, 0, .16) !important; }
  html.mr-tb.mr-pphone[data-mr-theme="light"] body.more_menu_open .x_side_more_menu.show::before { color: #0f1419; }
  html.mr-tb.mr-pphone[data-mr-theme="light"] body.more_menu_open .x_side_more_menu.show > .dropdown-item { background: rgba(0, 0, 0, .05) !important; color: #0f1419 !important; }
  html.mr-tb.mr-pphone[data-mr-theme="light"] body.more_menu_open .x_side_more_menu.show > .dropdown-item > :is(svg, i, img) { color: #0f1419 !important; }
  /* menu konta - z lewej na całą wysokość */
  html.mr-tb.mr-pphone body.user_menu_open #mrTbar .mrtb-me .dropdown-menu.show {
    position: fixed !important; inset: 0 auto 0 0 !important; transform: none !important; width: min(312px, 86vw) !important; height: 100dvh !important; max-height: none !important;
    margin: 0 !important; border-radius: 0 28px 28px 0 !important; padding: calc(env(safe-area-inset-top, 0px) + 12px) 8px 28px !important; overflow-y: auto !important;
    background: #1c1c1e !important; border: 0 !important; border-right: 1px solid rgba(255, 255, 255, .06) !important; box-shadow: 12px 0 40px rgba(0, 0, 0, .5) !important;
    z-index: 1100 !important; animation: mrigDr .22s cubic-bezier(.2, .8, .2, 1);
  }
  @keyframes mrigDr { from { translate: -100% 0; } }
  html.mr-tb.mr-pphone[data-mr-theme="light"] body.user_menu_open #mrTbar .mrtb-me .dropdown-menu.show { background: #fff !important; border-right-color: rgba(0, 0, 0, .06) !important; box-shadow: 12px 0 40px rgba(0, 0, 0, .18) !important; }
  html.mr-tb.mr-pphone body.user_menu_open .x_user_menu_backdrop { background: rgba(0, 0, 0, .5) !important; z-index: 1099 !important; }
  /* menu siedzi w górnym pasku (własna warstwa z-index 1035) - pasek idzie nad przyciemnienie, inaczej przyciemnienie przykrywało menu
     i łapało stuknięcia w jego pozycje (MR-20261123-PHONEIG7C3); reszta paska przygaszona jak strona pod spodem */
  html.mr-tb.mr-pphone body.user_menu_open #mrTbar {
    z-index: 1101 !important; transform: none !important; pointer-events: none !important; background: rgba(14, 14, 15, .94) !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  html.mr-tb.mr-pphone body.user_menu_open #mrTbar .mrtb-me { pointer-events: auto !important; }
  html.mr-tb.mr-pphone body.user_menu_open #mrTbar > :not(.mrtb-icons), html.mr-tb.mr-pphone body.user_menu_open #mrTbar .mrtb-icons > :not(.mrtb-me) { opacity: .35; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me .dropdown-menu.show > .dropdown-item { border-radius: 14px !important; padding: 11px 12px !important; border: 0 !important; font-size: 15.5px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me .dropdown-menu.show > .dropdown-divider { margin: 6px 10px !important; height: 0; opacity: 1; background: none !important; border-top: 1px solid rgba(255, 255, 255, .07) !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me .dropdown-menu.show > .mr-um-me { padding: 8px 12px 12px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me .dropdown-menu.show > .mr-um-me img { width: 52px !important; height: 52px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me .dropdown-menu.show > .mrig-vi { flex-direction: row !important; justify-content: flex-start !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-me .dropdown-menu.show > .mrig-vi em { margin-left: auto; }
  html.mr-tb.mr-pphone body.user_menu_open #mrTbar .mrtb-me img.rounded-circle { box-shadow: 0 0 0 2px #1c1c1e, 0 0 0 4px #0a84ff; }
}

/* Krok 6a (MR-20261123-PHONEIG6A, js/mr-phone-ig.js msgPage): Wiadomości - rząd aktywnych znajomych i filtry Wszystkie / Nieprzeczytane / Grupy */
@media (max-width: 767.98px) {
  .mrig-mtools { padding: 4px 0 2px; }
  .mrig-on { display: flex; gap: 12px; padding: 6px 12px 8px; overflow-x: auto; scrollbar-width: none; }
  .mrig-on::-webkit-scrollbar { display: none; }
  .mrig-on-i { flex: 0 0 auto; width: 62px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: inherit; }
  .mrig-on-i > span { position: relative; display: block; width: 56px; height: 56px; }
  .mrig-on-i img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
  .mrig-on-i i { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px #1c1c1e; }
  .mrig-on-i small { max-width: 62px; font-size: 11.5px; color: #c7c7cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mrig-mchips { display: flex; gap: 8px; padding: 4px 12px 8px; }
  .mrig-mchips button { height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: rgba(255, 255, 255, .12); color: #f1f1f1; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .mrig-mchips button.is-on { background: #f1f1f1; color: #0f0f0f; }
  .mrig-mchips em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #0a84ff; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
  [data-mrig-f="unread"] li.feeds-item:not(.unread), [data-mrig-f="groups"] li.feeds-item:not(.mrig-grp) { display: none !important; }
  html[data-mr-theme="light"] .mrig-mchips button { background: rgba(0, 0, 0, .06); color: #0f1419; }
  html[data-mr-theme="light"] .mrig-mchips button.is-on { background: #0f1419; color: #fff; }
  html[data-mr-theme="light"] .mrig-on-i i { box-shadow: 0 0 0 3px #fff; }
  html[data-mr-theme="light"] .mrig-on-i small { color: #536471; }
}

/* Krok 6b (MR-20261123-PHONEIG6B): przełączniki Znajomych (Szukaj / Zaproszenia / Wysłane) i zakładki Szukaj (Dla Ciebie / Na czasie / …)
   jak pigułki z makiety - zaokrąglona kapsuła, wybrana pozycja na biało */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone .mr-px-chips, html.mr-tb.mr-pphone .mr-srch-chips.mr-x-tabs { border-radius: 21px !important; padding: 3px !important; }
  html.mr-tb.mr-pphone .mr-px-chips > .mr-px-chip, html.mr-tb.mr-pphone .mr-srch-chips.mr-x-tabs > .mr-srch-chip { border-radius: 18px !important; }
  html.mr-tb.mr-pphone .mr-px-chips > .mr-px-chip.active, html.mr-tb.mr-pphone .mr-srch-chips.mr-x-tabs > .mr-srch-chip.active {
    background: #f1f1f1 !important; color: #0f0f0f !important; font-weight: 700 !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  }
  html.mr-tb.mr-pphone[data-mr-theme="light"] .mr-px-chips > .mr-px-chip.active,
  html.mr-tb.mr-pphone[data-mr-theme="light"] .mr-srch-chips.mr-x-tabs > .mr-srch-chip.active { background: #0f1419 !important; color: #fff !important; box-shadow: none; }
  html.mr-tb.mr-pphone .mr-sx-bar .mr-sx-form { border-radius: 22px !important; }
}

/* Krok 7a (MR-20261123-PHONEIG7A): jedno tło jak w makiecie 1:1 (zgłoszenie właściciela po sprawdzeniu na iPhonie: „chcę mieć jak na makietach
   1:1 tło itp.. a teraz się oddziela wszystko”) - środkowa kolumna nie jest już jaśniejszą kartą (#2a2a2d z zaokrągloną górą i szparą 8 px
   pod górnym paskiem, css/mr-pulpit.css PPHONE1), tylko tym samym grafitem #1c1c1e co tło strony i górny pasek; bez linii pod górnym paskiem.
   W tym samym kolorze okno wpisu, odpowiedzi i pisania oraz obwódki relacji i kropki „online”. Karta, szpara, zaokrąglenie i kolory okien
   są już wprost w css/mr-pulpit.css (PPHONE1, PPHONEBG - porządki po włączeniu dla wszystkich, MR-20261123-PHONEIGCLEAN1). */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) #mrTbar { border-bottom-color: transparent !important; }
  /* obwódki w kolorze tła */
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) .mr-sbar-av img { border-color: #1c1c1e !important; }
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) :is(.mr-sbar-add, .mr-club-add) { border-color: #1c1c1e !important; }
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) .online-dot { box-shadow: 0 0 0 2px #1c1c1e !important; }
  /* pozostałe jaśniejsze płaszczyzny działów: Wiadomości (css/mr-messages-apple.css - .bg-white z mr-grafit.css), przypięty nagłówek
     Powiadomień, listy w Szukaj („Na czasie” itp. - płasko jak w makiecie), linia pod pigułkami, pole szukania jako pigułka */
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) body.night-mode .mr-msg-page { background-color: #1c1c1e !important; }
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) .mr-nx-top { background-color: rgba(28, 28, 30, .92) !important; }
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) .mr-srch .mr-x-group { background: transparent !important; border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  html.mr-tb.mr-pphone.mr-pphone .mr-sx-bar .mr-sx-input, html.mr-tb.mr-pphone.mr-pphone .mr-msg-search-box { border-radius: 20px !important; }
}

/* Krok 7b (MR-20261123-PHONEIG7B; prośba właściciela: „przesuń przycisk od publishera do lewej strony i też niech znika jak przycisk play,
   albo nie do końca. i przycisk od pulpitu daj obok avatara po lewej”): ✎ w lewym dolnym rogu na wysokości ▶ (▶ z powrotem tuż nad paskiem
   po prawej); przy przewijaniu w dół, gdy kapsuła zjeżdża, ✎ schodzi na jej miejsce, maleje i robi się półprzezroczysty (nie znika całkiem),
   przy przewijaniu w górę wraca. Przycisk Pulpitu w górnym pasku obok Twojego zdjęcia po lewej. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone.mr-pphone .x-sidebar-fixed .x_side_create { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
  html.mr-tb.mr-pphone.mrig-pub .mrig-pen {
    right: auto; left: 14px; transition: translate .25s cubic-bezier(.2, .8, .2, 1), scale .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
  }
  html.mr-tb.mr-pphone.mrig-pub.mr-x-hdr-hide body:not(.search_open):not(.user_menu_open):not(.more_menu_open) .mrig-pen {
    translate: 0 calc(64px + env(safe-area-inset-bottom, 0px) * .5); scale: .86; opacity: .5;
  }
  html.mr-tb.mr-pphone #mrTbar .mrtb-icons > .mrpe-btn { position: absolute !important; left: 54px; top: 9px; margin: 0 !important; z-index: 2; }
}

/* Krok 7c (MR-20261123-PHONEIG7C, js/mr-phone-ig.js secHead; właściciel: „rób 7c”): górny pasek działów jak w makiecie - w Powiadomieniach,
   Wiadomościach, Znajomych i Zakładkach wiersz nagłówka strony (.mrig-hrow) staje na miejscu górnego paska: tytuł działu na środku (.mrig-ht),
   przyciski działu po prawej, Twoje zdjęcie i Pulpit z górnego paska po lewej; logo, herby i dzwonek schowane (dzwonek jest w dolnym pasku).
   Tło paska daje wiersz (górny pasek przezroczysty), żeby zdjęcie i Pulpit leżały nad nim. Duży nagłówek na stronie znika. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone[data-mrig-sec] #mrTbar { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom-color: transparent !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] #mrTbar :is(.mrtb-logo, .mrtb-club, .mrtb-icons > [data-tb="notifications"], .mrtb-icons > [data-tb="requests"], .mrtb-icons > .mrtb-srch) { visibility: hidden !important; pointer-events: none !important; }
  /* przezroczysty pasek nie łapie stuknięć - przechodzą do przycisków działu pod nim; zostają zdjęcie (menu konta) i Pulpit */
  html.mr-tb.mr-pphone[data-mrig-sec] #mrTbar { pointer-events: none !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] #mrTbar :is(.mrtb-me, .mrtb-icons > .mrpe-btn) { pointer-events: auto !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hnobf { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hz { z-index: 1034 !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow {
    position: fixed !important; z-index: 1034 !important; top: 0 !important; left: 0 !important; right: 0 !important; width: auto !important; max-width: none !important;
    height: var(--mr-tb-h, 52px) !important; min-height: 0 !important; margin: 0 !important; padding: calc(var(--mr-tb-h, 52px) - 52px) 8px 0 0 !important; box-sizing: border-box !important;
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-end !important; gap: 2px !important;
    background: rgba(28, 28, 30, .88) !important; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border: 0 !important; box-shadow: none !important; pointer-events: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1);
  }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow > * { pointer-events: auto; margin: 0 !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow .mrig-ht {
    position: absolute !important; left: 50% !important; top: calc(var(--mr-tb-h, 52px) - 26px) !important; transform: translate(-50%, -50%) !important;
    display: block !important; max-width: calc(100% - 200px); margin: 0 !important; padding: 0 !important; pointer-events: none !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; text-align: center !important;
    font-size: 17px !important; line-height: 22px !important; font-weight: 700 !important; letter-spacing: -.01em !important; color: #f5f5f7 !important;
  }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow .mrig-ht b { font: inherit !important; color: inherit !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow .mrig-ht small, html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow .mr-px-back { display: none !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow :is(.mr-nx-gear, .mr-px-filter, .mr-bm-round, .js_chat-new) {
    width: 34px !important; height: 34px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
    display: grid !important; place-items: center !important; background: transparent !important; color: #f5f5f7 !important; box-shadow: none !important;
  }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow :is(.mr-nx-gear, .mr-px-filter, .mr-bm-round, .js_chat-new):active { background: rgba(255, 255, 255, .12) !important; }
  html.mr-tb.mr-pphone[data-mrig-sec] .mrig-hrow :is(.mr-nx-gear, .mr-px-filter, .mr-bm-round, .js_chat-new) svg { width: 20px !important; height: 20px !important; }
  /* chowanie przy przewijaniu w dół razem z górnym paskiem (css/mr-pulpit.css PPHIDE) */
  html.mr-tb.mr-pphone.mr-x-hdr-hide[data-mrig-sec] body:not(.search_open):not(.user_menu_open):not(.more_menu_open) .mrig-hrow { transform: translateY(-100%); }
  html.mr-tb.mr-pphone.mr-x-hdr-hide[data-mrig-sec] body:not(.search_open):not(.user_menu_open):not(.more_menu_open) .mrig-hrow > * { pointer-events: none !important; }
  html.mr-tb.mr-pphone[data-mrig-sec][data-mr-theme="light"] .mrig-hrow { background: rgba(255, 255, 255, .88) !important; }
  html.mr-tb.mr-pphone[data-mrig-sec][data-mr-theme="light"] .mrig-hrow :is(.mrig-ht, .mr-nx-gear, .mr-px-filter, .mr-bm-round, .js_chat-new) { color: #0f1419 !important; }
  /* Zakładki - góra strony w kolorze tła, nie jaśniejszej karty (dokończenie kroku 7a) */
  html.mr-tb.mr-pphone.mr-pphone:not([data-mr-theme="light"]) .mr-bm-top { background-color: rgba(28, 28, 30, .92) !important; }
}

/* Krok 8b (MR-20261123-PHONEIG8B; właściciel: „usuń linię pod kapsułkami/nad relacją”): rząd pigułek na głównej bez dolnej linii
   (ramka z motywu w #mrShellTop - reguła z kroku 7a jej nie łapała, bo rząd nie leży w środkowej kolumnie) */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone.mr-pphone #mrShellTop .mr-chips { border-bottom: 0 !important; box-shadow: none !important; }
}

/* Krok 8c (MR-20261123-PHONEIG8C, js/mr-phone-ig.js MRPtrSkin + js/mr-feed-x.js; właściciel: „jak ściągam stronę w dół to zrób
   odświeżanie jak na facebooku, że taki domek się pojawia, a jak kliknę domek to strona scrolluje się do góry i odświeża z animacją tego
   domku”): kontur domku zamiast paska - przy ściąganiu dorysowuje się do pełna, w trakcie odświeżania obiega go kreska */
.mrig-ptr-ico { display: block; width: 30px; height: 30px; overflow: visible; }
.mrig-ptr-ico path {
  fill: none; stroke: #f5f5f7; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
}
.mr-ptr.mrig-ptr.mr-ptr-spin .mrig-ptr-ico path { stroke-dasharray: .62 .38; animation: mrigPtrDraw .9s linear infinite; }
@keyframes mrigPtrDraw { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
html[data-mr-theme="light"] .mrig-ptr-ico path { stroke: #0f1419; }

/* Krok 8f (MR-20261123-PHONEIG8F, js/mr-phone-ig.js pen; właściciel: „dodaj jakiś taki minimalny efekt kliknięcia w przycisk »dodaj wpis«
   ten biały… przez ułamek sekundy nie wiadomo czy kliknąłem”): ✎ wciska się od razu pod palcem (mniejszy, ciemniejszy), a od krawędzi
   rozchodzi się cienki pierścień (transform i przezroczystość - płynnie także wtedy, gdy okno pisania się otwiera) */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone.mrig-pub .mrig-pen.is-press { scale: .86; background: #d1d1d6; transition: scale .08s ease-out, background-color .08s ease-out; }
  html.mr-tb.mr-pphone.mrig-pub[data-mr-theme="light"] .mrig-pen.is-press { background: #2f3336; }
  .mrig-pen::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(241, 241, 241, .75);
    opacity: 0; pointer-events: none;
  }
  .mrig-pen.is-go::after { animation: mrigPenRing .6s cubic-bezier(.2, .8, .2, 1); }
  @keyframes mrigPenRing { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
}

/* Krok 9a (MR-20261123-PHONEIG9A; właściciel: „widzisz ikonki klubów? trzeba uzupełnić tę szparę kolorem”): dwa herby w górnym pasku
   jako jedna kapsuła - drugi herb dosunięty o odstęp paska (gap 4 px #mrTbar), bez ciemnej szpary między połówkami */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone #mrTbar .mrtb-club + .mrtb-club { margin-left: -4px !important; }
}

/* Krok 10b (MR-20261123-PHONEIG10B; właściciel: „znajomych daj na dół, ale lupkę wyszukiwarkę daj na górę… ale nie taką dużą”, „na dole:
   domek, powiadomienia, znajomi i dalej”; zastępuje krok 10a): w górnym pasku mała lupa (Szukaj, 19 px) zamiast dzwonka; dolny pasek
   bez Szukaj, w kolejności domek, powiadomienia, znajomi, wiadomości, dalej reszta w kolejności z menu, „Więcej” na końcu. Goście - jak dotąd. */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone #mrTbar .mrtb-icons > [data-tb="notifications"] { display: none !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-icons > .mrtb-srch { display: grid !important; width: 32px !important; height: 34px !important; }
  html.mr-tb.mr-pphone #mrTbar .mrtb-icons > .mrtb-srch > i { font-size: 19px !important; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > a[href$="/search"] { display: none !important; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > * { order: 5; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > a.x_side_links:first-child { order: 1; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > .js_live-notifications { order: 2; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > .js_live-requests { order: 3; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > .js_live-messages { order: 4; }
  html.mr-tb.mr-pphone body:not(.visitor) .x-sidebar-fixed .x_sidebar_links > .dropup { order: 9; }
}

/* Goście (MR-20261123-PHONEIGGUEST; właściciel: „włącz też dla niezalogowanych”): bez zdjęcia konta - logo po lewej zamiast na środku
   (nachodziło na „Zaloguj się”), Pulpit obok logo, „Zaloguj się” i „Załóż konto” po prawej; body.visitor jest od pierwszej klatki (Sngine) */
@media (max-width: 767.98px) {
  html.mr-tb.mr-pphone body.visitor #mrTbar .mrtb-logo { left: 14px !important; transform: none !important; }
  html.mr-tb.mr-pphone body.visitor #mrTbar .mrtb-icons > .mrpe-btn { left: 82px; }
  html.mr-tb.mr-pphone body.visitor #mrTbar .mrtb-guest { margin-left: auto !important; gap: 6px; }
}

/* Krok 11 (MR-20261123-PHONEIG11; właściciel po makiecie odpowiedz.png: „robimy B, zobaczymy jak będzie wyglądać, a jak słabo to wybierzemy A”):
   okno odpowiedzi do wpisu jako arkusz od dołu - strona pod spodem przygaszona, u góry arkusza uchwyt i ✕ (Anuluj), „Odpowiedź do
   użytkownika @nick” i cytat w jednej linii, pole w kapsule ze zdjęciem i niebieską strzałką (Opublikuj - js/mr-phone-ig.js przenosi
   przycisk do kapsuły), pod spodem rząd ikon. Okno ma wysokość widocznej części ekranu (--mr-publisher-vh z core/post.js), więc arkusz
   stoi tuż nad klawiaturą. Na razie konto właściciela (html.mrig-rb z _head.tpl). */
@media (max-width: 767.98px) {
  html.mr-pphone.mrig-rb body.mr-publisher-body-locked:not(.mr-main-publisher-open)::before { background: rgba(0, 0, 0, .5) !important; }
  html.mr-tb.mr-pphone.mrig-rb #modal#modal.mr-publisher-modal-open.show,
  html.mr-tb.mr-pphone.mrig-rb #modal#modal.mr-publisher-modal-open.show :is(.modal-dialog, .modal-content, .modal-body) {
    background: transparent !important; background-color: transparent !important; box-shadow: none !important;
  }
  html.mr-tb.mr-pphone.mrig-rb body.mr-publisher-body-locked > .modal-backdrop { background: transparent !important; opacity: 0 !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .modal-body.mr-reply-x {
    justify-content: flex-end !important; overflow: visible !important;
  }
  /* góra arkusza: uchwyt i ✕ */
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-compose-header {
    order: 0; flex: 0 0 auto !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
    background: #242426 !important; border: 0 !important; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-compose-header::before {
    content: ""; position: absolute; left: 50%; top: 8px; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(255, 255, 255, .22);
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-compose-cancel {
    position: absolute !important; right: 10px; top: 8px; width: 30px !important; height: 30px !important; min-width: 0 !important; padding: 0 !important;
    border-radius: 50% !important; background: rgba(255, 255, 255, .1) !important; color: transparent !important; font-size: 0 !important; border: 0 !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-compose-cancel::before {
    content: ""; position: absolute; inset: 9px; background: #c7c7cc;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-compose-header > :not(.mr-x-compose-cancel):not(.mr-x-compose-submit) { display: none !important; }
  /* „Odpowiadasz @nick” i cytat w jednej linii */
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-publisher-context-section {
    order: 1; flex: 0 0 auto !important; height: auto !important; max-height: none !important; padding: 0 16px 10px !important; margin: 0 !important;
    background: #242426 !important; border: 0 !important; overflow: hidden !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-native-context { padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-native-context > :not(.mr-x-desktop-context) { display: none !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context { display: block !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context > :not(.mr-x-desktop-context-copy) { display: none !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context-copy { display: flex !important; flex-direction: column; padding: 0 !important; margin: 0 !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context-replying {
    order: -1; margin: 0 40px 8px 0 !important; padding: 0 !important; font-size: 14px !important; color: #8e8e93 !important; line-height: 1.3 !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context-replying span { color: #64b5ff !important; font-weight: 600; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context-copy > :not(.mr-x-desktop-context-text):not(.mr-x-desktop-context-replying) { display: none !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context-text {
    display: block !important; -webkit-line-clamp: unset !important; max-height: none !important; margin: 0 !important; padding: 0 0 0 9px !important;
    border-left: 2px solid #3a3a3c; color: #aeaeb2 !important; font-size: 13.5px !important; line-height: 1.35 !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x .mr-x-desktop-context-text:empty { display: none !important; }
  /* pole w kapsule, rząd ikon pod spodem */
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal {
    order: 2; flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; background: #242426 !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #publisher-box { height: auto !important; min-height: 0 !important; background: #242426 !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #publisher-box > .side_item_list39.px-3.pt-3 {
    height: auto !important; min-height: 0 !important; flex: 0 0 auto !important; padding: 0 12px !important; overflow: visible !important; background: transparent !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #publisher-box .x_user_info {
    position: relative; flex: 0 0 auto !important; height: auto !important; overflow: visible !important; align-items: flex-end !important; gap: 8px !important; padding: 6px 48px 6px 6px !important;
    border-radius: 24px; background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .08);
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #publisher-box .x_user_info > .publisher-avatar { width: 32px !important; height: 32px !important; margin: 0 !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #publisher-box .x_user_info > .flex-1 { min-height: 0 !important; height: auto !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #publisher-box .publisher-message { background: transparent !important; border: 0 !important; min-height: 0 !important; height: auto !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal #js_publisher-textarea {
    min-height: 32px !important; max-height: 132px !important; margin: 0 !important; padding: 5px 0 !important; font-size: 17px !important; line-height: 22px !important;
    background: transparent !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .mrig-rb-send {
    position: absolute !important; right: 6px; bottom: 5px; width: 34px !important; height: 34px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important; background: #0a84ff !important; color: transparent !important; font-size: 0 !important; border: 0 !important; box-shadow: none !important;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .mrig-rb-send::before {
    content: ""; position: absolute; inset: 8px; background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14V2M3 7l5-5 5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14V2M3 7l5-5 5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .mrig-rb-send:disabled, html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .mrig-rb-send.disabled { opacity: .45; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .mr-publisher-controls { background: #242426 !important; border: 0 !important; padding: 4px 4px 2px !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .mr-publisher-controls .publisher-footer { background: transparent !important; border: 0 !important; }
  html.mr-pphone.mrig-rb #modal.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x #publisher-wapper-modal .publisher-tools-tabs :is(svg, i) { color: #e5e5ea !important; }
}

/* Krok 11c (MR-20261123-PHONEIG11C; właściciel: „te okno jak wyskakuje nie tak jak trzeba, to zrób lepiej”): arkusz odpowiedzi wjeżdża od dołu,
   a strona pod nim płynnie się przygasza - tylko przy otwarciu (js/mr-phone-ig.js #modal.mrig-rb-in) */
@media (max-width: 767.98px) {
  @keyframes mrigRbUp { from { translate: 0 380px; } to { translate: 0 0; } }
  @keyframes mrigRbDim { from { opacity: 0; } to { opacity: 1; } }
  html.mr-pphone.mrig-rb #modal.mrig-rb-in.mr-publisher-modal-open .mr-publisher-full-modal.mr-reply-x > :is(.mr-x-compose-header, .mr-publisher-context-section, #publisher-wapper-modal) {
    animation: mrigRbUp .3s cubic-bezier(.2, .8, .2, 1) both;
  }
  html.mr-pphone.mrig-rb body.mr-publisher-body-locked:not(.mr-main-publisher-open)::before { animation: mrigRbDim .22s ease-out both; }
}
