.wall .prayer-stones { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 34px;align-items:center;padding:40px 18px 32px; }
.wall-prayer-note { --turn:-3deg;--paper:#fff6dd;--ink:#263d4b;display:flex;position:relative;align-items:center;justify-content:center;justify-self:center;width:92%;min-height:104px;padding:22px 18px;background:var(--paper);color:var(--ink);font-family:var(--hand,HFNote01),cursive;font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:400;line-height:1.22;text-align:center;text-decoration:none;border-radius:2px;box-shadow:2px 7px 12px #0006;transform:rotate(var(--turn));overflow-wrap:anywhere;isolation:isolate;touch-action:manipulation; }
.wall-prayer-note span { display:block;max-width:100%; }
.wall-prayer-note::before { content:'';position:absolute;top:-7px;left:30%;width:40%;height:17px;background:#d7c8a799;transform:rotate(-4deg);z-index:-1; }
.wall-prayer-note:focus-visible { outline:4px solid #fff;outline-offset:7px; }
.wall-prayer-note:hover { filter:brightness(1.06);box-shadow:3px 10px 18px #0008; }
.note-style-1 { --hand:HFNote01;--turn:-6deg;width:90%;border-radius:2px 14px 3px 5px; }
.note-style-2 { --hand:HFNote02;--turn:3deg;--paper:#e5eef0;min-height:120px;margin-top:25px; }
.note-style-3 { --hand:HFNote03;--turn:0deg;width:98%;min-height:85px;border-radius:14px 3px 18px 3px; }
.note-style-4 { --hand:HFNote04;--turn:5deg;--paper:#f7dfc7;min-height:140px;width:85%;border-radius:4px 24px 8px 3px; }
.note-style-5 { --hand:HFNote05;--turn:-2deg;--paper:#fff7e8;min-height:90px;border-bottom:4px double #b3a186; }
.note-style-6 { --hand:HFNote06;--turn:4deg;--paper:#e8ebd5;font-size:1.45rem;width:98%;min-height:130px;border-radius:6px 3px 25px 4px; }
.note-style-7 { --hand:HFNote07;--turn:-5deg;--paper:#efd5b3;--ink:#40312d;font-size:1.6rem;min-height:105px;border-radius:15px 4px 8px 25px; }
.note-style-8 { --hand:HFNote08;--turn:1deg;--paper:#f7f0df;min-height:140px;width:84%;border-radius:35% 5% 30% 4% / 8% 30% 5% 25%; }
.note-style-9 { --hand:HFNote09;--turn:-4deg;--paper:#e5e9f5;min-height:90px;width:96%;border-radius:4px 18px 4px 18px; }
.note-style-10 { --hand:HFNote10;--turn:6deg;font-size:2.4rem;--paper:#f4e8cb;min-height:125px; }
.note-style-11 { --hand:HFNote11;--turn:-1deg;font-size:2.65rem;--paper:#f4f0e5;min-height:100px;width:86%;border-radius:2px 2px 28px 2px; }
.note-style-12 { --hand:HFNote12;--turn:4deg;--paper:#ffeab8;min-height:90px;border-radius:16px 3px 6px 3px; }
.note-style-13 { --hand:HFNote13;--turn:-5deg;--paper:#e5edde;font-size:1.8rem;min-height:135px;width:85%;border-radius:42% 45% 44% 40% / 20% 23% 24% 22%; }
.note-style-14 { --hand:HFNote14;--turn:2deg;--paper:#f0e0d8;min-height:95px;border-left:4px solid #b9957a; }
.note-style-15 { --hand:HFNote15;--turn:0deg;--paper:#ede8dc;min-height:125px;border-radius:5px 30px 5px 10px; }
.note-style-16 { --hand:HFNote16;--turn:-4deg;--paper:#f4e9cf;font-size:1.2rem;min-height:145px;width:98%;line-height:1.7; }
.note-style-17 { --hand:HFNote17;--turn:5deg;--paper:#f8e9d8;font-size:2.25rem;min-height:90px;border-radius:28px 4px 28px 4px; }
.note-style-18 { --hand:HFNote18;--turn:-3deg;--paper:#e8e4d1;font-size:1.4rem;line-height:1.7;min-height:130px;border-radius:4px 16px 4px 4px; }
.note-style-19 { --hand:HFNote19;--turn:2deg;--paper:#e7edf0;font-size:1.85rem;min-height:100px;width:85%;border-radius:6px 35px 4px 30px; }
.note-style-20 { --hand:HFNote20;--turn:-6deg;--paper:#fae6bd;font-size:2rem;min-height:125px;border-radius:3px 3px 22px 8px; }
.note-style-3::before,.note-style-8::before,.note-style-13::before,.note-style-17::before { display:none; }
.prayer-reader { position:fixed;inset:0;width:min(560px,calc(100vw - 32px));max-height:86vh;max-height:86dvh;margin:auto;padding:26px;overflow:auto;border:1px solid #c2b58f;border-radius:16px;background:#fffdf6;color:#193139;box-shadow:0 24px 90px #0008;font:1rem/1.6 system-ui,sans-serif; }
.prayer-reader::backdrop { background:#071716c9;backdrop-filter:blur(3px); }
.prayer-reader-header { display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ded6c6;padding-bottom:14px; }
.prayer-reader-header p { margin:0;font-size:.875rem; }
.prayer-reader-header button { min-height:44px;min-width:64px;padding:8px 14px;border:1px solid #9baba7;border-radius:6px;background:#fff;color:#193139;font:inherit;cursor:pointer; }
.prayer-reader h2 { font:600 clamp(1.7rem,5vw,2.25rem)/1.2 Georgia,serif;overflow-wrap:anywhere;margin:24px 0 12px; }
.prayer-reader .request-name { font:600 .95rem/1.5 system-ui,sans-serif;text-transform:none;letter-spacing:normal;color:#455b60;margin:12px 0; }
.prayer-reader .request-name::before { content:'Shared by ';font-weight:400; }
.prayer-reader .request-body { font:1.15rem/1.7 system-ui,sans-serif;white-space:pre-wrap;margin:16px 0 24px; }
.prayer-reader .agreement-total { font-size:1rem; }
.prayer-reader .prayer-agreement { min-height:52px;width:100%;padding:14px;border:0;border-radius:8px;background:#184a42;color:white;font:600 1rem/1.4 system-ui,sans-serif;cursor:pointer; }
.prayer-reader .prayer-agreement:disabled { background:#e0ebe4;color:#244536;cursor:default; }
body:has(.prayer-reader[open]) { overflow:hidden; }
@media(max-width:700px) { .wall .prayer-stones { grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 18px;padding:25px 4px; }.wall-prayer-note { width:94%;padding:16px 10px;font-size:1.5rem;min-height:92px; }.note-style-6 { font-size:1.15rem; }.note-style-10,.note-style-11 { font-size:2.1rem; }.note-style-16 { font-size:1rem; }.note-style-17 { font-size:1.9rem; }.note-style-18 { font-size:1.1rem; }.note-style-19,.note-style-20 { font-size:1.6rem; }.prayer-reader { padding:22px; } }
@media(prefers-reduced-motion:reduce) { .wall-prayer-note { transition:none; } }
