/* NadirFilm — v3.0.75 DRAFT — miniature selection worlds.
   Home: four newest published curations. Directory: every published curation.
   Use a REAL child layer, not card pseudo-elements, so selected films, overlays,
   admin colors, link hitboxes, pagination and responsive grids remain untouched.
   To add future skins, add --kind class rules below; unknown custom terms stay clean. */

/* The decorative layer is clipped independently INSIDE the card.
   Link still handles hover/focus/click; no image or title overlays intercept taps. */
:is(.nf-home-curations-preview__card, .nf-cur-directory-card) > .nf-curation-miniature__effects {
  position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;
  z-index:1;pointer-events:none;isolation:isolate;
}
:is(.nf-home-curations-preview__card, .nf-cur-directory-card) > .nf-curation-miniature__effects::before,
:is(.nf-home-curations-preview__card, .nf-cur-directory-card) > .nf-curation-miniature__effects::after {
  content:"";position:absolute;display:block;background-repeat:no-repeat;
  pointer-events:none;transform:translateZ(0);
}
/* Home image and shade have negative stacking levels in the original card,
   but these effects must remain below the title and above the backdrop. */
.nf-home-v300 .nf-home-curations-preview__card > .nf-curation-miniature__effects{z-index:0}
.nf-home-v300 .nf-home-curations-preview__name{z-index:2}
.nf-cur-directory-main .nf-cur-directory-card > .nf-curation-miniature__effects{z-index:1}
.nf-cur-directory-main .nf-cur-directory-card > .nf-cur-directory-info{z-index:2}

/* SLASHER — genuine NadirFilm transparent blood assets, NOT a red filter.
   Keep spatters towards right / top, away from the title on lower left. */
:is(.nf-home-curations-preview__card--slasher-restored,.nf-cur-directory-card--slasher-restored) > .nf-curation-miniature__effects::before{
  top:-13%;right:-8%;width:88%;height:113%;
  background-image:url('./curation-textures/slasher-blood-splash-v356.png');
  background-size:contain;background-position:top right;opacity:.87;
  filter:brightness(.78) saturate(1.65) drop-shadow(0 1px 2px rgba(13,0,4,.65));
}
:is(.nf-home-curations-preview__card--slasher-restored,.nf-cur-directory-card--slasher-restored) > .nf-curation-miniature__effects::after{
  bottom:-14%;right:-8%;width:62%;height:96%;
  background-image:url('./curation-textures/slasher-blood-scar-v356.png');
  background-size:contain;background-position:bottom right;opacity:.77;
  filter:brightness(.78) saturate(1.5);
}

/* OUTSIDERS — timeworn archival film / scuffed physical dossier. */
:is(.nf-home-curations-preview__card--outsiders,.nf-cur-directory-card--outsiders) > .nf-curation-miniature__effects::before{
  top:-11%;right:-7%;width:57%;height:92%;
  background-image:url('./curation-textures/outsiders-archive-corner-v365.png');
  background-size:contain;background-position:top right;opacity:.69;
}
:is(.nf-home-curations-preview__card--outsiders,.nf-cur-directory-card--outsiders) > .nf-curation-miniature__effects::after{
  bottom:-24%;right:-9%;width:58%;height:103%;
  background-image:url('./curation-textures/outsiders-archival-scuff-v365.png');
  background-size:contain;background-position:bottom right;opacity:.50;
}
:is(.nf-home-curations-preview__card--outsiders,.nf-cur-directory-card--outsiders) .nf-curation-miniature__effects{
  background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(225,212,189,.028) 4px,transparent 5px 9px);
}
.nf-home-curations-preview__card--outsiders .nf-home-curations-preview__name{font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:-.05em}

/* REALITY — prismatic broken-glass shards, clipped to each mini-card. */
:is(.nf-home-curations-preview__card--neon,.nf-cur-directory-card--neon) > .nf-curation-miniature__effects::before{
  top:-19%;right:-15%;width:75%;height:112%;
  background-image:url('./curation-textures/reality-shard-upper-v373.png');
  background-size:contain;background-position:top right;opacity:.84;
}
:is(.nf-home-curations-preview__card--neon,.nf-cur-directory-card--neon) > .nf-curation-miniature__effects::after{
  bottom:-28%;right:-17%;width:62%;height:92%;
  background-image:url('./curation-textures/reality-shard-lower-v373.png');
  background-size:contain;background-position:bottom right;opacity:.69;
}
:is(.nf-home-curations-preview__card--neon,.nf-cur-directory-card--neon) .nf-curation-miniature__effects{
  background:linear-gradient(138deg,transparent 0 70%,rgba(121,235,240,.15) 70.15%,transparent 70.5% 100%);
}
.nf-home-curations-preview__card--neon .nf-home-curations-preview__name{color:#c1f6f6;text-shadow:0 3px 20px rgba(2,19,30,.82)}

/* JAPAN — stickers / hand-drawn zine doodles, deliberately NOT another
   fracture, archival scratch or slasher overlay. */
:is(.nf-home-curations-preview__card--japan,.nf-cur-directory-card--japan) > .nf-curation-miniature__effects::before{
  top:-12%;right:-17%;width:82%;height:118%;
  background-image:url('./curation-textures/japan-zine-stickers.svg');
  background-size:contain;background-position:top right;opacity:.69;
}
:is(.nf-home-curations-preview__card--japan,.nf-cur-directory-card--japan) > .nf-curation-miniature__effects::after{
  bottom:-24%;right:-12%;width:67%;height:112%;
  background-image:url('./curation-textures/japan-diary-marks.svg');
  background-size:contain;background-position:bottom right;opacity:.90;
}
.nf-home-curations-preview__card--japan .nf-home-curations-preview__name{letter-spacing:-.065em;text-shadow:0 2px 19px rgba(44,10,56,.7)}

/* HAUNTED — mist and old doorway shapes, no human silhouette replacement. */
:is(.nf-home-curations-preview__card--horror,.nf-cur-directory-card--horror) > .nf-curation-miniature__effects::before{
  top:-16%;right:-13%;width:73%;height:137%;
  background-image:url('./curation-textures/haunted-mist.svg');
  background-size:contain;background-position:top right;opacity:.68;
}
:is(.nf-home-curations-preview__card--horror,.nf-cur-directory-card--horror) > .nf-curation-miniature__effects::after{
  top:-23%;right:-13%;width:62%;height:125%;
  background-image:url('./curation-textures/haunted-doorway-v2.svg');
  background-size:contain;background-position:top right;opacity:.39;
}
.nf-home-curations-preview__card--horror .nf-home-curations-preview__name{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.055em}

/* Small screens: preserve display size and safe reading zones. */
@media(max-width:760px){
  :is(.nf-home-curations-preview__card,.nf-cur-directory-card) > .nf-curation-miniature__effects::before{opacity:.58}
  :is(.nf-home-curations-preview__card,.nf-cur-directory-card) > .nf-curation-miniature__effects::after{opacity:.41}
  :is(.nf-home-curations-preview__card--neon,.nf-cur-directory-card--neon) > .nf-curation-miniature__effects::before{opacity:.76}
  :is(.nf-home-curations-preview__card--slasher-restored,.nf-cur-directory-card--slasher-restored) > .nf-curation-miniature__effects::before{opacity:.83}
}
@media(prefers-reduced-motion:reduce){
  :is(.nf-home-curations-preview__card,.nf-cur-directory-card) > .nf-curation-miniature__effects{transition:none!important}
}
