/* «بَراح» — reader reactions (article pages). Needs styles.css + cinema.css. */
.rx{margin:2.4rem 0 0}
.cin-read .rx h2.rx-h{font-family:'El Messiri','Tajawal',serif;font-weight:600;color:var(--purple);font-size:clamp(1.25rem,4.6vw,1.45rem);line-height:1.5;margin:0 0 .5rem;text-align:center}

/* where to watch */
.rx-watch{text-align:center;background:#fff;border:1px solid rgba(201,162,91,.45);border-radius:var(--radius);padding:1.6rem 1.3rem 1.25rem;box-shadow:var(--shadow);position:relative;overflow:hidden}
.rx-watch::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--gold),var(--gold-2),var(--gold))}
.rx-watch-ico{width:52px;height:52px;border-radius:50%;margin:0 auto .7rem;display:flex;align-items:center;justify-content:center;color:var(--gold-2);background:var(--purple);box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(201,162,91,.6)}
.rx-watch-line{font-family:'Tajawal',system-ui,sans-serif;font-size:1.06rem;line-height:1.9;color:var(--purple-2);max-width:34ch;margin:0 auto 1.05rem;text-wrap:balance}
.rx-watch-btn{gap:.55rem;color:var(--gold-2)!important;min-width:13rem}
.rx-watch-btn svg{opacity:.9}
.rx-watch-note{margin-top:.7rem;font-size:.85rem;color:var(--muted)}

/* «أحببته» */
.rx-like{text-align:center;margin:2.3rem auto 0}
.rx-like-ask{font-family:'El Messiri','Tajawal',serif;font-weight:500;color:var(--purple-2);font-size:1.08rem;margin-bottom:.7rem}
.rx-like-btn{font:inherit;display:inline-flex;align-items:center;gap:.6rem;cursor:pointer;min-height:58px;padding:.5rem 1.15rem .5rem 1.35rem;border-radius:999px;
  background:#fff;color:var(--purple);border:1.5px solid var(--gold);box-shadow:0 10px 26px -16px rgba(63,46,88,.6);transition:transform .15s ease,background .2s ease,box-shadow .2s ease}
.rx-like-btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px -16px rgba(63,46,88,.7)}
.rx-like-btn:focus-visible{outline:3px solid var(--gold-2);outline-offset:3px}
.rx-like-btn img{width:30px;height:30px;transition:transform .3s ease}
.rx-like-word{font-family:'El Messiri','Tajawal',serif;font-weight:600;font-size:1.18rem;line-height:1}
.rx-like-count{display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;line-height:1;min-width:2em;height:2em;padding:.3em .55em 0;box-sizing:border-box;border-radius:999px;background:var(--lav-soft);color:var(--purple)}
.rx-like-btn.on{background:linear-gradient(160deg,var(--purple-2),var(--purple));color:var(--gold-2);border-color:var(--gold);cursor:default}
.rx-like-btn.on .rx-like-count{background:rgba(226,196,138,.18);color:var(--gold-2)}
.rx-like-btn.pop img{transform:scale(1.25) rotate(-6deg)}
.rx-like-thanks{min-height:1.6em;margin-top:.45rem;font-size:.93rem;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.rx-like-btn,.rx-like-btn img{transition:none}}

/* comments */
.rx-comments{margin:2rem 0 0;background:linear-gradient(180deg,#FBF8FE 0%,var(--lav-soft) 100%);border:1px solid rgba(201,162,91,.35);border-radius:var(--radius);padding:1.7rem 1.2rem 1.4rem}
.rx-sub{text-align:center;color:var(--muted);font-size:.98rem;line-height:1.85;max-width:40ch;margin:0 auto 1.2rem;text-wrap:balance}
.rx-form{display:grid;gap:.35rem}
.rx-lbl{font-weight:700;color:var(--purple);font-size:.95rem;margin-top:.35rem}
.rx-lbl small{font-weight:400;color:var(--muted)}
.rx-form input,.rx-form textarea{font:inherit;font-size:1rem;color:var(--ink);background:#fff;border:1.5px solid rgba(87,65,122,.22);border-radius:14px;padding:.7rem .9rem;width:100%;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}
.rx-form textarea{min-height:8.5rem;resize:vertical;line-height:1.85}
.rx-form input::placeholder,.rx-form textarea::placeholder{color:#9a90a8}
.rx-form input:focus,.rx-form textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(226,196,138,.35)}
.rx-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;left:-9999px}
.rx-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-top:.55rem;flex-wrap:wrap}
.rx-count{font-size:.85rem;color:var(--muted)}
.rx-count.near{color:#a77f33;font-weight:700}
.rx-send{min-height:48px;padding-inline:1.5rem;border:0;cursor:pointer}
.rx-send:disabled{opacity:.7;cursor:wait}
.rx-err{color:#8a3030;font-weight:700;font-size:.93rem;margin-top:.3rem}
.rx-done{display:flex;align-items:center;justify-content:center;gap:.8rem;text-align:start;background:#fff;border:1px solid rgba(201,162,91,.45);border-radius:16px;padding:1rem 1.1rem;color:var(--purple);font-size:1rem;line-height:1.7}
.rx-done b{display:block;font-family:'El Messiri','Tajawal',serif;font-weight:600;font-size:1.12rem}
.rx-done span{color:var(--muted)}
.rx-done[hidden],.rx-form[hidden],.rx-err[hidden],.rx-list-h[hidden]{display:none}
.rx-done img{width:36px;height:36px;flex:none}
.rx-list-h{font-family:'El Messiri','Tajawal',serif;font-weight:600;font-size:1.1rem;color:var(--purple);margin:1.6rem 0 .7rem;padding-top:1.2rem;border-top:1px solid rgba(201,162,91,.35);text-align:center}
.rx-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.rx-c{background:#fff;border-radius:16px;padding:.85rem 1rem .9rem;border:1px solid rgba(63,46,88,.07);border-inline-start:3px solid var(--gold);box-shadow:0 8px 22px -18px rgba(63,46,88,.5)}
.rx-c-top{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-bottom:.25rem}
.rx-c-name{font-family:'El Messiri','Tajawal',serif;font-weight:600;color:var(--purple);font-size:1.02rem}
.rx-c-date{font-size:.8rem;color:var(--muted)}
.rx-c-body{font-size:1rem;line-height:1.9;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
@media (min-width:700px){ .rx-comments{padding:2rem 2rem 1.7rem} .rx-watch{padding:1.8rem 2rem 1.4rem} }
.rx-like-count[hidden]{display:none}

/* purple heart (replaces phoenix on the like button) */
.rx-heart{display:inline-flex;transition:transform .3s ease}
.rx-heart svg path{fill:#F3ECFA;stroke:#7B5EA7;stroke-width:1.7;stroke-linejoin:round;transition:fill .25s ease}
.rx-like-btn:hover .rx-heart svg path{fill:#E4D6F3}
.rx-like-btn.on{background:#fff;color:var(--purple);border-color:#9B7BC9}
.rx-like-btn.on .rx-heart svg path{fill:#9B7BC9;stroke:#7B5EA7}
.rx-like-btn.on .rx-like-count{background:#F3ECFA;color:var(--purple)}
.rx-like-btn.pop .rx-heart{transform:scale(1.3)}

/* glassy boxes: moving background shows through (Yasmin 31 Oct) */
.rx-watch,.rx-comments,.cin-cta{background:rgba(255,255,255,.88)!important}
.rx-form input,.rx-form textarea{background:rgba(255,255,255,.75)}

/* Yasmin's reactions + reply under a published comment (31 Oct) */
.rx-own{display:inline-flex;align-items:center;gap:.4rem;margin-top:.45rem;padding:.18rem .65rem .18rem .55rem;border-radius:999px;background:#F5F0FA;border:1px solid #E4D9F0;color:#57417A;font-size:.8rem;line-height:1.6}
.rx-own-ico{display:inline-flex;align-items:center;gap:.15rem}
.rx-own-ico svg{display:block}
.rx-reply{margin:.7rem 1.1rem 0 0;margin-inline:1.1rem 0;background:#F7F2FC;border:1px solid #E6DCF2;border-inline-start:2px solid #C9A25B;border-radius:12px;border-start-start-radius:4px;padding:.6rem .85rem .7rem}
.rx-reply-h{display:flex;align-items:center;gap:.35rem;font-family:'El Messiri','Tajawal',serif;font-weight:600;font-size:.9rem;color:#3F2E58;margin-bottom:.15rem}
.rx-reply-h svg{color:#C9A25B;flex:none}
.rx-reply-body{font-family:'Tajawal',system-ui,sans-serif;font-size:.96rem;line-height:1.85;color:#2B2238;white-space:pre-wrap;overflow-wrap:anywhere}

.rx-own{padding-top:.1rem;padding-bottom:.1rem}
