/* IranCatholic Prayer Requests 1.2.2. Margins, not flex gap (old Android). Inputs 16px (iPhone zoom). */
body.icpr-no-footer .footer-banner,body.icpr-no-footer .site-footer{display:none!important}
.icpr{direction:rtl;text-align:right;color:var(--navy,#142b3c);font-size:14px;line-height:1.8;margin:22px 0 8px;clear:both}
.icpr-app{border-top:1px solid #e6e0d7;padding-top:14px}
.icpr *{box-sizing:border-box}
.icpr p{margin:0}
.icpr-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.icpr-hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);opacity:0}

/* live list under the prayer */
.icpr-live{margin-bottom:12px}
.icpr-head{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom:6px}
.icpr .icpr-h{font-size:15px;font-weight:800;margin:0;line-height:1.6;color:var(--navy,#142b3c)}
.icpr-all{background:none;border:0;padding:6px 0 6px 2px;margin:0 10px 0 0;font:inherit;font-size:13px;font-weight:700;color:#3a6ea5;cursor:pointer;white-space:nowrap}
.icpr-list{background:#fff;border:1px solid #e6e0d7;border-radius:12px;overflow:hidden}
.icpr-row{padding:7px 11px;border-bottom:1px solid #eee8de}
.icpr-row:last-child{border-bottom:0}
.icpr .icpr-t{font-size:14px;line-height:1.8;color:#1d2b36;cursor:pointer;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:pre-line;word-wrap:break-word}
.icpr-row.open .icpr-t{display:block;-webkit-line-clamp:none}
.icpr-meta{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-top:2px}
.icpr-who{font-size:12px;color:#6b7177}
.icpr-amen{border:1.5px solid #b99458;background:#fff;color:#8a6a35;border-radius:999px;padding:1px 11px;min-height:30px;font:inherit;font-size:12.5px;font-weight:800;line-height:1.6;cursor:pointer;margin-right:8px;white-space:nowrap}
.icpr-amen.on{background:var(--navy,#142b3c);border-color:var(--navy,#142b3c);color:#fff;cursor:default}
.icpr-n{font-weight:500;margin-right:5px;opacity:.85}
.icpr-empty{padding:10px 12px;color:#6b7177;font-size:13.5px}
.icpr-more{display:block;width:100%;margin-top:8px;border:1px solid #e6e0d7;background:#fff;color:#3a6ea5;border-radius:10px;padding:7px;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.icpr-more[disabled]{opacity:.5}
.icpr-more[hidden]{display:none!important}

/* button + form */
.icpr-open{display:block;width:100%;max-width:440px;margin:0 auto;border:1.5px solid var(--navy,#142b3c);background:#fff;color:var(--navy,#142b3c);border-radius:999px;padding:8px 12px;min-height:44px;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;text-align:center}
.icpr-cross{display:inline-block;position:relative;width:12px;height:15px;margin-left:8px;vertical-align:-2px}
.icpr-cross:before,.icpr-cross:after{content:"";position:absolute;background:currentColor;border-radius:1px}
.icpr-cross:before{left:5px;top:0;width:2px;height:15px}
.icpr-cross:after{left:0;top:4px;width:12px;height:2px}
.icpr-form{margin-top:10px;background:#fff;border:1px solid #e6e0d7;border-top:4px solid #b99458;border-radius:12px;padding:12px}
.icpr .icpr-ft{font-size:15px;font-weight:800;margin:0 0 2px;color:var(--navy,#142b3c)}
.icpr .icpr-fi{font-size:13px;color:#6b7177;line-height:1.8;margin-bottom:8px}
.icpr textarea,.icpr input[type=text]{display:block;width:100%;font:inherit;font-size:16px;line-height:1.7;color:#1d2b36;background:#fff;border:1px solid #cfc7ba;border-radius:10px;padding:7px 10px;margin:0 0 8px;-webkit-appearance:none}
.icpr textarea{min-height:84px;resize:vertical}
.icpr-l{display:block;font-size:13px;font-weight:700;margin-bottom:2px}
.icpr-chk{display:block;font-size:13px;line-height:1.8;margin:2px 0 6px;cursor:pointer}
.icpr-chk input{width:18px;height:18px;margin:0 0 0 7px;vertical-align:-4px}
.icpr .icpr-warn{background:#fbf3e3;border-radius:8px;padding:6px 9px;font-size:12.5px;line-height:1.8;color:#6a5223;margin-bottom:8px}
.icpr .icpr-err{color:#a12d2d;font-size:13px;font-weight:700;min-height:0}
.icpr .icpr-err:empty{display:none}
.icpr .icpr-err{margin-bottom:6px}
.icpr-send{display:block;width:100%;border:0;background:#b99458;color:#fff;border-radius:10px;padding:9px;min-height:44px;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.icpr-send.busy{opacity:.6;cursor:wait}
.icpr .icpr-ok{margin-top:10px;background:#eef6f0;border:1px solid #b9dcc4;border-radius:12px;padding:10px 12px;font-size:13.5px;color:#1f5a35}
.icpr .icpr-intro{font-size:13.5px;color:#6b7177;margin-bottom:10px}
.icpr-page .icpr-full{margin-top:14px}

/* window with all requests (opens over the prayer) */
.icpr-win{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;background:rgba(12,28,40,.62);overflow:auto;-webkit-overflow-scrolling:touch;direction:rtl;text-align:right}
.icpr-win[hidden]{display:none}
.icpr-win-box{background:#f7f3ed;max-width:560px;width:92%;margin:6vh auto 24px;border-radius:14px;padding:10px 10px 12px;box-shadow:0 10px 30px rgba(0,0,0,.25);color:#142b3c;font-size:14px;line-height:1.8}
.icpr-win-head{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:0 2px 8px}
.icpr-win .icpr-win-t{font-size:15px;font-weight:800;margin:0;line-height:1.6;color:#142b3c}
.icpr-win .icpr-win-t:focus{outline:0}
.icpr-x{border:1.5px solid #142b3c;background:#fff;color:#142b3c;border-radius:999px;padding:2px 14px;min-height:34px;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;margin-right:10px}
.icpr-win .icpr-list{background:#fff;border:1px solid #e6e0d7;border-radius:12px;overflow:hidden}
.icpr-win .icpr-row{padding:7px 11px;border-bottom:1px solid #eee8de}
.icpr-win .icpr-row:last-child{border-bottom:0}
.icpr-win .icpr-t{margin:0;font-size:14px;line-height:1.8;color:#1d2b36;cursor:pointer;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:pre-line;word-wrap:break-word}
.icpr-win .icpr-row.open .icpr-t{display:block;-webkit-line-clamp:none}
.icpr-win .icpr-empty{margin:0}
/* 1.0.1: shown instead of the list when it cannot be loaded (no internet or site blocked) */
.icpr .icpr-nonet{font-size:12.5px;color:#6b7177;text-align:center;margin:0 0 10px}
.icpr .icpr-nonet[hidden]{display:none}

/* 1.0.2: compact sizes (request text stays 14px for reading) */
.icpr .icpr-h{font-size:14px}
.icpr-all{font-size:12.5px}
.icpr-row,.icpr-win .icpr-row{padding:6px 10px}
.icpr .icpr-t,.icpr-win .icpr-t{line-height:1.7}
.icpr-who{font-size:11.5px}
.icpr-amen{padding:0 10px;min-height:28px;font-size:12px}
.icpr-meta{margin-top:1px}
/* 1.0.2: «ادامه» under requests that are cut off */
.icpr-rm{display:block;background:none;border:0;padding:2px 0;margin:0;font:inherit;font-size:12.5px;font-weight:700;color:#3a6ea5;cursor:pointer}
/* 1.0.2: featured request: gold border, cream background, small gold candle */
.icpr-row.feat{border:1.5px solid #c9a35f!important;border-radius:10px;margin:4px;background:#fffaf0}
.icpr-ic{display:inline-block;margin-left:6px;vertical-align:-6px}
.icpr-candle{display:block;width:14px;height:23px}
/* 1.0.2: the window's title and «بستن» stay at the top while scrolling */
.icpr-win-head{position:-webkit-sticky;position:sticky;top:0;z-index:2;background:#f7f3ed;margin:-10px -10px 8px;padding:10px 12px 8px;border-radius:14px 14px 0 0;box-shadow:0 1px 0 #e6e0d7}
/* 1.0.3: one request at a time under the prayer, soft fade (works with Reduce Motion: no movement, only fading) */
.icpr-rot{position:relative;overflow:hidden}
.icpr-rot .icpr-row{border-bottom:0}
/* 1.0.6: plain sideways slide */
.icpr-rot .icpr-row.rabs{position:absolute;top:0;left:0;right:0}
.icpr-rot .icpr-row.rslide{-webkit-transition:-webkit-transform .38s ease;transition:transform .38s ease}
.icpr-dots{text-align:center;line-height:0;margin:6px 0 0}
.icpr-dots[hidden]{display:none}
.icpr-dots i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#d8cdb9;margin:0 2.5px}
.icpr-dots i.on{background:#b99458}
/* The theme cuts every transition to 0 under Reduce Motion (Tom's phones). A soft fade is not motion: keep it. */
@media (prefers-reduced-motion:reduce){.icpr .icpr-rot .icpr-row.rslide{-webkit-transition-duration:.38s!important;transition-duration:.38s!important}}
/* 1.0.5: sideways swipe is ours (up/down still scrolls the page); dots are tappable */
.icpr-rot{touch-action:pan-y}
.icpr-dots i{position:relative;cursor:pointer}
.icpr-dots i:before{content:"";position:absolute;top:-10px;bottom:-10px;left:-3px;right:-3px}
.icpr-dots{margin-top:8px}

/* 1.2.0: «درخواست دعا | نظر و پیشنهاد» — one line even on 320 px phones (text kept short, a little smaller there) */
.icpr-kind{display:-webkit-box;display:-webkit-flex;display:flex;border:1.5px solid #b99458;border-radius:12px;overflow:hidden;margin:6px 0 10px}
.icpr-kind button{-webkit-box-flex:1;-webkit-flex:1 1 0;flex:1 1 0;min-width:0;min-height:42px;border:0;margin:0;background:#fff;color:#8a6a36;font:inherit;font-size:14.5px;font-weight:800;line-height:1.3;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.icpr-kind button+button{border-right:1.5px solid #b99458}
.icpr-kind button.on{background:#b99458;color:#fff}
.icpr-priv{font-size:13px;line-height:1.8;color:#2f6b3a;background:#eef6ef;border:1px solid #cfe3d2;border-radius:10px;padding:7px 10px;margin:4px 0 6px}
.icpr-priv[hidden],.icpr-chk[hidden]{display:none}
.icpr-open{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:340px){.icpr-kind button{font-size:13.5px;padding:0 4px}.icpr-open{font-size:14px}}
/* 1.2.3: hidden words = black bar as wide as the word */
.icpr-redact{display:inline-block;background:#1d2730;border-radius:3px;height:1.05em;vertical-align:-.15em;-webkit-user-select:none;user-select:none}
/* 1.3.0: small note after an Amen (in the name line, a few seconds) and the admin-only «آمین برای همه» */
.icpr .icpr-who.icpr-note{color:#8a6a35;font-weight:600}
.icpr-amenall{display:block;margin:0 0 8px;border:1.5px solid var(--navy,#142b3c);background:#fff;color:var(--navy,#142b3c);border-radius:999px;padding:2px 14px;min-height:32px;font:inherit;font-size:13px;font-weight:800;line-height:1.6;cursor:pointer}
.icpr-amenall.on{background:var(--navy,#142b3c);color:#fff}
.icpr-amenall.busy{opacity:.6;cursor:wait}
/* 1.4.0: statistics line, only for the admin */
.icpr .icpr-stat{margin:12px 0 0;font-size:12px;color:#8a8f94;text-align:center}
.icpr .icpr-stat button{background:none;border:0;padding:0 2px;font:inherit;color:#3a6ea5;text-decoration:underline;cursor:pointer}
