/* R50 farbe – the red thread in the dark view (Furkan 22.11.: „zu hell … der weiße String“). Dark copies of the strand pictures
   (patch_x50_farbe.py: same picture, colour of the dark /profil rope, sheen pulled down) replace the light ones in the dark view
   only. Selectors mirror the light rules (only background-image is replaced, sizes/positions stay). The light page is unchanged. */
html[data-theme=dark]:root body .tangle-line{background-image:url(/assets/r50/dk-faden-quer.webp)}
html[data-theme=dark]:root body .work-feature .yarn-line{background-image:url(/assets/r50/dk-faden-quer-v33.webp)}
html[data-theme=dark]:root body .work-feature .yarn-line-v34,html[data-theme=dark]:root body .pj-return::before{background-image:url(/assets/r50/dk-faden-strang-v34.webp)}
html[data-theme=dark]:root body :is(.page-thread,.rope-line){background-image:url(/assets/r50/dk-faden-gerade.webp)}
html[data-theme=dark]:root body .yarn-ph-top{background-image:url(/assets/r50/dk-faden-handy-oben.webp)}
html[data-theme=dark]:root body .yarn-ph-v{background-image:url(/assets/r50/dk-faden-handy-senkrecht.webp)}
html[data-theme=dark]:root body .yarn-ph-bot{background-image:url(/assets/r50/dk-faden-handy-unten.webp)}
html[data-theme=dark]:root body .yarn-ph-h{background-image:url(/assets/r50/dk-faden-handy-waagrecht.webp)}
html[data-theme=dark]:root body .pj-bow{background-image:url(/assets/r50/dk-faden-mini-schleife.webp)}
html[data-theme=dark]:root body .rf-yarn{background-image:url(/assets/r50/dk-faden-mini-knaeuel.webp)}

html[data-theme=dark]:root body .pj-run,html[data-theme=dark]:root body .pj-runs::before,html[data-theme=dark]:root body .pj-rope,html[data-theme=dark]:root body .fd-mend,html[data-theme=dark]:root body .thumb-balloon i,html[data-theme=dark]:root body .profile-facts>div:not(:nth-of-type(4))::before,html[data-theme=dark]:root body .pj-chain li:not(:last-child)::after{background-image:url(/assets/r50/dk-faden-strang.webp)}
html[data-theme=dark]:root body .yarn-tail,html[data-theme=dark]:root body .takeaway .hang-row::before,html[data-theme=dark]:root body .pj-ba .pj-ba-arrow::before{background-image:url(/assets/r50/dk-faden-profil-strang-v31.webp)}
html[data-theme=dark]:root body .page-thread,html[data-theme=dark]:root body .rope-line{background-image:url(/assets/r50/dk-faden-gerade.webp)}
@media (min-width:761px){html[data-theme=dark]:root body .pj-chain li:not(:last-child)::after{background-image:url(/assets/r50/dk-faden-quer.webp)}}

/* Knots (img): dark copies too (content replaces the picture, size stays the one of the img) */
html[data-theme=dark]:root body .pj-knot[src$="faden-knoten-1.webp"]{content:url(/assets/r50/dk-faden-knoten-1.webp)}
html[data-theme=dark]:root body .pj-knot[src$="faden-knoten-2.webp"]{content:url(/assets/r50/dk-faden-knoten-2.webp)}
html[data-theme=dark]:root body .pj-knot[src$="faden-knoten-3.webp"]{content:url(/assets/r50/dk-faden-knoten-3.webp)}
html[data-theme=dark]:root body .pj-knot[src$="faden-knoten-4-halbschleife.webp"]{content:url(/assets/r50/dk-faden-knoten-4-halbschleife.webp)}
html[data-theme=dark]:root body .pj-knot[src$="faden-knoten-5.webp"]{content:url(/assets/r50/dk-faden-knoten-5.webp)}
html[data-theme=dark]:root body img.pj-ba-yarn{content:url(/assets/r50/dk-faden-stueck.webp)}

/* Colours that were set by hand in R46 (#b84a3c core, #e08a78 twist – these two read pink and bright on the dark page, Furkan 22.11.):
   core #a02c22, twist #c24e3e, shade #6a1a13 – the tone of the dark /profil rope. These are fixed dark values (dk:fest). */
html[data-theme=dark] .st-svg{/*dk:fest*/--st-red:#a02c22;--st-twist:#c24e3e;--st-hole:#0d0605;--dk-fg-st-red:#a02c22;--dk-fill-st-red:#a02c22;--dk-fg-st-twist:#c24e3e;--dk-fill-st-twist:#c24e3e;--dk-bg-st-twist:#c24e3e;--dk-fg-st-hole:#0d0605;--dk-fill-st-hole:#0d0605;--dk-bg-st-hole:#0d0605}
html[data-theme=dark] .st-svg .st-thread{/*dk:fest*/stroke:#a02c22}
html[data-theme=dark] .st-svg .st-twist-line{/*dk:fest*/fill:#c24e3e}
html[data-theme=dark] .st-kg0{/*dk:fest*/stop-color:#c24e3e}
html[data-theme=dark] .st-kg1{/*dk:fest*/stop-color:#a02c22}
html[data-theme=dark] .st-kg2{/*dk:fest*/stop-color:#6a1a13}
html[data-theme=dark] .st-knot-hi{/*dk:fest*/stroke:#6a1a13}
html[data-theme=dark] .pj-return .fd-tie-c,html[data-theme=dark] .pj-return .fd-tie-fray{/*dk:fest*/stroke:#a02c22}
html[data-theme=dark] .pj-return .fd-tie-twl{/*dk:fest*/fill:#c24e3e}
html[data-theme=dark] .ab-cord-red .ab-l-core{/*dk:fest*/stroke:#a02c22}
html[data-theme=dark] .ab-cord-red .ab-l-twist{/*dk:fest*/stroke:#c24e3e}
html[data-theme=dark] .ab-knot.ab-cord-red ellipse{/*dk:fest*/fill:#a02c22;stroke:#6a1a13}
html[data-theme=dark] .ab-l .ab-knot.ab-cord-red path{/*dk:fest*/stroke:#a02c22}

/* /status bow (cut-out still and canvas film): the sheen of the photographed cord is turned down */
html[data-theme=dark] .rope-v30 :is(.rope-still,.rope-alpha){/*dk:fest*/filter:brightness(.84) saturate(1.08)!important}
