:root{background:#d5e9e6}#app{min-height:560px;box-shadow:0 0 90px #43777c33}.simple-brand p{font-size:11px;letter-spacing:1.2px}.simple-actions{gap:15px}.simple-actions .text-btn{color:#285967;text-shadow:0 1px #fff;font-size:17px}.victory-actions{gap:10px}.victory-actions>.victory-church{min-height:46px}.h5-cards{background:linear-gradient(140deg,#e5f3e8,#c1e4ef)}.h5-cards .heading{color:#2f7584;text-shadow:none;font-size:25px}.h5-cards .verse-list{flex:1;min-height:0;overflow-y:auto;padding-bottom:20px}.local-note,.share-note{font-size:12px;line-height:1.5;text-align:center;color:#597b7b}.share-modal .share-card-preview{max-height:47dvh}.share-modal{max-height:94dvh;overflow-y:auto}.share-modal .text-btn{display:block;margin:8px auto}.ad-overlay{position:fixed;inset:0;z-index:10000;background:#153b50e8;display:grid;place-items:center;padding:22px}.test-ad{width:min(390px,100%);background:linear-gradient(145deg,#e8f9ec,#fff0c6);border:3px solid #fff9dc;border-radius:30px;text-align:center;padding:30px 23px;color:#356b74;box-shadow:0 18px 70px #0004}.ad-badge{font-size:10px;letter-spacing:2px}.ad-sun{font-size:90px;color:#d9ad42;margin:25px 0}.test-ad h2{font-size:28px}.test-ad p{font-size:14px;line-height:1.6}.ad-progress{height:8px;background:#b9d8d3;border-radius:9px;overflow:hidden;margin:25px 0}.ad-progress i{display:block;width:0;height:100%;background:#efbf50;transition:width .5s}.test-ad button{display:block;width:100%;margin-top:12px}.modal p{line-height:1.5}.modal input{width:100%;padding:12px}.collection .verse-card{flex-shrink:0}button{min-height:40px}@media(max-height:700px){.share-modal .share-card-preview{max-height:40dvh}.victory-summary h1{font-size:25px}.victory-stats{font-size:12px}.simple-actions{bottom:12%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Theme, verse milestones and two-stage victory */
.game .journey-faith{position:absolute;top:8%;left:7%;width:86%;height:24%;padding:0;display:flex;align-items:center;flex-direction:column}.journey-title{font-size:18px;color:#285e70;letter-spacing:.3px;margin:0 0 3px}.game .journey-faith .book-wrap{width:76px;height:43px;margin:0 0 3px}.verse-progress{display:flex;justify-content:space-between;width:78%;font-size:9px;letter-spacing:1.3px;color:#477582;margin:2px 0 5px}.game .journey-faith .meter{width:78%;height:13px;min-height:13px;border-width:2px;overflow:hidden}.verse-tick{position:absolute;top:0;height:100%;width:2px;background:#fff8d8b0}.phrase-window{height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;text-align:center;font:italic 16px/1.2 Georgia,serif;color:#315b65;width:100%;padding-top:4px}.phrase-hint{font:11px/1.3 'Trebuchet MS',sans-serif;color:#60868a}.verse-peek{font-size:10px;min-height:24px;padding:2px;background:transparent;color:#487884;text-decoration:underline}.game .board-wrap{top:33%;height:43%}.game .tray{top:79%}.phrase-new span{animation:phrase-light .7s ease}.read-scripture{font:22px/1.5 Georgia,serif;margin:25px 0;color:#35656c}.final-clear .cell{animation:final-spark .8s ease}.staged-victory .scripture-reward{animation:card-arrive .7s 1.35s both}.staged-victory .revealed-reference{animation-delay:2.6s}.staged-victory .victory-summary{animation-delay:1.4s;padding:8px 0 14px}.staged-victory .victory-actions{animation-delay:2.8s}.staged-victory .victory-summary h1{font-size:25px;margin:5px 0 8px}.staged-victory .victory-stars{height:33px}.win-burst{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle,#fff5c8 0,#d9eee5f5 52%,#bde4ef 100%);animation:burst-out .45s 1.35s forwards;pointer-events:none;overflow:hidden}.win-burst strong{font-size:clamp(37px,10vw,55px);line-height:1.02;color:#27869a;text-shadow:0 3px white,0 5px #1b657333;animation:win-pop .6s cubic-bezier(.2,1.6,.4,1) both;z-index:1}.win-burst p{font-size:15px;color:#71836b;z-index:1}.burst-stars{font-size:65px;color:#f6bd30;text-shadow:0 3px #c7992e,0 0 35px #fff;animation:win-pop .6s .12s both;z-index:1}.burst-rays{position:absolute;width:600px;height:600px;background:repeating-conic-gradient(#fff7bf80 0deg 12deg,transparent 12deg 30deg);border-radius:50%;animation:rays-spin 12s linear infinite;opacity:.6}.skip-reveal{position:absolute;top:11%;right:20px;z-index:11;background:none;color:#668781;font-size:11px;animation:skip-away .01s 3s forwards}.reveal-skipped .win-burst,.reveal-skipped .skip-reveal{display:none}.reveal-skipped .scripture-reward,.reveal-skipped .reveal-word,.reveal-skipped .revealed-reference,.reveal-skipped .victory-summary,.reveal-skipped .victory-actions{animation:none!important;opacity:1!important;filter:none!important;transform:none!important}@keyframes phrase-light{from{opacity:0;filter:blur(5px);text-shadow:0 0 20px #ffe29b}to{opacity:1;filter:none}}@keyframes final-spark{50%{filter:brightness(1.6)}}@keyframes win-pop{from{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@keyframes burst-out{to{opacity:0;visibility:hidden;transform:scale(1.08)}}@keyframes card-arrive{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes rays-spin{to{transform:rotate(360deg)}}@keyframes skip-away{to{visibility:hidden}}@media(max-height:680px){.game .journey-faith{top:9%}.journey-title{font-size:15px}.game .journey-faith .book-wrap{width:58px;height:32px}.phrase-window{height:32px;font-size:14px}.game .board-wrap{top:35%;height:41%}.verse-peek{font-size:9px;min-height:20px}}@media(prefers-reduced-motion:reduce){.win-burst,.skip-reveal{display:none}.staged-victory .scripture-reward,.staged-victory .victory-actions{opacity:1;transform:none}}

/* Faith light condenses into the complete verse without shifting the board. */
.game .journey-faith{gap:3px}.journey-faith .journey-title{flex-shrink:0;font-size:15px;margin:0}.verse-condensation{position:relative;width:100%;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;isolation:isolate}.verse-aura{position:absolute;inset:0 5%;z-index:-1;background:radial-gradient(ellipse,#fff8ce80,transparent 70%);pointer-events:none}.forming-verse{width:100%;text-align:center;font:italic var(--verse-size)/1.3 Georgia,serif;color:#42666a;text-wrap:balance}.forming-word{display:inline-block;opacity:var(--light);filter:blur(var(--mist));text-shadow:0 0 9px #fff0a4;transition:opacity .65s ease,filter .65s ease,color .65s ease}.verse-condensation.receiving .verse-aura{animation:verse-gather .65s ease}.verse-condensation.receiving .forming-word{color:#887039;text-shadow:0 0 12px #ffe17c,0 0 3px #fff}.journey-faith .verse-peek{flex-shrink:0}.game .journey-faith .meter{flex-shrink:0;margin:0;height:9px;min-height:9px;width:68%}@keyframes verse-gather{0%{opacity:.5;transform:scale(.85)}45%{opacity:1;filter:brightness(1.7);transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}@media(max-height:680px){.journey-faith .journey-title{font-size:13px}.forming-verse{font-size:calc(var(--verse-size) - 2px)}}

/* Starlight traces individual glyph contours, then settles into ink. */
.forming-word{opacity:1;filter:none;text-shadow:none;transition:none;white-space:nowrap}.forming-verse{line-height:1.25}.verse-glyph{position:relative;display:inline-block;height:1.333em;vertical-align:-.28em}.verse-glyph svg{width:100%;height:100%;overflow:visible}.verse-glyph text{font:italic 24px Georgia,serif}.glyph-outline{fill:none;stroke:#fff4b4;stroke-width:.85;stroke-linecap:round;stroke-dasharray:90;stroke-dashoffset:calc(90 * (1 - var(--trace,0)));opacity:clamp(0,calc(var(--ink,0)*5),1);filter:drop-shadow(0 0 2px #e6ad38)}.glyph-fill{fill:#42666a;opacity:clamp(0,calc((var(--ink,0) - .5)*2),1);clip-path:inset(calc((1 - var(--ink,0))*100%) 0 0)}.glyph-star{position:absolute;left:calc(var(--ink,0)*80%);top:calc((1 - var(--ink,0))*65%);font:normal 10px Georgia;color:#fffbed;text-shadow:0 0 3px #fff,0 0 7px #f9b838,0 0 13px #ffdf65;opacity:0;pointer-events:none}.forging .glyph-star{opacity:1;animation:forge-twinkle .18s ease-in-out infinite alternate}.forging .glyph-outline{stroke:#fffbed;stroke-width:1.1;filter:drop-shadow(0 0 3px #ffc83d)}.verse-condensation.receiving .forming-word{color:inherit;text-shadow:none}.verse-condensation.receiving .verse-aura{animation:verse-gather .65s ease}.game .float-light{filter:drop-shadow(0 0 4px #ffe492);font-size:19px}@keyframes forge-twinkle{to{transform:scale(1.6) rotate(35deg)}}@media(prefers-reduced-motion:reduce){.glyph-star{display:none}}

/* Slow sparkler engraving; particles stay within the verse area. */
.forge-sparks{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.verse-condensation{overflow:visible}.verse-condensation.receiving .verse-aura{animation:sparkler-breath 2.4s ease-in-out infinite}.forging .glyph-outline{stroke:#fff6c8;stroke-width:.75;filter:drop-shadow(0 0 2px #edb338)}.glyph-fill{transition:fill .5s}.glyph-star{display:none}@keyframes sparkler-breath{0%,100%{opacity:.4}50%{opacity:.85}}@media(prefers-reduced-motion:reduce){.forge-sparks{display:none}}

/* A small resting ember marks the unfinished verse without a running particle loop. */
.verse-cursor{position:absolute;z-index:4;width:4px;height:4px;border-radius:50%;background:#fff8d5;border:1px solid #edbe59;pointer-events:none;box-shadow:0 0 3px #fff2b0,0 0 7px #eab24e;animation:verse-ember 1.8s ease-in-out infinite}.verse-cursor[hidden]{display:none}@keyframes verse-ember{0%,100%{opacity:.4;transform:translate(-50%,-50%) scale(.7)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}}@media(prefers-reduced-motion:reduce){.verse-cursor{animation:none;opacity:.8;transform:translate(-50%,-50%)}}

/* Two clear home actions, with the current level as the primary destination. */
.home-simple .simple-actions{gap:22px}.home-simple .simple-actions .home-cards{align-self:stretch;width:100%;min-height:62px;padding:12px 20px;font-size:25px;color:#f9fffb;background:linear-gradient(#a9cdbf,#87b6a4 52%,#75a591);border:2px solid #d9e9df;box-shadow:inset 0 3px 2px #ffffff8a,inset 0 -3px 3px #335e4d20,0 5px 0 #648e7b,0 9px 14px #345b5133;text-shadow:0 2px 1px #638b79}.home-simple .simple-actions .home-cards .icon{width:28px;height:28px}.home-simple .simple-actions .home-cards:active{box-shadow:inset 0 2px 1px #ffffff80,0 1px 0 #648e7b}@media(max-height:700px){.home-simple .simple-actions .home-cards{min-height:57px;font-size:22px}}

/* Guided first clear, adapted from the original moving-finger tutorial. */
.tutorial-note{position:absolute;top:19%;left:6%;width:88%;z-index:15;text-align:center;background:#fff9e9f5;border:2px solid #e8c36a;border-radius:16px;padding:9px 12px;color:#285e70;box-shadow:0 4px 15px #235b6520;font-size:12px}.tutorial-note p{margin:5px 0;line-height:1.3}.tutorial-note button{min-height:28px;padding:5px 14px;font-size:12px}.tutorial-note .text-btn{display:inline-block}.tutorial-glow{filter:drop-shadow(0 0 7px #ffc83d)}.tutorial-target .cell-overlay{fill:#ffe98c88;stroke:#ffc43e;stroke-width:4}.tutorial-hand{position:fixed;z-index:40;pointer-events:none;width:48px;height:54px;filter:drop-shadow(0 3px 3px #1f425c55);animation:guide-drag 2.4s ease-in-out infinite;transform-origin:center}.tutorial-hand svg{display:block;width:100%;height:100%;overflow:visible}body[data-dragging] .tutorial-hand{visibility:hidden}@keyframes guide-drag{0%,15%{transform:translate(-20px,-6px);opacity:.3}30%{opacity:1}80%,100%{transform:translate(calc(-20px + var(--guide-x)),calc(-6px + var(--guide-y)));opacity:0}}
.victory-checkpoint{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#fff5c8,#d9eee5 60%,#bde4ef)}.victory-panel{text-align:center;width:88%;border:2px solid #fff9dc;border-radius:28px;padding:38px 18px;background:#fffdf0dc;box-shadow:0 12px 38px #317f7520}.victory-panel h1{font-size:34px;color:#27869a}.victory-panel p{color:#557c76;margin:18px 0 28px}.victory-panel button{width:90%}@media(prefers-reduced-motion:reduce){.tutorial-hand{animation:none;transform:translate(calc(-20px + var(--guide-x)),calc(-6px + var(--guide-y)))}}@media(max-height:680px){.tutorial-note{top:19%;font-size:11px;padding:5px 8px}.tutorial-note p{margin:3px 0}.tutorial-note button{min-height:24px}}

/* Preserve the original full-screen celebration until the automatic ad transition. */
.victory-checkpoint .win-burst{display:flex;animation:none}.victory-checkpoint .win-burst p{margin:1em 0}@media(prefers-reduced-motion:reduce){.victory-checkpoint .burst-stars,.victory-checkpoint .win-burst strong,.victory-checkpoint .burst-rays{animation:none}}

/* No empty ad placeholder: show only after a creative frame has loaded. */
.real-ad-overlay[hidden]{display:none!important}.real-ad{width:min(350px,calc(100vw - 16px));padding:16px;background:#fff;border-radius:18px;box-shadow:0 10px 40px #0004;display:flex;flex-direction:column;align-items:center;gap:16px}.real-ad-label{font:12px system-ui,sans-serif;color:#52646b;letter-spacing:1px}.real-ad-slot{width:300px;min-height:250px;max-width:100%}.real-ad-slot iframe{border:0;max-width:100%}.real-ad-close{width:100%;padding:14px;border-radius:12px;background:#e6f3e6;color:#285c47;font:700 16px system-ui,sans-serif}
