@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root{
  --ink:#090b12;--paper:#f7f6f2;--muted:#747986;--line:rgba(10,12,18,.09);
  --iam1:#4f46e5;--iam2:#0ea5e9;--shall1:#0f9f74;--shall2:#a3e635;
  --will1:#f04d3d;--will2:#ff9a3d;--did1:#a86f12;--did2:#f2c75c;
}
*{box-sizing:border-box}
html{background:#0b0d13}
body{margin:0;font-family:"DM Sans",system-ui,-apple-system,sans-serif;color:var(--ink);background:#0b0d13}
a{color:inherit}
button,input,textarea,select{font:inherit}
.app-shell{min-height:100dvh;max-width:640px;margin:0 auto;background:var(--paper);position:relative;padding-bottom:96px;overflow:hidden}
.content{padding:0 18px 36px}
.topbar{height:68px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:20;background:rgba(247,246,242,.87);backdrop-filter:blur(18px);border-bottom:1px solid rgba(0,0,0,.04)}
.brand-mark{display:flex;align-items:center;gap:9px;text-decoration:none;font-family:"Manrope";font-weight:800;font-size:15px}
.brand-crown{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:#11131a;color:#fff;font-weight:900}
.top-actions{display:flex;align-items:center;gap:9px}
.profile-dot{width:32px;height:32px;border:0;border-radius:999px;background:#deddd8;font-weight:900;cursor:pointer}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:30;width:min(640px,100%);display:grid;grid-template-columns:repeat(5,1fr);padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:rgba(11,13,19,.96);backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,.08)}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;color:#777d89;text-decoration:none;font-size:17px}.bottom-nav a small{font-size:9px;font-weight:800}.bottom-nav a.active{color:#fff}
.flash{margin:8px 18px;background:#dff7e9;padding:12px 14px;border-radius:14px;font-weight:700}
.eyebrow{font-size:10px;font-weight:900;letter-spacing:.16em;color:#777b84}.eyebrow.light{color:rgba(255,255,255,.62)}.eyebrow.gold{color:#f3cb72}
.micro-label{font-size:9px;font-weight:900;letter-spacing:.15em;opacity:.62}
.hidden{display:none!important}

/* Persistent rescue */
.persistent-word-rescue{position:fixed;z-index:28;right:max(14px,calc((100vw - 640px)/2 + 14px));bottom:86px;display:flex;align-items:center;gap:7px;padding:10px 12px;background:#11131a;color:#fff;border-radius:999px;text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.08)}
.persistent-word-rescue span{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;background:linear-gradient(145deg,#6a4cf1,#2fb1ea)}
.persistent-word-rescue strong{font-size:9px;letter-spacing:.09em}

/* TODAY */
.today-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:18px 0 10px}
.today-head h1{font-family:"Manrope";font-size:26px;line-height:1.04;letter-spacing:-.04em;margin:5px 0 0;max-width:390px}
.memory-badge{min-width:72px;height:72px;border-radius:24px;background:#11131a;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 14px 32px rgba(17,19,26,.16)}
.memory-badge strong{font-size:24px;font-family:"Manrope"}.memory-badge span{font-size:8px;opacity:.62;text-transform:uppercase;letter-spacing:.08em}
.daily-progress-shell{background:#eceae4;border-radius:16px;padding:11px 12px;margin:6px 0 10px}
.daily-progress-head{display:flex;justify-content:space-between;font-size:9px;font-weight:900;letter-spacing:.08em}.daily-progress-track{height:6px;background:#d7d3c9;border-radius:99px;margin-top:8px;overflow:hidden}.daily-progress-track i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#5047dd,#11a778,#ef5542,#d79e32);transition:width .45s cubic-bezier(.16,1,.3,1)}
.pulse-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 22px}.pulse-strip div{border:1px solid var(--line);background:#fff;border-radius:16px;padding:10px 11px}.pulse-strip strong{display:block;font-family:"Manrope";font-size:17px}.pulse-strip span{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.swipe-label{display:flex;justify-content:space-between;margin-bottom:9px;font-size:9px;font-weight:900;letter-spacing:.13em;color:#777b84}
.daily-deck{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:1px 9vw 8px 0;scrollbar-width:none;overscroll-behavior-inline:contain}.daily-deck::-webkit-scrollbar{display:none}
.daily-card{--swipe-shift:0px;--swipe-tilt:0deg;position:relative;overflow:hidden;flex:0 0 86%;min-height:470px;border-radius:34px;padding:23px;color:#fff;scroll-snap-align:start;display:flex;flex-direction:column;box-shadow:0 18px 48px rgba(15,18,25,.18);transform:translateX(calc(var(--swipe-shift)*.08)) rotate(var(--swipe-tilt));transition:transform .12s linear,filter .25s ease}
.daily-card.is-done{filter:saturate(.88) brightness(.96)}
.daily-card.i-am{background:linear-gradient(145deg,#251c70 0%,var(--iam1) 48%,var(--iam2) 135%)}.daily-card.i-shall{background:linear-gradient(145deg,#063c32 0%,var(--shall1) 52%,#99c93c 140%)}.daily-card.i-will-not{background:linear-gradient(145deg,#6a1d1d 0%,var(--will1) 50%,var(--will2) 145%)}.daily-card.god-did{background:linear-gradient(145deg,#3c2a09 0%,var(--did1) 52%,var(--did2) 145%)}
.card-glow{position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(5px);top:-110px;right:-130px;transform:translateX(var(--swipe-shift));transition:transform .08s linear}
.card-sheen{position:absolute;inset:-30%;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.08) 50%,transparent 65%);transform:translateX(calc(var(--swipe-shift)*-2)) rotate(8deg);pointer-events:none}
.pillar-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2}.pillar-kicker{font-size:12px;font-weight:900;letter-spacing:.16em}.card-index{font-size:11px;opacity:.6}
.daily-done-badge{position:absolute;right:22px;top:56px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.22);opacity:0;transform:scale(.6);transition:.28s}.daily-done-badge.show{opacity:1;transform:scale(1)}
.pillar-symbol{font-size:80px;line-height:1;opacity:.19;font-family:"Manrope";font-weight:800;margin-top:38px}.daily-card-copy{margin-top:auto;position:relative;z-index:2}.daily-card-copy h2{font-family:"Manrope";font-size:31px;line-height:1.04;letter-spacing:-.045em;margin:8px 0 9px}.daily-card-copy p{font-size:13px;opacity:.78;margin:0}
.card-action{margin-top:22px;border-top:1px solid rgba(255,255,255,.23);padding-top:17px;text-decoration:none;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;position:relative;z-index:2}.card-action b{font-size:21px}
.deck-dots{display:flex;justify-content:center;gap:5px;margin:10px 0 18px}.deck-dots i{width:5px;height:5px;border-radius:999px;background:#c6c4bd;transition:.2s}.deck-dots i.active{width:21px;background:#11131a}
.need-word-float{display:flex;align-items:center;gap:12px;text-decoration:none;background:#11131a;color:#fff;border-radius:22px;padding:14px 15px;margin:0 0 12px;box-shadow:0 16px 28px rgba(17,19,26,.15)}.need-bolt{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:linear-gradient(145deg,#694ef1,#31b2e9);font-size:19px}.need-word-float span:nth-child(2){display:flex;flex-direction:column;flex:1}.need-word-float small{font-size:8px;letter-spacing:.14em;color:#8f96a5}.need-word-float strong{font-family:"Manrope";font-size:14px;margin-top:2px}.need-word-float b{font-size:21px}
.quick-prayer{display:flex;align-items:center;gap:12px;background:#e9e6df;border-radius:22px;padding:16px}.quick-prayer>div{flex:1}.quick-prayer h3{font-family:"Manrope";font-size:17px;margin:3px 0}.quick-prayer p{font-size:11px;color:#686b73;margin:0}.quick-prayer>a{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#fff;text-decoration:none;font-size:24px}

/* Daily completion */
.daily-complete-overlay{position:fixed;inset:0;z-index:100;background:rgba(4,6,10,.76);backdrop-filter:blur(16px);display:grid;place-items:center;padding:20px}
.complete-burst{position:absolute;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(112,89,255,.28),transparent 66%);animation:pulseBurst 1.8s ease-in-out infinite}
.complete-card{position:relative;width:min(390px,100%);background:#fff;border-radius:30px;padding:28px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.complete-icon{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;margin:0 auto 14px;background:linear-gradient(145deg,#11131a,#3e465d);color:#fff;font-size:28px}.complete-card h2{font-family:"Manrope";font-size:26px;line-height:1.05;margin:8px 0 16px}.complete-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.complete-pills span{font-size:9px;font-weight:900;background:#efede7;border-radius:99px;padding:8px 9px}.complete-card p{font-size:11px;color:#777;margin:16px auto}.complete-card button{width:100%;border:0;border-radius:15px;padding:14px;background:#11131a;color:#fff;font-weight:900}
@keyframes pulseBurst{50%{transform:scale(1.12);opacity:.65}}

/* Learn */
.learn-world{position:relative;min-height:calc(100dvh - 170px);margin:0 -18px;padding:18px;overflow:hidden;display:flex;flex-direction:column;color:white}.learn-world.i-am{background:linear-gradient(155deg,#20175e,#5143dd 55%,#179ed0)}.learn-world.i-shall{background:linear-gradient(155deg,#073c32,#0c9c70 60%,#80b83c)}.learn-world.i-will-not{background:linear-gradient(155deg,#5d1b1c,#e5493d 60%,#f38a3e)}
.learn-orbit{position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%}.orbit-a{width:440px;height:440px;right:-240px;top:-80px}.orbit-b{width:330px;height:330px;left:-210px;bottom:70px}
.learn-particles i{position:absolute;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.35);animation:floatParticle 5s ease-in-out infinite}.learn-particles i:nth-child(1){left:12%;top:25%}.learn-particles i:nth-child(2){left:74%;top:31%;animation-delay:.7s}.learn-particles i:nth-child(3){left:83%;top:68%;animation-delay:1.4s}.learn-particles i:nth-child(4){left:24%;top:74%;animation-delay:2.1s}.learn-particles i:nth-child(5){left:58%;top:16%;animation-delay:2.8s}@keyframes floatParticle{50%{transform:translateY(-12px);opacity:.8}}
.learn-meta{display:flex;justify-content:space-between;font-size:10px;font-weight:900;letter-spacing:.13em;position:relative;z-index:2}.learn-meta small{opacity:.62}
.memory-card{position:relative;z-index:2;margin:auto 0;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(16px);border-radius:32px;padding:26px 23px;box-shadow:0 24px 80px rgba(0,0,0,.16)}.memory-card h1{font-family:"Manrope";font-size:36px;line-height:1.02;letter-spacing:-.05em;margin:10px 0 22px}
.reveal-zone{border-top:1px solid rgba(255,255,255,.18);padding-top:18px;margin-top:18px}.reveal-zone blockquote{font-family:"Manrope";font-size:20px;line-height:1.43;margin:9px 0}.reference-line{display:flex;justify-content:space-between}.reference-line span{opacity:.65}.context-zone p{font-size:12px;line-height:1.55;opacity:.79}
.reveal-trigger{width:100%;margin-top:20px;border:0;border-radius:18px;padding:16px;background:#fff;color:#11131a;font-weight:900;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.reveal-trigger.complete{opacity:.72}
.prove-cta{display:flex;align-items:center;gap:12px;margin-top:12px;padding:13px;border-radius:18px;background:rgba(7,10,18,.28);border:1px solid rgba(255,255,255,.12)}.prove-cta>div{display:flex;flex-direction:column;flex:1}.prove-cta small{font-size:8px;letter-spacing:.13em;opacity:.6}.prove-cta strong{font-size:12px;margin-top:2px}.prove-cta a{width:43px;height:43px;border-radius:14px;background:#fff;color:#11131a;display:grid;place-items:center;text-decoration:none}
.learn-footer{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1.6fr;gap:9px}.ghost-action,.test-action{border-radius:17px;padding:14px;text-decoration:none;text-align:center;font-size:11px;font-weight:900}.ghost-action{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16)}.test-action{background:#fff;color:#11131a}

/* Blank memory */
.blank-test-body{margin:0;background:#05070b;color:#fff;overflow:hidden}.blank-test{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:radial-gradient(circle at 50% 40%,#14192a 0%,#05070b 58%)}.blank-test .test-reference{font-family:"Manrope";font-size:43px;letter-spacing:-.045em;font-weight:800;margin-bottom:56px}.mic{width:124px;height:124px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#fff;color:#11131a;font-size:42px;box-shadow:0 0 0 14px rgba(255,255,255,.04),0 24px 60px rgba(0,0,0,.33);cursor:pointer;transition:.2s}.mic.listening{transform:scale(1.07);box-shadow:0 0 0 17px rgba(91,74,236,.22),0 0 50px rgba(91,74,236,.32)}.mic-status{position:fixed;bottom:28px;left:18px;right:18px;text-align:center;color:#73798b;font-size:11px}

/* Recall result */
.recall-result{position:relative;min-height:calc(100dvh - 170px);margin:0 -18px;padding:36px 22px;overflow:hidden;text-align:center}.recall-result.passed{background:linear-gradient(160deg,#edfdf6,#f8fff7 52%,#f7f6f2)}.recall-result.retry{background:linear-gradient(160deg,#fff5ef,#fffaf5 52%,#f7f6f2)}
.result-rings{position:absolute;width:360px;height:360px;border-radius:50%;left:50%;top:-190px;transform:translateX(-50%);box-shadow:0 0 0 45px rgba(20,160,114,.04),0 0 0 90px rgba(20,160,114,.025)}
.result-symbol{position:relative;width:64px;height:64px;border-radius:21px;margin:12px auto 16px;display:grid;place-items:center;background:#11131a;color:#fff;font-size:29px;box-shadow:0 16px 35px rgba(0,0,0,.14)}.recall-result h1{font-family:"Manrope";font-size:31px;letter-spacing:-.045em;margin:4px 0 9px}.score{font-family:"Manrope";font-size:78px;line-height:1;font-weight:800;letter-spacing:-.06em;margin:14px 0}.result-lead{font-size:12px;line-height:1.5;color:#666;max-width:360px;margin:0 auto 16px}.result-fact{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:17px;padding:13px 15px;margin:0 auto 14px;max-width:390px}.result-fact span{font-size:10px;color:#777}.result-fact strong{font-family:"Manrope";font-size:15px}.result-compare{max-width:390px;margin:0 auto 14px;text-align:left}.result-compare summary{font-size:10px;font-weight:900;cursor:pointer;padding:10px 0}.compare{display:grid;gap:8px}.compare>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px}.compare span{font-size:8px;font-weight:900;letter-spacing:.1em;color:#888}.compare p{font-size:11px;line-height:1.5}.result-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:8px;max-width:390px;margin:0 auto}.primary,.secondary{display:inline-block;border:0;border-radius:15px;padding:13px 16px;text-decoration:none;font-weight:900}.primary{background:#11131a;color:#fff}.secondary{background:#e9e7e0;color:#11131a}

/* GOD DID */
.goddid-stage{margin:0 -18px;padding:40px 23px 28px;color:#fff;background:linear-gradient(155deg,#181108 0%,#65420c 60%,#c48b25 130%);border-radius:0 0 36px 36px;position:relative;overflow:hidden}.goddid-rays{position:absolute;width:420px;height:420px;right:-270px;top:-250px;border-radius:50%;box-shadow:0 0 0 50px rgba(255,222,142,.05),0 0 0 100px rgba(255,222,142,.035),0 0 0 150px rgba(255,222,142,.025)}.goddid-stage>*{position:relative}.goddid-stage h1{font-family:"Manrope";font-size:35px;line-height:1;letter-spacing:-.055em;margin:6px 0}.goddid-stage h1 em{font-style:normal}.goddid-stage p{font-size:12px;color:#dbcaa6;max-width:330px}.testimony-count{display:flex;align-items:flex-end;gap:8px;margin-top:22px}.testimony-count strong{font-family:"Manrope";font-size:38px}.testimony-count span{font-size:10px;color:#d8c49b;margin-bottom:6px}
.section-title{margin:27px 0 10px}.section-title span{font-size:9px;font-weight:900;letter-spacing:.14em;color:#8a8c92}.section-title h2{font-family:"Manrope";font-size:22px;margin:3px 0}
.testimony-wall{display:grid;grid-template-columns:1fr 1fr;gap:10px}.testimony-card{background:#fff;border-radius:22px;padding:16px;text-decoration:none;border:1px solid var(--line);min-height:220px;display:flex;flex-direction:column}.testimony-check{width:34px;height:34px;border-radius:12px;background:#f4d985;display:grid;place-items:center;margin-bottom:18px}.testimony-card>span{font-size:8px;letter-spacing:.1em;color:#999}.testimony-card h2{font-family:"Manrope";font-size:17px;line-height:1.08;margin:5px 0}.testimony-card p{font-size:10px;color:#777}.testimony-card b{font-size:10px;margin-top:auto}
.mini-journey{display:flex;align-items:flex-start;margin:10px 0 12px}.mini-step{display:flex;flex-direction:column;align-items:center;gap:4px}.mini-step i{width:9px;height:9px;border-radius:50%;background:#b9b8b2}.mini-step.done i{background:#11131a}.mini-step.gold-step i{background:#d1a12e}.mini-step small{font-size:6px;font-weight:900;color:#8a8a84;white-space:nowrap}.mini-line{flex:1;height:1px;background:#d7d5cf;margin:4px 4px 0}
.testament-tabs{display:grid;grid-template-columns:1fr 1fr;background:#e9e7e0;border-radius:15px;padding:4px;margin-bottom:12px}.testament-tabs button{border:0;background:transparent;border-radius:11px;padding:10px;font-size:10px;font-weight:900;color:#777;cursor:pointer}.testament-tabs button.active{background:#11131a;color:#fff}
.bible-story-feed{display:grid;gap:9px}.bible-story{display:grid;grid-template-columns:48px 1fr;gap:12px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px}.story-number{font-family:"Manrope";font-size:20px;color:#c4a04c}.bible-story span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#a98228}.bible-story h3{font-family:"Manrope";font-size:18px;margin:4px 0}.bible-story p{font-size:11px;line-height:1.47;color:#6f7076}.bible-story small{display:block;font-size:9px;color:#999}.bible-story a{display:inline-block;margin-top:10px;font-size:10px;font-weight:900;text-decoration:none}

/* I Need the Word */
.need-world{margin:0 -18px;padding:34px 22px;background:linear-gradient(160deg,#070a12,#201d48 65%,#3c547a);color:#fff;border-radius:0 0 36px 36px;position:relative;overflow:hidden}.need-star{position:absolute;right:15px;top:8px;font-size:145px;line-height:1;color:rgba(255,255,255,.055)}.need-world h1{font-family:"Manrope";font-size:39px;line-height:1;letter-spacing:-.055em;margin:6px 0}.need-world h1 em{font-style:normal;color:#9fd6f2}.need-world p{font-size:12px;color:#9aa5b7}
.pressure-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:24px}.pressure-grid a{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:15px;text-decoration:none;font-size:11px;font-weight:800}.pressure-grid a.active{background:#fff;color:#11131a}.pressure-grid a span{font-size:17px}.pressure-note{font-size:8px;color:#8e9bb0;margin-top:8px;text-align:center}
.rescue-card{background:#fff;border-radius:28px;padding:21px;margin-top:16px;box-shadow:0 16px 36px rgba(16,18,24,.08)}.rescue-top{display:flex;justify-content:space-between;font-size:9px;font-weight:900;letter-spacing:.11em}.rescue-card h2{font-family:"Manrope";font-size:25px;line-height:1.05;margin:18px 0}.rescue-card blockquote{font-family:"Manrope";font-size:17px;line-height:1.48;margin:0 0 10px;padding-left:14px;border-left:3px solid #5143dd}.rescue-card>strong{font-size:11px}.rescue-speak{display:flex;align-items:center;justify-content:center;gap:8px;background:#11131a;color:#fff;border-radius:16px;padding:14px;text-decoration:none;font-size:11px;font-weight:900;margin-top:18px}

/* Existing generic forms */
.stack{display:grid;gap:13px}.stack label{display:grid;gap:6px;font-size:11px;font-weight:800}input,textarea,select{width:100%;border:1px solid #dad8d1;background:#fff;border-radius:14px;padding:13px;outline:none}.small{padding:10px 12px}.journal-block,.god-did-testimony{background:#fff;border-radius:19px;padding:16px;border:1px solid var(--line);margin:12px 0}.journal-block>span,.god-did-testimony>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#8b8d93}.panel{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;margin:10px 0}.panel summary{font-weight:900;cursor:pointer}.timeline{display:grid;gap:9px}.timeline article{background:#fff;border-radius:17px;padding:14px;border:1px solid var(--line)}.timeline span{font-size:8px;letter-spacing:.1em;color:#8c8e94}.empty-state{grid-column:1/-1;text-align:center;padding:36px 20px;background:#fff;border:1px dashed #d5d2ca;border-radius:23px}.empty-state>span{font-size:34px}.empty-state h2{font-family:"Manrope";font-size:21px;margin:10px 0 6px}.empty-state p{font-size:11px;color:#777;max-width:320px;margin:0 auto 16px}.empty-state a{display:inline-block;background:#11131a;color:#fff;border-radius:14px;padding:12px 15px;text-decoration:none;font-size:10px;font-weight:900}.gold-empty{background:#fff8df}

@media(max-width:380px){
  .today-head h1{font-size:23px}.daily-card{flex-basis:90%;min-height:430px}.daily-card-copy h2{font-size:27px}
  .testimony-wall{grid-template-columns:1fr}.persistent-word-rescue strong{display:none}
}
@media(min-width:641px){.app-shell{box-shadow:0 0 80px rgba(0,0,0,.25)}}


/* ==================== KINGDOMFRIENDS V4 ==================== */
:root{
  --warm:#f4ecdd; --warm-card:#fffaf0; --warm-card-2:#f9f2e5;
  --text:#1c211c; --soft:#6c7067; --green:#64734d;
  --iam:#5b638f; --shall:#52745c; --will:#8b5b50; --did:#9b772f;
}
html[data-text-size="small"]{font-size:14px}
html[data-text-size="default"]{font-size:16px}
html[data-text-size="large"]{font-size:18px}
html[data-text-size="xlarge"]{font-size:20px}
body{color:var(--text)}
.app-shell{background:var(--warm)}
.topbar{background:rgba(244,236,221,.94);border-color:rgba(53,59,49,.08)}
.aa-button,.settings-button{height:34px;min-width:38px;border:1px solid rgba(40,45,38,.10);border-radius:12px;background:#fffaf0;color:#242922;font-weight:900;display:grid;place-items:center;text-decoration:none}
.font-control{position:relative}
.font-popover{position:absolute;right:0;top:42px;z-index:70;width:190px;padding:10px;background:#fffdf7;border:1px solid rgba(30,35,28,.10);border-radius:18px;box-shadow:0 20px 50px rgba(35,38,31,.18)}
.font-popover>small{display:block;font-size:.62rem;letter-spacing:.15em;font-weight:900;color:#7e8079;padding:4px 7px 8px}
.font-popover button{width:100%;border:0;background:transparent;border-radius:11px;padding:9px 8px;text-align:left;display:flex;align-items:center;gap:10px;color:#262b24}
.font-popover button:hover{background:#f3ecdf}.font-popover b{width:28px;text-align:center}.font-popover .font-l{font-size:1.2em}.font-popover .font-xl{font-size:1.45em}

/* The governing V4 rule: decorate AROUND the Word, never THROUGH it. */
.nature-card,.nature-panel,.nature-hero,.nature-world{position:relative;isolation:isolate}
.nature-card::before,.nature-panel::before,.nature-hero::before,.nature-world::before{
  content:"";position:absolute;z-index:-1;right:-28px;top:-28px;width:170px;height:220px;
  background:url('/img/palm-frond.svg') right top/contain no-repeat;opacity:.13;pointer-events:none
}
.nature-card::after,.nature-panel::after,.nature-hero::after,.nature-world::after{
  content:"";position:absolute;z-index:-1;left:-35px;bottom:-22px;width:150px;height:105px;
  background:url('/img/leaf-sprig.svg') left bottom/contain no-repeat;opacity:.09;pointer-events:none
}
html[data-contrast="high"] .nature-card::before,
html[data-contrast="high"] .nature-card::after,
html[data-contrast="high"] .nature-panel::before,
html[data-contrast="high"] .nature-panel::after,
html[data-contrast="high"] .nature-hero::before,
html[data-contrast="high"] .nature-hero::after,
html[data-contrast="high"] .nature-world::before,
html[data-contrast="high"] .nature-world::after{display:none!important}

.daily-card{color:var(--text)!important;background:var(--warm-card)!important;border:1px solid rgba(55,63,50,.09);box-shadow:0 15px 38px rgba(52,47,36,.11);min-height:455px}
.daily-card.i-am{border-top:7px solid var(--iam)}.daily-card.i-shall{border-top:7px solid var(--shall)}
.daily-card.i-will-not{border-top:7px solid var(--will)}.daily-card.god-did{border-top:7px solid var(--did)}
.daily-card .card-glow,.daily-card .card-sheen{display:none}
.pillar-symbol{opacity:.12;color:var(--green)}.pillar-kicker{color:#4f5949}.card-index{color:#85877e}
.daily-card-copy h2{color:#20261e;text-shadow:none}.daily-card-copy p{color:#656a60;opacity:1}
.card-action{border-top-color:rgba(40,45,37,.12);color:#263025}.daily-done-badge{background:#e9efdf;border-color:#d6dfc9;color:#506440}
.daily-progress-shell,.quick-prayer{background:#ebe1cf}.daily-progress-track{background:#d8cebd}.daily-progress-track i{background:#64734d}
.need-word-float{background:#293126}.need-bolt{background:#71805b}
.persistent-word-rescue{background:#293126}.persistent-word-rescue span{background:#71805b}

.learn-world{color:var(--text)!important;background:var(--warm)!important}
.learn-world.i-am,.learn-world.i-shall,.learn-world.i-will-not{background:var(--warm)!important}
.learn-orbit,.learn-particles{display:none}
.learn-meta{color:#56604f}
.memory-card{background:rgba(255,250,240,.96)!important;border:1px solid rgba(49,57,45,.10)!important;color:var(--text)!important;box-shadow:0 18px 45px rgba(52,47,36,.10)!important}
.memory-card h1{color:#1f251d}.reveal-zone{border-top-color:rgba(40,46,37,.12)}.reveal-zone blockquote{color:#20261e}
.reference-line span,.context-zone p{color:#676c63;opacity:1}
.reveal-trigger{background:#293126;color:#fff}.prove-cta{background:#e9e1d4;border-color:#d9cfbf;color:#222820}.prove-cta a{background:#293126;color:#fff}
.ghost-action{background:#e9e1d4;border-color:#d9cfbf;color:#222820}.test-action{background:#293126;color:#fff}

.goddid-stage,.need-world,.form-hero,.settings-hero{margin:0 -18px;padding:34px 22px 27px;background:#eadfc9!important;color:var(--text)!important;border-radius:0 0 34px 34px;overflow:hidden}
.goddid-stage h1,.need-world h1,.form-hero h1,.settings-hero h1{font-family:"Manrope";font-size:2.1rem;line-height:1.03;letter-spacing:-.05em;margin:7px 0}
.goddid-stage p,.need-world p,.form-hero p,.settings-hero p{color:#62675e!important;font-size:.76rem;line-height:1.5}
.eyebrow.gold{color:#876b2d}
.goddid-actions{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-top:18px}.testimony-count span{color:#6a6d64}.add-goddid{background:#293126;color:#fff;text-decoration:none;border-radius:15px;padding:12px 13px;font-size:.68rem;font-weight:900}
.recent-prompt{margin:14px 0;background:var(--warm-card);border:1px solid rgba(45,52,42,.08);border-radius:20px;padding:15px;display:flex;align-items:center;justify-content:space-between}
.recent-prompt div{display:flex;flex-direction:column}.recent-prompt span{font-size:.55rem;font-weight:900;letter-spacing:.12em;color:#88877f}.recent-prompt strong{font-size:.82rem;margin-top:3px}.recent-prompt>a{width:40px;height:40px;display:grid;place-items:center;background:#293126;color:#fff;border-radius:13px;text-decoration:none;font-size:1.25rem}
.testimony-card{background:var(--warm-card)!important;color:var(--text)!important;min-height:0;border:1px solid rgba(45,52,42,.08)}
.testimony-card-head{display:flex;justify-content:space-between;align-items:center}.source-badge{font-size:.46rem!important;font-weight:900;letter-spacing:.08em;padding:6px 7px;border-radius:999px;background:#ede4d5;color:#6e6a60!important}
.testimony-preview{line-height:1.5}.linked-scripture{display:block;color:#6a725f;margin:7px 0}
.memory-actions{display:flex;align-items:center;gap:7px;margin-top:14px}.memory-actions a,.memory-actions button{border:0;background:#ece4d7;color:#283025;border-radius:10px;padding:8px 10px;font-size:.6rem;font-weight:900;text-decoration:none;cursor:pointer}
.memory-actions form{margin:0}
.bible-story{background:var(--warm-card)!important}.testament-tabs{background:#e1d8c8}.testament-tabs button.active{background:#293126}

.pressure-grid a{background:#f8efdf;border-color:#ded2c0;color:#333a30}.pressure-grid a.active{background:#293126;color:#fff}
.rescue-card{background:var(--warm-card)!important}.rescue-card blockquote{border-left-color:#71805b}.rescue-speak{background:#293126}

.form-card,.settings-card,.account-card{margin:16px 0;background:var(--warm-card);border:1px solid rgba(45,52,42,.08);border-radius:22px;padding:17px}
.form-card input,.form-card textarea,.form-card select{background:#fffdf7;border-color:#d8cdbc;color:#20251e}
.form-card label>small{font-weight:500;color:#777b72}.text-link{font-size:.72rem;text-align:center;text-decoration:none;color:#676b63}
.primary{background:#293126;color:#fff}
.settings-card{display:grid;gap:16px}.setting-group{display:grid;gap:12px}.setting-copy>span,.setting-row>div>span,.account-card>span{font-size:.56rem;font-weight:900;letter-spacing:.14em;color:#85847c}
.setting-copy h2{font-family:"Manrope";font-size:1.15rem;margin:4px 0}.size-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.size-choice{border:1px solid #ddd2c2;border-radius:15px;padding:12px;display:flex;align-items:center;gap:9px;background:#fffdf8;cursor:pointer}.size-choice input{width:auto}.size-choice b{width:28px;text-align:center}.preview-small{font-size:.85em}.preview-large{font-size:1.25em}.preview-xlarge{font-size:1.5em}
.setting-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #e2d9ca;padding-top:15px}.setting-row h3{font-size:.9rem;margin:4px 0}.setting-row p{font-size:.68rem;color:#73766e;margin:0}
.switch{position:relative;flex:0 0 auto}.switch input[type=checkbox]{position:absolute;opacity:0}.switch i{display:block;width:48px;height:28px;border-radius:99px;background:#cfc6b7;position:relative;transition:.2s}.switch i:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:white;transition:.2s}.switch input[type=checkbox]:checked+i{background:#64734d}.switch input[type=checkbox]:checked+i:after{transform:translateX(20px)}
.settings-save{width:100%}.account-card{display:flex;flex-direction:column}.account-card strong{margin-top:6px}.account-card small{color:#767970}.logout-button{margin-top:13px;border:0;border-radius:12px;padding:10px 12px;background:#eee5d8;color:#5a3b35;font-weight:900}
.page-title{font-family:"Manrope";font-size:2rem;line-height:1.05}.block-head{display:flex;justify-content:space-between}.block-head a{font-size:.65rem;font-weight:900}

html[data-contrast="high"] .daily-card,
html[data-contrast="high"] .memory-card,
html[data-contrast="high"] .nature-panel,
html[data-contrast="high"] .rescue-card,
html[data-contrast="high"] .form-card,
html[data-contrast="high"] .settings-card{background:#fff!important;color:#111!important;border-color:#9e9e9e!important}
html[data-contrast="high"] .daily-card-copy h2,
html[data-contrast="high"] .daily-card-copy p,
html[data-contrast="high"] .memory-card h1,
html[data-contrast="high"] .reveal-zone blockquote{color:#111!important}
html[data-contrast="high"] .card-action{color:#111!important;border-top-color:#777!important}

@media(max-width:380px){
  .goddid-actions{align-items:stretch;flex-direction:column}.add-goddid{width:100%;text-align:center}
  .font-popover{right:-40px}.size-options{grid-template-columns:1fr}
}


/* ==================== KINGDOMFRIENDS V4.1 MOBILE NAV ==================== */

/* Warm, readable, thumb-friendly bottom navigation */
.bottom-nav{
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  z-index:30;
  width:min(640px,100%);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:4px;
  padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  background:rgba(248,241,228,.97);
  backdrop-filter:blur(18px);
  border-top:1px solid rgba(73,79,66,.12);
  box-shadow:0 -10px 30px rgba(52,47,36,.08);
}

.bottom-nav a{
  min-height:58px;
  border-radius:17px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#5f6759;
  text-decoration:none;
  font-size:25px;
  line-height:1;
  transition:background .18s ease,color .18s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}

.bottom-nav a small{
  font-size:10.5px;
  line-height:1;
  font-weight:800;
  letter-spacing:0;
  color:inherit;
}

.bottom-nav a.active{
  color:#293126;
  background:#dde5cf;
  box-shadow:inset 0 0 0 1px rgba(88,105,75,.08);
}

.bottom-nav a:active{
  transform:scale(.96);
}

/* Today gets a touch more emphasis without becoming a floating center button */
.bottom-nav a:first-child.active{
  background:#d5dfc4;
}

/* Keep the rescue action clear of the larger navigation bar */
.persistent-word-rescue{
  bottom:calc(91px + env(safe-area-inset-bottom));
  right:max(14px,calc((100vw - 640px)/2 + 14px));
  min-height:46px;
  padding:10px 14px 10px 10px;
  border:1px solid rgba(255,255,255,.08);
}

.persistent-word-rescue span{
  width:30px;
  height:30px;
}

.persistent-word-rescue strong{
  font-size:9.5px;
  letter-spacing:.08em;
}

/* Give content enough breathing room above the larger nav */
.app-shell{
  padding-bottom:112px;
}

/* Better accessibility for large font settings */
html[data-text-size="large"] .bottom-nav a small{
  font-size:11px;
}

html[data-text-size="xlarge"] .bottom-nav a{
  min-height:62px;
}

html[data-text-size="xlarge"] .bottom-nav a small{
  font-size:11.5px;
}

html[data-contrast="high"] .bottom-nav{
  background:#fff!important;
  border-top-color:#777!important;
}

html[data-contrast="high"] .bottom-nav a{
  color:#111!important;
}

html[data-contrast="high"] .bottom-nav a.active{
  background:#e2ead8!important;
  outline:2px solid #30382b;
}

/* Small screens: preserve target size, reduce horizontal crowding */
@media(max-width:380px){
  .bottom-nav{
    gap:2px;
    padding-left:5px;
    padding-right:5px;
  }

  .bottom-nav a{
    min-height:56px;
    border-radius:14px;
    font-size:23px;
  }

  .bottom-nav a small{
    font-size:9.5px;
  }

  .persistent-word-rescue{
    bottom:calc(88px + env(safe-area-inset-bottom));
  }
}


/* ==================== KINGDOMFRIENDS V4.1.1 REVEAL READABILITY ==================== */

/* Reading text must scale with the user's accessibility text-size setting. */
.context-zone p{
  font-size:0.95rem!important;
  line-height:1.68!important;
  color:#5f665b!important;
}

/* Keep Scripture comfortably readable and scalable. */
.reveal-zone blockquote{
  font-size:1.18rem!important;
  line-height:1.62!important;
}

/* Reference and translation remain secondary, but should not become tiny. */
.reference-line{
  gap:14px;
  align-items:baseline;
}

.reference-line strong{
  font-size:0.92rem!important;
  line-height:1.4;
}

.reference-line span{
  font-size:0.78rem!important;
  line-height:1.4;
}

/* The user should be able to read the context label without squinting. */
.context-zone .micro-label{
  font-size:0.68rem!important;
}

/* Accessibility text sizes now clearly affect the reveal-reading surfaces. */
html[data-text-size="large"] .context-zone p{
  font-size:1rem!important;
}

html[data-text-size="xlarge"] .context-zone p{
  font-size:1.05rem!important;
}

html[data-text-size="large"] .reveal-zone blockquote{
  font-size:1.22rem!important;
}

html[data-text-size="xlarge"] .reveal-zone blockquote{
  font-size:1.28rem!important;
}

/* High contrast keeps all reveal copy strong and clean. */
html[data-contrast="high"] .context-zone p,
html[data-contrast="high"] .reference-line strong,
html[data-contrast="high"] .reference-line span{
  color:#111!important;
}


/* ==================== KINGDOMFRIENDS V4.1.2 FORM READABILITY ==================== */
/* Forms are reading/work surfaces. No tiny utility typography here. */

.form-card,
.settings-card,
.account-card{
  font-size:1rem;
}

.form-card label,
.stack label{
  font-size:0.92rem!important;
  line-height:1.45!important;
  font-weight:700!important;
  color:#2f352d!important;
  gap:8px!important;
}

.form-card label > small,
.stack label > small{
  font-size:0.78rem!important;
  line-height:1.45!important;
  color:#6b7067!important;
  font-weight:500!important;
}

.form-card input,
.form-card textarea,
.form-card select,
.stack input,
.stack textarea,
.stack select{
  font-size:1rem!important;
  line-height:1.5!important;
  padding:14px 14px!important;
  min-height:50px;
}

.form-card textarea,
.stack textarea{
  min-height:150px;
}

.form-card input::placeholder,
.form-card textarea::placeholder,
.stack input::placeholder,
.stack textarea::placeholder{
  font-size:0.92rem!important;
  color:#96988f!important;
  opacity:1!important;
}

.form-card .primary,
.form-card .secondary,
.settings-card .primary,
.settings-card .secondary{
  font-size:0.95rem!important;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.text-link{
  font-size:0.88rem!important;
  padding:8px 0;
}

.error{
  font-size:0.86rem!important;
  line-height:1.45!important;
}

/* GOD DID manual-entry/edit forms */
.form-hero .eyebrow{
  font-size:0.72rem!important;
}

.form-hero h1{
  font-size:2.05rem!important;
}

.form-hero p{
  font-size:0.95rem!important;
  line-height:1.6!important;
}

/* Settings should also remain comfortably legible. */
.setting-copy > span,
.setting-row > div > span,
.account-card > span{
  font-size:0.7rem!important;
}

.setting-copy h2{
  font-size:1.2rem!important;
}

.setting-row h3{
  font-size:1rem!important;
}

.setting-row p{
  font-size:0.84rem!important;
  line-height:1.5!important;
}

.size-choice span{
  font-size:0.9rem!important;
}

/* Larger accessibility choices should scale form text, not just content cards. */
html[data-text-size="large"] .form-card label,
html[data-text-size="large"] .stack label{
  font-size:1rem!important;
}

html[data-text-size="large"] .form-card input,
html[data-text-size="large"] .form-card textarea,
html[data-text-size="large"] .form-card select,
html[data-text-size="large"] .stack input,
html[data-text-size="large"] .stack textarea,
html[data-text-size="large"] .stack select{
  font-size:1.05rem!important;
}

html[data-text-size="xlarge"] .form-card label,
html[data-text-size="xlarge"] .stack label{
  font-size:1.06rem!important;
}

html[data-text-size="xlarge"] .form-card input,
html[data-text-size="xlarge"] .form-card textarea,
html[data-text-size="xlarge"] .form-card select,
html[data-text-size="xlarge"] .stack input,
html[data-text-size="xlarge"] .stack textarea,
html[data-text-size="xlarge"] .stack select{
  font-size:1.12rem!important;
}

html[data-contrast="high"] .form-card label,
html[data-contrast="high"] .stack label,
html[data-contrast="high"] .form-hero p{
  color:#111!important;
}


/* ==================== KINGDOMFRIENDS V4.2 SHELL POLISH ==================== */

/* Premium floating navigation dock */
.bottom-nav.bottom-nav-v42{
  position:fixed!important;
  left:50%!important;
  bottom:10px!important;
  transform:translateX(-50%)!important;
  width:min(620px,calc(100% - 20px))!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:5px!important;
  padding:7px!important;
  background:rgba(255,250,240,.98)!important;
  border:1px solid rgba(61,70,56,.12)!important;
  border-radius:25px!important;
  box-shadow:0 14px 38px rgba(54,48,36,.18),0 2px 8px rgba(54,48,36,.05)!important;
  backdrop-filter:blur(20px)!important;
  overflow:visible!important;
}

.bottom-nav.bottom-nav-v42 a{
  min-width:0!important;
  min-height:62px!important;
  padding:6px 2px!important;
  border-radius:18px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:#73786d!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transition:background .18s ease,color .18s ease,transform .12s ease!important;
}

.bottom-nav.bottom-nav-v42 .nav-icon{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  transition:background .18s ease,color .18s ease,transform .18s ease!important;
}

.bottom-nav.bottom-nav-v42 .nav-icon svg{
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.bottom-nav.bottom-nav-v42 .nav-label{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  font-size:11.5px!important;
  line-height:1.05!important;
  font-weight:750!important;
  letter-spacing:-.01em!important;
  color:inherit!important;
}

.bottom-nav.bottom-nav-v42 a.active{
  color:#263022!important;
  background:#e4ead8!important;
  box-shadow:inset 0 0 0 1px rgba(80,102,68,.08)!important;
}

.bottom-nav.bottom-nav-v42 a.active .nav-icon{
  background:#617250!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}

.bottom-nav.bottom-nav-v42 a:active{
  transform:scale(.96)!important;
}

.app-shell{
  padding-bottom:122px!important;
}

.persistent-word-rescue{
  bottom:101px!important;
}

/* Header refinement */
.topbar{
  min-height:62px!important;
  height:62px!important;
  padding:0 14px!important;
  background:rgba(247,239,224,.96)!important;
  border-bottom:1px solid rgba(65,71,60,.08)!important;
}
.brand-mark{
  font-size:15.5px!important;
  letter-spacing:-.015em!important;
}
.brand-crown{
  width:34px!important;height:34px!important;border-radius:12px!important;
}
.settings-button svg{
  width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}

/* I NEED THE WORD: remove unfinished half-screen feeling */
.need-v42-hero{
  margin:0 -18px!important;
  padding:34px 22px 30px!important;
  min-height:245px!important;
  background:#eadfc9!important;
  color:#20261e!important;
  border-radius:0 0 32px 32px!important;
  overflow:hidden!important;
}
.need-v42-hero::before{opacity:.11!important}
.need-v42-star{
  position:absolute;right:17px;top:14px;font-size:118px;line-height:1;color:rgba(100,115,79,.075);z-index:-1;
}
.need-v42-hero .eyebrow{
  font-size:.72rem!important;color:#667058!important;
}
.need-v42-hero h1{
  font-family:"Manrope";font-size:2.65rem!important;line-height:.98!important;letter-spacing:-.06em!important;
  margin:9px 0 14px!important;color:#191f18!important;
}
.need-v42-hero h1 em{
  font-style:normal;color:#607954!important;
}
.need-v42-hero p{
  margin:0!important;max-width:430px;font-size:.98rem!important;line-height:1.55!important;color:#5e6459!important;
}

.need-v42-topics{
  margin:16px 0 0!important;
  padding:0 0 4px!important;
}
.need-v42-section-head{
  display:flex;align-items:end;justify-content:space-between;margin:0 2px 12px;
}
.need-v42-section-head span{
  font-size:.67rem!important;font-weight:900;letter-spacing:.11em;color:#808177;
}
.need-v42-section-head h2{
  margin:4px 0 0;font-family:"Manrope";font-size:1.2rem;letter-spacing:-.03em;color:#252b23;
}

.pressure-grid.pressure-grid-v42{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
.pressure-grid.pressure-grid-v42 a{
  min-height:62px!important;
  padding:10px 11px!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 14px!important;
  align-items:center!important;
  gap:9px!important;
  border-radius:18px!important;
  border:1px solid rgba(64,72,59,.11)!important;
  background:#fffaf0!important;
  color:#2a3027!important;
  box-shadow:0 5px 16px rgba(62,55,42,.045)!important;
}
.pressure-grid.pressure-grid-v42 a.active{
  background:#35412f!important;
  color:#fff!important;
  border-color:#35412f!important;
}
.pressure-icon{
  width:36px;height:36px;border-radius:12px;background:#eee5d5;display:grid;place-items:center;
  font-size:1.05rem!important;color:#52614a!important;
}
.pressure-grid.pressure-grid-v42 a.active .pressure-icon{
  background:rgba(255,255,255,.13)!important;color:#fff!important;
}
.pressure-name{
  font-size:.92rem!important;font-weight:750!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.pressure-arrow{
  font-size:1.35rem!important;line-height:1;color:#a1a298;
}
.pressure-grid.pressure-grid-v42 a.active .pressure-arrow{color:#fff}
.pressure-note{
  margin:10px 2px 0!important;
  font-size:.76rem!important;
  line-height:1.4!important;
  color:#777b72!important;
  text-align:left!important;
}

.need-v42-empty{
  margin:16px 0 0!important;
  min-height:160px;
  padding:20px!important;
  display:flex;
  align-items:center;
  gap:15px;
  border-radius:22px!important;
  background:#f7efdf!important;
  border:1px solid rgba(65,72,60,.09)!important;
}
.need-empty-icon{
  flex:0 0 48px;width:48px;height:48px;border-radius:16px;background:#e1e7d7;color:#55674a;display:grid;place-items:center;font-size:1.25rem;
}
.need-v42-empty span{
  font-size:.65rem;font-weight:900;letter-spacing:.11em;color:#777b71;
}
.need-v42-empty h3{
  font-family:"Manrope";font-size:1.12rem;margin:4px 0 5px;letter-spacing:-.025em;color:#272d25;
}
.need-v42-empty p{
  font-size:.86rem!important;line-height:1.55!important;color:#656a60;margin:0;
}
.rescue-card-v42{
  margin-top:16px!important;
  border:1px solid rgba(65,72,60,.09)!important;
  box-shadow:0 10px 28px rgba(55,49,37,.07)!important;
}

/* Large-font accessibility must not collapse nav or topic tiles */
html[data-text-size="large"] .bottom-nav.bottom-nav-v42 .nav-label{
  font-size:12px!important;
}
html[data-text-size="xlarge"] .bottom-nav.bottom-nav-v42 .nav-label{
  font-size:12.5px!important;
}
html[data-text-size="large"] .pressure-name{
  font-size:.95rem!important;
}
html[data-text-size="xlarge"] .pressure-name{
  font-size:1rem!important;
}

html[data-contrast="high"] .bottom-nav.bottom-nav-v42{
  background:#fff!important;border-color:#555!important;
}
html[data-contrast="high"] .bottom-nav.bottom-nav-v42 a.active{
  background:#dfe9d4!important;outline:none!important;
}
html[data-contrast="high"] .need-v42-hero,
html[data-contrast="high"] .need-v42-empty,
html[data-contrast="high"] .pressure-grid.pressure-grid-v42 a{
  background:#fff!important;color:#111!important;
}

@media(max-width:380px){
  .bottom-nav.bottom-nav-v42{
    width:calc(100% - 12px)!important;
    bottom:6px!important;
    gap:2px!important;
    padding:6px!important;
    border-radius:22px!important;
  }
  .bottom-nav.bottom-nav-v42 a{
    min-height:58px!important;border-radius:16px!important;
  }
  .bottom-nav.bottom-nav-v42 .nav-icon{
    width:26px!important;height:26px!important;
  }
  .bottom-nav.bottom-nav-v42 .nav-icon svg{
    width:22px!important;height:22px!important;
  }
  .bottom-nav.bottom-nav-v42 .nav-label{
    font-size:10.5px!important;
  }
  .pressure-grid.pressure-grid-v42{
    grid-template-columns:1fr!important;
  }
  .need-v42-hero h1{
    font-size:2.35rem!important;
  }
}


/* ==================== PHASE 1 COMPLETION RC1 ==================== */
.review-alert{display:flex;align-items:center;gap:12px;margin:4px 0 12px;padding:14px;border-radius:18px;background:#34422f;color:#fff;text-decoration:none;box-shadow:0 10px 24px rgba(45,56,40,.13)}
.review-alert-icon{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:1.3rem}
.review-alert>span:nth-child(2){display:flex;flex-direction:column;flex:1}.review-alert small{font-size:.68rem;letter-spacing:.11em;opacity:.7}.review-alert strong{font-size:.94rem;margin-top:2px}.review-alert b{font-size:.78rem}

.mode-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 18px}
.mode-shortcuts a{min-height:78px;padding:12px;border:1px solid rgba(58,65,54,.09);border-radius:18px;background:#fffaf0;text-decoration:none;display:flex;flex-direction:column;justify-content:center}
.mode-shortcuts a>span{font-size:1.1rem;color:#637354}.mode-shortcuts b{font-size:.86rem;margin-top:4px}.mode-shortcuts small{font-size:.7rem;color:#777b72;margin-top:2px}

.card-action-button{width:100%;background:transparent;border-left:0;border-right:0;border-bottom:0;color:inherit;cursor:pointer;text-align:left}
.daily-meaningful-complete{width:100%;border:0;border-radius:15px;background:#e1e8d8;color:#2e3b29;padding:14px;font-size:.85rem;font-weight:900;margin-top:12px;cursor:pointer}

/* Learn / Declare / Review hub */
.learning-hub-head{padding:22px 0 12px}.learning-hub-head h1{font-family:"Manrope";font-size:2rem;line-height:1.03;letter-spacing:-.05em;margin:5px 0 8px}.learning-hub-head p{font-size:.92rem;line-height:1.55;color:#696e64;margin:0}
.learning-mode-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:4px;background:#e5dccd;border-radius:16px;margin:8px 0 12px}
.learning-mode-tabs a{text-align:center;text-decoration:none;padding:10px;border-radius:12px;font-size:.82rem;font-weight:800;color:#666b62}
.learning-mode-tabs a.active{background:#34422f;color:#fff}
.pillar-filter{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px}.pillar-filter::-webkit-scrollbar{display:none}
.pillar-filter a{white-space:nowrap;text-decoration:none;border:1px solid #d9cfbf;background:#fffaf0;border-radius:999px;padding:8px 11px;font-size:.72rem;font-weight:800;color:#62685f}
.pillar-filter a.active{background:#667655;color:#fff;border-color:#667655}

.learn-feed,.declaration-deck{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 11vw 8px 0}.learn-feed::-webkit-scrollbar,.declaration-deck::-webkit-scrollbar{display:none}
.feed-card,.declaration-card{flex:0 0 88%;scroll-snap-align:start;min-height:500px;border-radius:30px;background:#fffaf0!important;border:1px solid rgba(55,63,50,.09);padding:22px;display:flex;flex-direction:column;overflow:hidden;position:relative}
.feed-card.i-am,.declaration-card.i-am{border-top:7px solid var(--iam)}
.feed-card.i-shall,.declaration-card.i-shall{border-top:7px solid var(--shall)}
.feed-card.i-will-not,.declaration-card.i-will-not{border-top:7px solid var(--will)}
.feed-card-top{display:flex;justify-content:space-between;font-size:.72rem;font-weight:900;letter-spacing:.08em;color:#5d6657}.feed-card-top small{font-size:.66rem;color:#898b83}
.feed-card-main{margin:auto 0}.feed-card-main h2,.declaration-center h2{font-family:"Manrope";font-size:1.9rem;line-height:1.08;letter-spacing:-.045em;margin:8px 0 14px;color:#20261e}
.feed-scripture{border-top:1px solid #e0d7c7;padding-top:16px;margin-top:14px}.feed-scripture blockquote{font-family:"Manrope";font-size:1.05rem;line-height:1.62;margin:8px 0 12px}.feed-scripture>strong{font-size:.8rem}.feed-scripture p{font-size:.86rem;line-height:1.55;color:#62685f}
.feed-actions{display:grid;gap:8px;margin-top:14px}.feed-actions button,.feed-actions a{border:0;border-radius:15px;padding:13px;text-align:center;text-decoration:none;font-size:.82rem;font-weight:900;cursor:pointer}.feed-actions button{background:#34422f;color:#fff}.feed-actions a{background:#e3ead9;color:#2f3a2b}
.feed-hint{text-align:center;font-size:.72rem;color:#85877f;margin:5px 0 18px}
.declaration-center{margin:auto 0}.declaration-center p{font-size:.82rem;color:#70756b}
.declaration-card details{border-top:1px solid #ded4c4;padding-top:14px}.declaration-card summary{font-size:.8rem;font-weight:900;cursor:pointer}.declaration-card blockquote{font-size:.95rem;line-height:1.55;margin:12px 0}

/* Review */
.review-hero{margin:0 -18px;padding:32px 22px;background:#e8dfcf;border-radius:0 0 30px 30px}.review-hero h1{font-family:"Manrope";font-size:2rem;line-height:1.04;letter-spacing:-.045em;margin:7px 0}.review-hero p{font-size:.9rem;line-height:1.55;color:#666b62}
.review-session-card{background:#fffaf0;border:1px solid rgba(55,63,50,.09);border-radius:24px;padding:22px;text-align:center}.review-counter{display:flex;justify-content:space-between;font-size:.7rem;color:#747970}.review-counter span{font-weight:900;letter-spacing:.1em}.review-reference{font-family:"Manrope";font-size:2.5rem;font-weight:800;letter-spacing:-.05em;margin:32px 0 14px}.review-session-card p{font-size:.88rem;line-height:1.55;color:#686d63}.review-start{width:100%;margin-top:10px}
.review-queue{margin-top:20px}.review-queue-row{display:grid;grid-template-columns:90px 1fr auto;gap:8px;align-items:center;padding:12px 2px;border-bottom:1px solid #ded6c8}.review-queue-row span{font-size:.66rem;font-weight:900;color:#70766b}.review-queue-row strong{font-size:.9rem}.review-queue-row small{font-size:.7rem;color:#85877e}

/* Arsenal states */
.arsenal-status-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.arsenal-status-summary a{background:#fffaf0;border:1px solid rgba(55,63,50,.08);border-radius:16px;padding:12px;text-decoration:none;text-align:center}.arsenal-status-summary strong{display:block;font-family:"Manrope";font-size:1.35rem}.arsenal-status-summary span{font-size:.67rem;color:#70746c}
.arsenal-state{display:inline-flex;align-self:flex-start;border-radius:999px;padding:6px 8px;font-size:.62rem;font-weight:900;margin-top:10px;background:rgba(255,255,255,.14)}.state-needs-review{background:#fff0c5;color:#664d12}.state-fading{background:#f4d3ca;color:#6d3024}.state-strong{background:#dbead2;color:#35512d}

/* Prayer-Scripture integration */
.prayer-detail{padding-top:18px}.journey-scripture-panel{margin:14px 0;background:#fffaf0;border:1px solid rgba(55,63,50,.08);border-radius:22px;padding:16px}
.journey-scripture-panel .block-head span{font-size:.65rem;font-weight:900;letter-spacing:.1em;color:#777c72}.journey-scripture-panel .block-head h2{font-family:"Manrope";font-size:1.05rem;margin:4px 0 12px}
.journey-scripture-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #e2d9ca}.journey-scripture-row:first-of-type{border-top:0}.journey-scripture-row>div:first-child{display:flex;flex-direction:column}.journey-scripture-row span{font-size:.62rem;font-weight:900;color:#6a745f}.journey-scripture-row strong{font-size:.95rem;margin:2px 0}.journey-scripture-row small{font-size:.72rem;color:#777b72}
.journey-scripture-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.journey-scripture-actions a,.journey-scripture-actions button{border:0;border-radius:10px;padding:8px 9px;background:#e5eadc;color:#2d3928;text-decoration:none;font-size:.7rem;font-weight:900;cursor:pointer}.journey-scripture-actions button{background:#eee3d8;color:#704f43}
.add-scripture-inline{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.add-scripture-inline select{min-width:0}
.journey-help{font-size:.83rem;line-height:1.5;color:#6e7269}.journey-timeline .timeline-memorized{border-left:4px solid #71805b}.journey-timeline .timeline-answered{border-left:4px solid #b18a38}

/* GOD DID anniversary */
.on-this-day{margin:14px 0;background:#fff7dc;border:1px solid #e6d4a7;border-radius:22px;padding:16px}.on-this-day-head{display:flex;justify-content:space-between;align-items:center}.on-this-day-head span{font-size:.66rem;font-weight:900;letter-spacing:.12em;color:#8b6a28}.on-this-day-head strong{font-size:.78rem}.on-this-day article{padding:12px 0 4px}.on-this-day article+article{border-top:1px solid #eadab3}.on-this-day article small{font-size:.7rem;color:#927331}.on-this-day article h2{font-family:"Manrope";font-size:1.15rem;margin:4px 0}.on-this-day article p{font-size:.83rem;line-height:1.5;color:#696557;margin:0}

@media(max-width:380px){
  .mode-shortcuts{grid-template-columns:1fr}.mode-shortcuts a{min-height:60px}
  .feed-card,.declaration-card{flex-basis:92%;min-height:460px}
  .review-queue-row{grid-template-columns:72px 1fr}.review-queue-row small{grid-column:2}
  .journey-scripture-row{flex-direction:column}.journey-scripture-actions{flex-direction:row;align-items:center}
}
