*{box-sizing:border-box;-webkit-tap-highlight-color:transparent} :root{font-family:ui-rounded,'Arial Rounded MT Bold','Trebuchet MS',sans-serif;color:#194b77;font-synthesis:none;background:#102e43;font-weight:700}body{margin:0;overscroll-behavior:none}button{font:inherit;cursor:pointer;touch-action:manipulation;border:0}button:disabled{cursor:default;opacity:.45}button:focus-visible,[tabindex]:focus-visible{outline:3px solid #fff;outline-offset:3px}#app{width:100%;max-width:480px;height:100dvh;min-height:640px;margin:auto;position:relative;overflow:hidden;background:#8edceb url('assets/countryside.png') center/cover;box-shadow:0 0 80px #051e31}#app.dusk{background-blend-mode:multiply;background-color:#c5b2df}.screen{height:100%;padding:max(20px,env(safe-area-inset-top)) 22px max(18px,env(safe-area-inset-bottom));display:flex;flex-direction:column;position:relative;animation:enter .25s ease}.hud{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:43px}.pill{border:2px solid #ffffe3;border-radius:30px;background:linear-gradient(#ecffff,#87d9ed);box-shadow:0 3px 0 #2c94ac77,0 0 0 1px #65bddd;display:flex;align-items:center;gap:10px;padding:6px 16px;font-size:22px;color:#175185;text-shadow:0 2px white}.coin{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;border:3px solid #fff090;border-radius:50%;color:#fff49a;background:linear-gradient(#ffdf35,#ef9f00);box-shadow:0 2px 0 #bd7912;font-size:18px}.small-label{font-size:11px;text-transform:uppercase;letter-spacing:1.7px;color:#407b93}.heading{margin:8px 0;color:#fff5d2;line-height:1.05;font-weight:1000;text-transform:uppercase;text-align:center;letter-spacing:.5px;text-shadow:0 3px #1269a3,2px 0 #1269a3,-2px 0 #1269a3,0 -2px #1269a3,0 5px 0 #084c83,0 7px 0 #ffffffc7;font-size:32px}.gold,.blue{display:flex;align-items:center;justify-content:center;gap:9px;border:3px solid #fff5bd;border-radius:20px;box-shadow:0 0 0 2px #dca143,0 5px 0 #b77824, inset 0 3px 5px #fff9cb,inset 0 -5px 8px #e99a00;color:#fffef1;text-shadow:1px 2px #14609a,-1px -1px #14609a,2px 0 #14609a,-2px 0 #14609a;font-size:26px;font-weight:1000;min-height:59px;background:linear-gradient(#ffed68 0%,#ffc600 45%,#ffaf06 90%);text-transform:uppercase;letter-spacing:.4px}.gold:active,.blue:active{transform:translateY(3px);box-shadow:0 0 0 2px #dca143,0 2px 0 #b77824}.blue{background:linear-gradient(#43d9ff,#009ff4 50%,#0872cb);box-shadow:0 0 0 2px #83b6d6,0 4px 0 #12679f,inset 0 3px 5px #dcfaff,inset 0 -4px 8px #145ca5;font-size:18px;min-height:48px}.text-btn{background:transparent;color:#174d79;padding:12px;font-size:14px;display:flex;align-items:center;justify-content:center;gap:6px}.icon{width:24px;height:24px;flex-shrink:0}.round{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border:2px solid #eaffff;background:linear-gradient(#eaffff,#7ed7f7);border-radius:50%;color:#137bc6;box-shadow:0 3px 0 #3a9db055}.round .icon{width:25px;height:25px}.home{justify-content:space-between}.home-center{display:flex;flex-direction:column;align-items:center;position:relative;margin-top:5vh}.logo{position:relative;margin:0;line-height:.86;text-align:center;transform:rotate(-3deg);font-size:clamp(66px,17vw,90px);font-weight:1000;color:#fff1a2;letter-spacing:-4px;text-shadow:0 4px #0878bd,4px 0 #0878bd,-4px 0 #0878bd,0 -4px #0878bd,5px 5px white,-5px -5px white,-5px 5px white,5px -5px white,0 10px #12528c,0 15px 18px #0f5e9a55}.logo span{display:block;color:#fffef2;font-size:.83em;letter-spacing:-2px;margin-bottom:10px}.home-book{width:205px;margin:-14px auto -4px;filter:drop-shadow(0 8px 5px #39747744)}.bible-art{width:100%;height:100%;overflow:visible}.ribbon{background:linear-gradient(#ff7c4e,#e44536);padding:9px 28px;color:#fffbe6;clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);text-shadow:0 1px #a6452c;letter-spacing:.4px}.home-play{width:82%;display:grid;gap:15px;margin:0 auto 1vh;text-align:center}.home-play .gold{min-height:72px;font-size:35px}.level-tag{display:inline-block;background:#ffffffcc;border-radius:22px;padding:7px 17px;font-size:14px;align-self:center}.home-bottom{padding-bottom:10vh}.home-nav{display:flex;justify-content:space-evenly;margin-top:27px}.nav-item{background:transparent;color:white;text-shadow:0 2px 2px #225d6e;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:13px}.nav-item .round{width:58px;height:58px;border-color:#defaff;background:radial-gradient(at 30% 20%,#ffffffdc,#7ddfff8c 60%,#33a6e9ac);box-shadow:inset 0 -4px 7px #0b87c16b,0 4px 8px #19688144}.nav-item .icon{width:30px;height:30px}.daily{position:absolute;right:8px;top:48%;font-size:11px}.daily .round{color:#ee9431;width:48px;height:48px}.journey-note{font-size:12px;text-align:center;color:#255d70;background:#f5ffe0c9;border-radius:15px;padding:7px 12px;margin:20px auto 0;width:max-content;max-width:100%}.game{padding:16px 14px max(12px,env(safe-area-inset-bottom));gap:4px}.game .hud .level-tag{background:linear-gradient(#259fdd,#0872b3);border:2px solid #ffdd78;color:#fff;box-shadow:0 2px #116796;font-size:15px}.game .pill{font-size:18px}.faith{position:relative;display:flex;flex-direction:column;align-items:center;flex-shrink:0}.faith .book-wrap{width:142px;height:83px;margin-top:8px}.faith .heading{font-size:25px;margin:0 0 8px}.meter{height:28px;background:#d0c9b4;border-radius:30px;border:3px solid #fff6ca;box-shadow:0 0 0 2px #d9a447,inset 0 3px 5px #6f685d66;width:76%;position:relative;overflow:hidden}.meter i{display:block;height:100%;background:linear-gradient(#fff48a,#ffc400 45%,#f7a200);box-shadow:0 0 8px #fff9b3;transition:width .45s ease}.meter strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:16px;color:#125a9b;text-shadow:0 1px white}.faith p{margin:8px 0 0;font-size:11px;color:#195e82}.board-wrap{flex:1;min-height:230px;display:flex;align-items:center;justify-content:center;position:relative;touch-action:none}.board{display:block;width:100%;max-height:100%;overflow:visible;touch-action:none;filter:drop-shadow(0 5px 4px #206f8340)}.cell{stroke:#d9f3fa;stroke-width:1.5;fill:#5791a6a8;transition:fill .12s;cursor:pointer}.cell.occupied{stroke:#b8f5ff;stroke-width:1.6;filter:drop-shadow(0 2px 0 #15578388)}.cell.preview{fill:#fff5a3;stroke:#fffdf0;stroke-width:2.5}.cell.bad{fill:#e4837a;stroke:#ffd9c7}.board-key{display:flex;justify-content:center;gap:12px;font-size:10px;color:#194b77;background:#ecffffa8;border-radius:12px;margin:0 auto 2px;padding:5px 12px}.board-key span{display:flex;align-items:center;gap:4px}.dot{width:8px;height:8px;border-radius:50%;background:var(--color)}.tray{display:flex;justify-content:space-around;gap:8px;flex-shrink:0;padding:5px 2px}.piece{position:relative;width:30%;max-width:112px;aspect-ratio:1;border-radius:50%;border:2px solid #efffffb0;background:radial-gradient(at 30% 20%,#e6ffffad,#91e4b765);box-shadow:inset 0 0 12px #fffffe50,0 4px 8px #2d726529;touch-action:none;transition:transform .12s,border-color .12s}.piece svg{width:100%;height:100%;overflow:visible;pointer-events:none}.piece.selected{border-color:#fff4a6;box-shadow:0 0 0 3px #ffcc40,0 0 20px #fff5c3;transform:translateY(-5px)}.piece.blocked{opacity:.4}.piece small{position:absolute;right:4px;bottom:1px;font-size:10px;color:#155479;background:#fff9;border-radius:50%;width:16px;height:16px;line-height:16px}.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:7px 5px 0}.booster{background:#f1ffefdf;border:2px solid #e7fff7;box-shadow:0 2px 2px #28777366;border-radius:16px;display:flex;align-items:center;gap:7px;padding:8px 10px;color:#27678b;font-size:12px}.booster .icon{color:#e5a126}.booster.active{background:#ffdc69}.instruction{font-size:11px;text-align:center;margin:5px 0 0;color:#fff;text-shadow:0 1px 3px #234c39;min-height:14px}.float-light{position:absolute;pointer-events:none;z-index:5;font-size:23px;color:#fff5aa;text-shadow:0 0 10px #ffd22d;animation:fly .7s ease-in forwards}.panel{background:linear-gradient(110deg,#fffbed,#fff2ce 60%,#fff8e8);border:3px solid #ffdb6c;outline:3px solid #168ccc;box-shadow:0 0 0 6px #fff5cc,0 9px 0 5px #165b8f55,inset 0 0 20px #dcb45e55;border-radius:28px;padding:20px;color:#6d4823}.result{align-items:center;justify-content:center;gap:17px;padding:24px 25px}.result>.level-tag{flex-shrink:0}.result .heading{font-size:40px;line-height:1.08;margin:0}.stars{display:flex;gap:10px;color:#ffc800;filter:drop-shadow(0 2px 0 #c78b0a);margin:-5px 0 0}.stars .icon{width:45px;height:45px;fill:#ffdc39;stroke:#fff2a1}.stars .icon:nth-child(2){width:53px;height:53px;margin-top:-7px}.result .panel{width:100%;padding:18px;text-align:center}.result .faith .book-wrap{width:140px;height:82px;margin:9px 0 0}.result .faith .heading{font-size:19px;margin-bottom:7px}.result .meter{width:100%;height:26px}.reward-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:12px;text-transform:uppercase;color:#2379a6}.reward-row span{display:flex;align-items:center;gap:5px}.verse-label{display:inline-block;padding:7px 16px;background:linear-gradient(#258ecc,#0763a4);border-radius:7px;color:#fff3be;box-shadow:0 2px #d49b26;font-size:15px;text-transform:uppercase;letter-spacing:1px}.verse-text{font-family:Georgia,serif;font-size:clamp(19px,5.5vw,26px);font-style:italic;line-height:1.35;color:#6c431d;margin:16px 0 12px;font-weight:600}.verse-text.long{font-size:18px}.verse-ref{display:inline-block;border:1px solid #e8ba52;background:#ffe8a3;padding:5px 14px;border-radius:20px;color:#276992;font-size:13px}.translation{font-size:10px;color:#7f795d;margin:8px 0}.result .actions{display:grid;gap:13px;width:92%}.result .actions .gold{font-size:25px}.result .actions .blue{font-size:16px}.result .text-btn{padding:0;font-size:13px}.result-note{font-size:12px;line-height:1.5;color:#82704d;margin:12px 0 0}.locked-card{border:1px solid #d7bd83;border-radius:18px;padding:15px;background:#fff9e6}.locked-card .icon{color:#e3b53d;margin-bottom:6px}.locked-card p{font-size:12px;line-height:1.4;margin:7px 0 0}.mini-board{width:150px;display:block;margin:12px auto}.success .panel{animation:pop .45s ease}.collection,.levels,.church{gap:20px}.page-title{display:flex;justify-content:space-between;align-items:center}.page-title .heading{font-size:26px}.page-title .round{flex-shrink:0}.subtitle{margin:0;text-align:center;font-size:12px;line-height:1.5;background:#f5fffad9;padding:9px 13px;border-radius:20px}.scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;padding:6px}.level-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-content:start}.level-button{min-height:65px;border-radius:18px;background:linear-gradient(#fff6b7,#ffd557);border:3px solid #fff9d9;box-shadow:0 3px #b98c27;font-size:22px;color:#226a9b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.level-button.current{background:linear-gradient(#8ee9ff,#109ce4);color:white}.level-button small{font-size:10px}.level-button .icon{width:16px;height:16px}.verse-list{display:flex;flex-direction:column;gap:15px}.verse-card{padding:17px;border:2px solid #f2d789;border-radius:18px;background:#fff9e9;color:#6c4b2d;text-align:left;box-shadow:0 3px 0 #587d7b44}.verse-card blockquote{font-family:Georgia,serif;line-height:1.5;margin:8px 0;font-size:16px}.verse-card small{font-size:11px;color:#59839a}.empty{margin:30px auto;text-align:center;padding:30px 15px;background:#fff7e9e8;border-radius:20px;line-height:1.6}.church-room{border:6px solid #f9e1a5;outline:3px solid #bc9a5a;border-radius:130px 130px 20px 20px;background:radial-gradient(ellipse at top,#fffde6,#ecd5a0 65%,#cfb47d);padding:45px 18px 20px;box-shadow:inset 0 0 50px #b6915066,0 8px 0 #9775434a;position:relative;min-height:340px}.church-cross{text-align:center;font-family:Georgia,serif;font-size:50px;color:#e9b443;line-height:1;text-shadow:0 2px #a77c2e,0 0 20px white;margin-bottom:20px}.slots{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.slot{min-height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:4px ridge #edc15f;border-radius:9px;background:#fff7df;color:#88652d;padding:9px;box-shadow:0 4px 8px #88652544;gap:5px;font-size:11px;line-height:1.35}.slot .quote-small{font-family:Georgia,serif;font-size:11px;font-weight:500}.slot small{font-size:9px;color:#367b9a}.slot.empty-slot{border:2px dashed #b99d61;background:#fff3ce77;color:#ab8945;box-shadow:none}.church-actions{display:grid;gap:12px}.footer-note{font-size:10px;text-align:center;color:#2f6952;background:#edffe6c7;padding:7px;border-radius:10px}#modal-root:empty{display:none}#modal-root{position:fixed;inset:0;background:#0d3459a8;backdrop-filter:blur(4px);z-index:20;display:flex;align-items:center;justify-content:center;padding:26px}.modal{width:100%;max-width:390px;max-height:85dvh;overflow:auto;position:relative;padding:26px 23px}.modal h2{color:#21759b;font-size:25px;margin:0 0 14px;text-align:center}.modal p{font-size:14px;line-height:1.65;font-weight:500}.modal .gold,.modal .blue{font-size:17px;width:100%;margin-top:18px}.modal .text-btn{width:100%}.modal .close{position:absolute;right:10px;top:10px;background:transparent;color:#7c715a;font-size:24px}.modal .verse-list{max-height:45vh;overflow:auto;padding:4px}.help-step{display:flex;gap:12px;margin:17px 0;font-size:14px;line-height:1.5;font-weight:500}.help-step b{font-size:22px;color:#e3a01e}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;font-size:14px}.settings-row button{padding:8px 12px;border-radius:15px;background:#d3edee;color:#156893}#toast{position:fixed;left:50%;bottom:9vh;transform:translate(-50%,15px);max-width:90vw;width:max-content;padding:11px 20px;border:1px solid #ffe492;border-radius:25px;background:#154f75ee;color:#fffbe7;z-index:40;opacity:0;transition:.2s;pointer-events:none;font-size:13px;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-30px;width:8px;height:14px;background:var(--c);left:var(--x);animation:fall 3s var(--d) ease-in infinite}.small-summary{font-size:12px;color:#7b674b;margin:5px 0 10px}.badge{display:inline-flex;align-items:center;gap:6px;background:#fff8e0b8;border-radius:20px;padding:7px 12px;font-size:12px;color:#427b8a}.button-stack{display:grid;gap:12px}.result .blue .icon{width:23px}.result.fail{gap:22px}.fail .heading{font-size:35px}.fail .book-wrap{margin:0 auto 8px!important}.fail .mini-board{max-height:160px}body[data-dragging] *{cursor:grabbing!important;user-select:none}.game .faith.flash .book-wrap{animation:pop .4s ease}.resume-note{font-size:11px;color:#175c7d}.muted{opacity:.65}@keyframes enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes pop{0%{transform:scale(.92)}65%{transform:scale(1.03)}100%{transform:scale(1)}}@keyframes fly{to{transform:translate(var(--dx),var(--dy)) scale(.3);opacity:0}}@keyframes fall{to{transform:translateY(100vh) rotate(540deg);opacity:0}}@media(min-width:700px){#app{margin:18px auto;height:calc(100dvh - 36px);max-height:1000px;border:7px solid #11354b;border-radius:40px;min-height:640px}.screen{padding-top:22px}body{background:radial-gradient(ellipse at top,#285b73,#0b2434)}.game{padding:14px}.home-center{margin-top:3vh}}@media(max-height:740px){#app{min-height:600px}.home-center{margin-top:0}.home-book{width:155px}.logo{font-size:67px}.home-bottom{padding-bottom:5vh}.home-nav{margin-top:19px}.home-play .gold{min-height:62px}.faith .book-wrap{width:108px;height:62px;margin-top:2px}.faith .heading{font-size:21px}.faith p{font-size:10px;margin-top:6px}.game .hud{min-height:38px}.game .pill{font-size:15px}.board-wrap{min-height:210px}.piece{max-width:82px}.game-bottom{margin-top:0}.board-key{font-size:9px}.result{gap:12px}.result .heading{font-size:32px}.result .panel{padding:12px}.result .faith .book-wrap{width:105px;height:61px}.result .verse-text{font-size:20px;margin:9px 0}.result .verse-text.long{font-size:16px}.result .actions{gap:10px}.result .gold{min-height:50px}.result .blue{min-height:42px}.result .result-note{margin-top:7px;font-size:10px}.result .stars .icon{width:33px;height:33px}.result .stars .icon:nth-child(2){width:41px;height:41px}.fail .mini-board{max-height:110px}.result.fail{gap:15px}.locked-card{padding:10px}.game .booster{padding:6px 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.result{overflow-y:auto;justify-content:flex-start}.result>.level-tag{margin-top:auto}.result>.actions{margin-bottom:auto}.result>*{flex-shrink:0}
.heading{-webkit-text-stroke:1.2px #0d659c;paint-order:stroke fill;text-shadow:0 2px 0 #0c5288,0 4px 0 #ffffffc0}.gold,.blue{-webkit-text-stroke:.8px #175e94;paint-order:stroke fill;text-shadow:0 2px 0 #145486}.home-play .gold{-webkit-text-stroke:1.3px #175e94}.game .faith .heading{-webkit-text-stroke:1px #1269a3}.church-room{padding-top:25px}.church-cross{margin-bottom:15px}.slot{min-height:76px}
/* Full-size drag rendering follows the original Cocos ShapeItem interaction. */
.piece{overflow:visible}.piece svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:none}.piece.selected{transform:none}.piece.drag-source svg{opacity:0}.piece.drag-source{border-color:#ffffff80;box-shadow:inset 0 0 12px #fffffe50}.drag-piece{position:fixed;left:0;top:0;z-index:50;pointer-events:none;will-change:transform;filter:drop-shadow(0 10px 7px #174b6855)}.drag-piece svg{display:block;width:100%;height:100%;overflow:visible}.drag-piece.can-drop{filter:drop-shadow(0 0 7px #fff8b8)}.cell.landing{transform-box:fill-box;transform-origin:center;animation:land .3s ease-out}.cell.preview{stroke:#fffbce;stroke-width:2.5;fill:#fff0a4;filter:drop-shadow(0 0 3px #fff5bd)}@keyframes land{0%{transform:scale(1.12,.8)}50%{transform:scale(.94,1.08)}100%{transform:scale(1)}}
/* Sanctuary: completed verses glow; locked verses remain obscured. */
.sanctuary{background:linear-gradient(#12284318,#16233a15 35%,#111b32b8 100%),url('assets/church-interior.png') center/cover;gap:12px;padding-top:max(24px,env(safe-area-inset-top))}.sanctuary .page-title .heading{font-size:28px}.sanctuary .round{background:linear-gradient(#fff5dce8,#d6b774b5);border-color:#fff0c2;color:#795e34;box-shadow:0 3px 12px #241b2540}.sanctuary-subtitle{text-align:center;color:#fffbdd;text-shadow:0 2px 7px #382f2b;font-size:16px;line-height:1.65;margin:0}.sanctuary-subtitle span{font-size:11px;letter-spacing:.7px}.sanctuary-cross{text-align:center;font-size:30px;color:#fff5af;text-shadow:0 0 20px #ffdd72;line-height:1;margin:4px 0}.sanctuary-stage{margin:0 -22px;flex:1;min-height:290px;display:flex;align-items:center}.verse-track{position:relative;width:100%;display:flex;gap:18px;padding:16px 32px 22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:32px;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;align-items:stretch;outline-offset:-4px}.verse-track::-webkit-scrollbar{display:none}.sanctuary-card{position:relative;flex:0 0 100%;min-width:0;min-height:330px;scroll-snap-align:center;border-radius:70px 70px 20px 20px;border:2px solid #ffe5a1;background:linear-gradient(140deg,#fff9e8,#f8e2b4);box-shadow:0 0 0 4px #be89385c,inset 0 0 35px #d2a65733,0 10px 25px #0d172354;padding:30px 20px 20px;display:flex;align-items:center;flex-direction:column;text-align:center;justify-content:center}.sanctuary-card.illuminated{box-shadow:0 0 0 4px #eacb6a54,0 0 32px #ffe9a282,inset 0 0 28px #fff8d4,0 12px 24px #0d172346}.sanctuary-card-top{display:flex;justify-content:center;gap:12px;font-size:9px;letter-spacing:1px;color:#92702c;margin-bottom:16px}.scripture-symbol{color:#bf9747;margin-bottom:8px}.scripture-symbol .icon{width:30px;height:30px}.verse-content blockquote{font-family:Georgia,serif;font-weight:500;font-style:italic;font-size:21px;line-height:1.45;color:#654a2b;margin:8px 0 18px;overflow-wrap:anywhere}.verse-content small{display:block;margin-top:12px;font-size:9px;color:#8c7d60;letter-spacing:.4px}.verse-blessing{font-size:10px;letter-spacing:.5px;color:#a27d39;margin:18px 0 0}.sanctuary-card.unlit{border-color:#98958c;background:linear-gradient(145deg,#627075ee,#30394ce8);box-shadow:0 0 0 3px #c9c5b01f,0 10px 30px #080f2177}.unlit .sanctuary-card-top{color:#d3d7d2}.unlit .scripture-symbol{color:#b2b6b2}.unlit .verse-content{filter:blur(6px);opacity:.24;user-select:none;pointer-events:none}.unlit .verse-content blockquote{color:#eff0e9}.verse-lock-message{position:absolute;top:48%;left:18px;right:18px;color:#fcf1cd;display:flex;align-items:center;flex-direction:column;gap:12px;background:radial-gradient(#334152cc,transparent);padding:14px 0;text-shadow:0 2px 8px #172531}.verse-lock-message .icon{width:27px;height:27px}.verse-lock-message strong{font-size:15px;line-height:1.4}.verse-lock-message span{font-size:11px;color:#dddccf}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:18px;color:#fff2ce;font-size:12px;text-shadow:0 1px 5px #172534}.carousel-controls .round{width:36px;height:36px;font-family:Georgia,serif;font-size:28px}.carousel-pause{padding:7px 10px;border-radius:20px;border:1px solid #fff0ba60;background:#233a4a99;color:#fff1cf;font-size:11px}.sanctuary-actions{display:grid;gap:3px;margin:8px 9px 0}.sanctuary-actions .gold{font-size:21px;min-height:55px}.sanctuary-actions .text-btn{color:#fff3ce;text-shadow:0 2px 6px #142833;padding:10px}.sanctuary-caption{font-size:9px;font-weight:500;text-align:center;color:#e9dbc0;line-height:1.4;margin:0 0 3px}.sanctuary-card:has(blockquote.long) .verse-content blockquote{font-size:17px}@media(max-height:740px){.sanctuary{gap:8px}.sanctuary-subtitle{font-size:13px;line-height:1.4}.sanctuary-cross{display:none}.sanctuary-stage{min-height:240px}.sanctuary-card{min-height:280px;padding:22px 17px 16px}.verse-content blockquote{font-size:18px;line-height:1.4}.verse-track{padding-top:10px;padding-bottom:16px}.sanctuary-actions .gold{min-height:47px;font-size:19px}.sanctuary-actions{margin-top:0}.sanctuary-caption{font-size:8px}.sanctuary-card-top{margin-bottom:9px}}
.verse-content{max-height:290px;overflow-y:auto}.verse-content blockquote.long{font-size:17px}.unlit .verse-content{overflow:hidden}.sanctuary-card{max-height:440px}@media(max-height:740px){.verse-content{max-height:215px}.sanctuary-card{max-height:340px}}
.verse-track{touch-action:pan-x pan-y}.verse-content{overscroll-behavior:contain}
/* v1.2: original ShapeItem spring sequence: .1 + .15 + .015 + .2 s. */
.cell.landing{animation:original-land .465s linear}.cell.preview{fill:var(--drop-color,#fff0a4);stroke:#e8faff;stroke-width:1.5;filter:none;opacity:.7}.drag-piece,.drag-piece.can-drop{filter:none}.piece.selected,.piece.drag-source{box-shadow:inset 0 0 12px #fffffe50,0 4px 8px #2d726529;border-color:#efffffb0}
@keyframes original-land{0%{transform:scale(1,1)}21.5054%{transform:scale(1.1,.8)}53.7634%{transform:scale(.9,1.1)}56.9892%{transform:scale(1.1,.9)}100%{transform:scale(1,1)}}
.cell{transition:none}

/* Gameplay must never replay a whole-screen entrance on placement/refill. */
.screen.game{animation:none;transform:none}
/* v1.3: a quiet game-first home with precisely two entry points. */
.screen.home-simple{padding:0;isolation:isolate;background:radial-gradient(ellipse at 50% 17%,#3276d63b,transparent 48%),linear-gradient(170deg,#193ca0 0%,#155bb9 47%,#1985c6 100%);animation:none;overflow:hidden}.home-sanctuary{position:absolute;bottom:-3%;left:0;width:100%;height:61%;z-index:-1;color:#b8e8f5;pointer-events:none}.church-outline{opacity:.16}.church-mist{fill:#c1e7ee;opacity:.025}.simple-brand{position:absolute;top:14%;left:8%;right:8%;text-align:center}.simple-brand h1{margin:0;display:flex;flex-direction:column;align-items:center;font-family:ui-rounded,'Arial Rounded MT Bold','Trebuchet MS',sans-serif;font-weight:1000;line-height:.91;letter-spacing:-2px;transform:rotate(-3deg)}.brand-bible{font-size:clamp(66px,18vw,87px);color:#ffd654;-webkit-text-stroke:1px #ffea91;paint-order:stroke fill;text-shadow:0 2px #eeb333,0 4px #d88b13,0 7px #ad6a17,0 11px 10px #0e2c6c66}.brand-block{font-size:clamp(59px,16vw,78px);color:#ddf5ff;-webkit-text-stroke:1px #f5fcff;paint-order:stroke fill;letter-spacing:0;margin-top:14px;text-shadow:0 2px #82d5f5,0 4px #3b9ed8,0 7px #15669e,0 11px 10px #0b2d6d66}.simple-brand p{margin:22px 0 0;color:#b5d9f4;font-size:11px;font-weight:800;letter-spacing:2.5px;text-shadow:0 2px #13468c}.simple-actions{position:absolute;top:63%;left:17%;right:17%;display:flex;flex-direction:column;gap:30px}.simple-actions button{min-height:62px;padding:12px 20px;display:flex;align-items:center;justify-content:center;gap:17px;border-radius:13px;font-size:25px;font-weight:900;color:#fffef4;letter-spacing:.1px;transition:transform .1s,box-shadow .1s}.simple-actions button .icon{width:28px;height:28px;flex-shrink:0;filter:drop-shadow(0 2px 1px #0b427f25)}.simple-play{background:linear-gradient(#ffcd51,#f8ac16);border:2px solid #ffdf82;box-shadow:inset 0 2px 0 #fff1b06b,0 4px 0 #c58314,0 8px 15px #0d3b7a3b;text-shadow:0 2px #cb8d22}.simple-church{background:linear-gradient(#32c9be,#16b4aa);border:2px solid #75dbcf;box-shadow:inset 0 2px 0 #bdfff030,0 4px 0 #0d8c8c,0 8px 15px #0d3b7a3b;text-shadow:0 2px #198e8d}.simple-actions button:active{transform:translateY(3px);box-shadow:0 1px 0 #135f8966}.simple-actions button:focus-visible{outline:3px solid white;outline-offset:5px}@media(max-height:700px){.simple-brand{top:12%}.brand-bible{font-size:65px}.brand-block{font-size:59px}.simple-brand p{margin-top:18px;font-size:9px}.simple-actions{top:61%;gap:23px}.simple-actions button{min-height:57px;font-size:22px}}@media(min-width:700px){.simple-brand{top:14%}.simple-actions{left:16%;right:16%}}

/* v1.4: restrained countryside and dimensional game lettering. */
.screen.home-simple{background:#b9dce7 url('assets/home-countryside-v1.4.png') center/cover}.home-simple .home-sanctuary{display:none}.home-simple .simple-brand{top:14%;left:10%;right:10%}.simple-brand h1{transform:none}.brand-wordmark{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 5px #346b6833)}.home-simple .simple-brand p{color:#245d70;text-shadow:0 1px 1px #ffffffba;letter-spacing:2.2px;margin-top:18px;font-size:11px;font-weight:900}.home-simple .simple-actions{top:66%;gap:26px}.home-simple .simple-actions button{font-style:italic;border-radius:16px;box-shadow:inset 0 3px 2px #ffffff8a, inset 0 -3px 3px #9d5b1420,0 5px 0 #a66d23,0 9px 14px #345b5133}.home-simple .simple-play{background:linear-gradient(#ffe189,#f4b93e 52%,#eaa627);border-color:#fff0bc;text-shadow:0 2px 1px #a16b24}.home-simple .simple-church{background:linear-gradient(#8acbb5,#51ac93 52%,#39977f);border-color:#bfe8d3;box-shadow:inset 0 3px 2px #ffffff6b,inset 0 -3px 3px #18554820,0 5px 0 #2c765f,0 9px 14px #345b5133!important;text-shadow:0 2px 1px #347760}.home-simple .simple-actions button:active{transform:translateY(3px)}@media(max-height:700px){.home-simple .simple-brand{top:12%;left:14%;right:14%}.home-simple .simple-actions{top:64%;gap:22px}.home-simple .simple-brand p{font-size:9px;margin-top:14px}}

/* v1.4.1: restore the original countryside home background. */
.screen.home-simple{background:#b9dce7 url('assets/countryside.png') center/cover}

/* v1.5 focused playfield, original-style side boosters. */
.screen.game{background:radial-gradient(ellipse at 50% 0,#5476ac,#354e83 70%,#304575);color:#e9f5ff;padding:18px 14px max(12px,env(safe-area-inset-bottom));gap:6px}.game .hud{justify-content:space-between;min-height:40px}.game .hud .round{background:none;border:0;box-shadow:none;color:#c8ecfa;width:40px;height:40px}.game .hud .level-tag{background:none;border:0;box-shadow:none;font-size:13px;letter-spacing:2px;color:#daeafa}.game .faith{position:relative;flex-shrink:0;padding-top:0}.game .faith .book-wrap{width:100px;height:59px;margin:0 auto 3px;position:relative}.game .faith .heading{font-size:12px;letter-spacing:2px;-webkit-text-stroke:0;text-shadow:none;color:#e4effc;margin:3px 0 7px}.game .meter{height:22px;max-width:235px;background:#202c50;border:2px solid #6686b5;box-shadow:inset 0 2px 5px #14213f80}.game .meter strong{font-size:11px;color:#fff;text-shadow:0 1px 2px #31466a}.game .meter i{background:linear-gradient(#ffe8a0,#e4b550)}.game .instruction{color:#c1d7ee;text-shadow:none;font-size:10px;margin:2px 0}.game .board-wrap{min-height:180px;background:#202c50;border:2px solid #647fb0;border-radius:14px;box-shadow:inset 0 3px 10px #111b3a80,0 3px 0 #233762;margin-top:12px;overflow:visible}.game .board{width:100%;max-height:100%;height:100%}.game .cell{fill:#2d3a60;stroke:#44577d;stroke-width:1.2}.game .cell.occupied{stroke:#c9e4ff;stroke-width:1.4}.game .board-key{color:#bad1eb;font-size:9px;margin-top:4px}.game .tray{min-height:85px;padding:0 12px;align-items:center}.game .piece,.game .piece.selected,.game .piece.drag-source{background:none;border:0;box-shadow:none;max-width:90px}.game .piece small{display:none}.game .game-bottom{margin:0 3px;min-height:64px;flex-shrink:0}.game .booster{position:relative;display:grid;grid-template-columns:46px auto;grid-template-rows:24px 20px;align-items:center;column-gap:7px;border:0;background:none;box-shadow:none;color:#edf7ff;padding:0;font-size:11px;text-shadow:0 2px #243c66}.game .booster b{font-size:13px;text-align:left;color:#ffeab6}.game .tool-orb{grid-row:1/3;width:46px;height:46px;border:1px solid #b2e4ff;border-radius:50%;background:radial-gradient(at 30% 20%,#d4f6ff8c,#5797cd55 65%,#264b8677);display:grid;place-items:center;box-shadow:inset 0 0 7px #d6faff77,0 3px 7px #182b5355}.game .tool-orb img{width:39px;height:39px;object-fit:contain}.game .tool-orb .icon{width:27px;height:27px;color:#e4faff}.game .booster.active .tool-orb{outline:3px solid #ffdb68}.game .book-wrap.receiving{animation:receive-light .6s ease-in-out}.game .book-wrap.receiving::after{content:'';position:absolute;inset:-10px;background:radial-gradient(ellipse,#fff6b45c,transparent 70%);border-radius:50%;pointer-events:none;animation:receive-aura .6s ease-in-out}.game .float-light{animation-duration:.56s;transform:translate(-50%,-50%)}@keyframes receive-light{0%,100%{filter:brightness(1) drop-shadow(0 0 0 transparent)}35%,70%{filter:brightness(1.35) drop-shadow(0 0 12px #ffe6a0)}50%{filter:brightness(1.1) drop-shadow(0 0 5px #ffe6a0)}}@keyframes receive-aura{0%,100%{opacity:0}40%,75%{opacity:1}}
.game-settings{background:linear-gradient(#6b8bd7,#4f6bb0);border:3px solid #91b5f1;box-shadow:0 6px 0 #293f79;color:#f1f7ff;border-radius:23px}.game-settings h2{color:#fff;text-shadow:0 2px #344b83}.game-settings .close{color:#d5efff}.game-settings .settings-row{padding:13px 10px;margin:0;background:#30478288;border-bottom:1px solid #91b5f133;min-height:65px}.game-settings .settings-row>span{display:flex;align-items:center;gap:10px}.game-settings .settings-row .icon{width:24px;height:24px}.game-settings .setting-switch{width:58px;height:31px;padding:3px;border-radius:30px;background:#273e70;box-shadow:inset 0 2px 4px #15265066}.setting-switch i{display:block;width:25px;height:25px;background:white;border-radius:50%;box-shadow:0 2px 3px #182c4d66}.game-settings .setting-switch[aria-checked=true]{background:#73b969}.setting-switch[aria-checked=true] i{transform:translateX(27px)}.game-settings .setting-action{background:linear-gradient(#85c998,#4b9e78);color:white;border:1px solid #b5ddc3;border-radius:9px;min-width:75px}.game-settings .settings-note{font-size:11px;color:#dbe8ff}.game-settings .blue{background:#34548d;border-color:#92b5e2;text-shadow:none;-webkit-text-stroke:0}
@media(max-height:740px){.screen.game{padding-top:10px;gap:3px}.game .faith .book-wrap{width:78px;height:46px}.game .faith .heading{font-size:10px;margin:1px 0 5px}.game .verse-goal{display:none}.game .board-wrap{margin-top:6px;min-height:170px}.game .tray{min-height:65px}.game .piece{max-width:70px}.game .game-bottom{min-height:53px}.game .tool-orb{width:40px;height:40px}.game .tool-orb img{width:34px;height:34px}}

.game .board-key{background:none;text-shadow:none}.game .board-key .dot{opacity:1}

/* v1.5.1: bright, frameless playfield and compact booster badges. */
.screen.game{background:linear-gradient(180deg,#d3efff9e 0%,#e5f7ffb8 62%,#d4f3e4cf 100%),url('assets/countryside.png') center/cover;color:#285c79;gap:8px}.game .hud .round{color:#327998}.game .hud .level-tag{color:#32718c;text-shadow:0 1px 0 #fff8}.game .faith{padding:7px 0 0}.game .faith .book-wrap{width:116px;height:68px;margin:0 auto 8px}.game .meter{background:#73a7b9;border:2px solid #f0fbff;box-shadow:inset 0 2px 4px #3b7b8d55,0 2px 3px #5a9ba326;height:23px}.game .meter strong{color:#fffdf0;text-shadow:0 1px 3px #4b6f69}.game .board-wrap{background:none;border:0;border-radius:0;box-shadow:none;margin-top:15px;min-height:180px}.game .cell{fill:#6b9faec9;stroke:#e5f8fa;stroke-width:1.5}.game .cell.occupied{stroke:#f0fdff;stroke-width:1.5}.game .game-bottom{margin:1px 8px 0;min-height:57px}.game .booster{display:block;position:relative;padding:0;width:51px;height:51px;color:#fff;text-shadow:none}.game .tool-orb{width:51px;height:51px;border:2px solid #ecfbff;background:radial-gradient(at 30% 20%,#efffffdb,#87cbe1b0 60%,#6ea9c1ca);box-shadow:inset 0 0 7px #fff9,0 3px 5px #467e8c40}.game .tool-orb img{width:43px;height:43px}.game .tool-orb .icon{width:30px;height:30px;color:#fff;filter:drop-shadow(0 1px 1px #2a7c95)}.game .booster .tool-count{position:absolute;right:-5px;bottom:-3px;min-width:23px;height:23px;padding:0 5px;border:2px solid #fff9e3;border-radius:15px;background:linear-gradient(#ffdd79,#eeb641);color:#705021;box-shadow:0 2px 3px #42778b45;font-size:12px;line-height:19px;text-align:center;font-style:normal}.game .tray{min-height:94px;margin-bottom:12px}.game .piece{max-width:96px}.game .booster:disabled{opacity:.5}@media(max-height:740px){.screen.game{gap:5px}.game .faith{padding-top:0}.game .faith .book-wrap{width:90px;height:53px;margin-bottom:5px}.game .board-wrap{margin-top:9px;min-height:170px}.game .game-bottom{min-height:48px}.game .booster,.game .tool-orb{width:44px;height:44px}.game .tool-orb img{width:37px;height:37px}.game .tray{min-height:72px;margin-bottom:5px}.game .piece{max-width:74px}}

/* Original atlas supplies glossy beveled pieces in board, tray and drag ghost. */
.game .cell,.cell{fill:none;stroke:none}.cell .cell-overlay{fill:transparent;stroke:none;pointer-events:all}.cell .socket{opacity:.53}.cell.preview .cell-overlay{fill:var(--drop-color,#fff0a4);fill-opacity:.58;stroke:#faffef;stroke-width:1.5}.cell.bad .cell-overlay{fill:#e46b6b;fill-opacity:.4}.cell:focus-visible .cell-overlay{stroke:#fff6a5;stroke-width:2}.piece svg.tile-art,.drag-piece svg.tile-art{position:static;transform:none;max-width:none;overflow:hidden}.piece.drag-source svg{opacity:0}.piece .tile-art,.drag-piece .tile-art{filter:none}

.cell.landing{transform-box:view-box}
/* v1.5.2: selected B — airy sky-to-mint gradient. */
.screen.game{background:radial-gradient(ellipse at 0% 0%,#fff4d6d9 0%,#fff4d600 40%),linear-gradient(155deg,#a5dff7 0%,#b7eafa 40%,#d7f5de 100%)}
/* v1.5.3: concept C with the home chapel architecture. */
.screen.game{background:#b5e3f6 url('assets/game-c-home-chapel.png') center/cover}
/* v1.5.4: raise scenery and controls; leave a calm lower interaction area. */
.screen.game{background-color:#d9efdc;background-image:linear-gradient(180deg,transparent 52%,#d9efdc35 65%,#d9efdce8 80%,#d9efdc 94%),url('assets/game-c-home-chapel.png');background-size:100% 100%,cover;background-position:center,center calc(50% - 75px);background-repeat:no-repeat}
.game .board-wrap{position:absolute;left:14px;right:14px;top:24%;height:44%;min-height:0;margin:0;flex:none}
.game .game-bottom{position:absolute;top:69%;left:22px;right:22px;margin:0;min-height:51px}
.game .tray{position:absolute;top:77%;left:14px;right:14px;height:12%;min-height:0;margin:0;padding:0 12px}
@media(max-height:740px){.game .board-wrap{top:25%;height:43%}.game .game-bottom{top:69%;min-height:44px}.game .tray{top:78%;height:12%}.screen.game{background-position:center,center calc(50% - 55px)}}

/* v1.6: optional rewarded revival and a quiet final failure screen. */
.revive-modal{background:linear-gradient(145deg,#d9f7f3,#f5edbe 65%,#f7d5a1);border:3px solid #f7ffed;border-radius:25px;color:#32647b;box-shadow:0 7px 0 #426d7e66,0 18px 45px #183a5655;text-align:center}.revive-modal h2{font-size:25px;margin-top:8px;color:#266b7b}.revive-copy{font-size:14px!important;text-align:center;line-height:1.6!important}.revive-pieces{display:flex;justify-content:space-evenly;padding:20px 10px;border-radius:15px;background:#6aa9a533;box-shadow:inset 0 2px 5px #5b917c33}.revive-pieces>svg{width:52px;height:58px;overflow:visible}.retry-green{display:flex;align-items:center;justify-content:center;gap:12px;min-height:57px;width:100%;border:2px solid #b6efb7;border-radius:13px;background:linear-gradient(#83cb75,#409c63);box-shadow:inset 0 2px #e4ffd277,0 4px #287351,0 6px 12px #2f745c33;color:#fff;font-size:24px;font-weight:900;text-shadow:0 2px #347957}.retry-green .icon{width:26px;height:26px}.revive-modal .text-btn{margin-top:15px;color:#466d77;text-decoration:underline;font-size:14px}.mock-ad{text-align:center;background:linear-gradient(#e6f8ff,#fdf3d8);border:3px solid #fff9e5}.mock-ad h2{font-size:22px}.mock-ad-art{padding:25px 10px;background:linear-gradient(140deg,#a2ddec,#e4edb6);border-radius:16px;display:grid;justify-items:center;gap:16px}.mock-ad-art .bible-art{width:170px;height:100px}.mock-ad-art strong{font-size:22px;color:#347484}.mock-ad p{font-size:12px}.mock-ad-track{height:8px;background:#c9deda;border-radius:8px;overflow:hidden;margin-top:20px}.mock-ad-track i{display:block;height:100%;width:0;background:#58aa8a;transition:width .3s}.mock-ad .text-btn{color:#466d77;font-size:13px}.fail-simple{background:radial-gradient(at 0 0,#fff1d2aa,transparent 45%),linear-gradient(#a5dff7,#d7f5de);color:#357287;justify-content:space-between;gap:12px}.fail-simple .page-title{width:100%;flex-shrink:0}.fail-simple .page-title .round{background:none;border:0;box-shadow:none;color:#357287}.nav-spacer{width:44px}.fail-simple .level-tag{background:none;color:#4b8090;box-shadow:none}.failure-content{text-align:center;margin:auto 0}.failure-content h1{font-size:clamp(38px,10vw,49px);line-height:1.08;color:#2d9bb6;text-shadow:0 3px #e8ffff;margin:0 0 16px;font-weight:1000}.failure-content>p{font-size:13px;color:#4a7f89}.failure-book{width:142px;margin:20px auto 15px}.failure-label{display:block;font-size:10px;letter-spacing:1.4px}.failure-energy{display:block;font-size:30px;margin:8px 0;color:#37798a}.failure-energy small{font-size:16px;font-weight:600;color:#6c9298}.failure-meter{height:8px;border-radius:10px;background:#96bfc666;width:185px;margin:auto;overflow:hidden}.failure-meter i{display:block;height:100%;background:#eebc52}.verse-pending{display:flex;justify-content:center;align-items:center;gap:6px;font-size:12px!important;margin-top:18px}.verse-pending .icon{width:15px;height:15px}.failure-actions{width:78%;margin:0 auto 9vh}.failure-actions .text-btn{display:block;margin:15px auto 0;color:#4c828c}.fail-simple .failure-actions{flex-shrink:0}@media(max-height:740px){.failure-content h1{font-size:36px}.failure-book{width:105px;margin:12px auto}.failure-actions{margin-bottom:4vh}.failure-content>p{margin:10px 0}.revive-pieces{padding:12px}}

/* v1.6.1: concise revival prompt and retry-only failure action. */
.revive-modal h2{font-size:23px;line-height:1.25;margin:10px 0 24px}.revive-modal .retry-green{margin-top:26px}.failure-book{margin-top:26px}.failure-actions{margin-bottom:12vh}@media(max-height:740px){.failure-actions{margin-bottom:7vh}}

.revive-pieces{align-items:center;gap:16px}.revive-pieces>svg{width:76px;height:84px;flex:1;min-width:0}

/* v1.7: scripture first, then the level completion reward. */
.screen.success-reveal{background:radial-gradient(ellipse at 50% 22%,#fffceaf5 0%,#eaf8ec80 34%,transparent 63%),linear-gradient(160deg,#afe0f5,#d9f2dd);padding:20px 26px max(24px,env(safe-area-inset-bottom));color:#356f80;gap:0;justify-content:flex-start;animation:none;isolation:isolate}.victory-nav{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:2px;flex-shrink:0}.victory-nav .round{background:none;box-shadow:none;border:0;color:#468398}.scripture-reward{position:relative;text-align:center;padding:22px 6px 8px;flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;isolation:isolate;min-height:285px}.scripture-halo{position:absolute;z-index:-1;inset:-12% -15%;background:radial-gradient(ellipse,#fff4ba99,transparent 65%);pointer-events:none;animation:scripture-glow 3.2s ease-out both}.reward-eyebrow{font-size:10px;letter-spacing:3px;color:#9a824b;animation:reward-fade .6s ease-out both}.reward-cross{font-family:Georgia,serif;color:#d5ad59;font-size:32px;margin:13px 0 7px;text-shadow:0 0 20px #fff6bc}.revealed-verse{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:27px;line-height:1.48;margin:8px 0 19px;color:#426b6c;text-wrap:pretty}.revealed-verse.long{font-size:20px;line-height:1.5}.reveal-word{display:inline-block;animation:verse-emerge .65s var(--delay) ease-out both}.revealed-reference{font-size:13px;letter-spacing:.4px;color:#8d7745;animation:reward-fade .65s 1.9s both}.revealed-reference small{display:block;font-size:8px;margin-top:8px;letter-spacing:1px;color:#7a9592}.reward-divider{display:block;color:#c6ad6d;font-size:16px;margin-top:18px;animation:reward-fade .65s 1.9s both}.reward-divider::before,.reward-divider::after{content:'';display:inline-block;width:55px;height:1px;background:linear-gradient(90deg,transparent,#c6ad6d);vertical-align:middle;margin:0 13px}.reward-divider::after{transform:rotate(180deg)}.victory-summary{text-align:center;padding:15px 0 22px;flex-shrink:0;animation:reward-fade .65s 2.25s both}.victory-stars{display:flex;justify-content:center;align-items:center;gap:9px;color:#e9b33f}.victory-stars .icon{width:28px;height:28px;fill:#ffda62;stroke:#d6a63b;stroke-width:1.3;filter:drop-shadow(0 2px 0 #c28e3a44)}.victory-stars .icon:nth-child(2){width:37px;height:37px}.victory-summary h1{font-size:30px;color:#318b9e;text-shadow:0 2px #f5fff5;margin:12px 0 14px;line-height:1.15}.victory-stats{display:flex;align-items:center;justify-content:center;gap:22px;font-size:11px;color:#6d8d8e}.victory-stats b{display:block;font-size:15px;color:#3a7787;margin-top:4px}.victory-coins{display:flex;align-items:center;gap:5px;font-size:19px;color:#9b7a30}.victory-actions{display:grid;gap:13px;width:85%;margin:0 auto 3vh;flex-shrink:0;animation:reward-actions .6s 2.5s both}.victory-actions .retry-green{font-size:22px}.victory-church{display:flex;align-items:center;justify-content:center;gap:9px;border:1.5px solid #fffdebd4;border-radius:13px;background:#f3fff18f;box-shadow:0 3px #80b8a640;color:#408782;min-height:48px;font-size:17px;font-weight:800}.victory-church .icon{width:23px;height:23px}@keyframes verse-emerge{from{opacity:0;filter:blur(5px);transform:translateY(6px)}to{opacity:1;filter:blur(0);transform:none}}@keyframes reward-fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes scripture-glow{0%{opacity:0;transform:scale(.85)}55%{opacity:1}100%{opacity:.65;transform:scale(1.05)}}@keyframes reward-actions{from{opacity:0;visibility:hidden;transform:translateY(6px)}to{opacity:1;visibility:visible;transform:none}}@media(max-height:740px){.screen.success-reveal{padding:12px 23px 18px}.scripture-reward{padding-top:10px;min-height:240px}.revealed-verse{font-size:23px;margin-bottom:13px}.revealed-verse.long{font-size:17px}.reward-cross{margin:7px 0 0;font-size:27px}.reward-divider{margin-top:12px}.victory-summary{padding:9px 0 16px}.victory-summary h1{font-size:26px;margin:8px 0 10px}.victory-actions{gap:10px;margin-bottom:1vh}.victory-actions .retry-green{min-height:51px}.victory-church{min-height:43px}}@media(prefers-reduced-motion:reduce){.success-reveal *{animation:none!important;filter:none!important}}
.success-reveal .victory-nav,.success-reveal .scripture-reward,.success-reveal .victory-summary{width:100%}

.victory-secondary{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}.victory-secondary .victory-church{font-size:15px;gap:6px}.share-modal{text-align:center;background:linear-gradient(#eaf8ee,#def2ed);padding:24px 22px}.share-card-preview{display:block;width:auto;max-width:100%;height:auto;max-height:48dvh;margin:12px auto 20px;border-radius:9px;box-shadow:0 5px 20px #34657726}.share-modal .retry-green{font-size:19px;min-height:49px}.share-modal .victory-church{width:100%;margin-top:12px}.share-modal .share-note{font-size:11px;line-height:1.4;color:#6b8d8b;margin-bottom:0}

.share-channels{display:flex;justify-content:space-between;gap:6px;margin:20px -8px 2px}.share-channel{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:8px;padding:0;background:none;color:#436d78;font-size:10px;font-weight:700}.channel-circle{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;color:white;box-shadow:0 3px 7px #38708120}.channel-circle svg{width:24px;height:24px;fill:currentColor}.channel-circle.download{background:#528f96}.channel-circle.whatsapp{background:#25b965}.channel-circle.facebook{background:#1877f2}.channel-circle.x{background:#202829}.channel-circle.more{background:#89aaa8}.share-channel:focus-visible{outline:2px solid #34798d;outline-offset:5px;border-radius:5px}.share-modal .share-card-preview{max-height:53dvh;margin-bottom:16px}@media(max-width:360px){.channel-circle{width:37px;height:37px}.share-channel{font-size:9px}}

/* v1.9: modest country chapel and collectible scripture packs. */
.pack-library,.screen.sanctuary{background:linear-gradient(#e9f8f555,#e9f8eebd),url('assets/church-simple.png') center/cover;color:#386f7b}.pack-library{gap:12px;padding:20px 22px max(18px,env(safe-area-inset-bottom))}.pack-library .page-title h1{font-size:24px;margin:0;color:#367583;text-shadow:0 1px #fff}.pack-library .round,.sanctuary .round{background:#f0fff4b3;border:1px solid #fff;box-shadow:0 2px 4px #67999130;color:#4b8588}.pack-intro{text-align:center;padding:14px 0 4px}.pack-intro>span{font-size:9px;letter-spacing:2px;color:#698c8b}.pack-intro h2{font-size:22px;line-height:1.3;margin:9px 0 13px;color:#4b7e81}.collection-progress{width:155px;height:6px;background:#8fb4ac4d;border-radius:10px;margin:auto;overflow:hidden}.collection-progress i{display:block;height:100%;background:#d2b76b}.pack-intro p{font-size:11px;margin:7px 0 0;color:#6b8e88}.pack-grid{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding:13px 8px 18px;align-content:start;scrollbar-width:thin}.verse-pack{display:flex;flex-direction:column;align-items:center;border:0;padding:0;background:none;color:#467a7f}.deck-stack{position:relative;display:block;width:125px;height:166px;max-width:90%;margin-bottom:11px;isolation:isolate}.deck-back{position:absolute;inset:2px 3px;border:2px solid #f5fff5;border-radius:13px;background:#83bbb5;box-shadow:0 3px 6px #427f7826}.deck-back.one{transform:rotate(-7deg) translate(-5px,1px);z-index:-2}.deck-back.two{transform:rotate(6deg) translate(5px,1px);z-index:-1}.deck-cover{position:absolute;inset:0;border-radius:13px;border:2px solid #fff6d1;background:linear-gradient(145deg,#e5faf0,#abd6cb);box-shadow:inset 0 0 0 5px #ffffff55,0 5px 9px #386c6326;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:9px}.deck-cover::after{content:'';position:absolute;inset:10px;border:1px solid #faffebaa;border-radius:7px;pointer-events:none}.deck-cover small{font-size:9px;letter-spacing:1.5px;color:#618b83}.deck-cross{font-family:Georgia,serif;font-size:31px;color:#b99c55;line-height:1}.deck-cover strong{font-family:Georgia,serif;font-size:15px;line-height:1.2;color:#517d76;letter-spacing:1.3px}.deck-seal{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#fff4bd;color:#a98d48;font-size:15px}.deck-seal .icon{width:13px;height:13px}.pack-meta{display:flex;flex-direction:column;gap:5px;font-size:11px}.pack-meta>span{font-size:10px;color:#70938d}.verse-pack.has-cards .deck-cover{background:linear-gradient(145deg,#fff9df,#d9ecd0);box-shadow:inset 0 0 0 5px #ffffff66,0 0 18px #fff2b478,0 5px 9px #386c6326}.verse-pack.sealed .deck-cover{background:linear-gradient(145deg,#d4e7e6,#9cbdc2);border-color:#e7f4ed}.verse-pack.sealed .deck-cover strong,.verse-pack.sealed .deck-cross{color:#749497}.verse-pack.sealed .deck-seal{background:#e1edeb;color:#7a9b9c}.verse-pack.current-pack .pack-meta strong{color:#388579}.verse-pack:focus-visible{outline:2px solid #4c9c98;outline-offset:7px;border-radius:12px}.pack-footer{padding-top:5px}.pack-footer .retry-green{font-size:20px;min-height:52px}.screen.sanctuary .page-title .heading{-webkit-text-stroke:0;text-shadow:0 1px #fff;color:#427f89;font-size:25px}.sanctuary-subtitle{color:#46797e;text-shadow:none;font-size:15px}.sanctuary-cross{display:none}.sanctuary-card{border-radius:20px;border:2px solid #f9fbeb;background:linear-gradient(150deg,#fffcef,#e6efda);box-shadow:0 0 0 4px #acd4c94d,0 8px 16px #4c7d7940;min-height:340px}.sanctuary-card.illuminated{box-shadow:0 0 0 4px #e9d99e44,0 0 25px #fff0b26b,0 8px 16px #4c7d7940}.sanctuary-card.unlit{background:linear-gradient(145deg,#a5c0c1,#738e9a);border-color:#cde1de;box-shadow:0 0 0 3px #d4e8dd55,0 8px 16px #4c7d7930}.verse-content blockquote{color:#4e7068;font-size:21px}.verse-lock-message{background:radial-gradient(#6a8589b0,transparent);text-shadow:none}.carousel-controls{color:#4c7d82;text-shadow:none}.carousel-pause{background:#effaf1a8;color:#4b7d7b;border-color:#fff}.sanctuary-actions .gold{background:linear-gradient(#83cb75,#409c63);border:2px solid #b6efb7;box-shadow:0 4px #287351;-webkit-text-stroke:0;font-size:19px;text-shadow:0 2px #347957}.sanctuary-actions .text-btn{color:#467f7c;text-shadow:none}.sanctuary-caption{color:#6d908b}@media(max-height:740px){.pack-library{padding-top:13px;gap:8px}.pack-intro{padding-top:3px}.pack-intro h2{font-size:19px;margin:6px 0 9px}.deck-stack{width:110px;height:147px}.deck-cover{gap:6px}.pack-grid{gap:20px 15px}.sanctuary-card{min-height:280px}}@media(max-width:360px){.deck-stack{width:108px;height:147px}.pack-grid{gap:21px 12px}}
