/* v1.1.3: unify vote hearts on /film-dla-nas/ and anchor them safely on top of posters. */
body.smfd-heart-unified{--smfd-heart-selected:#f16a99}
html body.smfd-heart-unified button.smnc-like{
  box-sizing:border-box!important;appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
  margin:0!important;padding:0!important;flex:0 0 46px!important;
  border:1px solid rgba(255,255,255,.32)!important;border-radius:50%!important;
  background:rgba(13,18,28,.32)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  color:transparent!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;
  text-indent:0!important;white-space:nowrap!important;overflow:hidden!important;
  box-shadow:0 4px 16px rgba(0,0,0,.28)!important;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
html body.smfd-heart-unified button.smnc-like::before{
  content:''!important;display:block!important;position:static!important;flex:0 0 24px!important;
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  margin:0!important;padding:0!important;background:#fff!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat!important;
  transform:none!important;opacity:1!important;
}
html body.smfd-heart-unified button.smnc-like.is-liked{
  background:rgba(53,20,39,.58)!important;border-color:rgba(255,176,201,.72)!important;box-shadow:0 5px 18px rgba(0,0,0,.34)!important;
}
html body.smfd-heart-unified button.smnc-like.is-liked::before{background:var(--smfd-heart-selected)!important}
html body.smfd-heart-unified button.smnc-like:not(:disabled):hover{
  background:rgba(28,34,49,.52)!important;border-color:rgba(255,255,255,.52)!important;transform:translateY(-1px);
}
html body.smfd-heart-unified button.smnc-like:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}
html body.smfd-heart-unified button.smnc-like:disabled{opacity:.72!important;cursor:wait!important}
html body.smfd-heart-unified button.smnc-like > *{font-size:0!important;line-height:0!important}
html body.smfd-heart-unified button.smnc-like > svg{display:none!important}
/* Force a reliable anchor inside the poster/image area for the problematic section. */
body.smfd-heart-unified .smfd-heart-anchor,
body.smfd-heart-unified .smnf-card .sm-showcase-poster,
body.smfd-heart-unified .smnf-card .sm-showcase-image,
body.smfd-heart-unified .smnf-card .smnf-card-image,
body.smfd-heart-unified .smnf-card .smnf-card-poster{position:relative!important}
body.smfd-heart-unified .smfd-heart-anchor{overflow:hidden!important;border-radius:inherit}
body.smfd-heart-unified .smnf-card .smfd-ux-heart-holder,
body.smfd-heart-unified .smfd-heart-anchor > .smfd-ux-heart-holder{
  position:absolute!important;top:18px!important;right:18px!important;left:auto!important;bottom:auto!important;
  z-index:30!important;display:flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;width:auto!important;height:auto!important;pointer-events:auto!important;
}
body.smfd-heart-unified .smnf-card .smfd-ux-heart{position:static!important;inset:auto!important}
/* Offset existing Netflix hearts in other sections to the same visual position. */
body.smfd-heart-unified .smnc-mini-like-float{top:16px!important;right:16px!important}
html body.smfd-heart-unified button.smnc-home-heart,
html body.smfd-heart-unified button.smnc-archive-heart,
html body.smfd-heart-unified button.smnc-hero-heart{top:16px!important;right:16px!important}
html body.smfd-heart-unified .smnc-related .smnc-mini-home button.smnc-home-heart{top:16px!important;right:16px!important}
@media(max-width:640px){
  body.smfd-heart-unified .smnf-card .smfd-ux-heart-holder,
  body.smfd-heart-unified .smfd-heart-anchor > .smfd-ux-heart-holder{top:14px!important;right:14px!important}
  body.smfd-heart-unified .smnc-mini-like-float{top:12px!important;right:12px!important}
  html body.smfd-heart-unified button.smnc-home-heart,
  html body.smfd-heart-unified button.smnc-archive-heart,
  html body.smfd-heart-unified button.smnc-hero-heart,
  html body.smfd-heart-unified .smnc-related .smnc-mini-home button.smnc-home-heart{top:12px!important;right:12px!important}
}
@media(prefers-reduced-motion:reduce){html body.smfd-heart-unified button.smnc-like{transition:none!important}}
.smfd-ux-attribution{max-width:1150px;margin:28px auto 14px;padding:0 15px;color:#9d98a3;font-size:11px;line-height:1.4}
.smfd-ux-attribution a{color:inherit;text-decoration:underline}

/* v1.1.4: heart + simplified UX in the shared-picks section. */
body.smfd-heart-unified .smfd-shared-section .smfd-shared-card p.sm-showcase-why{display:none!important}
body.smfd-heart-unified .smfd-shared-section .smfd-shared-card .sm-showcase-copy > p:not(.sm-showcase-eyebrow){margin-bottom:0!important}
body.smfd-heart-unified .smfd-shared-section .smfd-shared-card{position:relative}

/* 1.1.4 — restored original pink subtitle without restoring the long description. */
body.smfd-heart-unified .smfd-shared-section .smfd-shared-subtitle{
  margin:8px 0 0!important;color:#ff9db6!important;font-size:14px!important;
  font-weight:750!important;line-height:1.4!important;
}

/* v1.1.4.2: simplify footer of Netflix carousel without disabling lazy loading.
   The red "Pokaż kolejne filmy" button is visually removed. Scrolling and
   arrows still fetch additional movies through the original catalogue JS. */
html body.smfd-heart-unified .smnf-section button.smnf-more,
html body.smfd-heart-unified .smnf-section .smnf-more{display:none!important}
html body.smfd-heart-unified .smnf-section .smnf-status[hidden],
html body.smfd-heart-unified .smnf-section .smnf-extra.smfd-catalog-actions-empty{display:none!important}

body.smfd-heart-unified .smfd-clickable-card{cursor:pointer}
body.smfd-heart-unified .smfd-clickable-card:focus-visible{outline:2px solid #f39ab5;outline-offset:3px}

/* 1.1.4.12: native film links and content-sized carousel rows. */
body.smfd-heart-unified .smfd-film-link{color:inherit!important;text-decoration:none}
body.smfd-heart-unified .smfd-poster-link{position:absolute;inset:0;z-index:2;display:block}
body.smfd-heart-unified .smfd-heart-anchor{position:relative}
body.smfd-heart-unified .smfd-ux-heart-holder{z-index:4!important}
html body.smfd-heart-unified .sm-pair .smnf-section .sm-showcase-carousel,
html body.smfd-heart-unified .sm-pair .smnf-section .sm-showcase-track,
html body.smfd-heart-unified .sm-pair .smfd-rank-track{height:auto!important;max-height:none!important}
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card,
html body.smfd-heart-unified .sm-pair .smfd-rank-card{height:auto!important;max-height:none!important;align-self:stretch!important}
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy{height:auto!important;max-height:none!important;flex:0 0 auto!important;padding-bottom:15px!important}
html body.smfd-heart-unified .sm-pair .smnf-section .sm-showcase-actions{flex-shrink:0!important;height:auto!important;max-height:none!important;overflow:visible!important}

/* 1.1.4.13: bold titles in Netflix for two. */
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy h3,
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy h3 a{font-weight:700!important}

/* 1.1.4.14: compact bottom spacing and matching ranking heart placement. */
html body.smfd-heart-unified.smfd-cards-measured .sm-pair .smnf-section .smnf-card,
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card{min-height:0!important;height:auto!important;max-height:none!important;align-self:flex-start!important}
html body.smfd-heart-unified.smfd-cards-measured .sm-pair .smnf-section .smnf-card .sm-showcase-copy,
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy{padding-bottom:8px!important;min-height:0!important;flex:0 0 auto!important}
html body.smfd-heart-unified .smnf-card .sm-showcase-actions{margin-bottom:0!important}
html body.smfd-heart-unified .smnf-card .smfd-ux-heart-holder{top:16px!important;right:16px!important}
@media(max-width:640px){html body.smfd-heart-unified .smnf-card .smfd-ux-heart-holder{top:14px!important;right:14px!important}}

/* 1.1.4.17: same image-relative heart inset in both carousels. */
html body.smfd-heart-unified{--smfd-poster-heart-inset:16px}
html body.smfd-heart-unified .smnf-card .sm-showcase-poster .sm-poster.smfd-heart-anchor{position:relative!important}
html body.smfd-heart-unified .smnf-card .smfd-heart-anchor > .smfd-ux-heart-holder,
html body.smfd-heart-unified .smfd-rank-poster > .smfd-ux-heart-holder{
 top:var(--smfd-poster-heart-inset)!important;right:var(--smfd-poster-heart-inset)!important;
 left:auto!important;bottom:auto!important;
}
@media(max-width:640px){html body.smfd-heart-unified{--smfd-poster-heart-inset:14px}}

/* 1.1.4.19: title-to-facts spacing matches the pair ranking (7px). */
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy{row-gap:7px!important}
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy > h3{
 min-height:0!important;height:auto!important;margin:0!important;flex:0 0 auto!important;
}
html body.smfd-heart-unified .sm-pair .smnf-section .smnf-card .sm-showcase-copy > .sm-showcase-meta{
 margin-top:0!important;margin-bottom:0!important;flex:0 0 auto!important;
}

/* 1.1.4.27: compact editorial links in a single row. */
html body .sm-pair-nav.smfd-seans-links{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:1100px!important;margin:24px auto!important;padding:2px!important;box-sizing:border-box!important;overflow-x:auto!important}
html body .sm-pair-nav.smfd-seans-links a{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:1 0 auto!important;min-width:0!important;box-sizing:border-box!important;padding:11px 12px!important;min-height:44px!important;border:1px solid rgba(238,120,164,.25)!important;border-radius:12px!important;background:linear-gradient(135deg,#232333,#1a1c29)!important;color:#f4edf2!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;text-align:center!important;white-space:nowrap!important;transition:background .18s,border-color .18s!important}
html body .sm-pair-nav.smfd-seans-links a:hover{background:#302536!important;border-color:#ed82a9!important}
html body .sm-pair-nav.smfd-seans-links a:focus-visible{outline:2px solid #f39ab9!important;outline-offset:-2px!important}
html body .sm-pair-nav.smfd-seans-links .smfd-seans-icon{width:18px!important;height:18px!important;flex:0 0 18px!important;color:#f39ab9!important}
html body .sm-pair-nav.smfd-seans-links .smfd-seans-label{display:block!important;white-space:nowrap!important}
@media(max-width:760px){html body .sm-pair-nav.smfd-seans-links{justify-content:flex-start!important;gap:6px!important;margin:20px auto!important}html body .sm-pair-nav.smfd-seans-links a{flex:0 0 auto!important;font-size:12px!important;padding:10px!important}}

@media(prefers-reduced-motion:reduce){html body .sm-pair-nav.smfd-seans-links a{transition:none!important}}

/* Shared rectangular genre panel; all options visible without inner scrolling. */
html body.smfd-heart-unified .smfd-rank-filterbar{position:relative!important;width:100%!important}
html body.smfd-heart-unified .smfd-rank-filter{position:static!important}
html body.smfd-heart-unified .smfd-icon-panel{left:0!important;right:0!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important;padding:12px!important;gap:7px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.smfd-heart-unified .smfd-genre-panel{grid-template-columns:repeat(8,minmax(0,1fr))!important}
html body.smfd-heart-unified .smfd-icon-panel .smfd-rank-filter-option{justify-content:flex-start!important;gap:8px!important;min-width:0!important;white-space:normal!important;padding:10px 8px!important;min-height:48px!important}
html body.smfd-heart-unified .smfd-filter-svg{width:22px!important;height:22px!important;flex:0 0 22px!important;color:#f39ab9!important}
html body.smfd-heart-unified .smfd-icon-panel .smfd-rank-opt-count{margin-left:auto}
@media(max-width:1000px){html body.smfd-heart-unified .smfd-genre-panel{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:600px){html body.smfd-heart-unified .smfd-icon-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important;gap:4px!important}}

html body.smfd-heart-unified .smfd-native-filterbar{position:relative!important;overflow:visible!important}
html body.smfd-heart-unified .smfd-native-filterbar .smnf-field{position:static!important}
html body.smfd-heart-unified .smfd-native-filterbar .smfd-rank-filter-trigger{min-width:190px}

/* 1.1.4.29: compact popovers only in Co obejrzec na Netflixie. */
html body.smfd-heart-unified .smfd-netflix-filterbar{width:560px!important;max-width:100%!important;box-sizing:border-box!important}
html body.smfd-heart-unified .smfd-netflix-filterbar .smfd-rank-filter{flex:1 1 0;min-width:0}
html body.smfd-heart-unified .smfd-netflix-filterbar .smfd-icon-panel{width:100%!important;max-width:560px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:8px!important;gap:5px!important}
html body.smfd-heart-unified .smfd-netflix-filterbar .smfd-icon-panel .smfd-rank-filter-option{min-height:44px!important;padding:8px 6px!important;gap:6px!important;overflow-wrap:anywhere}
html body.smfd-heart-unified .smfd-netflix-filterbar .smfd-icon-panel .smfd-filter-svg{width:18px!important;height:18px!important;flex-basis:18px!important}
@media(max-width:380px){html body.smfd-heart-unified .smfd-netflix-filterbar .smfd-icon-panel .smfd-rank-filter-option{font-size:11px!important;gap:4px!important;padding:7px 4px!important}}

/* v1.1.4.30: compact guide and footer spacing on Film dla nas only. */
html body.smfd-heart-unified .sm-fdn-guide{margin-top:16px!important}
html body.smfd-heart-unified .sm-pair .sm-pair-info{margin-top:10px!important;margin-bottom:0!important}
html body.smfd-heart-unified .sm-pair{padding-bottom:12px!important;margin-bottom:8px!important}
html body.smfd-heart-unified .sm-pair-shell{padding-bottom:8px!important}
html body.smfd-heart-unified #sm-conversand-bottom-banner{margin-top:10px!important;margin-bottom:16px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}

/* 1.1.4.31: Netflix for two — 15 genre choices in three columns. */
html body.smfd-heart-unified .sm-pair .smfd-two-filterbar .smfd-rank-filter-trigger{width:100%!important;min-width:0!important;min-height:44px!important;text-align:left!important}
html body.smfd-heart-unified .sm-pair .smfd-two-filterbar .smfd-icon-panel{left:auto!important;right:0!important;top:100%!important;width:min(560px,100%)!important;max-width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:8px!important;gap:5px!important;z-index:100!important}
html body.smfd-heart-unified .sm-pair .smfd-two-filterbar .smfd-icon-panel button.smfd-rank-filter-option{display:flex!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important;gap:6px!important;min-width:0!important;min-height:44px!important;padding:8px 6px!important;font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
html body.smfd-heart-unified .sm-pair .smfd-two-filterbar .smfd-filter-svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
html body.smfd-heart-unified dialog.smfd-share-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:420px;max-height:calc(100dvh - 32px);margin:auto;padding:24px;background:#171a25;color:#f7f5fb;border:1px solid #614153;border-radius:18px;box-shadow:0 20px 65px #0008;font:16px/1.5 system-ui,sans-serif;overflow:auto}
html body.smfd-heart-unified dialog.smfd-share-dialog::backdrop{background:#000a}
html body.smfd-heart-unified .smfd-share-dialog h2{margin:0 0 12px;font-size:22px;line-height:1.25;color:#fff}
html body.smfd-heart-unified .smfd-share-dialog p{margin:0 0 22px;color:#e4dfe7;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
html body.smfd-heart-unified .smfd-share-dialog .smfd-share-close{display:block;width:100%;min-height:48px;padding:12px 18px;border:0;border-radius:11px;background:#ff315f;color:#fff;font:600 16px/1.4 system-ui;cursor:pointer}
html body.smfd-heart-unified .smfd-share-dialog .smfd-share-close:focus-visible{outline:3px solid #ffcf79;outline-offset:4px}

/* 1.1.4.32: never inherit the ranking's 244px flex basis inside a column field. */
html body.smfd-heart-unified .sm-pair .smnf-controls.smfd-two-filterbar{position:relative!important}
html body.smfd-heart-unified .sm-pair .smnf-controls.smfd-two-filterbar .smfd-rank-filter{display:block!important;flex:0 0 auto!important;flex-basis:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
html body.smfd-heart-unified .sm-pair .smnf-controls.smfd-two-filterbar .smfd-rank-filter-trigger{box-sizing:border-box!important;height:43px!important;min-height:43px!important;padding:9px 12px!important;font-size:14px!important;line-height:1.4!important}
