/* ==========================================================================
   Typer w stylu Apple (MR-20261117-TYPERAPPLE). Prośba właściciela z 17.11.2026: „zmieniamy wygląd typera na czysty,
   czytelny, apple style. powoli i po kolei sekcjami, aby wszystko dobrze edytować”.
   Warstwa na wygląd „nowy” (typer-fresh.css + typer-grafit.css), wczytywana po nich. Na czas przebudowy tylko konto
   właściciela (index.php dokłada klasę html.tp-apple) - po ostatniej sekcji włączenie dla wszystkich.
   Paleta Pulpitu: tło #1c1c1e, karty #2a2a2d, wypełnienia rgba(118,118,128,.16/.24), linie rgba(255,255,255,.08),
   tekst #f5f5f7, przygaszony rgba(235,235,245,.6); jeden akcent Typera - czerwień Apple #ff453a (główne przyciski,
   aktywne ikony), złoto zostaje dla punktów. Tylko ciemny motyw.
   Selektory: html.tp-apple + cztery .tp-fresh - mocniejsze od warstw typer-fresh / typer-grafit.
   Telefon: bez backdrop-filter / transform / filter na .game-sidebar (dolna belka jest w niej position: fixed).
   ========================================================================== */

html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) {
  --a-bg: #1c1c1e;
  --a-card: #2a2a2d;
  --a-pop: #2c2c2e;
  --a-fill: rgba(118, 118, 128, .24);
  --a-fill2: rgba(118, 118, 128, .16);
  --a-fill3: rgba(118, 118, 128, .36);
  --a-line: rgba(255, 255, 255, .08);
  --a-text: #f5f5f7;
  --a-dim: rgba(235, 235, 245, .6);
  --a-dim2: rgba(235, 235, 245, .45);
  --a-red: #ff453a;
  --a-red-fill: rgba(255, 69, 58, .16);
  --a-gold: #ffd60a;
  --a-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------------- 1. szkielet: nagłówek, zakładki, górny pasek */

/* nagłówek z logo i zakładkami (komputer) - grafit bez linii na dole (MR-20261117-TYPERAPPLEHEAD: „usuń te linie z menu głównego”) */
@media (min-width: 800px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar {
    background: rgba(28, 28, 30, .92);
    border-bottom: 0;
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    backdrop-filter: saturate(1.8) blur(20px);
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tabs-wrap { background: transparent !important; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab {
    gap: 7px;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--a-dim);
    font-family: var(--a-font);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.01em;
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab .tab-icon { color: var(--a-dim2); font-size: 13px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab:hover { background: var(--a-fill2); color: var(--a-text); }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active,
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab[data-tab="coins"].active {
    background: var(--a-fill) !important;
    box-shadow: none;
    color: var(--a-text);
    font-weight: 600;
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active .tab-icon,
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab[data-tab="coins"].active .tab-icon { color: var(--a-red) !important; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active::after { display: none; }
}
/* logo: znak w czerwonym kafelku, nazwa 17 px, adres przygaszony (był czerwony) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .manager-brand-copy b { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .manager-brand-copy span { color: var(--a-dim2); font-family: var(--a-font); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* dolna belka zakładek (telefon) - grafit bez rozmycia (typer-mobile-bar-fixed), aktywna zakładka czerwona ikona + biały napis */
@media (max-width: 799px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tabs-wrap {
    background: rgba(28, 28, 30, .97) !important;
    border-top: 1px solid var(--a-line) !important;
    box-shadow: none !important;
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab { background: transparent !important; box-shadow: none !important; color: var(--a-dim2); font-family: var(--a-font); font-weight: 500; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab .tab-icon { color: var(--a-dim2); }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active { color: var(--a-text); font-weight: 600; }
  /* „Kupon” bez osobnego wyróżnienia - jak inne nieaktywne zakładki */
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab[data-tab="coins"]:not(.active),
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab[data-tab="coins"]:not(.active) :is(.tab-icon, .tab-copy) { color: var(--a-dim2) !important; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active .tab-icon { color: var(--a-red) !important; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active::after,
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .game-sidebar .tab.active::before { display: none !important; }
}

/* górny pasek (Wygląd, udostępnij, powiadomienia, punkty, MRC, konto) - bez karty i ramek, szare kapsułki */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-head {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(.tp-look-btn, .tp-notify-btn, .rank-pill, .mrc-pill-btn, .screen-user) {
  border: 0 !important;
  background: var(--a-fill) !important;
  box-shadow: none !important;
  color: var(--a-text);
  font-family: var(--a-font);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(.tp-look-btn, .tp-notify-btn, .rank-pill, .mrc-pill-btn):hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-btn.has-new { box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .mrc-pill { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(.rank-pill, .mrc-pill) :is(span, small) { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-user span { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-user .admin-link { color: var(--a-red); font-weight: 600; }

/* przycisk konta (awatar, nazwa, Panel) - kapsułka zamiast kwadratu; na telefonie zostaje okrągły awatar */
@media (min-width: 800px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-user { gap: 8px; height: 36px; padding: 3px 14px 3px 3px; border-radius: 999px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-user img { width: 30px; height: 30px; border: 0; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-user .admin-link { margin-left: 2px; }
}

/* moneta MRC - grafika ma czarne tło w rogach, przycięta do koła monety (wszędzie, gdzie jest moneta) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .mrc-icon,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .mrc-pool-main strong::before { clip-path: circle(44% at 50% 50%); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .mrc-pill-btn .mrc-icon { width: 21px; height: 21px; }

/* dzwonek: plakietka w czerwieni Apple z wycięciem w kolorze tła (bez czarnej obwódki i różowej poświaty),
   bez niebieskiego pierścienia; otwarte okienko - przycisk podświetlony */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-btn .count {
  top: -3px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--a-red);
  box-shadow: 0 0 0 2px var(--a-bg);
  font-family: var(--a-font);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-head :is(button, a):focus { outline: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .screen-head :is(.tp-look-btn, .tp-notify-btn, .rank-pill, .mrc-pill-btn):focus-visible,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-btn[aria-expanded="true"] { background: var(--a-fill3) !important; }

/* okienko powiadomień (dzwonek) - menu jak na Pulpicie: #2c2c2e, promień 16, wiersze z zaokrągleniem 10 */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-popover {
  border: 0;
  border-radius: 16px;
  background: var(--a-pop);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: var(--a-text);
  font-family: var(--a-font);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-pop-head { height: 54px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--a-line); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-pop-head b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-pop-head small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-clear { padding: 6px 10px; border-radius: 999px; color: var(--a-red); font-family: var(--a-font); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-clear:hover { background: var(--a-fill2); color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-popover .tp-notify-list { padding: 6px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-popover .tp-notify-row { border-radius: 10px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-popover .tp-notify-row:hover { background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-main { gap: 10px; padding: 8px; color: var(--a-text); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-main > i:first-child { border-radius: 9px; background: var(--a-red-fill); color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-main b { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-main small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-main > i:last-child { color: var(--a-dim2); font-size: 11px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-delete { border-radius: 50%; color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-delete:hover { background: var(--a-fill); color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-empty { color: var(--a-dim); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-empty > i { background: var(--a-fill2); color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-empty b { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notify-empty small { font-size: 12px; }

/* ---------------------------------------------------------------- 2. Typuj: góra widoku (MR-20261117-TYPERAPPLE2) */

/* karta „Zacznij od jednego meczu” - czysta karta, ikona w czerwonym kafelku, przycisk jako czerwona kapsułka (tinted) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit {
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  border-radius: 20px;
  background: var(--a-card);
  box-shadow: none;
  color: var(--a-text);
  font-family: var(--a-font);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit > i {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--a-red-fill);
  color: var(--a-red);
  font-size: 17px;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit > span { flex: 1 1 auto; gap: 3px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit b { color: var(--a-text); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit small { color: var(--a-dim); font-size: 13px; line-height: 1.45; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit > .tp-button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--a-red-fill);
  box-shadow: none;
  color: var(--a-red);
  font-family: var(--a-font);
  font-size: 14px;
  font-weight: 600;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit > .tp-button:hover { background: rgba(255, 69, 58, .24); }

/* nagłówek widoku („Centrum typowania” i nagłówki pozostałych zakładek - ten sam element) - duży tytuł bez karty,
   ikona jako czerwony kafelek po lewej (jak ikony w Ustawieniach), bez gradientu i poświaty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading {
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 6px 2px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading > div { min-width: 0; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading h2 { color: var(--a-text); font-family: var(--a-font); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading p { margin-top: 3px; color: var(--a-dim); font-family: var(--a-font); font-size: 14px; line-height: 1.4; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading .view-heading-icon {
  order: -1;
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--a-red);
  box-shadow: none;
  color: #fff;
  font-size: 20px;
}

/* „Ukryj typowane” - szara kapsułka bez ramki; włączone: czerwona (tinted) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .typed-match-toggle {
  min-height: 34px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--a-fill) !important;
  box-shadow: none;
  color: var(--a-text) !important;
  font-family: var(--a-font);
  font-size: 13px;
  font-weight: 500;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .typed-match-toggle i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .typed-match-toggle:hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .typed-match-toggle[aria-pressed="true"] { background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .typed-match-toggle[aria-pressed="true"] i { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #typed-match-filter-note { color: var(--a-dim2); font-family: var(--a-font); font-size: 12px; }

/* rozgrywki nad listą meczów - kapsułki bez ramek; wybrana: pełna czerwień, bez gradientu i cienia (jak filtry w Apple Music) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-links { gap: 8px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-link {
  min-height: 34px;
  padding: 0 14px 0 11px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--a-fill2) !important;
  box-shadow: none !important;
  color: var(--a-text);
  font-family: var(--a-font);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-link b { color: var(--a-text); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-link > i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-link:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-link.active { background: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .inline-competition-filter .command-link.active :is(b, i) { color: #fff !important; font-weight: 600; }

/* nagłówek rozgrywek na liście meczów - zwykły podpis z herbem, bez szarego pasa i linii */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .roundhdr {
  gap: 9px;
  margin: 22px 4px 10px;
  border: 0 !important;
  background: none !important;
  color: var(--a-text);
  font-family: var(--a-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .roundhdr::after { display: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .roundhdr .fa-futbol { color: var(--a-dim) !important; }

/* ramka panelu „Powiadomienia na telefon” (telefon, nad kartą „Zacznij”) jak karty wyżej - środek panelu w osobnej sekcji */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn { border: 0; border-radius: 20px; background: var(--a-card); box-shadow: none; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn summary { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn .mrgn-summary-state { color: var(--a-dim2); font-weight: 500; }

@media (max-width: 799px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading { gap: 12px; padding-top: 2px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading h2 { font-size: 24px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading p { font-size: 13px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .view-heading .view-heading-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 17px; }
  /* karta „Zacznij”: ikona po lewej, tekst i przycisk w drugiej kolumnie (zamiast ikony w osobnym wierszu) */
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
    padding: 14px;
    border-radius: 18px;
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit > :is(span, .tp-button) { grid-column: 2; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-first-visit > .tp-button { justify-self: start; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .roundhdr { margin-top: 18px; }
}

/* ---------------------------------------------------------------- 3. Typuj: lista meczów (MR-20261117-TYPERAPPLE3) */
/* Prośba właściciela z 17.11.2026: „zrób prostą fajną listę, a nie takie duże karty. coś jak w kuponie”.
   Każda rozgrywka to jedna karta jak lista w Kuponie: nagłówek ligi u góry karty, mecze jako niskie wiersze z cienkimi liniami.
   Wiersze są rodzeństwem w #term-body (filtr „Ukryj typowane” chodzi po rodzeństwie), więc dół karty poprzedniej rozgrywki
   rysuje ::before następnego nagłówka, a dół ostatniej - ostatni widoczny wiersz (:nth-last-child(1 of …)), bez :has. */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .roundhdr {
  position: relative;
  min-height: 46px;
  margin: 20px 0 0;
  padding: 12px 16px 10px;
  border-radius: 16px 16px 0 0;
  background: var(--a-card) !important;
  font-size: 14px;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .roundhdr img { width: 20px; height: 20px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .roundhdr:not(:nth-child(1 of :not([hidden]))) { margin-top: 32px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .roundhdr:not(:nth-child(1 of :not([hidden])))::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  height: 16px;
  border-radius: 0 0 16px 16px;
  background: var(--a-card);
}

/* wiersz meczu */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm:hover,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm.has-bet {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--a-line);
  border-radius: 0;
  background: var(--a-card);
  box-shadow: none;
  transform: none;
  transition: background-color .15s;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm:hover { background: #313134; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm.has-bet::before { display: none; }
/* rozwinięta karta z formularzem typowania w tej samej karcie rozgrywki (wnętrze formularza - kolejny krok) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--a-line);
  border-radius: 0;
  background: var(--a-card);
  box-shadow: none;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > :is(.bm, .match):nth-last-child(1 of :not([hidden])) { border-radius: 0 0 16px 16px; }

html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 10px 14px 10px 16px;
  font-family: var(--a-font);
}
/* godzina, pod nią dzień i data (bez kafelka „biletu” i jego wycięć) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when {
  display: flex;
  flex: 0 0 64px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-self: center;
  justify-content: flex-start;
  gap: 1px 4px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: left;
  text-transform: none;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when::before,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when::after { display: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when small {
  flex-basis: 100%;
  order: -1;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--a-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when :is(span, b) {
  display: inline;
  margin: 0;
  text-transform: none;
  color: var(--a-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}
/* drużyny w jednej linii jak w Kuponie: herb Dania – Norwegia herb */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-fixture {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club.away {
  display: flex;
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  text-align: left;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club img {
  order: 0;
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-name {
  overflow: hidden;
  color: var(--a-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-vs {
  display: inline;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: transparent;
  font-size: 0;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-vs::before { content: "–"; color: var(--a-dim2); font-size: 14px; }
/* zapisany typ - wynik w szarej plakietce między drużynami */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-prediction {
  flex: none;
  flex-direction: row;
  min-width: 0;
  height: auto;
  padding: 2px 8px;
  border: 0;
  border-radius: 7px;
  background: var(--a-fill);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-prediction span { display: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-prediction b { color: var(--a-text); font-size: 13px; font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums; }
/* przyciski: małe kapsułki; „Typuj” jedyny czerwony, „Udostępnij” sama ikona */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions {
  display: flex;
  flex: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn {
  gap: 6px;
  width: auto;
  min-width: 0;
  height: 30px;
  min-height: 30px;
  padding: 0 13px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--a-fill) !important;
  box-shadow: none !important;
  color: var(--a-text) !important;
  filter: none;
  font-family: var(--a-font);
  font-size: 13px;
  font-weight: 600;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn i { color: var(--a-dim); font-size: 11px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn:hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn:not(.edit):not(.ar-challenge):not([data-mr-share-bet]) { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn:not(.edit):not(.ar-challenge):not([data-mr-share-bet]):hover { background: #ff5e55 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn:not(.edit):not(.ar-challenge):not([data-mr-share-bet]) i { color: #fff; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn[data-mr-share-bet] { justify-content: center; width: 30px; padding: 0; font-size: 0; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn[data-mr-share-bet] i { font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-saved { margin-right: 4px; color: var(--a-dim); font-family: var(--a-font); font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-saved i { color: #30d158; font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-lock {
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--a-dim);
  font-family: var(--a-font);
  font-size: 12px;
  font-weight: 500;
}

/* telefon: godzina | dwie linie z drużynami (jak w Apple Sports) | przyciski; Zmień typ, Wyzwij i Udostępnij jako ikony */
@media (max-width: 799px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .roundhdr { min-height: 44px; padding: 12px 14px 10px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-main {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px 10px 14px;
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when { grid-column: 1; grid-row: 1; flex-basis: auto; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when small { font-size: 14px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-when span { display: none; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-fixture {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 8px;
  }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club { grid-column: 1; grid-row: 1; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club.away { grid-row: 2; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club.away img { order: -1; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-club img { width: 20px; height: 20px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-vs { display: none; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-prediction { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions { display: flex; grid-column: 3; grid-row: 1; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-saved { display: none; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn { height: 32px; min-height: 32px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn:is(.edit, .ar-challenge, [data-mr-share-bet]) { justify-content: center; width: 32px; padding: 0; font-size: 0; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-actions .bm-btn:is(.edit, .ar-challenge, [data-mr-share-bet]) i { color: var(--a-text); font-size: 13px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .bm .bm-lock { width: auto; justify-content: flex-end; }
}

/* ---------------------------------------------------------------- 3b. Typuj: formularz typowania (MR-20261117-TYPERAPPLE3B) */
/* Rozwinięta karta meczu w karcie rozgrywki. Prośba właściciela z 17.11.2026: „rób formularz typowania”.
   Wybory jak przełącznik segmentowy iOS (szary wybrany segment), wynik i statystyki jak stepper iOS, Bonus / czerwona kartka /
   Pewniak jako komórki z przełącznikiem iOS (zielony = włączony), jeden czerwony przycisk „Zapisz typ”. Bez gradientów i poświat. */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match { --a-cell: rgba(118, 118, 128, .12); --a-seg: #636366; --a-on: #30d158; --a-gold-fill: rgba(255, 214, 10, .14); }

/* góra: data, czas do zamknięcia, Zwiń (nazwa rozgrywki jest w nagłówku karty) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top { gap: 16px; padding: 14px 16px 4px; border: 0; background: none; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top .cb { display: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top :is(.mc-kick, .mc-deadline) { color: var(--a-dim); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top :is(.mc-kick, .mc-deadline) i { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top .mc-deadline b { color: var(--a-gold); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-collapse { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--a-fill); box-shadow: none; color: var(--a-text); font-family: var(--a-font); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-collapse:hover { background: var(--a-fill3); }

/* drużyny: herby i forma, bez czerwonej poświaty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-hero { padding: 10px 16px 18px; background: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-crest { width: 48px; height: 48px; filter: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-name { color: var(--a-text); font-family: var(--a-font); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-vs { color: var(--a-dim2); font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tf-dot { width: 18px; height: 18px; border-radius: 5px; background: var(--a-fill); color: var(--a-dim); font-family: var(--a-font); font-size: 10px; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tf-dot.tf-w { background: rgba(48, 209, 88, .2); color: var(--a-on); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tf-dot.tf-l { background: rgba(255, 69, 58, .2); color: var(--a-red); }

/* kursy i H2H: szare komórki jak w Ustawieniach */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-tools { gap: 10px; padding: 0 16px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.match-odds, .match-h2h) { border: 0; border-radius: 14px; background: var(--a-cell); box-shadow: none; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.match-odds, .match-h2h) > summary { min-height: 48px; padding: 8px 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.match-odds, .match-h2h) > summary > i:first-child { border: 0; border-radius: 8px; box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.match-odds, .match-h2h) > summary b { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.match-odds, .match-h2h) > summary span span { color: var(--a-dim); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.match-odds, .match-h2h) > summary > i:last-child { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mo-best, .mo-chances, .mh-balance) { gap: 6px; border: 0; border-radius: 0; background: none; overflow: visible; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mo-pick, .mo-chances > div, .mh-balance > div) { border: 0 !important; border-radius: 12px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-pick > b { color: var(--a-text); font-family: var(--a-font); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mo-pick > span, .mo-chances span, .mo-chances-title) { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mh-balance b { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-books { border: 0; border-radius: 12px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-books > summary,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mo-book-head, .mo-book-list) { border: 0; background: none; color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-book-head { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-book { border-bottom: 1px solid var(--a-line); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-odd { border: 0; border-radius: 8px; background: var(--a-fill2); color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mo-odd.is-best { border: 0; background: rgba(10, 132, 255, .22); box-shadow: inset 0 0 0 1px rgba(10, 132, 255, .7); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mh-event { margin-top: 6px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mh-score { border: 0; border-radius: 8px; background: var(--a-fill); box-shadow: none; color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mh-score-row > span { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mh-score-row > .mh-winner { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mo-caption, .mo-footnote, .mh-caption, .mh-footnote) { color: var(--a-dim); }

/* sekcja „Typ na punkty”: nagłówek bez osobnej karty, czerwony kafelek, złota plakietka punktów */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-split { gap: 16px; padding: 16px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-col { border: 0; border-radius: 0; background: none; box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-points > .mcard-col-head { padding: 0 0 6px; border: 0; border-radius: 0; background: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-col-head .mc-head-icon:not(.coins) { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--a-red); box-shadow: none; color: #fff; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mcard-col-head, .mrc-inline > header) .mc-head-copy b { color: var(--a-text); font-family: var(--a-font); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.mcard-col-head, .mrc-inline > header) .mc-head-copy small { color: var(--a-dim); font-family: var(--a-font); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-head-badge { padding: 4px 10px; border: 0; border-radius: 999px; background: var(--a-gold-fill); box-shadow: none; color: var(--a-gold); font-family: var(--a-font); font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets { padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets .mrow { gap: 10px; padding: 14px 0; border-top: 1px solid var(--a-line); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets > .mrow:first-child { padding-top: 8px; border-top: 0; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets .mlabel { gap: 8px; color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets .pts { padding: 1px 8px; border: 0 !important; border-radius: 999px; background: var(--a-gold-fill) !important; color: var(--a-gold) !important; font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets .mgrid2 { gap: 0 20px; border-top: 1px solid var(--a-line); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .markets .mgrid2 > .mrow { border-top: 0; }

/* wynik i statystyki: stepper jak w iOS (− liczba +) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .scorebox { justify-content: center; gap: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .scorebox > span { color: var(--a-dim2); font-size: 22px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap { align-items: center; gap: 6px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap input,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap input:focus {
  width: 54px;
  min-width: 0;
  height: 44px;
  min-height: 0;
  border: 0 !important;
  border-radius: 12px;
  background: var(--a-fill2) !important;
  box-shadow: none !important;
  color: var(--a-text);
  font-family: var(--a-font);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  outline: none;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap input:focus { box-shadow: inset 0 0 0 2px var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap .sb { width: 36px; min-width: 0; height: 36px; min-height: 0; border: 0 !important; border-radius: 50%; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap .sb:hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap.mini input { width: 46px; height: 38px; font-size: 18px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap.mini .sb { width: 32px; height: 32px; font-size: 18px; }

/* wybory (1X2, Obie strzelą, Gole 2.5 i więcej) - przełącznik segmentowy iOS */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .opts { gap: 2px; padding: 2px; border-radius: 10px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .opts .opt {
  min-height: 34px;
  padding: 4px 10px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--a-text) !important;
  font-family: var(--a-font);
  font-size: 14px;
  font-weight: 500;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .opts .opt:hover { background: rgba(255, 255, 255, .05) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .opts .opt.sel { background: var(--a-seg) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .scorer-grid .scorer-chip { border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .scorer-grid .scorer-chip.sel { background: var(--a-seg) !important; color: #fff !important; }

/* statystyki: jedna linia na komputerze (nazwa | stepper : stepper), nagłówki drużyn nad stepperami */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statblock { margin: 0; padding: 14px 0 4px; border: 0 !important; border-top: 1px solid var(--a-line) !important; border-radius: 0; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-stat-heading b { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-stat-heading b > i { color: var(--a-dim) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-stat-heading > span { padding: 1px 8px; border: 0 !important; border-radius: 999px; background: var(--a-gold-fill) !important; color: var(--a-gold) !important; font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-stat-hint { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-stat-hint b { color: var(--a-gold); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .sb-head .th { overflow: hidden; color: var(--a-dim); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statline { padding: 10px 0; border: 0; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statline + .statline { border-top: 1px solid var(--a-line); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statline .tp-stat-name { color: var(--a-text); font-size: 14px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statline .colon { color: var(--a-dim2); }
@media (min-width: 800px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.sb-head, .statline) { grid-template-columns: minmax(0, 1fr) 150px 14px 150px; align-items: center; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .sb-head > :first-child { grid-column: 2; text-align: center; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .sb-head > :last-child { text-align: center; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statline .sl-label { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 4px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .statline .numwrap.mini { justify-content: center; }
}

/* „Więcej opcji” - komórka z rozwijaniem */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-extra-markets { margin-top: 10px; border: 0 !important; border-radius: 14px; background: var(--a-cell) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-extra-markets > summary { padding: 12px 14px; color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-extra-markets > summary small { color: var(--a-dim); font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-extra-markets .tp-extra-body { padding: 0 14px 6px; }

/* Bonus meczu, czerwona kartka, Pewniak - komórki z przełącznikiem iOS po prawej */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.bonusbox, .red-risk, .bankerbtn),
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match :is(.bonusbox, .red-risk, .bankerbtn).on {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--a-cell) !important;
  box-shadow: none !important;
  color: var(--a-text);
  font-family: var(--a-font);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-star { width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--a-gold-fill); box-shadow: none; color: var(--a-gold); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-title { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-pts { padding: 1px 8px; border: 0; border-radius: 999px; background: var(--a-gold-fill); color: var(--a-gold); font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-desc { color: var(--a-dim); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-warn { color: var(--a-dim); font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-warn :is(i, b) { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-toggle,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bonusbox .bn-toggle {
  flex: none;
  align-self: center;
  width: 51px;
  height: 31px;
  border-radius: 999px;
  background: radial-gradient(circle at 15.5px 50%, #fff 0 12.5px, transparent 13px), rgba(120, 120, 128, .32);
  transition: background .2s;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bonusbox.on .bn-toggle { background: radial-gradient(circle at 35.5px 50%, #fff 0 12.5px, transparent 13px), var(--a-on); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bn-toggle i { display: none; }
/* czerwona kartka: pole wyboru jako przełącznik iOS po prawej */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk { align-items: center; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk .f-red-risk {
  -webkit-appearance: none;
  appearance: none;
  order: 9;
  flex: none;
  width: 51px;
  height: 31px;
  margin: 0 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 15.5px 50%, #fff 0 12.5px, transparent 13px), rgba(120, 120, 128, .32);
  cursor: pointer;
  transition: background .2s;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk .f-red-risk:checked { background: radial-gradient(circle at 35.5px 50%, #fff 0 12.5px, transparent 13px), var(--a-on); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 69, 58, .16); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-icon i { color: var(--a-red); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-kicker { color: var(--a-dim); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-copy strong { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-rewards b { color: var(--a-on); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-rewards em { color: var(--a-red); font-style: normal; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .red-risk-copy small { color: var(--a-dim); font-size: 12px; }
/* Pewniak */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn { --bk-on: var(--a-on); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn-main { padding-right: 64px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn-main i.fa-star { color: var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn .banker-label { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn .banker-multiplier,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn.on .banker-multiplier { padding: 0 7px; border: 0 !important; border-radius: 6px; background: var(--a-gold-fill) !important; color: var(--a-gold) !important; font-size: 12px; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn.on .banker-multiplier { background: var(--a-gold) !important; color: #1c1c1e !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn-main .banker-limit { color: var(--a-dim) !important; font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn .banker-note :is(.banker-move, .banker-warn) { font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn .banker-note .banker-move { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn .banker-note { padding-right: 64px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn::after { top: 12px; right: 14px; width: 51px; height: 31px; margin-top: 0; background: radial-gradient(circle at 15.5px 50%, #fff 0 12.5px, transparent 13px), rgba(120, 120, 128, .32); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .bankerbtn.on::after { background: radial-gradient(circle at 35.5px 50%, #fff 0 12.5px, transparent 13px), var(--bk-on); }

/* zapis: jeden czerwony przycisk */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-save-area { gap: 10px; margin-top: 16px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .tp-draft-status { color: var(--a-dim2); font-size: 12px; text-align: center; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .submit {
  height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--a-red) !important;
  box-shadow: none !important;
  color: #fff;
  filter: none;
  font-family: var(--a-font);
  font-size: 16px;
  font-weight: 600;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .submit:hover { background: #ff5e55 !important; filter: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .submit.saved { background: var(--a-fill) !important; color: var(--a-text); }

/* kupon o MR Coins w karcie meczu - szara komórka, zakładki jak przełącznik segmentowy */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline { border: 0 !important; border-radius: 16px; background: var(--a-cell) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline > header { padding: 12px 14px; border: 0 !important; border-radius: 0; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mc-head-icon.coins { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--a-gold-fill); box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline-balance { padding: 4px 10px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; color: var(--a-text) !important; font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-body { padding: 4px 14px 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mtabs { gap: 2px; margin: 0 0 12px; padding: 2px; border-radius: 10px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mtabs button { flex: 1 1 0; min-height: 32px; border: 0 !important; border-radius: 8px; background: transparent !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mtabs button.on { background: var(--a-seg) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-odd { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-odd:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-odd.on { background: var(--a-gold-fill) !important; box-shadow: inset 0 0 0 2px var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-odd b { color: var(--a-text); font-size: 18px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-odd.on b { color: var(--a-gold); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-odd small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-draw { border: 0; background: var(--a-fill); color: var(--a-text); }
/* telefon: zwinięty kupon „Zagraj o MR Coins” - zwykła komórka zamiast żółtego paska */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mobile-toggle { gap: 12px; padding: 12px 14px; border: 0 !important; border-radius: 16px; background: none !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mobile-toggle b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mobile-toggle small { color: var(--a-dim); font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-mobile-toggle .mrc-mobile-chevron { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mrc-inline .mrc-hint { padding: 10px 12px; border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; color: var(--a-dim); font-size: 12px; }

/* typy rywali pod kartą */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .rb-wrap { padding: 2px 16px 16px; border: 0; background: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .rb-label { color: var(--a-dim); font-family: var(--a-font); font-size: 12px; font-weight: 500; }

@media (max-width: 799px) {
  /* data i czas do zamknięcia jeden pod drugim, „Zwiń” z prawej (zamiast w osobnej linii) */
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px 2px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-top .mc-collapse { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-hero { padding: 8px 12px 14px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-crest { width: 42px; height: 42px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mc-name { font-size: 15px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-tools { padding: 0 12px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-split { padding: 14px 12px; }
  /* stepper w jednej linii (− liczba +) także na wąskim telefonie (typer-ux.css układa go w siatce) */
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .mcard-points .numwrap { display: flex; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap input { width: 48px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .numwrap.mini input { width: 42px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body > .match .rb-wrap { padding: 2px 12px 14px; }
}

/* ---------------------------------------------------------------- 4. Mecze LIVE (MR-20261117-TYPERAPPLE4) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 4”. Karty meczów na żywo jak w Apple Sports: drużyny w dwóch liniach z wynikiem
   przy każdej drużynie, czerwona plakietka „NA ŻYWO”, pod spodem Twój typ i punkty „na teraz”, rozwijane szczegóły jako lista. */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-note { gap: 8px; margin: 2px 2px 14px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--a-dim2); font-family: var(--a-font); font-size: 12px; line-height: 1.45; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-note i { color: var(--a-dim2); }

html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc.lvc-fin {
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--a-card);
  box-shadow: none;
  font-family: var(--a-font);
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-top { margin: 0; padding: 12px 16px 4px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-top .cb { padding: 0; border: 0; border-radius: 0; background: none; color: var(--a-dim); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
/* na żywo: czerwona plakietka; koniec meczu: szara */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-live { gap: 6px; padding: 3px 9px; border: 0; border-radius: 999px; background: var(--a-red-fill); color: var(--a-red); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-live .lv-pulse { width: 7px; height: 7px; background: var(--a-red); box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-live.lvc-done { background: var(--a-fill2); color: var(--a-dim); }
/* drużyny w dwóch liniach, wynik przy każdej drużynie (dwukropek schowany) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-mid { gap: 14px; padding: 6px 16px 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-teams { gap: 8px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-tm { gap: 10px; color: var(--a-dim); font-size: 15px; font-weight: 600; line-height: 24px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-tm.win { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-tm img { flex: 0 0 24px; width: 24px; height: 24px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-score { display: grid; grid-auto-rows: 24px; row-gap: 8px; justify-items: end; font-family: var(--a-font); font-size: 20px; font-weight: 700; line-height: 24px; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-score i { display: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-score span { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-score span.w { color: var(--a-text); }
/* Twój typ i punkty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-foot { gap: 10px; margin: 0; padding: 10px 16px; border-top: 1px solid var(--a-line); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-foot:hover { background: rgba(255, 255, 255, .03); opacity: 1; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pick { color: var(--a-dim); font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pick i { color: var(--a-dim2); opacity: 1; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pick b { color: var(--a-text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts { padding: 3px 10px; border: 0; border-radius: 999px; background: var(--a-fill2); color: var(--a-dim); font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts b { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.p-hi,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.p-hi b { background: rgba(48, 209, 88, .16); color: #30d158; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.p-hi b { background: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.p-mid,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.p-mid b { background: rgba(255, 214, 10, .14); color: var(--a-gold); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.p-mid b { background: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-pts.lvc-pts-unk { background: none; color: var(--a-dim2); font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-bonus { color: var(--a-gold); font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-mexp { color: var(--a-dim2); }
/* rozwinięte szczegóły: lista z cienkimi liniami; rynek w jednej linii z punktami po prawej, wynik i typ pod spodem */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail-inner { padding: 0 16px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc.open .lvc-detail { margin-top: 0; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail-inner > :last-child { margin-bottom: 10px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .mb-row { padding: 9px 0; border-bottom: 1px solid var(--a-line); color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc.open .lvc-detail .mb-row:first-child { border-top: 1px solid var(--a-line); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .mb-row b { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .mb-row > span { flex: none; white-space: nowrap; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-live-note { margin: 0; padding: 10px 0; border: 0; border-radius: 0; background: none; color: var(--a-dim2); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-live-note i { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--a-line);
  color: var(--a-dim);
  font-size: 13px;
  font-weight: 500;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-row-top { display: contents; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-row-top > span { grid-column: 1; grid-row: 1; color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-row-top > b { grid-column: 2; grid-row: 1 / span 2; color: var(--a-dim); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-row.hit .fp-row-top > b { color: #30d158; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-row.penalty .fp-row-top > b { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-cmp { grid-column: 1; flex-direction: row; flex-wrap: wrap; gap: 0 14px; margin: 0; color: var(--a-dim); font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .fp-cmp-line b { color: var(--a-text); font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .ptsbadge { padding: 2px 9px; border: 0; border-radius: 999px; background: var(--a-fill2); color: var(--a-dim); font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .ptsbadge.p-hi { background: rgba(48, 209, 88, .16); color: #30d158; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail .ptsbadge.p-mid { background: rgba(255, 214, 10, .14); color: var(--a-gold); }

/* brak meczów na żywo i wczytywanie */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-empty { padding: 56px 20px; color: var(--a-dim); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-empty > i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--a-fill2); color: var(--a-dim); font-size: 26px; opacity: 1; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-empty-t { margin-bottom: 6px; color: var(--a-text); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lv-empty-s { max-width: 360px; color: var(--a-dim); font-size: 14px; line-height: 1.45; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #term-body .sched-loading { color: var(--a-dim); font-family: var(--a-font); font-size: 13px; }

@media (max-width: 799px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-top { padding: 12px 14px 4px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-mid { padding: 6px 14px 12px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-foot { padding: 10px 14px; font-size: 12px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-detail-inner { padding: 0 14px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .lvc-score { font-size: 19px; }
}

/* ---------------------------------------------------------------- 5. Ranking (MR-20261117-TYPERAPPLE5) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 5”. Punkty / Zarobasy / 1v1 i Sezon / Kolejka jako przełączniki segmentowe iOS,
   tabela jako jedna grafitowa karta z cienkimi liniami, podium w kolorowych plakietkach (złoto, srebro, brąz), analiza gracza
   z kafelkami i paskami. Kosmetyki ze skrzynek (ramki, kolory nicków, odznaki) bez zmian.
   Selektory z dwoma #view-ranking - mocniejsze niż reguły typer-fresh.css z dwoma #id. */

/* Punkty / Zarobasy / 1v1 + filtr - przełącznik segmentowy */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch.rank-mode-switch-filter {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--a-fill2);
  box-shadow: none;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-mode-btn {
  flex: 1 1 0;
  gap: 6px;
  height: 32px;
  min-height: 0;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--a-text) !important;
  font-family: var(--a-font);
  font-size: 13px;
  font-weight: 500;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-mode-btn i { color: var(--a-dim) !important; font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-mode-btn.on { background: #636366 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-mode-btn.on i { color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-filter-toggle { flex: 0 0 42px; width: auto; height: 32px; min-height: 0; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; color: var(--a-dim) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-filter-toggle.on { background: rgba(255, 69, 58, .16) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-mode-switch .rank-filter-toggle:disabled { opacity: .35; }
/* „Pokaż mnie” - szara kapsułka */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .tp-find-me { gap: 6px; height: 32px; min-height: 0; padding: 0 13px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .tp-find-me i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .tp-find-me:hover { background: var(--a-fill3) !important; }
/* ligi - kapsułki jak w „Typuj” */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-links { gap: 8px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-link { min-height: 34px; padding: 0 14px 0 11px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-link b { color: var(--a-text); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-link > i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-link:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-link.active { background: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-leagues-visible .command-link.active :is(b, i) { color: #fff !important; font-weight: 600; }
/* Sezon / Kolejka - przełącznik segmentowy */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-point-tabs { display: flex; gap: 2px; padding: 2px; border: 0; border-radius: 10px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-point-tabs .rvtab { flex: 1 1 0; gap: 6px; height: 32px; min-height: 0; padding: 0 12px; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-point-tabs .rvtab i { color: var(--a-dim) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-point-tabs .rvtab.on { background: #636366 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-point-tabs .rvtab.on i { color: #fff !important; }

/* filtry (lejek): szukaj, sortuj, porównaj */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rank-options-panel, .rank-options-body) { padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-options-panel .rank-ctrl { border: 0; border-radius: 16px; background: var(--a-card); box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-options-panel :is(.rank-search, .rank-sort) { height: 36px; border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-options-panel .rank-search-wrap > i { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-options-panel .h2h-btn { height: 36px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rank-options-panel .h2h-btn.on { background: rgba(255, 69, 58, .16) !important; color: var(--a-red) !important; }

/* tabela: jedna karta, nagłówek kolumn przygaszony, wiersze z cienką linią */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rank-table-panel.rank-grid, .mrc-rank) { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rank-grid-head, .mrc-rank-head) { border: 0 !important; border-bottom: 1px solid var(--a-line) !important; border-radius: 0 !important; background: none !important; color: var(--a-dim2) !important; font-family: var(--a-font); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rk-main, .mrc-rank-row) { border-radius: 0 !important; border-bottom: 1px solid var(--a-line) !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rk-main, .mrc-rank-row):hover { background: rgba(255, 255, 255, .03) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-main.open { background: rgba(255, 255, 255, .03) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rk-main.mine, .mrc-rank-row.me, .mrc-rank-row.mine) { background: rgba(255, 69, 58, .08) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.rk-main, .mrc-rank-row) .rk { color: var(--a-dim); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* podium: plakietki w kolorach medali Apple */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-podium-badge { gap: 4px; min-width: 0; padding: 2px 8px; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; font-family: var(--a-font); font-size: 12px; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-podium-badge i { font-size: 10px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-podium-1 .rk-podium-badge { background: rgba(255, 214, 10, .16) !important; color: #ffd60a !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-podium-2 .rk-podium-badge { background: rgba(199, 199, 204, .18) !important; color: #e5e5ea !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-podium-3 .rk-podium-badge { background: rgba(172, 142, 104, .24) !important; color: #d9b38c !important; }
/* punkty: złote liczby (złoto = punkty w całym Typerze), ostatni mecz zielony */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-main .tp .rk-total { font-family: var(--a-font); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-main .tp .last-pts { color: #30d158; font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-main .rk-exp { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .mrc-rank-row .mrc-net.up { color: #30d158; }

/* analiza gracza po kliknięciu: bez kolorowej kreski, kafelki i paski jak w Zdrowiu */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail { border: 0 !important; border-bottom: 1px solid var(--a-line) !important; border-radius: 0 !important; background: rgba(118, 118, 128, .08) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .rk-stats { gap: 8px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .rk-st { border: 0; border-radius: 12px; background: var(--a-fill2); box-shadow: none; color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .rk-st span { color: var(--a-text); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .bd-title { color: var(--a-dim); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .bd-l { color: var(--a-text); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .bd-bar { height: 6px; border: 0; border-radius: 999px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .bd-bar > span { border-radius: 999px; background: var(--a-red); box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .bd-v { color: var(--a-text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .ar-user-actions .ar-btn { height: 32px; min-height: 0; padding: 0 13px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .ar-user-actions .ar-btn i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .ar-user-actions .ar-btn.primary { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-detail .ar-user-actions .ar-btn.primary i { color: #fff; }
/* opisy pod tabelą */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking :is(.form-legend, .rk-hint) { color: var(--a-dim2); font-family: var(--a-font); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-ranking#view-ranking .rk-hint i { color: var(--a-dim2); }

/* ranking 1v1 (w Rankingu i w Arenie): karta, nagłówek bez osobnego tła, wybór miesiąca jak pole */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-rank-head { border: 0 !important; border-bottom: 1px solid var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-rank-head span { color: var(--a-dim); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-rank-head h3 { color: var(--a-text); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-rank-head label { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-month { height: 34px; border: 0 !important; border-radius: 10px; background-color: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-empty { color: var(--a-dim); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-panel .ar-empty strong { color: var(--a-text); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-ranking, #view-arena):is(#view-ranking, #view-arena) .ar-rank-row { border-radius: 0 !important; border-bottom: 1px solid var(--a-line) !important; }

/* Moje ligi (blok #mr-tp-leagues pod widokiem rankingu, mr-leagues.js) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-h b { color: var(--a-text); font-size: 16px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-h b i { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-h span,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-note { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card input { height: 36px; border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-btn { height: 36px; min-height: 0; padding: 0 16px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-btn.is-main { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-btn.is-danger { color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-tabs { gap: 2px; padding: 2px; border-radius: 10px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-tab { border: 0 !important; border-radius: 8px; background: transparent !important; color: var(--a-text) !important; font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #mr-tp-leagues .mrl-card .mrl-tab.is-on { background: #636366 !important; color: #fff !important; font-weight: 600; }

/* ---------------------------------------------------------------- 6. Arena 1v1 (MR-20261117-TYPERAPPLE6) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 6”. Nagłówek jak duży tytuł, statystyki w grafitowych kafelkach, zakładki jako
   przełącznik segmentowy, pojedynki jako grafitowe karty z plakietkami, okno „Nowy pojedynek” szerokie i poziome na komputerze
   (ustawienia z lewej, przeciwnik z prawej). Ramki awatarów i kolory nicków ze skrzynek bez zmian. */

/* nagłówek: duży tytuł bez karty, czerwony nadtytuł, „Nowy pojedynek” czerwony, odśwież szare kółko */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero { padding: 6px 2px 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero > div:first-child > span { color: var(--a-red); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero h2 { color: var(--a-text); font-family: var(--a-font); font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero p { color: var(--a-dim); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-btn {
  height: 36px;
  min-height: 0;
  padding: 0 16px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--a-fill) !important;
  box-shadow: none !important;
  color: var(--a-text) !important;
  font-family: var(--a-font);
  font-size: 14px;
  font-weight: 600;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-btn:hover { background: var(--a-fill3) !important; filter: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-btn.small { height: 32px; padding: 0 13px; font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-btn.primary { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-btn.primary:hover { background: #ff5e55 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-btn.danger { color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero-actions .ar-btn[data-ar-action="refresh"] { width: 36px; padding: 0; }

/* statystyki: grafitowe kafelki, ikona w czerwonym kafelku */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-summary { gap: 10px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-summary > div { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-summary > div > i { border: 0; border-radius: 10px; background: var(--a-red-fill); box-shadow: none; color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-summary > div b,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-summary > div strong { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-summary > div small { color: var(--a-dim); font-size: 12px; }

/* zakładki: przełącznik segmentowy (na telefonie przewijany w bok) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tabs { gap: 2px; padding: 2px; border: 0; border-radius: 10px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab {
  flex: 1 0 auto;
  justify-content: center;
  gap: 6px;
  height: 32px;
  min-height: 0;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent;
  color: var(--a-text);
  font-family: var(--a-font);
  font-size: 13px;
  font-weight: 500;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab i { color: var(--a-dim) !important; font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab::after { display: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab.active { background: #636366; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); color: #fff; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab.active i { color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab > b { background: var(--a-red); color: #fff; }

/* karty pojedynków */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-duel { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tag { padding: 3px 9px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-dim) !important; font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tag.mine { background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tag.blue { background: rgba(10, 132, 255, .16) !important; color: #64a8ff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tag.gold { background: rgba(255, 214, 10, .14) !important; color: var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-status { min-height: 0; padding: 3px 9px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-dim) !important; font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-status:is(.pending, .queue) { background: rgba(255, 214, 10, .14) !important; color: var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-status.live { background: rgba(48, 209, 88, .16) !important; color: #30d158 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-player b { color: var(--a-text); font-size: 16px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-player small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-score strong { color: var(--a-text); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-score small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-meta { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-meta b { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-progress > span { height: 4px; border-radius: 999px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-progress > span > i { border-radius: 999px; background: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-progress small { color: var(--a-dim2); font-size: 11px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-fixture { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-fixture-no { border: 0; border-radius: 50%; background: var(--a-fill); color: var(--a-dim); font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-fixture-teams { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-fixture-teams em { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-fixture time { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-footer { border-top: 1px solid var(--a-line) !important; color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-details > summary { color: var(--a-dim); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-details > summary i { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena :is(.ar-picks .ar-pick, .ar-detail-match) { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-detail-match { background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-note { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-history-filter { border: 0 !important; border-radius: 14px; background: var(--a-card) !important; box-shadow: none !important; color: var(--a-dim); font-family: var(--a-font); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-history-filter b { color: var(--a-text); }

/* puste stany: ikona w szarym kółku, tytuł 17 px, czerwona kapsułka */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-empty { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; color: var(--a-dim); font-family: var(--a-font); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-empty > i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--a-fill2); color: var(--a-dim); font-size: 22px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-empty strong { color: var(--a-text); font-size: 17px; font-weight: 600; }

/* „Jak działa Arena?” - szara komórka z rozwijaniem */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-guide { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-guide > summary { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-guide > summary > i:first-child { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-guide > summary small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-guide > summary > i:last-child { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-guide-grid section { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }

/* zwycięzcy miesiąca */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-panel { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-panel h3 { color: var(--a-text); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion > em { border: 0; border-radius: 999px; background: var(--a-fill); color: var(--a-text); font-style: normal; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion:nth-child(1) > em { background: rgba(255, 214, 10, .16); color: #ffd60a; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion:nth-child(2) > em { background: rgba(199, 199, 204, .18); color: #e5e5ea; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion:nth-child(3) > em { background: rgba(172, 142, 104, .24); color: #d9b38c; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar-champion small { color: var(--a-dim); }

/* okno „Nowy pojedynek” i inne okna Areny */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog[open] { border: 0 !important; border-radius: 24px; background: var(--a-card) !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08) !important; color: var(--a-text); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog::backdrop { background: rgba(0, 0, 0, .5); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog :is(.ar-dialog-head, .ar-dialog-foot) { border-color: var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-dialog-head h2 { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-btn { height: 36px; min-height: 0; padding: 0 16px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-dialog-head .ar-btn { width: 32px; height: 32px; padding: 0; border-radius: 50%; color: var(--a-dim) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-btn.primary { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-field label { color: var(--a-dim); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-muted { color: var(--a-dim2); font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog :is(select, input[type="search"], input[type="text"], input[type="number"]) { height: 40px; border: 0 !important; border-radius: 10px; background-color: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog :is(.ar-search-list, .ar-choice-list) { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog :is(.ar-user-option, .ar-user-option:last-child, .ar-choice) { border: 0 !important; border-bottom: 1px solid var(--a-line) !important; background: transparent !important; box-shadow: none !important; color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-user-option:hover { background: rgba(255, 255, 255, .04) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-user-option.selected,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-choice:has(input:checked) { background: var(--a-red-fill) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-user-option small,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-choice small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-random-icon { border: 0; border-radius: 50%; background: var(--a-red-fill); color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-choice input[type="checkbox"] { accent-color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-ready-toggle { border: 0 !important; background: transparent !important; color: var(--a-red) !important; font-family: var(--a-font); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-note { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-error { color: var(--a-red); }
/* komputer: szerokie, poziome okno - ustawienia, mecz i opis z lewej, lista przeciwników z prawej */
@media (min-width: 900px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog,
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog[open] { width: min(1100px, calc(100vw - 48px)); }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-dialog-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; align-items: start; gap: 0 24px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-dialog-body > * { grid-column: 1; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .ar-dialog .ar-dialog-body > :nth-child(3) { grid-column: 2; grid-row: 1 / span 4; }
}

@media (max-width: 799px) {
  /* tytuł nad przyciskami (nadtytuł się nie łamie) */
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero { flex-direction: column; align-items: stretch; gap: 12px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero-actions { justify-content: flex-start; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-hero h2 { font-size: 24px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tabs { overflow-x: auto; scrollbar-width: none; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-arena#view-arena .ar4-tab { flex: 0 0 auto; }
}

/* ---------------------------------------------------------------- 7. Kupon (MR-20261117-TYPERAPPLE7) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 7”. Saldo w grafitowej karcie, zakładki i filtry jako przełączniki segmentowe,
   rynki i kursy w szarych polach, wynik jak stepper iOS, „Postaw” jako jeden złoty przycisk (złoto = MR Coins), pływający
   kupon AKO jako grafitowa wyspa, historia kuponów i portfel w grafitowych kartach. */

/* saldo */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-balance { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-balance small { color: var(--a-dim); font-size: 12px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-balance strong { color: var(--a-gold); font-family: var(--a-font); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-balance strong small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins :is(.tp-balance, #view-coins) .tp-button { height: 34px; min-height: 0; padding: 0 14px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-button:hover { background: var(--a-fill3) !important; }

/* Mecze / Moje kupony / Portfel i filtry meczów - przełączniki segmentowe */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins :is(.tp-coin-tabs, .mrc-filters) { display: flex; gap: 2px; padding: 2px; border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-filters { display: inline-flex; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins :is(.tp-coin-tabs, .mrc-filters) button {
  flex: 1 1 0;
  height: 32px;
  min-height: 0;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--a-text) !important;
  font-family: var(--a-font);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins :is(.tp-coin-tabs, .mrc-filters) button.on { background: #636366 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }

/* lista dni i meczów */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-day-head { border: 0; background: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-day-head b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-day-head span { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-day-head em { color: var(--a-dim); font-size: 12px; font-style: normal; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-day-head i { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-rows { overflow: hidden; border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row.is-open { border-color: var(--a-line) !important; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-head { font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-head:hover { background: rgba(255, 255, 255, .03); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-time { color: var(--a-text); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-teams b { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-teams em { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-comp { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-state { padding: 3px 10px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-text) !important; font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-chevron { color: var(--a-dim2); }

/* rozwinięty mecz: rynki w szarych polach, wybrany kurs złoty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-row-body { border: 0 !important; background: rgba(118, 118, 128, .06) !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-msec h5 { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-sec-num { color: var(--a-dim2); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-sec-title { color: var(--a-text); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-sec-meta { padding: 2px 9px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-dim); font-size: 11px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-odd { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-odd:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-odd b { color: var(--a-text); font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-odd :is(small, span) { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-odd.on { background: rgba(255, 214, 10, .14) !important; box-shadow: inset 0 0 0 2px var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-odd.on b { color: var(--a-gold); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-draw { border: 0; background: var(--a-fill); color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-score { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-score-side > span { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-step button { width: 34px; height: 34px; border: 0 !important; border-radius: 50%; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text); font-size: 18px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-step button:hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-step b { color: var(--a-text); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-score-mid b { color: var(--a-gold); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-score-mid small { color: var(--a-dim); letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-chip { border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-chip:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-chip.on { background: rgba(255, 214, 10, .14) !important; box-shadow: inset 0 0 0 2px var(--a-gold) !important; color: var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-hint { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; color: var(--a-dim); font-size: 12px; }
/* wybrane typy, stawka i wyliczenie */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-legs { padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-leg { border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-leg b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-leg em { color: var(--a-gold); font-style: normal; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-leg-x { border: 0 !important; border-radius: 50%; background: var(--a-fill) !important; color: var(--a-dim) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stake .mrc-field > span { color: var(--a-dim); font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stake input { height: 40px; border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 16px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stake input:focus { box-shadow: inset 0 0 0 2px var(--a-gold) !important; outline: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stake button { height: 40px; min-height: 0; padding: 0 14px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stake button:last-child { color: var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-calc { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-calc b { color: var(--a-text); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-calc b.down { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-calc .total { border-top: 1px solid var(--a-line) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-calc .total span { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-calc .total b { color: var(--a-gold); font-size: 16px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-add-multi { height: 44px; border: 0 !important; border-radius: 12px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-add-multi i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-place { height: 44px; border: 0 !important; border-radius: 12px; background: var(--a-gold) !important; box-shadow: none !important; color: #1c1c1e !important; filter: none; font-family: var(--a-font); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-place:hover { background: #ffe14d !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-place:disabled { opacity: .45; }

/* pływający kupon AKO - grafitowa wyspa z cieniem */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-coupon-dock { overflow: hidden; border: 0 !important; border-radius: 16px; background: var(--a-pop) !important; box-shadow: 0 18px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08) !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-coupon-toggle { border: 0 !important; background: none !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-coupon-toggle i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-coupon-toggle b { border: 0; border-radius: 999px; background: rgba(255, 214, 10, .16) !important; color: var(--a-gold) !important; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-coupon-body,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-coupon-body .mrc-multi-coupon { border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-head { border-color: var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-head > span > i { border: 0; border-radius: 8px; background: rgba(255, 214, 10, .14) !important; color: var(--a-gold) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-head b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-head small,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-head em { color: var(--a-dim); font-style: normal; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-empty { border: 0 !important; background: none !important; color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-empty > i { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-multi-empty b { color: var(--a-text); }

/* Moje kupony */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-subhead { color: var(--a-text); font-family: var(--a-font); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet { border: 0 !important; border-radius: 14px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet-pick { border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; color: var(--a-text) !important; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet.won .mrc-bet-pick { background: rgba(48, 209, 88, .16) !important; color: #30d158 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet.lost .mrc-bet-pick { background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet-teams { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet-main > small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet-money b.up { color: #30d158; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet-money b.down { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-bet-money small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-ako-mini-row em { color: var(--a-gold); font-style: normal; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-ako-mini-row.is-lost em { color: var(--a-red); }

/* Portfel */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet-label { color: var(--a-text); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet .mrc-balance { color: var(--a-gold); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet-meta { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet-meta b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins :is(.mrc-rank-progress, .mrc-stats > div, .mrc-pool-rule) { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-rank-progress-bar { height: 6px; border: 0; border-radius: 999px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-rank-progress-bar > * { border-radius: 999px; background: var(--a-gold) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-rank-progress-head span:first-child { border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; color: var(--a-text) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stats > div b,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stats > div strong { color: var(--a-text); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-stats > div :is(small, span) { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins :is(.mrc-wallet-poolcopy, .mrc-wallet-poolboard) { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet-poolboard h4 { color: var(--a-text); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-wallet-pool-row { border-color: var(--a-line) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-ako-day { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-section-head b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-section-head i { color: var(--a-gold); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-section-head small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-ako-day-row { border-color: var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-ako-day-row strong { color: var(--a-gold); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .mrc-ako-day-pos { color: var(--a-dim); }

/* zasady i archiwum - komórki z rozwijaniem */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-help { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-help > summary { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-help :is(.mrc-rules, .mrc-empty) { border: 0 !important; background: none !important; color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-help .mrc-rules h3 { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-coins#view-coins .tp-help .mrc-rules b { color: var(--a-text); }

/* ---------------------------------------------------------------- 8. Sezon i misje (MR-20261117-TYPERAPPLE8) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 8”. Kafelki, misje, Pass, seria, sprint i rekordy jako grafitowe karty z szarymi
   polami; paski postępu cienkie i zaokrąglone (czerwone, ukończone zielone), nagrody do odebrania z czerwoną obwódką i przyciskiem,
   odebrane spokojne z zielonym „Odebrane”. Pył w fiolecie Apple, seria w pomarańczu Apple. */

/* kafelki u góry */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-kpis { gap: 10px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-kpis > div { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-kpis > div > i { border: 0; border-radius: 10px; background: var(--a-red-fill) !important; box-shadow: none; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-kpis > div.dust > i { background: rgba(191, 90, 242, .16) !important; color: #bf5af2 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-kpis b { color: var(--a-text) !important; font-family: var(--a-font); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-kpis small { color: var(--a-dim); font-size: 12px; }
/* „Jak zdobywasz pył?” */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-dust-rules { border: 0 !important; border-radius: 16px; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-dust-rules > i { border: 0; border-radius: 10px; background: rgba(191, 90, 242, .16) !important; color: #bf5af2 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-dust-rules b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-dust-rules small { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-dust-rules strong { color: #bf5af2; }

/* panele: grafitowe karty, nagłówek z czerwonym nadtytułem */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-panel { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-section-head span:first-child { color: var(--a-red) !important; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-section-head h3 { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-section-head small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-section-head > i { color: var(--a-dim2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-note { color: var(--a-dim2); font-size: 12px; }

/* misje tygodniowe */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission > i:first-child { border: 0; border-radius: 10px; background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission small { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission-chip { padding: 2px 9px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; color: var(--a-dim) !important; font-size: 11px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission-chip.goal { background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission-chip.reward { background: rgba(191, 90, 242, .16) !important; color: #bf5af2 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission-bar { height: 6px; border: 0; border-radius: 999px; background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission-bar > i { border-radius: 999px; background: var(--a-red) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission.done .tp-mission-bar > i { background: #30d158 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission-progress { color: var(--a-dim); font-size: 12px; font-style: normal; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission > mark { border: 0 !important; border-radius: 10px; background: var(--a-fill) !important; color: var(--a-text) !important; font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-mission.done > mark { background: rgba(48, 209, 88, .16) !important; color: #30d158 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress :is(.tp-mission, .tp-pass-level) button,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-eng-primary { border: 0 !important; border-radius: 999px; background: var(--a-red) !important; box-shadow: none !important; color: #fff !important; filter: none; font-family: var(--a-font); font-weight: 600; }

/* Pass: nadtytuł, poziom, XP, pasek; poziomy jako szare kafelki */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-hero > div:first-child > span { color: var(--a-red) !important; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-hero h3 { color: var(--a-text); font-family: var(--a-font); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-hero p { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-xp b { color: var(--a-text); font-family: var(--a-font); font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-xp small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-progress { height: 4px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-progress > span { background: var(--a-red) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-rail { scrollbar-color: rgba(255, 255, 255, .22) transparent; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level.unlocked,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level.claimed { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level.unlocked:not(.claimed) { background: var(--a-red-fill) !important; box-shadow: inset 0 0 0 2px var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level:not(.unlocked) { opacity: .6; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level > em { border: 0; border-radius: 50%; background: var(--a-fill) !important; color: var(--a-dim); font-style: normal; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level > b { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level-meta { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-pass-level.claimed > span { color: #30d158; }

/* seria aktywności: płomień w pomarańczowym kółku, bez poświaty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak-fire { border: 0 !important; background: rgba(255, 159, 10, .16) !important; box-shadow: none !important; color: #ff9f0a; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak-fire i { color: #ff9f0a !important; filter: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak-fire b { border: 0; background: #ff9f0a !important; box-shadow: 0 0 0 3px var(--a-card) !important; color: #1c1c1e !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak span:first-child { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak h3 { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak p { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-streak p b { color: var(--a-text); }

/* miesięczny sprint: podium w kolorach medali */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card > em { font-style: normal; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card.p1 > em { color: #ffd60a; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card.p2 > em { color: #e5e5ea; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card.p3 > em { color: #d9b38c; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card b { color: var(--a-text); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card strong { color: var(--a-text); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-card span { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-archive > summary { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-sprint-archive span { border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; color: var(--a-text); }

/* galeria rekordów */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-record { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-record:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-record > i { border: 0; border-radius: 10px; background: var(--a-fill) !important; box-shadow: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-record b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-progress#view-progress .tp-record small { color: var(--a-dim); }

/* ---------------------------------------------------------------- 9. Profil, Statystyki, Odznaki, Skrzynki (MR-20261117-TYPERAPPLE9) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 9”. Grafitowe karty i szare pola jak w poprzednich krokach, liczby duże i białe,
   paski cienkie, podsekcje profilu jako kapsułki, odznaki i skrzynki bez kolorowych pasków przy krawędzi i poświaty.
   Grafiki odznak i skrzynek oraz ich kolory rzadkości bez zmian. */

/* wspólne dla Profilu i Statystyk: panele, przyciski, kafelki */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-panel { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-panel h3 { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) :is(.ar-note, .ar-legend) { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-note b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-btn { height: 32px; min-height: 0; padding: 0 13px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-btn i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-btn:hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-btn.primary { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-btn.primary i { color: #fff; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-kpi { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-kpi strong { color: var(--a-text); font-family: var(--a-font); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-stats):is(#view-profil, #view-stats) .ar-kpi span { color: var(--a-dim); font-size: 12px; }

/* Profil (podsekcje jako kapsułki - także w Archiwum i Zasadach; lista typów - także w Archiwum), liczby w jednej karcie */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail { padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail-title { color: var(--a-dim); font-family: var(--a-font); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-links { gap: 8px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-link { min-height: 34px; padding: 0 14px 0 11px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-link b { color: var(--a-text); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-link i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-link:hover { background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-link.active { background: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail .command-link.active :is(b, i) { color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-profil#view-profil .profile-inline { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-profil#view-profil .profile-inline .pi-item { border-color: var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-profil#view-profil .profile-inline .pi-l { color: var(--a-dim); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-profil#view-profil .profile-inline .pi-n { color: var(--a-text); font-family: var(--a-font); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-profil#view-profil .profile-inline .pi-n i { color: #ff9f0a !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-wrap { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-title { border: 0 !important; border-bottom: 1px solid var(--a-line) !important; background: none !important; color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-title i { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) :is(.mb-count, .mb-gcount) { padding: 1px 8px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-dim) !important; font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-ghead { border: 0 !important; border-top: 1px solid var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-ghead:hover { background: rgba(255, 255, 255, .03) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-gtitle { color: var(--a-text) !important; font-size: 15px; font-weight: 600; letter-spacing: 0 !important; text-transform: none; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) :is(.mb-garrow, .mb-arrow) { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-gbody { border: 0 !important; background: rgba(118, 118, 128, .06) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) :is(.mb-item, .mb-head) { border-color: var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-teams { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-vs { color: var(--a-dim2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-pick { padding: 2px 8px; border: 0 !important; border-radius: 7px; background: var(--a-fill) !important; color: var(--a-text) !important; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-row { border-color: var(--a-line) !important; color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .mb-row b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .ptsbadge { padding: 2px 9px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-dim) !important; font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .ptsbadge.p-hi { background: rgba(48, 209, 88, .16) !important; color: #30d158 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .ptsbadge.p-mid { background: rgba(255, 214, 10, .14) !important; color: var(--a-gold) !important; }

/* Statystyki: nagłówek gracza, wybór gracza, tabela skuteczności z cienkimi paskami */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-top h2 { color: var(--a-text); font-family: var(--a-font); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-top p { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-stats-controls label { color: var(--a-dim); font-family: var(--a-font); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-stats-controls select { height: 38px; border: 0 !important; border-radius: 10px; background-color: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-table { font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-table th { border-color: var(--a-line) !important; background: none !important; color: var(--a-dim2); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-table td { border-color: var(--a-line) !important; color: var(--a-text); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats :is(.ar-meter, .ar-meter-track) { height: 6px; border: 0; border-radius: 999px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-meter-fill { border-radius: 999px; background: var(--a-red) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-rule { border-color: var(--a-line) !important; color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-stats#view-stats .ar-rule b { color: var(--a-text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Odznaki: kafelki u góry, grupy z dużym tytułem, karty bez kolorowego paska i poświaty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-overview > div { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-overview > div > i { border: 0; border-radius: 10px; background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-overview b { color: var(--a-text); font-family: var(--a-font); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-overview small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-group-head h3 { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-group-head small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-group-head > span { padding: 2px 10px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--a-dim) !important; font-size: 12px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-carousel-rail { scrollbar-color: rgba(255, 255, 255, .22) transparent; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .ar-badge.badge-inventory-item { border: 0 !important; border-radius: 18px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .ar-badge.badge-inventory-item::before { display: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .ar-badge.badge-inventory-item.earned { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--badge-color) 55%, transparent) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-item-tier { padding: 2px 9px; border: 0 !important; border-radius: 999px; background: var(--a-fill2) !important; color: var(--badge-color) !important; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .ar-badge b { color: var(--a-text); font-size: 16px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-item-desc { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-item-progress { height: 4px; border: 0; border-radius: 999px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .badge-item-progress > span { border-radius: 999px; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .ar-badge-state { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-badges#view-badges .ar-badge.earned .ar-badge-state { color: #30d158; }

/* Skrzynki: podsumowanie z cienkim paskiem, karty skrzynek bez kolorowego paska, wybrana z białą obwódką */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary > div { border-color: var(--a-line) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary span { color: var(--a-dim); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary span b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary strong { color: var(--a-text); font-family: var(--a-font); font-weight: 700; font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary strong small,
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary > div > small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary progress { -webkit-appearance: none; appearance: none; height: 6px; border: 0; border-radius: 999px; background: var(--a-fill2); overflow: hidden; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary progress::-webkit-progress-bar { border-radius: 999px; background: var(--a-fill2); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary progress::-webkit-progress-value { border-radius: 999px; background: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-crate-summary progress::-moz-progress-bar { border-radius: 999px; background: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-section-label b { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .tp-section-label small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-slider-rail { scrollbar-color: rgba(255, 255, 255, .22) transparent; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-tier-big { border: 0 !important; border-radius: 18px !important; background-color: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-tier-big::before { display: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-tier-big.selected { outline: 0 !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-card-rarity { border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-big-badge { border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; color: var(--a-text) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-big-copy strong { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-big-copy small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-big-status { border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; color: var(--a-text) !important; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-tier-big.selected .mrc-crate-big-status { background: #636366 !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-focus { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-focus-icon { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-focus-top small { color: var(--a-dim); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-focus-top h3 { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-focus-top strong { color: var(--a-text); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-action { border: 0 !important; background: none !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-wait { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-wait b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-action button { border: 0 !important; border-radius: 14px; background: var(--a-red) !important; box-shadow: none !important; color: #fff !important; filter: none; font-family: var(--a-font); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-history { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-crate-history > summary { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-crate#view-crate .mrc-loot-log li { border-color: var(--a-line) !important; color: var(--a-dim); }

/* ---------------------------------------------------------------- 10. Ekwipunek, Archiwum, Zasady, Więcej, Karta gracza, powiadomienia (MR-20261117-TYPERAPPLE10) */
/* Prośba właściciela z 17.11.2026: „rób sekcję 10” - ostatnie miejsca w starym wyglądzie. Te same zasady co w krokach 1-9:
   grafitowe karty, szare pola, przełączniki segmentowe, kapsułki, jeden czerwony przycisk główny; „Karta gracza” na komputerze
   szeroka i pozioma (liczby z lewej, Arena, odznaki i kosmetyki z prawej). Kosmetyki ze skrzynek bez zmian. */

/* wspólny nagłówek bocznego menu (Archiwum, Zasady) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail-title b { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail-title > span { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) :is(#view-profil, #view-archiwum, #view-rules):is(#view-profil, #view-archiwum, #view-rules) .command-rail-note { color: var(--a-dim2); font-size: 12px; }

/* Ekwipunek: Przedmioty / Warsztat i filtry jako przełączniki segmentowe, przedmioty jako grafitowe karty */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-segments { display: flex; gap: 2px; padding: 2px; border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-segments button { flex: 1 1 0; height: 32px; min-height: 0; padding: 0 14px; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; white-space: nowrap; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-segments button.on { background: #636366 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-profile-preview { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-section-label b { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-section-label small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-preview-row { border: 0 !important; border-radius: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-preview-row:not(.mrc-row-skin) { background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-inventory-filters select { height: 38px; border: 0 !important; border-radius: 10px; background-color: var(--a-fill2) !important; box-shadow: none !important; color: var(--a-text); font-family: var(--a-font); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-inventory-filters label { color: var(--a-dim); font-family: var(--a-font); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-item { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-item.equipped { box-shadow: inset 0 0 0 2px rgba(48, 209, 88, .55) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-item-top { color: var(--a-dim); font-size: 11px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-item-top b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-item-art { border: 0 !important; border-radius: 12px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-item > b { color: var(--a-text); font-size: 14px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-button { height: auto; min-height: 36px; padding: 6px 14px; line-height: 1.25; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; filter: none; font-family: var(--a-font); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-button:hover { background: var(--a-fill3) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-button.primary { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-button.primary:disabled { background: var(--a-fill) !important; color: var(--a-dim) !important; opacity: 1; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-workshop { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-craft-card { border: 0 !important; border-radius: 14px !important; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-craft-card b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-inventory#view-inventory .tp-craft-card span { color: #bf5af2; font-weight: 600; }

/* Archiwum: przycisk „Dodaj nowy typ”, poprzednie sezony z przełącznikiem tabel, zwycięzca i tabela w kartach */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-add-bet { min-height: 34px; padding: 0 14px 0 11px; border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-add-bet b { color: var(--a-text); font-size: 13px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-add-bet i { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-history-heading span { color: var(--a-text); font-family: var(--a-font); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-history-heading small { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .rfbar { display: inline-flex; gap: 2px; padding: 2px; border: 0 !important; border-radius: 10px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .rfchip { height: 32px; min-height: 0; padding: 0 14px; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-size: 13px; font-weight: 500; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .rfchip.on { background: #636366 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3) !important; color: #fff !important; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .champ-banner { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .champ-cup { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 214, 10, .16); color: #ffd60a; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .champ-label { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .champ-name { color: var(--a-text); font-size: 18px; font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .champ-pts { padding: 4px 12px; border: 0; border-radius: 999px; background: rgba(255, 214, 10, .14); color: var(--a-gold); font-weight: 700; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-season .panel { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-season table { font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-season th { border-color: var(--a-line) !important; background: none !important; color: var(--a-dim2); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-season td { border-color: var(--a-line) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-archiwum#view-archiwum .archive-season td.tp { color: var(--a-gold); font-weight: 700; }

/* Zasady: karty z wierszami jak w Ustawieniach, uwagi jako szare pola */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-card { border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-card h3 { color: var(--a-text); font-family: var(--a-font); font-size: 17px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-card h3 i { color: var(--a-red); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-row { border-color: var(--a-line) !important; color: var(--a-text); font-size: 14px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-row b { color: var(--a-gold); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-note { border: 0 !important; border-radius: 14px !important; background: var(--a-card) !important; box-shadow: none !important; color: var(--a-dim); font-family: var(--a-font); font-size: 13px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-note b { color: var(--a-text); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-rules#view-rules .rules-note i { color: var(--a-gold); }

/* Więcej: lista jak w Ustawieniach - ikona w czerwonym kafelku, tytuł, opis, strzałka */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-grid { overflow: hidden; border: 0 !important; border-radius: 16px !important; background: var(--a-card) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-link { border-color: var(--a-line) !important; background: none !important; font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-link:hover { background: rgba(255, 255, 255, .03) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-link > i:first-child { border: 0; border-radius: 10px; background: var(--a-red-fill) !important; color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-link b { color: var(--a-text); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-link small { color: var(--a-dim); font-size: 12px; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) #view-more#view-more .more-arrow { color: var(--a-dim2) !important; }

/* Karta gracza (okno po kliknięciu awatara) */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-eng-dialog { border: 0 !important; border-radius: 24px !important; background: var(--a-card) !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08) !important; color: var(--a-text); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-eng-dialog::backdrop { background: rgba(0, 0, 0, .5); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-eng-close { border: 0 !important; border-radius: 50%; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-dim) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2 { --pc-acc: var(--a-red); --pc-tile: var(--a-fill2); --pc-line: var(--a-line); --pc-txt: var(--a-text); --pc-mut: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-top { border-color: var(--a-line) !important; background: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-place { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-kpis > div { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-kpis > div.is-main { background: var(--a-red-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-kpis b { color: var(--a-text); font-variant-numeric: tabular-nums; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-actions :is(button, a) { border: 0 !important; border-radius: 999px; background: var(--a-fill) !important; box-shadow: none !important; color: var(--a-text) !important; font-family: var(--a-font); font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-actions .is-main { background: var(--a-red) !important; color: #fff !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2 .tp-profile-section { border: 0 !important; border-radius: 16px; background: var(--a-fill2) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2 .tp-profile-metric { border-color: var(--a-line) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2 .tp-profile-metric-bar { height: 4px; border-radius: 999px; background: var(--a-fill) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2 .tp-profile-metric-bar > i { border-radius: 999px; background: var(--a-red) !important; box-shadow: none !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2 .tp-profile-metric-meta { color: var(--a-dim); }
/* komputer: szeroka, pozioma karta - liczby typera z lewej, Arena, odznaki i kosmetyki z prawej */
@media (min-width: 900px) {
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-eng-dialog:has(> .tp-pc2) { width: min(1100px, calc(100vw - 48px)) !important; max-height: calc(100dvh - 32px) !important; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 14px; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-body > .tp-profile-metrics-wrap { display: contents !important; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-body .tp-profile-metrics-group.typer { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-body > :not(.tp-profile-metrics-wrap),
  html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-pc2-body .tp-profile-metrics-group.arena { grid-column: 2; margin: 0; }
}

/* Powiadomienia na telefon: środek formularza - przełączniki iOS, szare pola, czerwone zaznaczenia na listach klubów i lig */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn :is(p, .mrgn-summary-state, .mrgn-selection-count) { color: var(--a-dim); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn :is(.mrgn-enable, .mrgn-types > label) { display: flex; align-items: center; gap: 12px; color: var(--a-text); }
/* game_notifications/settings.css wymusza zwykłe pole wyboru (!important) - przełącznik też z !important */
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn :is(.mrgn-enable, .mrgn-types > label) input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  order: 9;
  flex: 0 0 51px !important;
  width: 51px !important;
  height: 31px !important;
  margin: 0 0 0 auto !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 15.5px 50%, #fff 0 12.5px, transparent 13px), rgba(120, 120, 128, .32) !important;
  cursor: pointer;
}
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn :is(.mrgn-enable, .mrgn-types > label) input[type="checkbox"]:checked { background: radial-gradient(circle at 35.5px 50%, #fff 0 12.5px, transparent 13px), #30d158 !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn :is(.mrgn-group, .mrgn-enable) { border: 0 !important; border-radius: 14px; background: var(--a-fill2) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn .mrgn-group h3 { color: var(--a-text); font-family: var(--a-font); font-size: 15px; font-weight: 600; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn .mrgn-options input[type="checkbox"],
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn .mrgn-group > label input[type="checkbox"] { accent-color: var(--a-red) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn :is(input[type="search"], select) { height: 38px; border: 0 !important; border-radius: 10px; background: var(--a-fill) !important; color: var(--a-text); font-family: var(--a-font); }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn .mrgn-device { border: 0; border-radius: 12px; background: var(--a-fill2) !important; color: var(--a-text) !important; }
html.tp-apple.tp-fresh.tp-fresh.tp-fresh.tp-fresh:not([data-mr-theme="light"]) .tp-notification-settings .mrgn button { border: 0 !important; border-radius: 999px; background: var(--a-red) !important; box-shadow: none !important; color: #fff !important; font-family: var(--a-font); font-weight: 600; }
