/* OKU FIX18 — precise small two-eye tears, and Nesîmî popup's lost flowers. */
/* The old tear sprites referred to assets/blood-drop-medium.png and small.png, which
   are absent from the available site archive. Hide only those layers on Nesîmî hosts. */
.nesimi-blood-host > .nesimi-blood{display:none!important;}
.nesimi-blood-host{position:relative;}
.nesimi-blood-host > .oku-nesimi-microtear{
 position:absolute!important;z-index:28!important;display:block!important;
 width:4px!important;height:7px!important;border-radius:60% 60% 74% 74%;
 background:radial-gradient(ellipse at 38% 26%,#fc7670 0%,#bb1729 37%,#6c0011 80%,#3b0005 100%);
 box-shadow:0 1px 2px rgba(105,0,10,.38);opacity:0;pointer-events:none;
 transform-origin:50% 0;
 animation:okuNaturalTwoEyeTear var(--tear-duration,2700ms) cubic-bezier(.35,.1,.33,.97) forwards!important;
}
@keyframes okuNaturalTwoEyeTear{
 0%{opacity:0;transform:translate(-50%,0) scale(.50,.20)}
 15%{opacity:.77;transform:translate(-50%,1px) scale(.63,.58)}
 34%{opacity:.98;transform:translate(-50%,4px) scale(.82,1)}
 58%{opacity:.94;transform:translate(calc(-50% + var(--tear-sway,0px)*.35),calc(var(--tear-distance,65px)*.37)) scale(.90,1.04)}
 86%{opacity:.85;transform:translate(calc(-50% + var(--tear-sway,0px)),calc(var(--tear-distance,65px)*.85)) scale(.78,1.03)}
 100%{opacity:0;transform:translate(calc(-50% + var(--tear-sway,0px)),var(--tear-distance,65px)) scale(.68,.84)}
}
/* Clip the tears at the original portrait visual boundary without affecting text. */
#screen-sg-nesimi .sg-person--nesimi-custom .nesimi-blood-host,
#screen-home #okuPermanentSix .oku-six-card--nesimi .nesimi-blood-host,
.nesimi-legend-overlay__visual.nesimi-blood-host{overflow:hidden!important;}
.nesimi-legend-overlay__inner{isolation:isolate;}
.nesimi-legend-overlay__inner>.oku-nesimi-restored-flower{
 position:absolute!important;display:block!important;z-index:1!important;
 pointer-events:none!important;user-select:none!important;object-fit:contain!important;
 height:auto!important;opacity:.88!important;max-width:none!important;
 filter:drop-shadow(0 12px 20px rgba(15,0,0,.24));
}
.nesimi-legend-overlay__inner>.oku-nesimi-restored-flower--rose{
 width:clamp(150px,20vw,340px)!important;left:-5%!important;bottom:-15%!important;
 transform:rotate(-13deg)!important;
}
.nesimi-legend-overlay__inner>.oku-nesimi-restored-flower--lilies{
 width:clamp(160px,22vw,350px)!important;right:-4%!important;bottom:-21%!important;
 transform:rotate(9deg)!important;
}
.nesimi-legend-overlay__inner>.nesimi-legend-overlay__brand,
.nesimi-legend-overlay__inner>.nesimi-legend-overlay__copy,
.nesimi-legend-overlay__inner>.nesimi-legend-overlay__visual{z-index:3!important;}
@media(max-width:900px){
 .nesimi-legend-overlay__inner>.oku-nesimi-restored-flower--rose{width:clamp(100px,35vw,210px)!important;left:-7%!important;bottom:-8%!important;opacity:.60!important;}
 .nesimi-legend-overlay__inner>.oku-nesimi-restored-flower--lilies{width:clamp(100px,38vw,220px)!important;right:-8%!important;bottom:-11%!important;opacity:.68!important;}
}
@media(prefers-reduced-motion:reduce){.oku-nesimi-microtear{display:none!important;animation:none!important;}}
