/*
 * powerpoint-switch.com — dodatki do wspólnego szablonu (szablon.css + strona.css): baner zgody, dokument
 * „Prywatność i cookies”, 404, przycisk w stopce, zastrzeżenie znaku towarowego. Kolory wyłącznie z tokenów --tp-*.
 * Tylko strona statyczna (reguła 164) — panel tego arkusza nie ładuje.
 */

/* baner zgody — przyklejony do dołu, nie zasłania całej strony */
.pps-zgoda { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; border-radius: var(--tp-r, 16px);
  background: var(--tp-bg-2); color: var(--tp-text); border: 1px solid var(--tp-line); box-shadow: 0 18px 48px -18px rgba(0, 0, 0, .55); }
.pps-zgoda[hidden] { display: none; }
.pps-zgoda p { flex: 1 1 280px; margin: 0; font-size: 14px; line-height: 1.55; color: var(--tp-text-2); }
.pps-zgoda a { color: var(--tp-text); font-weight: 600; }
.pps-zgoda-przyciski { display: flex; gap: 10px; flex-wrap: wrap; }
/* oba przyciski tej samej wielkości: odmowa nie może być trudniejsza od zgody */
.pps-zgoda-przyciski .tp-btn { min-width: 120px; min-height: 44px; font-size: 15px; }

/* „Ustawienia cookies” w stopce wygląda jak sąsiednie linki */
.tp-footer .pps-link { all: unset; cursor: pointer; color: var(--tp-muted); font: inherit; }
.tp-footer .pps-link:hover { color: var(--tp-text); }
.tp-footer .pps-link:focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 2px; }
.pps-znak { display: block; margin-top: 8px; font-size: 12px; color: var(--tp-muted); }

/* dokument i 404: kolumna do czytania */
.pps-dokument { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.pps-dokument h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; margin: 0 0 12px; }
.pps-dokument h2 { font-size: 20px; margin: 32px 0 8px; }
.pps-dokument p { color: var(--tp-text-2); line-height: 1.7; }
.pps-meta { font-size: 14px; color: var(--tp-muted); }
.pps-404 { text-align: center; padding-top: 96px; }

/* Galeria poradników wideo (plan `poradniki-na-stronie`). WYGLĄD = WZORY STRONY, nie własne kolory (uwaga właściciela 2026-11-16):
   nagłówek `.tp-head c` + `.tp-kicker` + `.tp-h2` + `.lead`, przełącznik wersji `.tp-seg` (jak PL | EN w pasku), karty `.tp-card`
   (jak „Funkcje” na stronie głównej), przyciski `.tp-btn`. Zaznaczenie = barwy `.tp-btn-primary` (tekst/tło odwrócone), nie akcent. */
.pps-ukryte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section.pps-por { padding: 56px 0 96px; }
.pps-por-gora { margin-bottom: 36px; }
.pps-por-gora .tp-kicker { margin-bottom: 18px; }
.pps-por-wersje { margin-top: 22px; }
.pps-por-wersje a { padding: 7px 16px; font-size: 14px; }

.pps-por-filtry { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; }
.pps-por-filtry[hidden] { display: none; }
.pps-por-szukaj input { width: 100%; max-width: 420px; min-height: 48px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 16px;
  border: 1px solid var(--tp-line); background: var(--tp-bg-2); color: var(--tp-text); }
.pps-por-szukaj input::placeholder { color: var(--tp-muted); }
.pps-por-szukaj input:focus-visible { outline: 2px solid var(--tp-text); outline-offset: 2px; }
.pps-por-dzialy { display: flex; flex-wrap: wrap; gap: 8px; }
/* pigułka = `.tp-btn` w odmianie `.tp-btn-soft`; zaznaczona = barwy `.tp-btn-primary` */
.pps-por-pigulka { min-height: 40px; padding: 0 16px; font-size: 15px; background: var(--tp-bg-2); border-color: var(--tp-line); color: var(--tp-text); }
.pps-por-pigulka span { color: var(--tp-muted); font-weight: 600; font-size: 13px; }
.pps-por-pigulka:hover { transform: translateY(-2px); }
.pps-por-pigulka.on { background: var(--tp-text); border-color: var(--tp-text); color: var(--tp-bg); }
.pps-por-pigulka.on span { color: var(--tp-bg); opacity: .7; }

.pps-por-siatka { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pps-por-karta[hidden] { display: none; }
.pps-por-link { height: 100%; color: inherit; text-decoration: none; }
.pps-por-link:focus-visible { outline: 2px solid var(--tp-text); outline-offset: 3px; }
.pps-por-miniatura { position: relative; }
.tp-card-pic.v.pps-por-miniatura { aspect-ratio: 16 / 9; }
.pps-por-graj { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, .55);
  opacity: 0; transition: opacity .2s; }
.pps-por-graj::after { content: ''; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff; }
.pps-por-link:hover .pps-por-graj, .pps-por-link:focus-visible .pps-por-graj { opacity: 1; }
.pps-por-czas { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .75);
  color: #fff; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pps-por-dzial { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 650; color: var(--tp-muted); }
.pps-por-link .tp-card-txt h3 { font-size: 18px; line-height: 1.3; }
.pps-por-link .tp-card-txt p { font-size: 15px; }
.pps-por-brak { text-align: center; color: var(--tp-text-2); padding: 32px 0; }
.pps-por-brak[hidden] { display: none; }

.pps-por-strony { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pps-por-strony[hidden] { display: none; }
.pps-por-strona { min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--tp-bg-2); border-color: var(--tp-line); color: var(--tp-text); }
.pps-por-strona.on { background: var(--tp-text); border-color: var(--tp-text); color: var(--tp-bg); }
.pps-por-strona:disabled { opacity: .4; cursor: default; }

.pps-por-zablokuj { overflow: hidden; }
.pps-por-okno { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pps-por-okno[hidden] { display: none; }
.pps-por-okno-tlo { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.pps-por-okno-ramka { position: relative; width: min(960px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 20px 20px;
  border-radius: var(--tp-r, 16px); background: var(--tp-bg-2); color: var(--tp-text); border: 1px solid var(--tp-line); box-shadow: var(--tp-shadow); }
.pps-por-okno-gora { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pps-por-okno-gora h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.pps-por-x { min-width: 40px; min-height: 40px; border-radius: 999px; border: 1px solid var(--tp-line); background: var(--tp-bg-2);
  color: var(--tp-text); font-size: 22px; line-height: 1; cursor: pointer; }
.pps-por-film { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pps-por-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pps-por-info { margin: 10px 0 0; font-size: 13px; color: var(--tp-muted); }
.pps-por-okno-opis { color: var(--tp-text-2); }
.pps-por-okno-dol { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* pasek na stronie głównej („37 poradników wideo”) — w stylu karty strony */
.pps-por-pasek { max-width: var(--tp-max, 1200px); margin: 0 auto; padding: 0 24px; }
.pps-por-pasek-tresc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 22px 26px;
  border-radius: var(--tp-r, 16px); background: var(--tp-bg-2); border: 1px solid var(--tp-line); }
.pps-por-pasek-tresc strong { font-size: 20px; letter-spacing: -.02em; }

@media (max-width: 560px) {
  section.pps-por { padding: 32px 0 72px; }
  .pps-por-siatka { grid-template-columns: 1fr; }
  .pps-por-pasek { padding: 0 16px; }
}
