/* Strony informacyjne ClassMe (app/Discover/InfoPages.php), w stylu „Ruch”, ale stonowane: niebieski jako jedyny kolor
   dominujący, jasne odcienie tła na kafle, żółty tylko jako drobny akcent (naklejka w nagłówku, haczyki).
   Pochylone liczby i etykiety, delikatne koła w kolorze tła i animacje wejścia.
   Ładowany po home.css; reszta (hero, split, przyciski) to wspólne klasy hp-*. */

.ip-page { overflow-x: clip; }
.ip-c1, .ip-c2, .ip-c3, .ip-c4, .ip-c5 { --b: var(--ip-tint); --f: var(--cm-dark, #14204A); }
.ip-page { --ip-tint: color-mix(in srgb, var(--cm-primary, #2350F5) 9%, #fff); --ip-soft: color-mix(in srgb, var(--cm-primary, #2350F5) 22%, #fff); --ip-ring: color-mix(in srgb, var(--cm-primary, #2350F5) 8%, transparent); }
.ip-sticker, .ip-ico, .ip-pod, .ip-frame { --display: var(--ruch-display, 'Archivo', 'Manrope', system-ui, sans-serif); }

/* ---- nagłówek: naklejka, konfetti ---- */
.hp-hero.hp-hero--info { min-height: 400px; }
.hp-hero--info .hp-hero-inner { padding-top: 56px; padding-bottom: 68px; }
.hp-hero--info h1 { font-size: clamp(34px, 5.2vw, 60px); max-width: 720px; }
.hp-hero--info .hp-lead { max-width: 600px; margin: 0 0 26px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.hp-hero--info .hp-actions:empty { display: none; }
.ip-sticker { position: absolute; z-index: 1; right: max(7%, 28px); top: 50%; width: clamp(130px, 17vw, 216px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 30%; background: var(--cm-yellow, #FFC93C); color: var(--cm-yellow-ink, #14204A); transform: translateY(-50%) rotate(-7deg); box-shadow: 0 34px 54px -22px rgba(8, 14, 40, .6), inset 0 0 0 6px rgba(255, 255, 255, .22); animation: ip-float 5.5s ease-in-out infinite; }
.ip-sticker > b { font: italic 800 clamp(70px, 9.5vw, 128px)/1 var(--display); font-variation-settings: 'wdth' 122; letter-spacing: -.04em; }
.ip-sticker > b.ip-stars { font-size: clamp(22px, 3vw, 36px); letter-spacing: .04em; font-style: normal; }
.ip-sticker > .hp-ico { width: 46%; height: 46%; stroke-width: 1.6; }
.ip-sticker > span { position: absolute; right: -14px; bottom: -14px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--cm-dark, #14204A); box-shadow: 0 10px 22px -8px rgba(8, 14, 40, .5); }
.ip-sticker > span .hp-ico { width: 26px; height: 26px; stroke-width: 2; }
.ip-sticker > b + span { display: grid; }
.ip-sticker > .hp-ico + span { display: none; }
.ip-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ip-confetti i { position: absolute; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--cm-yellow, #FFC93C); opacity: .9; animation: ip-float 6s ease-in-out infinite; }
.ip-confetti i:nth-child(1) { left: 54%; top: 16%; }
.ip-confetti i:nth-child(2) { left: 61%; top: 74%; width: 22px; height: 10px; border-radius: 6px; background: #fff; transform: rotate(-24deg); animation-delay: -1s; }
.ip-confetti i:nth-child(3), .ip-confetti i:nth-child(4), .ip-confetti i:nth-child(5) { display: none; }
.ip-confetti i:nth-child(3) { left: 47%; top: 80%; background: var(--ruch-c2, #FF6B2C); width: 10px; height: 10px; border-radius: 2px; transform: rotate(18deg); animation-delay: -2s; }
.ip-confetti i:nth-child(4) { left: 72%; top: 14%; background: var(--ruch-c4, #00B37E); width: 12px; height: 12px; animation-delay: -3s; }
.ip-confetti i:nth-child(5) { left: 90%; top: 78%; width: 26px; height: 10px; border-radius: 6px; background: var(--cm-yellow, #FFC93C); transform: rotate(32deg); animation-delay: -4s; }
.ip-confetti i:nth-child(6) { left: 38%; top: 12%; width: 9px; height: 9px; background: #fff; animation-delay: -5s; }
@keyframes ip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hp-section[id] { scroll-margin-top: 72px; }
.ip-deco { position: relative; overflow: clip; } /* clip, nie hidden: hidden psuje przyklejony pasek wyniku (position: sticky) */
.ip-deco > * { position: relative; z-index: 1; }
.ip-deco::before { content: ''; position: absolute; right: -130px; top: -130px; width: 300px; height: 300px; border-radius: 50%; border: 34px solid var(--ip-ring); pointer-events: none; z-index: 0; }

/* ---- pojawianie się przy przewijaniu (klasę ip-js dodaje info-pages.js; bez niej wszystko jest widoczne) ---- */
.ip-js [data-reveal]:not(.is-in) { opacity: 0; }
.ip-js [data-reveal].is-in { animation: ip-rise .65s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) backwards; }
@keyframes ip-rise { from { opacity: 0; transform: translateY(28px) scale(.97); } }

/* ---- zdjęcie w ramce: kolorowy blok pod spodem i lekkie przechylenie ---- */
.ip-frame { position: relative; }
.ip-frame::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border-radius: 30px; background: var(--ip-soft); z-index: 0; }
.ip-frame .hp-media { position: relative; z-index: 1; transform: rotate(-2deg); box-shadow: 0 26px 50px -26px rgba(8, 14, 40, .6); }
.hp-split--rev .ip-frame::before { inset: 16px 16px -16px -16px; }
.hp-split--rev .ip-frame .hp-media { transform: rotate(2deg); }

/* ---- dekalog jako lista kontrolna ---- */
.ip-check { position: relative; }
.ip-score { position: sticky; top: 68px; z-index: 6; display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 0 auto 26px; padding: 12px 28px 12px 12px; border-radius: 999px; background: var(--cm-dark, #14204A); color: #fff; box-shadow: 0 22px 44px -20px rgba(20, 32, 74, .75); }
.ip-score p { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
.ip-ring { --p: 0; position: relative; flex: none; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--cm-yellow, #FFC93C) calc(var(--p) * 1%), rgba(255, 255, 255, .18) 0); transition: background .3s; }
.ip-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--cm-dark, #14204A); }
.ip-ring b { position: relative; font: italic 800 17px/1 var(--ruch-display, inherit); font-variation-settings: 'wdth' 116; white-space: nowrap; }
.ip-check[data-level="high"] .ip-ring { background: conic-gradient(var(--ruch-c4, #00B37E) calc(var(--p) * 1%), rgba(255, 255, 255, .18) 0); }
.ip-decalogue { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ip-decalogue li { position: relative; border-radius: 26px; overflow: hidden; background: var(--b); color: var(--f); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.ip-decalogue li:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 24px 40px -24px rgba(8, 14, 40, .6); }
.ip-decalogue li.is-on { background: var(--cm-primary, #2350F5); color: #fff; }
.ip-decalogue li:has(input:focus-visible) { outline: 3px solid var(--cm-dark, #14204A); outline-offset: 4px; }
.ip-decalogue label { display: block; position: relative; min-height: 138px; padding: 22px 70px 22px 24px; cursor: pointer; }
.ip-decalogue input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ip-d-num { position: absolute; right: -4px; bottom: -30px; font: italic 800 124px/1 var(--ruch-display, inherit); font-variation-settings: 'wdth' 122; color: var(--cm-primary, #2350F5); opacity: .11; pointer-events: none; transition: color .2s; }
.ip-decalogue li.is-on .ip-d-num { color: #fff; opacity: .16; }
.ip-decalogue strong { display: block; margin-bottom: 6px; font: italic 800 20px/1.2 var(--ruch-display, inherit); font-variation-settings: 'wdth' 108; }
.ip-d-desc { display: block; font-size: 14.5px; line-height: 1.5; opacity: .94; }
.ip-d-tick { position: absolute; right: 20px; top: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid currentColor; opacity: .75; transition: background .2s, color .2s, transform .2s, opacity .2s; }
.ip-d-tick .hp-ico { width: 20px; height: 20px; stroke-width: 2.4; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.ip-decalogue li.is-on .ip-d-tick { background: #fff; border-color: #fff; color: var(--cm-primary, #2350F5); opacity: 1; transform: rotate(-8deg) scale(1.08); }
.ip-decalogue li.is-on .ip-d-tick .hp-ico { opacity: 1; transform: scale(1); }

/* ---- kolorowe kafle z ikonami ---- */
.ip-tiles { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.ip-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
.ip-tiles li { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 24px; background: var(--b); color: var(--f); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.ip-tiles li:hover { transform: translateY(-4px) rotate(.4deg); box-shadow: 0 22px 38px -22px rgba(8, 14, 40, .6); }
.ip-tiles strong { font: italic 800 18px/1.2 var(--ruch-display, inherit); font-variation-settings: 'wdth' 108; }
.ip-tiles li > span:not(.ip-ico) { font-size: 14.5px; line-height: 1.5; opacity: .94; }
.ip-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: #fff; color: var(--cm-primary, #2350F5); transform: rotate(-6deg); }
.ip-ico .hp-ico { width: 24px; height: 24px; stroke-width: 2; }

/* ---- opinie: ścieżka w czterech krokach ---- */
.ip-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.ip-flow li { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 26px; border-radius: 26px; background: var(--b); color: var(--f); overflow: hidden; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.ip-flow li:hover { transform: translateY(-5px) rotate(-.5deg); }
.ip-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -27px; top: 50%; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: #fff; color: var(--cm-primary, #2350F5); font-weight: 800; box-shadow: 0 6px 14px -6px rgba(8, 14, 40, .35); overflow: visible; }
.ip-flow em { position: absolute; right: 10px; top: -10px; font: italic 800 92px/1 var(--ruch-display, inherit); font-variation-settings: 'wdth' 122; color: var(--cm-primary, #2350F5); opacity: .11; pointer-events: none; }
.ip-flow-1 { --b: var(--ruch-c2, #FF6B2C); --f: var(--ruch-on-c2, #14204A); }
.ip-flow-2 { --b: var(--cm-yellow, #FFC93C); --f: var(--cm-yellow-ink, #14204A); }
.ip-flow-3 { --b: var(--ruch-c4, #00B37E); --f: var(--ruch-on-c4, #062A1F); }
.ip-flow-4 { --b: var(--cm-dark, #14204A); --f: #fff; }
.ip-flow li { background: var(--b); color: var(--f); }
.ip-flow em { color: var(--f); opacity: .2; }
.ip-flow .ip-ico { background: rgba(255, 255, 255, .32); color: inherit; }
.ip-flow strong { font: italic 800 19px/1.2 var(--ruch-display, inherit); font-variation-settings: 'wdth' 108; }
.ip-flow li > span:not(.ip-ico) { font-size: 14.5px; line-height: 1.5; opacity: .94; }

/* ---- opinie: zasady jako jasne pigułki (w kolorze tła sekcji) ---- */
.ip-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ip-pills li { position: relative; padding: 15px 18px 15px 56px; border-radius: 18px; background: #fff; border: 1px solid var(--ip-soft); color: var(--cm-dark, #14204A); font-weight: 700; line-height: 1.45; transform: skewX(-4deg); box-shadow: 0 10px 26px -22px rgba(20, 32, 74, .6); }
.ip-pills li:nth-child(even) { margin-left: 26px; }
.ip-pills li::before { content: '✓'; position: absolute; left: 14px; top: 50%; margin-top: -16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cm-primary, #2350F5); color: #fff; font-weight: 800; transform: skewX(4deg); }

/* większe nagłówki sekcji, wyrównane do lewej (strona opinii) */
.ip-head { justify-content: flex-start; text-align: left; }
.ip-head h2, .ip-h2 { margin: 0 0 14px; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; color: var(--cm-dark, #14204A); }
.ip-head p { max-width: 640px; font-size: 17px; }
.ip-split h2.ip-h2, .hp-split h2.ip-h2 { font-size: clamp(34px, 4.4vw, 52px); }

/* ---- opinie: podium i ranking ---- */
.ip-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.ip-chips a { padding: 8px 16px; border-radius: 12px; border: 2px solid var(--cm-border); background: #fff; color: var(--cm-ink); font-weight: 800; font-size: 14px; text-decoration: none; transform: skewX(-8deg); transition: transform .2s, border-color .15s; }
.ip-chips a:hover { border-color: var(--cm-primary); transform: skewX(-8deg) translateY(-2px); }
.ip-chips a.is-on { background: var(--cm-primary); border-color: var(--cm-primary); color: #fff; }
.ip-podium { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; margin: 0 0 16px; }
.ip-pod { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; min-height: 270px; padding: 26px 24px 22px; border-radius: 30px; background: var(--b); color: var(--f) !important; text-decoration: none !important; overflow: hidden; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.ip-pod { padding-top: 88px; }
.ip-pod--1 { min-height: 330px; padding-top: 92px; }
.ip-pod:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 28px 44px -26px rgba(8, 14, 40, .65); }
/* medale: złoto, srebro, brąz — kolor nakładki na zdjęciu szkoły (okładka profilu), a bez zdjęcia sam kolor medalu */
.ip-medal--gold   { --b: #D8A62A; --f: #2B2000; --m: 216, 166, 42;  --m1: #FFE79A; --m2: #D8A62A; }
.ip-medal--silver { --b: #B6BECB; --f: #14204A; --m: 182, 190, 203; --m1: #F4F6F9; --m2: #B6BECB; }
.ip-medal--bronze { --b: #A8642B; --f: #FFFFFF; --m: 168, 100, 43;  --m1: #E7B07F; --m2: #A8642B; }
.ip-pod-bg { position: absolute; inset: 0; z-index: -2; }
.ip-pod-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-pod::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--m), .97) 0%, rgba(var(--m), .9) 55%, rgba(var(--m), .78) 100%); }
.ip-pod-medal { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(140deg, var(--m1), var(--m2)); border: 3px solid rgba(255, 255, 255, .85); color: #14204A; font: italic 800 22px/1 var(--display); box-shadow: 0 10px 20px -8px rgba(8, 14, 40, .6); }
.ip-pod strong { margin-top: auto; max-width: 92%; font: italic 800 23px/1.15 var(--display); font-variation-settings: 'wdth' 108; }
.ip-pod-city { font-size: 14px; opacity: .9; }
.ip-pod-score { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ip-pod-score b { font: italic 800 26px/1 var(--display); font-variation-settings: 'wdth' 116; }
.ip-pod .rv-meter { background: linear-gradient(90deg, var(--f) var(--pct), color-mix(in srgb, var(--f) 26%, transparent) var(--pct)); -webkit-background-clip: text; background-clip: text; }
.ip-pod small { font-weight: 700; opacity: .9; }
.ip-pod-go { align-self: flex-start; margin-top: 10px; padding: 7px 14px; border-radius: 10px; background: #fff; color: var(--cm-dark, #14204A); font-weight: 800; font-size: 13.5px; transform: skewX(-8deg); }
.ip-rank { list-style: none; counter-reset: rank; margin: 0; padding: 0; display: grid; gap: 10px; }
.ip-rank li { counter-increment: rank; display: grid; grid-template-columns: 44px 52px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px -22px rgba(20, 32, 74, .6); }
.ip-rank li::before { content: counter(rank); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--cm-primary-soft); color: var(--cm-primary-dark); font: italic 800 17px/1 var(--ruch-display, inherit); transform: skewX(-8deg); }
.ip-logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 14px; background: var(--ip-tint); border: 1px solid var(--ip-soft); }
.ip-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ip-logo b { font: italic 800 22px/1 var(--ruch-display, inherit); color: var(--cm-primary, #2350F5); }
.ip-rank-name { min-width: 0; }
.ip-rank-name strong { display: block; color: var(--cm-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-rank-name span { display: block; font-size: 13.5px; color: var(--cm-ink-soft); }
.ip-rank-score { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ip-rank-score b { color: var(--cm-dark); }
.ip-rank-score small { color: var(--cm-ink-soft); font-weight: 600; }
.ip-rank .hp-btn { padding: 10px 16px; font-size: 14.5px; }

/* ---- „na dziś”: pigułki kategorii w module ---- */
.ip-today { margin-top: 0; }
.ip-today > * { position: relative; z-index: 1; }
.ip-today::after { z-index: 0; }
.ip-cats { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 0; border: 0; min-width: 0; }
.ip-cats legend { width: 100%; margin: 0 0 8px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cm-ink-soft); }
.ip-cats label { cursor: pointer; }
.ip-cats input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ip-cats span { display: block; padding: 9px 16px; border-radius: 12px; border: 2px solid var(--cm-border); background: #fff; color: var(--cm-ink); font-weight: 800; font-size: 14px; transform: skewX(-8deg); transition: transform .2s, border-color .15s, background .15s; }
.ip-cats label:hover span { border-color: var(--cm-primary); transform: skewX(-8deg) translateY(-2px); }
.ip-cats input:checked + span { background: var(--cm-primary); border-color: var(--cm-primary); color: #fff; }
.ip-cats input:focus-visible + span { outline: 3px solid var(--cm-dark, #14204A); outline-offset: 2px; }

/* ---- zapisy: pionowa ścieżka ---- */
.ip-path { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 22px; }
.ip-path li { position: relative; display: flex; align-items: flex-start; gap: 20px; }
.ip-path li:not(:last-child)::after { content: ''; position: absolute; left: 31px; top: 72px; bottom: -20px; border-left: 3px dashed color-mix(in srgb, var(--cm-dark, #14204A) 25%, transparent); }
.ip-path em { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--cm-primary, #2350F5); color: #fff; font: italic 800 30px/1 var(--ruch-display, inherit); font-variation-settings: 'wdth' 122; transform: rotate(-6deg); box-shadow: 0 14px 24px -14px rgba(8, 14, 40, .6); }
.ip-path strong { display: block; margin-bottom: 4px; font: italic 800 20px/1.2 var(--ruch-display, inherit); font-variation-settings: 'wdth' 108; color: var(--cm-dark); }
.ip-path span { color: var(--cm-ink-soft); font-size: 15.5px; line-height: 1.55; }

/* ---- powiązane strony: kolorowe kafelki jak pod nagłówkiem strony głównej ---- */
.ip-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ip-related li { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 16px 20px; border-radius: 22px; background: var(--ip-tint); color: var(--cm-dark, #14204A); font-weight: 800; overflow: hidden; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.ip-related li:hover, .ip-related li:focus-within { transform: translateY(-4px) rotate(-.5deg); }
.ip-related li:focus-within { outline: 3px solid var(--cm-primary); outline-offset: 2px; }
.ip-related span { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: #fff; color: var(--cm-primary, #2350F5); transform: rotate(-6deg); }
.ip-related a { color: inherit; text-decoration: none; font-family: var(--ruch-display, inherit); font-style: italic; font-variation-settings: 'wdth' 108; }
.ip-related a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.ip-related a::after { content: ' →'; }

@media (max-width: 1100px) {
	.ip-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ip-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.ip-flow li:not(:last-child)::after { display: none; }
}
@media (max-width: 960px) {
	.ip-decalogue, .ip-related { grid-template-columns: minmax(0, 1fr); }
	.ip-podium { grid-template-columns: minmax(0, 1fr); }
	.ip-pod, .ip-pod--1 { min-height: 200px; }
	.ip-frame { margin: 0 16px 16px 0; }
	.ip-sticker { top: auto; bottom: 22px; right: 18px; width: 108px; transform: rotate(-7deg); }
	.ip-sticker > span { width: 44px; height: 44px; right: -10px; bottom: -10px; }
	.ip-confetti i:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
	.hp-hero--info .hp-hero-inner { padding-bottom: 128px; } /* miejsce na naklejkę pod przyciskami */
	.ip-score { top: 62px; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 28px; }
	.ip-ring { width: 60px; height: 60px; }
	.ip-ring::before { inset: 6px; }
	.ip-ring b { font-size: 13px; }
	.ip-score p { font-size: 14px; }
	.ip-decalogue label { padding: 20px 64px 20px 20px; }
	.ip-tiles--2, .ip-tiles--4, .ip-flow { grid-template-columns: minmax(0, 1fr); }
	.ip-pills li:nth-child(even) { margin-left: 0; }
	.ip-rank li { grid-template-columns: 40px 44px minmax(0, 1fr); }
	.ip-logo { width: 44px; height: 44px; }
	.ip-rank-score, .ip-rank .hp-btn { grid-column: 2 / -1; }
	.ip-path em { width: 54px; height: 54px; font-size: 26px; }
	.ip-path li:not(:last-child)::after { left: 26px; top: 62px; }
	}
@media (prefers-reduced-motion: reduce) {
	.ip-sticker, .ip-confetti i { animation: none !important; }
	.ip-decalogue li, .ip-tiles li, .ip-flow li, .ip-pod, .ip-related li, .ip-chips a, .ip-cats span, .ip-d-tick, .ip-d-tick .hp-ico { transition: none !important; }
}

/* koła z motywu „Ruch” na tych stronach: ciszej, w kolorze tła */
.ip-page .hp-hero--info .ruch-arcs svg { opacity: 1; }
.ip-page .hp-hero--info .ruch-arcs path:nth-child(1) { stroke: rgba(255, 255, 255, .22); }
.ip-page .hp-hero--info .ruch-arcs path:nth-child(2) { stroke: rgba(255, 255, 255, .14); }
.ip-page .hp-hero--info .ruch-arcs path:nth-child(3) { stroke: rgba(255, 255, 255, .09); }
.ip-page .hp-dark::after, .ip-page .hp-final::after { border-color: rgba(255, 255, 255, .1); }
.ip-page .hp-surprise::after { border-color: var(--ip-ring); }

/* ---- filtry rankingu ---- */
.ip-filter { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 26px; }
.ip-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cm-ink-soft); }
.ip-filter select { min-width: 220px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--cm-border); background: #fff; color: var(--cm-ink); font: 700 15px/1.2 inherit; text-transform: none; letter-spacing: 0; }
.ip-filter select:focus-visible { outline: 3px solid var(--cm-primary, #2350F5); outline-offset: 2px; }

/* ---- „na dziś”: osoba w nagłówku (zdjęcie bez tła z /ops albo ilustracja) ---- */
.ip-page--today .hp-hero.hp-hero--info { min-height: 440px; }
.ip-person { position: absolute; z-index: 1; right: max(3%, 14px); bottom: 0; height: calc(100% - 24px); display: flex; align-items: flex-end; pointer-events: none; }
.ip-person svg, .ip-person img { height: 100%; width: auto; max-width: 46vw; object-fit: contain; display: block; filter: drop-shadow(0 22px 26px rgba(8, 14, 40, .35)); }
.ip-athlete { animation: ip-float 5.5s ease-in-out infinite; }

/* ---- zapisy: „Wiemy, że czasem się nie chce” ---- */
.ip-manifest .hp-wrap { position: relative; padding-left: 52px; max-width: 980px; margin-left: max(0px, calc((100% - 1200px) / 2)); }
.ip-manifest .hp-wrap::before { content: ''; position: absolute; left: 24px; top: 8px; bottom: 8px; width: 8px; border-radius: 4px; background: linear-gradient(var(--cm-primary, #2350F5), var(--cm-yellow, #FFC93C)); transform: skewX(-8deg); }
.ip-manifest h2 { margin: 0 0 16px; font: italic 800 clamp(34px, 5.2vw, 62px)/1.04 var(--ruch-display, inherit); font-variation-settings: 'wdth' 116; letter-spacing: -.02em; color: var(--cm-dark, #14204A); }
.ip-manifest p { margin: 0; max-width: 680px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--cm-ink-soft); }

/* ---- dekalog: komplet 10/10 (konfetti i zaproszenie do polecenia szkoły) ---- */
.ip-confetti-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }
.ip-win { position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%); width: min(700px, calc(100% - 24px)); display: flex; align-items: center; gap: 20px; padding: 20px 56px 20px 24px; border-radius: 26px; background: var(--cm-dark, #14204A); color: #fff; box-shadow: 0 34px 64px -22px rgba(8, 14, 40, .75); animation: ip-toast .55s cubic-bezier(.2, .8, .2, 1) both; }
.ip-win[hidden] { display: none; }
.ip-win strong { display: block; margin-bottom: 4px; font: italic 800 clamp(20px, 3vw, 26px)/1.15 var(--ruch-display, inherit); font-variation-settings: 'wdth' 112; }
.ip-win p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.ip-win .hp-btn { flex: none; }
.ip-win-x { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ip-win-x:hover { background: rgba(255, 255, 255, .26); }
@keyframes ip-toast { from { opacity: 0; transform: translate(-50%, 30px) scale(.96); } }
@media (max-width: 640px) {
	.ip-win { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 50px 18px 20px; bottom: 12px; }
	.ip-page--today .hp-hero--info .hp-hero-inner { padding-bottom: 150px; }
	.ip-person { height: 58%; right: 6px; }
	.ip-person svg, .ip-person img { max-width: 52vw; }
	.ip-manifest .hp-wrap { padding-left: 40px; }
	.ip-manifest .hp-wrap::before { left: 16px; }
	.ip-filter select { min-width: 0; width: 100%; }
	.ip-filter label { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ip-win, .ip-athlete { animation: none !important; }
}
