/* ==========================================================================
   PoródNaMiarę.pl — film „Dzień porodu z planem" na stronie głównej (2026-10).
   Samodzielny moduł: markup buduje /js/pnm-film.js w <div id="pnmFilm">.
   Kolory marki: deep #3E3852, ink #3A3341, róż #A0525E, róż jasny #F7E9E7,
   piasek #FAF5EF, piasek ciemny #EDDFD3; akcent nocy/światła #F3C77E.
   Zasada animacji: styl bazowy = stan KOŃCOWY, keyframes „from" = stan ukryty,
   więc przy prefers-reduced-motion (animation:none) wszystko jest widoczne.
   ========================================================================== */

.pf-section { background: linear-gradient(180deg, #FAF5EF 0%, #F4E8E4 100%); padding: 56px 16px 64px; }
@media (min-width: 768px) { .pf-section { padding: 88px 24px 96px; } }
.pf-wrap { max-width: 1152px; margin: 0 auto; }
.pf-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pf-head .pf-kick { color: #A0525E; font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 10px; }
.pf-head .pf-h { font-family: 'Fraunces', serif; font-weight: 600; color: #3E3852; font-size: clamp(26px, 4vw, 42px); line-height: 1.12; margin: 0 0 12px; }
.pf-head .pf-sub { color: rgba(58, 51, 65, .8); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- Kadr ---------- */
.pf { position: relative; border-radius: 22px; overflow: hidden; background: #1E1A29; color: #FAF5EF;
  box-shadow: 0 40px 90px -40px rgba(62, 56, 82, .65), 0 0 0 1px rgba(62, 56, 82, .08);
  isolation: isolate; -webkit-tap-highlight-color: transparent; }
@media (min-width: 768px) { .pf { border-radius: 28px; } }
.pf-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1E1A29; }
@media (min-width: 640px) { .pf-frame { aspect-ratio: 16 / 9; } }

.pf-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.pf-scene.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.pf-scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pf-shift { transform: translateX(-260px); }
@media (min-width: 1024px) { .pf-shift { transform: none; } }

/* tła scen */
.pf-s-night { background: radial-gradient(ellipse 70% 80% at 66% 30%, #3B3560 0%, #241F34 55%, #17141F 100%); }
.pf-s-ask { background: radial-gradient(ellipse 60% 70% at 66% 44%, #4A5470 0%, #2A2D3D 50%, #1A1B25 100%); }
.pf-s-dad { background: #1A1620; }
.pf-s-kreator { background: radial-gradient(ellipse 65% 80% at 60% 30%, #6A4B55 0%, #3A2C3C 45%, #1F1927 100%); }
.pf-s-plan { background: radial-gradient(ellipse 65% 80% at 64% 45%, #4E4263 0%, #2B2439 55%, #1B1724 100%); }
.pf-s-baby { background: linear-gradient(180deg, #241E36 0%, #4A3150 40%, #8E5464 72%, #D49A7E 100%); }
.pf-s-final { background: #1A1620; }

/* nakładki kinowe */
.pf-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 17, 28, .55) 0%, rgba(20, 17, 28, 0) 22%, rgba(20, 17, 28, 0) 70%, rgba(30, 26, 41, .9) 100%); }
@media (min-width: 1024px) {
  .pf-shade { background:
    linear-gradient(90deg, rgba(20, 17, 28, .92) 0%, rgba(20, 17, 28, .72) 30%, rgba(20, 17, 28, 0) 58%),
    linear-gradient(180deg, rgba(20, 17, 28, .5) 0%, rgba(20, 17, 28, 0) 18%); }
}
.pf-vig { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 85% 85% at 60% 45%, transparent 55%, rgba(8, 6, 14, .55) 100%); }
.pf-grain { position: absolute; inset: -50%; z-index: 3; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: pf-grain 1.2s steps(6) infinite; }
.pf-brand { position: absolute; right: 18px; bottom: 14px; z-index: 4; font: 600 11px/1 'Figtree', system-ui, sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(250, 245, 239, .55); pointer-events: none; }
@media (max-width: 1023px) { .pf-brand { display: none; } }

/* ---------- Pasek sterowania (segmenty jak w „stories") ---------- */
.pf-top { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 6; display: flex; align-items: center; gap: 10px; }
@media (min-width: 768px) { .pf-top { top: 16px; left: 22px; right: 22px; gap: 14px; } }
.pf-segs { flex: 1; display: flex; gap: 5px; }
.pf-seg { flex: 1; position: relative; height: 22px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; }
.pf-seg::before, .pf-seg i { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.pf-seg::before { background: rgba(250, 245, 239, .26); }
.pf-seg i { background: #FAF5EF; transform-origin: 0 50%; transform: scaleX(0); }
.pf-seg:focus-visible { outline: 2px solid #F3C77E; outline-offset: 2px; border-radius: 4px; }
.pf-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #FAF5EF;
  background: rgba(250, 245, 239, .14); border: 1px solid rgba(250, 245, 239, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s; }
.pf-btn:hover { background: rgba(250, 245, 239, .26); }
.pf-btn:focus-visible { outline: 2px solid #F3C77E; outline-offset: 2px; }
.pf-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pf-btn .pf-i-play { display: none; }
.pf.is-paused .pf-btn .pf-i-play, .pf.is-idle .pf-btn .pf-i-play { display: block; }
.pf.is-paused .pf-btn .pf-i-pause, .pf.is-idle .pf-btn .pf-i-pause { display: none; }

/* ---------- Plansza startowa ---------- */
.pf-poster { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; text-align: center; cursor: pointer;
  background: radial-gradient(ellipse 70% 80% at 50% 40%, rgba(59, 53, 96, .55) 0%, rgba(23, 20, 31, .2) 70%);
  border: 0; padding: 0; color: #FAF5EF; width: 100%; transition: opacity .6s ease, visibility 0s linear .6s; }
.pf:not(.is-idle) .pf-poster { opacity: 0; visibility: hidden; pointer-events: none; }
.pf-poster-in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pf-play { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: #A0525E; box-shadow: 0 18px 40px -12px rgba(160, 82, 94, .8); }
.pf-play::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(243, 199, 126, .55); animation: pf-ring 2.4s ease-out infinite; }
.pf-play svg { width: 28px; height: 28px; fill: #FAF5EF; margin-left: 5px; }
.pf-poster-l { font: 600 13px/1.3 'Figtree', system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(250, 245, 239, .85); }
.pf-poster:focus-visible .pf-play { outline: 3px solid #F3C77E; outline-offset: 6px; }

/* ---------- Napisy ---------- */
.pf-caps { position: relative; display: grid; padding: 18px 20px 24px; background: #1E1A29; z-index: 5; }
@media (min-width: 640px) { .pf-caps { padding: 22px 32px 30px; } }
@media (min-width: 1024px) {
  .pf-caps { position: absolute; left: 0; bottom: 0; width: min(47%, 570px); padding: 0 0 52px 56px; background: none; pointer-events: none; }
}
.pf-cap { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.pf-cap.is-on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.pf-cap a, .pf-cap button { pointer-events: auto; }
.pf-ck { margin: 0 0 8px; font: 600 11px/1.3 'Figtree', system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #F0B9C0; }
.pf-ct { margin: 0 0 10px; font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(23px, 3.1vw, 42px); line-height: 1.1; color: #FAF5EF; text-wrap: balance; }
.pf-cl { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(250, 245, 239, .84); max-width: 46ch; }
@media (min-width: 1024px) { .pf-cl { font-size: 16.5px; } .pf-ck { font-size: 12px; } }
.pf-cap.is-on .pf-ck { animation: pf-rise .7s .15s cubic-bezier(.2, .7, .2, 1) both; }
.pf-cap.is-on .pf-ct { animation: pf-title 1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.pf-cap.is-on .pf-cl { animation: pf-rise .8s .75s cubic-bezier(.2, .7, .2, 1) both; }
.pf-cap.is-on .pf-cta-wrap { animation: pf-rise .8s 1.1s cubic-bezier(.2, .7, .2, 1) both; }

/* finał: ceny + przyciski */
.pf-prices { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 16px; padding: 0; list-style: none; }
.pf-prices li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px;
  background: rgba(250, 245, 239, .1); border: 1px solid rgba(250, 245, 239, .22); color: rgba(250, 245, 239, .9); }
.pf-prices b { font-family: 'Fraunces', serif; font-size: 16px; color: #FAF5EF; }
.pf-prices li.pf-pop { background: rgba(160, 82, 94, .35); border-color: rgba(240, 185, 192, .6); }
.pf-prices small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #F3C77E; }
.pf-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pf-cta1 { display: inline-block; background: #A0525E; color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(160, 82, 94, .9); transition: background-color .2s, transform .2s; }
.pf-cta1:hover { background: #8C4651; transform: translateY(-1px); }
.pf-cta2 { display: inline-block; color: #FAF5EF; font-weight: 600; padding: 13px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(250, 245, 239, .4); transition: background-color .2s; }
.pf-cta2:hover { background: rgba(250, 245, 239, .12); }
.pf-cta1:focus-visible, .pf-cta2:focus-visible, .pf-replay:focus-visible { outline: 3px solid #F3C77E; outline-offset: 3px; }
.pf-replay { margin-top: 12px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: rgba(250, 245, 239, .7);
  font: 600 13px/1.3 'Figtree', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.pf-replay:hover { color: #FAF5EF; }
@media (max-width: 639px) { .pf-cta1, .pf-cta2 { flex: 1 1 100%; text-align: center; } .pf-prices { gap: 6px; } .pf-prices li { padding: 6px 10px; font-size: 12px; } .pf-prices b { font-size: 14.5px; } }

/* ---------- Elementy HTML w scenach ---------- */
.pf-photo { position: absolute; inset: 0; overflow: hidden; }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 45%; }
@media (min-width: 1024px) {
  .pf-s-dad .pf-photo { left: 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
}
.pf-s-dad .pf-photo img { object-position: 38% 50%; }
.pf-s-final .pf-photo img { object-position: 50% 64%; filter: saturate(1.05); }
.pf-s-final .pf-photo::after { content: ''; position: absolute; inset: 0; background: rgba(24, 20, 32, .38); }
.pf-leak { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: radial-gradient(ellipse 40% 60% at 85% 20%, rgba(243, 199, 126, .55), transparent 70%); }

/* pytania na izbie przyjęć */
.pf-bub { position: absolute; left: var(--mx); top: var(--my); transform: translate(-50%, -50%); z-index: 1;
  max-width: 46%; padding: 7px 11px; border-radius: 14px 14px 14px 4px; background: rgba(250, 245, 239, .95); color: #3A3341;
  font: 600 12px/1.25 'Figtree', system-ui, sans-serif; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); white-space: normal; text-align: left; }
.pf-bub:nth-child(even) { border-radius: 14px 14px 4px 14px; }
@media (max-width: 639px) { .pf-bub.pf-m-hide { display: none; } }
@media (min-width: 640px) { .pf-bub { font-size: 14px; padding: 9px 14px; max-width: 30%; } }
@media (min-width: 1024px) { .pf-bub { left: var(--x); top: var(--y); font-size: 15px; max-width: 24%; } }

/* plan Wiktorii + pieczęć + lista obszarów */
.pf-paperbox { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .pf-paperbox { justify-content: flex-start; padding-left: 52%; } }
.pf-paper { position: relative; height: 72%; margin-top: 7%; }
@media (min-width: 640px) { .pf-paper { height: 76%; margin-top: 4%; } }
.pf-paper img { height: 100%; width: auto; display: block; border-radius: 6px; transform: rotate(-3deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.pf-stamp { position: absolute; right: -16%; bottom: 6%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: rgba(160, 82, 94, .95); color: #FAF5EF; border: 2px dashed rgba(250, 245, 239, .7); outline: 4px solid rgba(160, 82, 94, .45);
  transform: rotate(-12deg); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.pf-stamp b { font-family: 'Fraunces', serif; font-size: 28px; line-height: 1; }
.pf-stamp span { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
@media (min-width: 640px) { .pf-stamp { width: 112px; height: 112px; } .pf-stamp b { font-size: 34px; } .pf-stamp span { font-size: 10.5px; } }
@media (min-width: 1024px) { .pf-paper { height: 72%; margin-top: 2%; } .pf-stamp { right: -7%; bottom: 3%; } }
.pf-areas { display: none; }
@media (min-width: 1024px) {
  .pf-areas { display: flex; flex-direction: column; gap: 9px; position: absolute; left: 83%; right: 2.5%; top: 50%; transform: translateY(-50%);
    margin: 0; padding: 0; list-style: none; z-index: 1; }
  .pf-areas li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; line-height: 1.25; color: rgba(250, 245, 239, .92); }
  .pf-areas li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%;
    background: #A0525E url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FAF5EF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; }
}

/* ---------- Animacje scen (tylko w scenie aktywnej) ---------- */
.pf-draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: 0; }
.is-on .pf-draw { animation: pf-draw var(--dur, 2.4s) var(--d, 0s) cubic-bezier(.45, .05, .25, 1) both; }
.is-on .pf-in { animation: pf-fade 1.1s var(--d, 0s) ease both; }
.is-on .pf-up { animation: pf-up 1s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) both; }
.pf-tb { transform-box: fill-box; transform-origin: 50% 50%; }
.is-on .pf-star { animation: pf-fade .8s var(--d, 0s) ease both, pf-twinkle 3.2s calc(var(--d, 0s) + .8s) ease-in-out infinite; }
.is-on .pf-colon { animation: pf-blink 1s steps(1) infinite; }
.is-on .pf-moon { animation: pf-fade 1.6s .2s ease both, pf-glow 4s 1.8s ease-in-out infinite; }
.is-on .pf-pulse { animation: pf-fade .4s var(--d, 0s) both, pf-pulse 1.6s var(--d, 0s) ease-out infinite; }
.is-on .pf-bub { animation: pf-pop .55s var(--d, 0s) cubic-bezier(.3, 1.4, .5, 1) both, pf-bob 3s calc(var(--d, 0s) + .6s) ease-in-out infinite alternate; }
.is-on .pf-photo img { animation: pf-kb 9s ease-out both; }
.is-on .pf-leak { animation: pf-leak 6s ease-in-out both; }
.is-on .pf-dot { animation: pf-dot .45s var(--d, 0s) cubic-bezier(.3, 1.5, .5, 1) both; }
.is-on .pf-card { animation: pf-card 1s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) both; }
.is-on .pf-paper { animation: pf-paper 1.3s .2s cubic-bezier(.2, .7, .2, 1) both; }
.is-on .pf-stamp { animation: pf-stamp .7s 3.1s cubic-bezier(.3, 1.3, .5, 1) both; }
.is-on .pf-areas li { animation: pf-left .6s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) both; }
.is-on .pf-sun { animation: pf-sun 6.5s cubic-bezier(.2, .6, .3, 1) both; }
.is-on .pf-beat { animation: pf-beat 1.25s var(--d, 0s) ease-in-out infinite; }
.is-on .pf-hearts { animation: pf-up 1.4s .5s cubic-bezier(.2, .7, .2, 1) both; }
.is-on .pf-mote { animation: pf-mote var(--t, 6s) var(--d, 0s) linear infinite; }

@keyframes pf-grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-6%, 4%) } 40% { transform: translate(5%, -3%) } 60% { transform: translate(-3%, -6%) } 80% { transform: translate(6%, 5%) } 100% { transform: translate(0, 0) } }
@keyframes pf-ring { from { transform: scale(.9); opacity: .9 } to { transform: scale(1.35); opacity: 0 } }
@keyframes pf-rise { from { opacity: 0; transform: translateY(16px) } }
@keyframes pf-title { from { opacity: 0; transform: translateY(22px); -webkit-filter: blur(6px); filter: blur(6px) } }
@keyframes pf-fade { from { opacity: 0 } }
@keyframes pf-up { from { opacity: 0; transform: translateY(40px) } }
@keyframes pf-left { from { opacity: 0; transform: translateX(-14px) } }
@keyframes pf-draw { from { stroke-dashoffset: var(--len, 2000) } }
@keyframes pf-twinkle { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
@keyframes pf-blink { 50% { opacity: .1 } }
@keyframes pf-glow { 0%, 100% { opacity: 1 } 50% { opacity: .75 } }
@keyframes pf-pulse { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(2.4); opacity: 0 } }
@keyframes pf-pop { from { opacity: 0; transform: translate(-50%, -30%) scale(.6) } }
@keyframes pf-bob { from { margin-top: 0 } to { margin-top: -6px } }
@keyframes pf-kb { from { transform: scale(1.04) } to { transform: scale(1.15) translate(-1.5%, -1%) } }
@keyframes pf-leak { 0% { opacity: 0 } 40% { opacity: .65 } 100% { opacity: .3 } }
@keyframes pf-dot { from { opacity: 0; transform: scale(0) } }
@keyframes pf-card { from { opacity: 0; transform: translateY(30px) scale(.92) } }
@keyframes pf-paper { from { opacity: 0; transform: translateY(70px) rotate(5deg) } }
@keyframes pf-stamp { 0% { opacity: 0; transform: scale(2.3) rotate(-30deg) } 70% { opacity: 1; transform: scale(.92) rotate(-10deg) } 100% { opacity: 1; transform: scale(1) rotate(-12deg) } }
@keyframes pf-sun { from { transform: translateY(190px) } }
@keyframes pf-beat { 0%, 100% { transform: scale(1) } 14% { transform: scale(1.08) } 28% { transform: scale(.99) } 42% { transform: scale(1.05) } 60% { transform: scale(1) } }
@keyframes pf-mote { 0% { opacity: 0; transform: translateY(0) } 15% { opacity: .9 } 100% { opacity: 0; transform: translateY(-260px) } }

/* pauza = zamrożenie wszystkich animacji kadru */
.pf.is-paused .pf-frame *, .pf.is-paused .pf-caps *, .pf.is-idle .pf-frame *, .pf.is-idle .pf-caps * { animation-play-state: paused !important; }

/* Ograniczony ruch: bez animacji i ziarna; sceny przełączają się samym przenikaniem. */
@media (prefers-reduced-motion: reduce) {
  .pf *, .pf *::before, .pf *::after { animation: none !important; }
  .pf-grain { display: none; }
  .pf-scene, .pf-cap { transition-duration: .3s; }
}

/* przycisk w finale = „obejrzyj ponownie"; rezerwa miejsca przed zbudowaniem kadru (bez skoku układu) */
.pf.is-ended .pf-btn .pf-i-play { display: block; }
.pf.is-ended .pf-btn .pf-i-pause { display: none; }
.pf:empty { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .pf:empty { aspect-ratio: 16 / 9; } }

/* Telefon/tablet: zwykłe napisy mają stałą wysokość (stos w siatce), finał z cenami pokazuje się osobno. */
@media (max-width: 1023px) {
  .pf-cap { align-self: start; }
  .pf-cap-final { display: none; }
  .pf.is-ended .pf-cap-final { display: block; }
  .pf.is-ended .pf-cap:not(.pf-cap-final) { display: none; }
}

/* ---------- v2 (2026-10): prawdziwe zdjęcia z 7 września + muzyka ---------- */
.pf-s-night, .pf-s-baby { background: #1A1620; }
@media (min-width: 1024px) {
  .pf-scene .pf-photo { left: 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
}
.pf-s-night .pf-photo img { object-position: 45% 40%; }
.pf-s-dad .pf-photo img { object-position: 55% 40%; }
.pf-s-baby .pf-photo img { object-position: 50% 55%; }
.pf-s-final .pf-photo img { object-position: 55% 12%; filter: none; }
.pf-s-final .pf-photo::after { background: rgba(24, 20, 32, .18); }

/* przycisk muzyki: wyciszony = przekreślony głośnik; gra = fale */
.pf-snd .pf-i-snd { display: none; }
.pf.is-music .pf-snd .pf-i-snd { display: block; }
.pf.is-music .pf-snd .pf-i-mute { display: none; }
.pf-snd { position: relative; }
.pf:not(.is-music):not(.is-idle):not(.is-ended) .pf-snd::after { content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(243, 199, 126, .7); animation: pf-ring 2.2s ease-out infinite; }
.pf.is-music .pf-snd { background: rgba(243, 199, 126, .28); border-color: rgba(243, 199, 126, .6); }
@media (prefers-reduced-motion: reduce) { .pf .pf-snd::after { animation: none !important; } }
