@import url("fonts.css");
:root{font-family:'DM Sans',sans-serif;color:#153e42;background:#f6f9f5;font-synthesis:none;--teal:#075958;--ink:#153e42;--muted:#536e70;--paper:#fff;--base:#f6f9f5;--gold:#f6c745;--line:#dce8e3;--soft:#e3eeea}*{box-sizing:border-box}body{margin:0}button,a,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}button:disabled{opacity:.5;cursor:default}a{color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e38b16;outline-offset:4px}h1,h2,h3,.brand{font-family:Nunito,sans-serif}h1,h2,h3,p{margin:0}svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{max-width:1240px;margin:auto;padding:0 44px 48px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 0 22px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--teal);font-weight:1000;font-size:24px;letter-spacing:-1px;line-height:1.05}.brand img{width:47px;height:47px;border-radius:14px}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:10px;letter-spacing:1.7px;text-transform:uppercase;font-weight:600;margin-top:6px;color:var(--muted)}.nav{display:flex;gap:10px}.nav button,.parent-btn{display:flex;align-items:center;gap:8px;background:transparent;color:var(--muted);font-weight:600;min-height:48px;padding:10px 15px;border-radius:16px}.nav button.active{background:var(--soft);color:var(--teal)}.nav svg{width:20px}.parent-btn{font-size:14px;border:1px solid var(--line)}.intro{display:flex;justify-content:space-between;align-items:center;padding:32px 0 24px}.eyebrow{font-size:12px;letter-spacing:1.8px;text-transform:uppercase;font-weight:800;color:var(--muted)}h1{font-size:34px;letter-spacing:-1.3px;font-weight:900;margin-top:5px}.little-note{font-size:14px;display:flex;align-items:center;gap:9px;color:var(--muted)}.little-note svg{color:#c58911}.feature{display:grid;grid-template-columns:1fr 1.08fr;min-height:340px;background:#e2eeeb;border-radius:30px;overflow:hidden;position:relative}.feature-copy{padding:35px 35px 32px;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.pill{font-size:12px;font-weight:800;letter-spacing:.7px;padding:7px 11px;background:#fff9db;border-radius:20px;display:inline-flex;align-items:center;gap:6px;color:#76520e}.pill svg{width:15px;height:15px}.feature h2{font-size:43px;font-weight:1000;line-height:1.08;letter-spacing:-1.4px;max-width:380px;margin:17px 0 13px}.feature p{font-size:16px;line-height:1.65;max-width:330px;color:#416563}.primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--teal);color:#fff;border-radius:16px;padding:14px 22px;min-height:54px;font-weight:700}.primary:hover{filter:brightness(1.12)}.primary svg{fill:currentColor;stroke-width:0;width:20px}.feature-actions{display:flex;align-items:center;gap:15px;margin-top:22px}.duration{font-size:14px;color:#466663;display:flex;gap:5px;align-items:center}.duration svg{width:17px}.feature-art{position:relative;min-width:0;overflow:hidden}.feature-art img{height:100%;width:100%;object-fit:cover;position:absolute}.feature-art:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#e2eeeb 0%,transparent 12%);z-index:1}.image-label{position:absolute;bottom:18px;right:20px;display:flex;gap:7px;align-items:center;background:#fffdf1e8;border-radius:20px;padding:8px 12px;color:#345a57;font-size:12px;font-weight:600;z-index:2}.image-label svg{width:16px;height:16px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:29px 0 18px;gap:15px}.section-head h2{font-size:24px;font-weight:900;letter-spacing:-.6px}.section-head p{color:var(--muted);font-size:14px;margin-top:5px}.section-note{font-size:14px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.card{padding:0;text-align:left;border:1px solid var(--line);border-radius:23px;background:var(--paper);color:var(--ink);overflow:hidden;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #10444713}.card-art{height:170px;position:relative;overflow:hidden}.card img{width:100%;height:100%;object-fit:cover}.card-badge{position:absolute;top:12px;left:13px;border-radius:20px;padding:6px 9px;font-size:11px;font-weight:800;letter-spacing:.8px;background:#fffdf3f2;color:#174b4e}.card-copy{padding:18px 19px 20px}.card-copy h3{font-size:21px;font-weight:900;letter-spacing:-.5px}.card-copy p{font-size:14px;color:var(--muted);margin-top:5px;line-height:1.5;min-height:42px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:13px;color:var(--muted)}.round-play{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#e4efea;color:var(--teal)}.round-play svg{width:13px;height:13px;fill:currentColor;stroke:0}.footnote{margin-top:29px;display:flex;align-items:center;gap:13px;padding:17px 22px;border:1px dashed #c5d7cc;border-radius:17px;background:#edf3e9}.footnote svg{color:#778546}.footnote p{font-size:14px;color:var(--muted);line-height:1.5}.footnote strong{color:var(--ink)}footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:25px;color:var(--muted);font-size:12px}footer button{background:transparent;color:var(--muted);min-height:44px;text-decoration:underline}.night{--base:#142e3b;--ink:#edf5f3;--muted:#bed1d6;--paper:#1d3a47;--line:#35515c;--soft:#28535a;--teal:#075958;background:var(--base);color:var(--ink)}.night .brand{color:#f7d979}.night .nav button.active{color:#f7d979}.night .feature{background:#243e58}.night .feature-art:before{background:linear-gradient(90deg,#243e58,transparent 14%)}.night .feature h2{color:#f8f5e9}.night .feature p,.night .feature .duration{color:#d2e0e7}.night .feature .primary{background:#f6c745;color:#173a40}.night .footnote{background:#1b3c49;border-color:#4b6062}.night .footnote svg{color:#f6c745}.night .round-play{background:#365561;color:#fff}.night .parent-btn{color:var(--muted)}
.player{position:fixed;inset:0;background:#0b242b;z-index:20;color:white;display:flex;flex-direction:column;isolation:isolate}.player[hidden]{display:none}.player-art{position:absolute;inset:0;z-index:-2;overflow:hidden}.player-art img{width:100%;height:100%;object-fit:cover;animation:breathe 40s ease-in-out infinite alternate;animation-play-state:paused}.player.playing .player-art img{animation-play-state:running}.player.reduce-motion .player-art img{animation:none}.player:after{content:'';position:absolute;inset:0;background:linear-gradient(#081b27a6,transparent 30%,#05161b30 45%,#05161bd9 80%,#05161bf5);z-index:-1;pointer-events:none}.player-top{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:24px 32px;transition:opacity .5s}.player-title{display:flex;align-items:center;gap:15px}.player-title h2{font-size:21px}.player-title p{font-size:13px;color:#d2e5e1;margin-top:4px}.icon-btn{background:#ffffff24;color:white;border:1px solid #ffffff38;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;flex-shrink:0}.icon-btn:hover{background:#ffffff45}.player-tools{display:flex;gap:10px}.text-btn{background:#ffffff1f;border:1px solid #ffffff38;color:white;min-height:46px;border-radius:24px;display:flex;align-items:center;justify-content:center;padding:10px 16px;gap:8px;font-size:14px}.player-space{flex:1;min-height:40px}.caption-wrap{padding:24px 24px 8px;width:min(840px,100%);margin:0 auto;text-align:center;cursor:default}.caption{font-family:Nunito,sans-serif;font-size:clamp(22px,3.05vw,37px);font-weight:800;line-height:1.35;text-shadow:0 2px 12px #001719;min-height:1.5em}.caption-label{text-transform:uppercase;font-size:12px;letter-spacing:2px;color:#dfeee7;margin-bottom:12px}.beads{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:17px}.bead{border:2px solid #fce7a570;width:13px;height:13px;border-radius:100%;background:transparent}.bead.done{background:#f7cc52;border-color:#f7cc52}.bead.current{background:#fff4c7;border-color:#fff4c7;box-shadow:0 0 0 4px #fff4c724}.player-bottom{width:min(660px,100%);margin:0 auto;padding:12px 24px 26px;transition:opacity .5s}.seekline{display:flex;align-items:center;gap:12px}.time{font-size:12px;min-width:34px;font-variant-numeric:tabular-nums;color:#e6eeef}input[type=range]{width:100%;accent-color:#f6cf6a;cursor:pointer;min-height:28px}.play-controls{display:flex;justify-content:center;align-items:center;gap:26px;margin-top:9px}.big-play{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;color:#164947;background:#ffdb76}.big-play svg{fill:currentColor;stroke-width:0;width:26px;height:26px}.control-label{font-size:11px;color:#d3e2e4;text-align:center;display:flex;flex-direction:column;gap:3px;align-items:center}.control-label button{background:transparent;border:0;color:#fff;min-width:48px;min-height:42px;display:grid;place-items:center}.listen-hint{text-align:center;font-size:12px;color:#d3e2df;margin-top:10px}.player.quiet .player-top,.player.quiet .player-bottom{opacity:0;pointer-events:none}.reveal-hint{display:none;position:absolute;bottom:17px;left:50%;transform:translateX(-50%);font-size:12px;color:#e2ece4;white-space:nowrap}.player.quiet .reveal-hint{display:block}.error-msg{padding:13px 16px;border-radius:12px;background:#fff4e0;color:#774813;margin:8px 0;font-size:14px;text-align:center}.completion{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#082d36e8;gap:20px;padding:30px;text-align:center}.completion[hidden]{display:none}.completion h2{font-size:38px;font-weight:900}.completion p{color:#d0e5dd;font-size:18px;max-width:400px;line-height:1.6}.completion .completion-icon{width:72px;height:72px;background:#fff0bf;border-radius:50%;display:grid;place-items:center;color:#596d39}.completion-icon svg{width:36px;height:36px}.completion-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.completion .primary{background:#f9d572;color:#173f41}
dialog{padding:0;border:0;border-radius:27px;width:min(620px,calc(100% - 28px));max-height:90dvh;color:#183f42;background:#fbfcf8;box-shadow:0 30px 100px #09242f33}dialog::backdrop{background:#071f2c9e;backdrop-filter:blur(5px)}.dialog-header{position:sticky;top:0;background:#fbfcf8;padding:24px 27px 16px;border-bottom:1px solid #e0e8e2;display:flex;align-items:center;justify-content:space-between;z-index:1}.dialog-header h2{font-size:25px;font-weight:900}.dialog-header button{background:#e5ede8;color:#214d50;width:42px;height:42px;display:grid;place-items:center;border-radius:50%}.dialog-body{padding:25px 27px 30px}.dialog-body h3{font-size:20px;font-weight:900;margin-bottom:9px}.dialog-body p{font-size:16px;line-height:1.65;color:#4d696c}.setting-block{padding:21px 0;border-bottom:1px solid #e0e8e2}.setting-block:first-child{padding-top:0}.setting-block:last-child{border:0;padding-bottom:0}.setting{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}.setting label{font-size:15px}.setting small{display:block;font-size:13px;color:#617a7a;line-height:1.5;margin-top:5px}.setting select{border:1px solid #bad1c8;background:white;color:#174f4e;border-radius:12px;padding:10px;max-width:160px}.toggle{width:23px;height:23px;accent-color:#075958;flex-shrink:0}.voice{background:white;border:1px solid #d9e5dd;border-radius:16px;padding:15px;display:flex;gap:12px;align-items:center;margin:13px 0}.voice-avatar{background:#e7eeea;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;color:#075958;flex-shrink:0}.voice-info{flex:1}.voice strong{font-family:Nunito;font-weight:900;font-size:18px}.voice p{font-size:13px;line-height:1.4}.voice button{background:#e5eee9;border-radius:12px;padding:10px;min-width:45px;min-height:45px;color:#075958}.small-badge{font-size:11px;background:#fff0b8;padding:4px 7px;border-radius:8px;margin-left:7px;color:#785716}.palette{display:flex;gap:9px;margin-top:14px}.swatch{flex:1;border-radius:12px;height:42px;border:1px solid #0001}.kit-link{display:inline-block;margin-top:15px;font-weight:700}.privacy-note{padding:15px;background:#e6efea;border-radius:14px;margin-top:15px}.privacy-note p{font-size:14px}.hidden{display:none!important}@keyframes breathe{from{transform:scale(1)}to{transform:scale(1.065)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:1600px){.player-top{padding:35px 50px}.caption-wrap{max-width:1100px}.caption{font-size:44px}}@media(max-width:1000px){.shell{padding:0 28px 32px}.nav{gap:0}.nav button{padding:10px}.feature h2{font-size:37px}.feature-copy{padding:28px}.card-art{height:155px}.cards{gap:15px}.brand{font-size:21px}.brand small{font-size:9px}.parent-btn span{display:none}.parent-btn{padding:12px}.little-note{display:none}}@media(max-width:690px){.shell{padding:0 19px 105px}.topbar{padding:18px 0;gap:12px}.brand{font-size:23px}.brand img{width:43px;height:43px}.nav{position:fixed;bottom:0;left:0;right:0;z-index:10;justify-content:space-around;padding:7px 12px max(9px,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -4px 20px #17433d08}.nav button{flex:1;display:flex;flex-direction:column;gap:3px;font-size:12px;border-radius:15px;padding:8px 12px;margin:0 5px}.nav svg{width:21px;height:21px}.intro{padding:24px 0 18px}h1{font-size:29px;letter-spacing:-1px}.eyebrow{font-size:11px}.feature{grid-template-columns:1fr;min-height:0;border-radius:24px}.feature-copy{order:2;padding:23px 25px 25px}.feature-art{height:210px;order:1}.feature-art:before{background:linear-gradient(0deg,#e2eeeb,transparent 22%)}.night .feature-art:before{background:linear-gradient(0deg,#243e58,transparent 22%)}.feature h2{font-size:33px;max-width:none;margin:12px 0 9px}.feature p{max-width:none;line-height:1.55}.feature-actions{margin-top:18px}.image-label{bottom:21px;right:14px}.section-head{margin:25px 0 15px}.section-head h2{font-size:23px}.section-note{display:none}.cards{grid-template-columns:1fr;gap:15px}.card{display:grid;grid-template-columns:124px 1fr;border-radius:19px}.card-art{height:100%;min-height:166px}.card img{object-position:50% center}.card-badge{font-size:9px;left:7px;top:8px;padding:5px 7px;letter-spacing:.3px}.card-copy{padding:16px}.card-copy h3{font-size:20px}.card-copy p{font-size:14px;min-height:0}.card-bottom{margin-top:12px}.footnote{padding:16px;align-items:flex-start}.footnote svg{flex-shrink:0}footer{font-size:11px;align-items:flex-start}.player-top{padding:16px}.player-title{gap:10px}.player-title h2{font-size:17px}.player-title p{font-size:12px}.player-tools .text-btn{font-size:0;gap:0;padding:11px}.player-tools .text-btn svg{width:20px}.player-tools{gap:6px}.player-tools .fullscreen{display:none}.player-art img{object-fit:contain;background:#122e38}.player:after{background:linear-gradient(#081b27bb,transparent 30%,#081b2766 52%,#05161bea 75%,#05161b 100%)}.caption-wrap{padding:15px 21px 4px}.caption{font-size:25px}.player-bottom{padding:8px 22px max(20px,env(safe-area-inset-bottom))}.player-space{min-height:20px}.beads{gap:10px}.completion h2{font-size:32px}.dialog-header{padding:20px}.dialog-body{padding:21px}.setting{gap:10px}}@media(max-height:600px) and (orientation:landscape){.player-top{padding:12px 24px}.caption-wrap{padding:4px 16px}.caption{font-size:23px}.caption-label{margin-bottom:4px}.player-bottom{padding:0 24px 10px}.play-controls{margin:0}.big-play{width:46px;height:46px}.listen-hint{display:none}.beads{margin-bottom:4px}.player-space{min-height:0}}

[hidden]{display:none!important}.player.quiet .player-top,.player.quiet .player-bottom{visibility:hidden}.player .player-top,.player .player-bottom{visibility:visible}
.player-art img{object-fit:contain;background:#102d34}
.player-art .scene-image{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
.player-art .scene-image.visible{opacity:1}
.player.reduce-motion .scene-image{transition:none}
#skip-intro{font-size:14px;white-space:nowrap}
#listening{width:min(680px,calc(100% - 28px))}
.mode-intro{margin-bottom:20px}
.story-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}
.story-pair figure{margin:0;overflow:hidden;border-radius:17px;background:#e5efea}
.story-pair img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.story-pair figcaption{padding:11px 12px;font-size:14px;font-weight:700;text-align:center;color:#174c4c}
.mode-options{border:0;padding:0;margin:0;min-width:0;display:grid;gap:12px}
.mode-options legend{font-family:Nunito,sans-serif;font-weight:900;font-size:20px;margin-bottom:12px}
.mode-option{display:flex;align-items:center;gap:13px;padding:17px 16px;border:2px solid #d8e5df;border-radius:17px;background:#fff;cursor:pointer}
.mode-option:has(input:checked){border-color:#075958;background:#e5f0eb}
.mode-option input{width:23px;height:23px;margin:0;accent-color:#075958;flex-shrink:0}
.mode-option strong{font-family:Nunito,sans-serif;font-size:21px;font-weight:900;display:block;color:#174c4c}
.mode-option small{display:block;font-size:15px;line-height:1.5;color:#486867;margin-top:3px}
.mode-duration{margin-left:auto;font-size:14px;color:#486867;font-variant-numeric:tabular-nums;white-space:nowrap}
#listening .mode-note{font-size:14px;line-height:1.6;margin:18px 0;color:#536e70}
#begin-decade{width:100%}
.intro{gap:18px;flex-wrap:wrap}.intro .eyebrow{overflow-wrap:anywhere}
.profile-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 15px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);font-size:14px;font-weight:700}
.rosary-collection{padding:17px;background:#e5f0eb;border-radius:16px;margin-bottom:22px}.rosary-collection p{font-size:16px;margin-top:10px}.length-options{margin-bottom:24px}#begin-decade{width:100%}#skip-intro{white-space:normal;max-width:160px}.beads[hidden]{display:none}
.profile-notice{font-size:15px;padding:13px 17px;margin-bottom:18px;border-radius:14px;background:var(--soft);color:var(--ink)}
.profile-intro{margin-bottom:24px}.profile-field{margin:20px 0}.profile-field label{display:block;font-size:17px;font-weight:700;margin-bottom:9px}.profile-field label span{font-size:14px;font-weight:400;color:#536e70;margin-left:8px}
.profile-field input,.profile-field select{display:block;width:100%;min-height:49px;border:1px solid #aecac0;background:white;color:#153e42;border-radius:12px;padding:12px 14px;font-size:17px}
.profile-field p{font-size:14px;margin-top:6px}.profile-familiarity{margin-top:24px}.profile-familiarity .mode-option strong{font-size:19px}
.profile-preview{font-size:15px!important;padding:14px 16px;background:#e5f0eb;border-radius:14px;margin-top:20px}.profile-privacy{font-size:14px!important;margin:18px 0}
#profile-form .primary{width:100%}.profile-secondary,.profile-clear{display:block;width:100%;min-height:46px;padding:11px;background:transparent;color:#375c5d;font-size:15px;border-radius:12px;margin-top:9px}.profile-clear{text-decoration:underline;font-size:14px}
#profile-form .profile-secondary:hover,#profile-form .profile-clear:hover{background:#e5eeea}
@media(max-width:690px){.player-top{flex-wrap:wrap}.player-tools{margin-left:auto}.story-pair{gap:9px}.story-pair figcaption{font-size:14px;padding:9px 7px}.mode-option{padding:14px 12px;gap:11px}.mode-option strong{font-size:20px}.mode-duration{align-self:flex-start;margin-top:6px}.player-title{min-width:0}.player-title h2{overflow-wrap:anywhere}}
/* Games share the app's calm teal-and-gold visual language. */
.game-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.game-library .card{width:100%;text-align:left}.game-library h2{font-size:26px}.game-library .card-art{height:240px}.game-link{display:block;margin-top:20px;font-weight:800;color:var(--teal)}.game-note{margin:24px 0;color:var(--muted)}#game-board{max-width:800px;margin:24px auto}#game-board h2{font-size:28px;line-height:1.3;margin:20px 0}#game-board p{font-size:17px;line-height:1.6;margin:16px 0}.game-level{display:flex;align-items:center;gap:12px;font-size:16px}.game-level select{padding:10px;border-radius:12px;font:inherit;background:var(--paper);color:var(--ink)}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.memory-tile{aspect-ratio:1;border:2px solid #328e90;border-radius:18px;overflow:hidden;background:linear-gradient(140deg,#075958,#137d8c);color:#ffe09a;display:grid;place-items:center;padding:0;min-width:0}.memory-tile span{font-size:44px}.memory-tile img{width:100%;height:100%;object-fit:cover}.memory-tile:disabled{opacity:1}.memory-tile.matched{border:4px solid #c58a12}.kindness-image{width:100%;max-height:360px;object-fit:contain;background:var(--soft);border-radius:20px}.kindness-choices{display:grid;gap:14px;margin:20px 0}.kindness-choices button{white-space:normal;text-align:left;font-size:17px;line-height:1.5;padding:18px}.kindness-choices button:disabled{opacity:.8}#game-board>.profile-btn{margin:16px 12px 16px 0}#choice-feedback{padding:12px 0}.night .game-link{color:#ffe09a}@media(max-width:700px){.nav button{font-size:14px;padding:8px 2px;margin:0;min-width:0}.nav{padding-left:4px;padding-right:4px}.game-library{grid-template-columns:1fr}.game-library .card-art{height:210px}.memory-grid{gap:8px}.memory-tile{border-radius:12px}#game-board h2{font-size:24px}}
@media(min-width:691px) and (max-width:1000px){.topbar{flex-wrap:wrap;gap:14px}.topbar .nav{order:3;width:100%;justify-content:center}.topbar .parent-btn{margin-left:auto}}

/* Sunrise palette and compact, action-first home. */
:root{--teal:#007b86;--ink:#123f4b;--muted:#476571;--base:#fffdf7;--soft:#d9f3f4;--line:#cde4ec;background:var(--base)}
body{background:radial-gradient(ellipse at 90% 0,#dff4ff 0,transparent 55%),var(--base)}
.topbar{padding:16px 0;border-bottom:0;gap:16px;flex-wrap:wrap}.brand{color:#086474}.brand small{font-size:12px;letter-spacing:1px;text-transform:none}.topbar .profile-btn{font-size:14px;padding:10px 12px;background:#fff4cf;border-color:#f1d574;color:#624619;flex-shrink:0}.topbar .nav{margin-left:auto}
.intro{padding:18px 0;gap:12px;flex-wrap:nowrap}.intro>div{display:flex;flex-direction:column;min-width:0}.intro h1{order:-1;margin:0 0 5px}.intro .eyebrow{font-size:16px;letter-spacing:0;text-transform:none;font-weight:500}.welcome-sunrise{height:48px;width:48px;border-radius:15px;flex-shrink:0}
.feature{background:#e0f2ff;min-height:330px;box-shadow:0 8px 28px #075c7510}.feature-copy{padding:28px}.feature-art:before{background:linear-gradient(90deg,#e0f2ff,transparent 14%)}.feature h2{font-size:38px;margin:10px 0}.feature p{color:#365b6c;line-height:1.5}.pill{background:#ffe49a;color:#684509;font-size:14px}.mystery-context{font-size:14px;color:#42616c;margin-top:9px}.feature-actions{margin-top:16px;flex-wrap:wrap;gap:10px}.primary{background:#007b86;box-shadow:0 4px 0 #005761;min-height:48px;padding:12px 18px}.duration{color:#42616c}.quick-modes{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.quick-modes button{background:#fff;color:#086474;border:1px solid #9dcbd9;border-radius:12px;min-height:44px;padding:9px 14px;font-size:14px;font-weight:700}.quick-modes button:hover{background:#c9eff5}
.nav button[data-view=pray]{color:#086474}.nav button[data-view=discover]{color:#67459a}.nav button[data-view=bedtime]{color:#3d4786}.nav button[data-view=games]{color:#a44325}.nav button[data-view=pray].active{background:#d2f2f3}.nav button[data-view=discover].active{background:#ece1ff}.nav button[data-view=bedtime].active{background:#e4e7ff}.nav button[data-view=games].active{background:#ffe1cd}
.shell[data-collection=discover] .feature{background:#eee6ff}.shell[data-collection=discover] .feature-art:before{background:linear-gradient(90deg,#eee6ff,transparent 14%)}.shell[data-collection=games] .card{border-color:#edc19c;background:#fff6ed}.shell[data-collection=games] .game-link{color:#98421f}.card-badge{font-size:12px;background:#ffedb4}.round-play{background:#d1f3f5;color:#006570}.footnote{background:#fff4d8;border-color:#e8c86a}.footnote svg{color:#9b5e15}.mode-option:has(input:checked){border-color:#007b86;background:#e0f6fa}.mode-option input{accent-color:#007b86}
.night{--base:#151d39;--paper:#222f4c;--ink:#eff6ff;--muted:#c4d3e5;--line:#435476;--soft:#293c5d;background:#151d39}.night .feature,.night .shell[data-collection=discover] .feature{background:#253653}.night .feature-art:before,.night .shell[data-collection=discover] .feature-art:before{background:linear-gradient(90deg,#253653,transparent 14%)}.night .mystery-context{color:#c4d3e5}.night .nav button{color:#d0e0f0}.night .nav button.active{background:#364875;color:#ffe195}.night .quick-modes button{background:#344966;border-color:#7186a4;color:#fff}.night .feature .primary{background:#ffdb7d;color:#173a40;box-shadow:0 4px 0 #b78a30}.night .footnote{background:#24324c;border-color:#6c7396}.night .shell[data-collection=games] .card{background:#293951;border-color:#64728c}.night .shell[data-collection=games] .game-link{color:#ffd4a3}
@media(max-width:1000px) and (min-width:691px){.topbar .profile-btn{margin-left:auto}.topbar .nav{order:3;width:100%}}
@media(max-width:690px){
 .shell{padding:0 16px calc(112px + env(safe-area-inset-bottom,0px))}.topbar{padding:12px 0 6px;gap:8px}.brand{font-size:22px;gap:8px}.brand img{width:40px;height:40px;border-radius:12px}.brand small{font-size:12px;letter-spacing:0;margin-top:4px}.topbar .profile-btn{margin-left:auto;font-size:14px;min-height:44px;padding:8px 10px}.topbar .profile-btn svg{width:18px}.intro{padding:14px 0}.intro h1{font-size:27px;letter-spacing:-.8px}.intro .eyebrow{font-size:16px}.welcome-sunrise{height:38px;width:38px;border-radius:11px}.feature{border-radius:22px;min-height:0}.feature-art{height:clamp(150px,25svh,210px)}.feature-art img{object-position:50% 44%}.feature-art:before{background:linear-gradient(0deg,#e0f2ff,transparent 18%)}.shell[data-collection=discover] .feature-art:before{background:linear-gradient(0deg,#eee6ff,transparent 18%)}.feature-copy{padding:14px 18px 18px}.feature h2{font-size:29px;margin:7px 0;line-height:1.12}.feature p{font-size:16px;line-height:1.4}.mystery-context{margin-top:6px}.feature-actions{margin-top:12px}.quick-modes{margin-top:10px}.night .feature-art:before,.night .shell[data-collection=discover] .feature-art:before{background:linear-gradient(0deg,#253653,transparent 18%)}.nav{padding:6px 4px max(9px,env(safe-area-inset-bottom));gap:3px}.nav button{font-size:14px;padding:8px 2px;margin:0;min-width:0;line-height:1.3}.section-head{margin-top:24px}.card-copy p{font-size:16px}.card-copy{min-width:0}.card-badge{font-size:12px;letter-spacing:0}.card-art{min-height:166px}footer{flex-wrap:wrap;font-size:14px}html{scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:380px){.brand{font-size:20px}.brand img{width:36px;height:36px}.topbar .profile-btn{font-size:14px}.topbar .profile-btn svg{display:none}.feature-copy{padding:14px}.feature h2{font-size:27px}.nav button{font-size:14px}}
@media(max-width:690px){.topbar .profile-btn span{max-width:76px;line-height:1.2;text-align:left}.topbar .profile-btn{gap:6px}.topbar .brand{min-width:0}}
@media(max-width:360px){.topbar .brand small{font-size:12px;max-width:145px}.brand{letter-spacing:-.7px}}

/* Vivid colors drawn from the Sunrise Glow icon. */
:root{--teal:#006db5;--ink:#07335e;--muted:#244f6f;--base:#00b8d0;--paper:#fff;--soft:#bcefff;--line:#69cce8;--gold:#ffdc35}
body{background:linear-gradient(145deg,#00c9d8 0%,#0099d8 48%,#0759b9 100%);background-attachment:fixed;color:var(--ink)}
.shell{background:linear-gradient(180deg,#ffffffed 0 145px,#ffffff00 320px)}
.brand{color:#075e86}.brand small{color:#31536a}.intro h1{color:#07335e}.intro .eyebrow{color:#173f60}
.topbar .profile-btn{background:#ffdc35;border-color:#f7a615;color:#07335e;box-shadow:0 3px 0 #e99b13}
.feature,.shell[data-collection=discover] .feature{background:#066bbb;box-shadow:0 10px 30px #003f7133;border:1px solid #7ddaff}
.feature-copy{background:linear-gradient(135deg,#0877b8,#0656ac);color:white}
.feature-art:before,.shell[data-collection=discover] .feature-art:before{background:linear-gradient(90deg,#0877b8,transparent 12%)}
.feature h2,.feature p,.feature .duration,.feature .mystery-context{color:white}
.pill,.card-badge{background:#ffdc35;color:#07335e}.primary,.feature .primary{background:#ffdc35;color:#07335e;box-shadow:0 4px 0 #f29b16}
.quick-modes button{background:#00cde1;color:#07335e;border-color:#59eeff;box-shadow:0 3px 0 #005594}.quick-modes button:hover{background:#6aeeff}
.nav{background:#fff;border-color:#48b9de}.nav button[data-view]{color:#075386}.nav button[data-view=pray].active{background:#00cde1;color:#07335e}.nav button[data-view=discover].active{background:#0868bc;color:white}.nav button[data-view=bedtime].active{background:#173e93;color:#ffe150}.nav button[data-view=games].active{background:#ff9b28;color:#07335e}
.section-head h2,.section-head p,.section-note,.game-note,footer,footer button{color:white}.footnote{background:#ffdc35;border:1px solid #f8aa15}.footnote p,.footnote strong,.footnote svg{color:#07335e}
.card{border:2px solid #77e7f1;box-shadow:0 5px 0 #00679d55;background:#fff}.card-copy h3{color:#07335e}.card-copy p,.card-bottom{color:#244f6f}.round-play{background:#ff9b28;color:#07335e}.cards .card:nth-child(2){border-color:#ffdc35}.cards .card:nth-child(3){border-color:#ff9b28}
.shell[data-collection=games] .card{background:#fff;border:2px solid #ffb52d}.shell[data-collection=games] .card:nth-child(2){border-color:#ffdc35}.shell[data-collection=games] .game-link{color:#075cad}.shell[data-collection=games] .intro p{color:#173f60}#game-board{padding:20px;background:#fff;border-radius:22px;color:#07335e}.memory-tile{background:linear-gradient(140deg,#0089d4,#0758b6);border-color:#00cde1;color:#ffdc35}.memory-tile.matched{border-color:#ffab25}.game-level{color:#07335e}.game-level select{background:white;color:#07335e}.kindness-choices button{background:#ffdc35;color:#07335e}
.dialog-header{background:#0868bc;color:white;border-color:#0c85d6}.dialog-header button{background:#ffdc35;color:#07335e}.mode-option:has(input:checked){border-color:#0087c9;background:#d9f8ff}.mode-option input{accent-color:#006db5}.profile-preview,.rosary-collection,.privacy-note{background:#d9f8ff}.voice-avatar{background:#00cde1;color:#07335e}.voice button{background:#ffdc35;color:#07335e}
.big-play,.completion .primary{background:#ffdc35;color:#07335e}.bead.done{background:#ffdc35;border-color:#ffdc35}.bead.current{background:#00d8ee;border-color:#00d8ee;box-shadow:0 0 0 4px #00d8ee40}
.night{--base:#071b42;--paper:#102a54;--ink:#eff7ff;--muted:#c7e2fa;--line:#2a5480;background:linear-gradient(145deg,#073b74,#071b42 70%);color:var(--ink)}.night .shell{background:transparent}.night .brand{color:#ffdc35}.night .brand small,.night .intro .eyebrow,.night .shell[data-collection=games] .intro p{color:#c7e2fa}.night .intro h1{color:white}
.night .feature,.night .shell[data-collection=discover] .feature{background:#10387a;border-color:#3266aa}.night .feature-copy{background:linear-gradient(135deg,#124b8b,#142d65)}.night .feature-art:before,.night .shell[data-collection=discover] .feature-art:before{background:linear-gradient(90deg,#124b8b,transparent 12%)}.night .feature .primary{background:#ffdc35;color:#07335e;box-shadow:0 4px 0 #c58914}.night .quick-modes button{background:#047f9f;color:white;border-color:#24b7d0}.night .nav{background:#102a54}.night .nav button[data-view]{color:#d6eaff}.night .nav button.active{background:#ffdc35;color:#07335e}.night .nav button[data-view=pray].active{background:#00cde1;color:#07335e}.night .nav button[data-view=discover].active{background:#0868bc;color:white}.night .nav button[data-view=bedtime].active{background:#244c9b;color:#ffdc35}.night .nav button[data-view=games].active{background:#ff9b28;color:#07335e}
.night .card,.night .shell[data-collection=games] .card{background:#102a54;border-color:#29729e}.night .card-copy h3{color:white}.night .card-copy p,.night .card-bottom{color:#c7e2fa}.night .round-play{background:#ff9b28;color:#07335e}.night .footnote{background:#15355e;border-color:#ca981b}.night .footnote p,.night .footnote strong{color:#e5f2ff}.night .footnote svg{color:#ffdc35}.night #game-board{background:#102a54;color:white}.night .game-level{color:white}
@media(max-width:690px){.feature-art:before,.shell[data-collection=discover] .feature-art:before{background:linear-gradient(0deg,#0877b8,transparent 16%)}.night .feature-art:before,.night .shell[data-collection=discover] .feature-art:before{background:linear-gradient(0deg,#124b8b,transparent 16%)}#game-board{padding:16px}}
.section-head{background:#075bab;padding:16px 20px;border-radius:18px}.game-note{background:#075bab;padding:14px 18px;border-radius:14px}footer{background:#064b91;padding:12px 16px;border-radius:16px}.night .section-head,.night .game-note,.night footer{background:#102a54}
/* A single primary action, an optional return point, and a familiar guide. */
.home-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin:14px 0 0;min-width:0;width:100%}.home-modes legend{font-size:14px;font-weight:700;margin-bottom:8px;color:white}.home-modes label{display:flex;gap:8px;align-items:flex-start;padding:12px 10px;border:2px solid #6eccea;border-radius:14px;background:#08518a;color:#fff;cursor:pointer;min-width:0}.home-modes label:has(input:checked){border-color:#ffdc35;background:#ffdc35;color:#07335e}.home-modes input{accent-color:#07335e;width:18px;height:18px;margin:2px 0 0;flex-shrink:0}.home-modes strong{display:block;font-size:15px}.home-modes small{display:block;font-size:14px;line-height:1.35;margin-top:3px}.home-modes span{min-width:0}.feature-actions .primary{min-width:180px}.resume-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;margin-bottom:18px;border-radius:18px;background:#fff9df;color:#07335e;border:2px solid #ffdc35}.resume-card h2{font-size:21px;line-height:1.2}.resume-card p{font-weight:700;margin-top:5px}.resume-card small{display:block;font-size:14px;line-height:1.4;margin-top:4px}.resume-card .primary{flex-shrink:0}.grace-intro{display:flex;gap:12px;align-items:center;background:#fff;border-radius:18px;margin-top:18px;padding:12px 16px;color:#07335e}.grace-intro img{width:56px;height:56px;object-fit:cover;border-radius:50%;border:2px solid #00b8d0;flex-shrink:0}.grace-intro strong,.grace-intro span{display:block}.grace-intro strong{font-family:Nunito,sans-serif;font-size:18px}.grace-intro span{font-size:16px;line-height:1.4;margin-top:2px}.night .resume-card{background:#15355e;color:#fff}.night .grace-intro{background:#102a54;color:#fff}.night .home-modes label{background:#123665}.night .home-modes label:has(input:checked){background:#ffdc35;color:#07335e}
@media(max-width:690px){.home-modes{gap:8px;margin-top:12px}.home-modes label{padding:9px 8px;gap:6px}.feature h2{font-size:27px}.feature-art{height:clamp(140px,21svh,185px)}.resume-card{flex-wrap:wrap;gap:12px}.resume-card .primary{min-height:44px}.grace-intro{padding:12px}.feature-actions{width:100%}.feature-actions .primary{flex:1}}
@media(max-width:360px){.home-modes{grid-template-columns:1fr}.setting{flex-wrap:wrap}.mode-option{flex-wrap:wrap}.mode-duration{margin-left:36px}.player-tools{flex-wrap:wrap}}
@media(max-height:500px) and (orientation:landscape){.player{overflow-y:auto}.player-top{flex-wrap:wrap}.player-space{min-height:0}.caption{font-size:20px}.caption-wrap{padding:4px 14px}.player-bottom{padding-bottom:8px}.player-art{position:fixed}.player-tools{flex-wrap:wrap}}
.voice-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.home-modes input:focus-visible{outline:3px solid #fff;outline-offset:3px}.home-modes label:has(input:checked) input:focus-visible{outline-color:#07335e}.resume-card>div{min-width:0;overflow-wrap:anywhere}.intro h1{overflow-wrap:anywhere}.feature-copy{min-width:0}.mode-option>span{min-width:0}.player-title{min-width:0}.player-title h2{overflow-wrap:anywhere}

/* Clear visual roles: artwork, labels, choices, then the primary action. */
.topbar .profile-btn{background:transparent;color:#075386;border:1px solid #77b4ce;box-shadow:none;gap:6px;padding:8px 10px;min-height:44px}.topbar .profile-btn span{max-width:none;white-space:nowrap;font-size:14px}.night .topbar .profile-btn{background:transparent;color:#d6eaff;border-color:#668aaf}
.feature-art{height:auto;display:flex;align-items:center;background:#07549d}.feature-art img{position:static;display:block;width:100%;height:auto;object-fit:contain;object-position:center}.feature-art:before{display:none}.feature-copy{padding:24px}.feature h2{margin:8px 0}.feature p{line-height:1.4}.category-label{display:block;font-size:14px;line-height:1.3;font-weight:700;letter-spacing:.3px;color:#325d78;margin-bottom:6px}.feature .category-label{color:#fff}.feature .mystery-context{margin-top:0;font-size:14px}.night .category-label{color:#c7e2fa}
.home-modes label,.night .home-modes label{background:#08518a;border-color:#77b9de;color:#fff;box-shadow:none}.home-modes label:has(input:checked),.night .home-modes label:has(input:checked){background:#176ba6;border-color:#fff;color:#fff}.home-modes input{accent-color:#fff}.home-modes label:has(input:checked) input:focus-visible{outline-color:#fff}.home-modes strong{font-size:15px}.home-modes small{font-size:14px}
.guide-credit{display:flex;align-items:center;gap:9px;margin-top:14px;color:#fff;cursor:default}.guide-credit img{width:32px;height:32px;object-fit:cover;border-radius:50%;border:0;flex-shrink:0}.guide-credit span{font-size:14px;line-height:1.3}.feature-actions{margin-top:10px}
.section-head,.night .section-head{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.section-head h2,.section-head p,.section-note{color:#07335e}.night .section-head h2,.night .section-head p,.night .section-note{color:#eff7ff}.section-note{display:none}
.cards .card,.cards .card:nth-child(2),.cards .card:nth-child(3){border:1px solid #b4def0;box-shadow:none}.night .cards .card{border-color:#456c90}.card-art{height:auto;min-height:0;background:#e8f5fc;display:flex;align-items:center}.card-art img{height:auto;width:100%;object-fit:contain;display:block}.card-copy p{min-height:0}.round-play{background:#0868bc;color:white}.night .round-play{background:#1b69aa;color:white}.footnote,.night .footnote{background:transparent;border:0;padding:10px 0}.footnote p,.footnote strong,.footnote svg{color:#07335e}.night .footnote p,.night .footnote strong,.night .footnote svg{color:#e5f2ff}.resume-card{background:#fff;border-color:#b4def0}.night .resume-card{border-color:#456c90}
@media(max-width:690px){.topbar{gap:8px}.topbar .profile-btn{padding:8px;gap:5px}.topbar .profile-btn svg{width:18px;display:block}.topbar .brand{font-size:21px}.brand small{font-size:12px}.feature-art{height:auto;min-height:0}.feature-art img{height:auto;aspect-ratio:auto}.feature-copy{padding:16px 18px 20px}.feature h2{font-size:27px}.home-modes{margin-top:12px}.home-modes label{padding:9px 8px}.cards .card{grid-template-columns:minmax(0,42%) minmax(0,58%)}.cards .card-art{height:auto;min-height:0;align-self:stretch}.cards .card img{height:auto;object-fit:contain}.card-copy{padding:14px}.card-copy h3{font-size:20px}.card-copy p{font-size:15px;line-height:1.4}.card-bottom{gap:6px;flex-wrap:wrap}.section-head{margin-top:26px}.guide-credit{margin-top:12px}}
@media(max-width:360px){.topbar .profile-btn span{display:none}.topbar .profile-btn{min-width:44px}.cards .card{grid-template-columns:1fr}.cards .card-art img{width:100%;height:auto}.home-modes{grid-template-columns:1fr}}
body:not(.night){background:linear-gradient(145deg,#00c9d8,#00addb);background-attachment:fixed}

/* Visible guide portrait and full-width artwork without empty image columns. */
.guide-credit{gap:14px;margin-top:18px;padding:0;background:transparent;border:0;box-shadow:none;cursor:default}
.guide-credit img{width:76px;height:76px;object-fit:cover;border-radius:50%;border:0;flex-shrink:0}
.guide-credit strong{display:block;font-family:Nunito,sans-serif;font-size:20px;line-height:1.25;font-weight:800}
.guide-credit small{display:block;font-size:15px;line-height:1.4;margin-top:4px;color:#e1f2ff}
.cards{align-items:start}
.cards .card{display:flex;flex-direction:column;align-items:stretch;width:100%;height:auto;overflow:hidden}
.cards .card-art{display:block;width:100%;height:auto;min-height:0;flex:none;align-self:auto;background:transparent;line-height:0}
.cards .card-art img{position:static;display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:contain}
.cards .card-copy{width:100%;padding:18px 20px}
.cards .card-copy h3{font-size:22px;line-height:1.25}
.cards .card-copy p{font-size:16px;line-height:1.45;margin-top:6px}
.cards .card-bottom{margin-top:14px;flex-wrap:nowrap}
@media(max-width:690px){.cards{gap:20px}.cards .card{border-radius:20px}.cards .card-copy{padding:16px 18px 18px}.guide-credit img{width:76px;height:76px}.guide-credit{margin:16px 0 4px}.guide-credit span{min-width:0}}

/* Games: clear invitations, roomy pictures, and encouraging feedback. */
.games-intro{padding-bottom:22px}.games-intro p:last-child{font-size:17px;line-height:1.45;margin-top:5px}
.game-library{align-items:start;gap:22px}.game-library .game-entry{display:flex;flex-direction:column;align-items:stretch;border:1px solid #b4def0!important;box-shadow:none;background:#fff!important;overflow:hidden;border-radius:22px}.game-library .card-art{display:block;width:100%;height:auto!important;min-height:0;background:transparent;line-height:0}.game-library .card-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.game-library .card-copy{padding:20px;min-width:0}.game-library h2{font-size:27px;line-height:1.2;color:#07335e}.game-library .card-copy p{font-size:16px;line-height:1.5;min-height:0}.game-entry-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:18px;font-size:14px;color:#325d78}.game-library .game-link{margin:0;padding:12px 16px;background:#ffdc35;color:#07335e!important;border-radius:13px;font-size:15px;font-weight:800}.games-reassurance{font-size:16px;line-height:1.5;margin:24px 0;color:#07335e}.back-games{background:#fff;color:#07335e;border:1px solid #7bcce5;margin:14px 0 0}
#game-board{padding:26px;scroll-margin-top:12px;margin-top:16px;border:1px solid #b4def0;box-shadow:none}#game-board .game-heading h2{margin:0 0 16px;font-size:30px}#game-board .category-label{color:#315d7d}.game-level{display:flex;flex-wrap:wrap;gap:10px;font-size:16px;font-weight:700}.game-level select{min-height:46px;max-width:100%;border:1px solid #8dc6dd;background:#fff;color:#07335e}
.game-progress{margin:20px 0 12px}.game-progress>span{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.game-progress progress{display:block;width:100%;height:10px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#ddecf6;accent-color:#0877b8}.game-progress progress::-webkit-progress-bar{background:#ddecf6;border-radius:20px}.game-progress progress::-webkit-progress-value{background:#0877b8;border-radius:20px}.game-progress progress::-moz-progress-bar{background:#0877b8;border-radius:20px}
#game-board .game-feedback{background:#e4f5fd;border-radius:13px;padding:14px 16px;color:#07335e;font-size:16px;line-height:1.45;margin:12px 0;min-height:52px}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.memory-tile{position:relative;aspect-ratio:3/2;min-height:0;border:2px solid #188ec4;box-shadow:0 3px 0 #004f8840;border-radius:14px;background:linear-gradient(140deg,#008bbb,#074d9c)}.memory-tile .tile-back{font-size:38px;line-height:1;color:#ffdc35}.memory-tile img{display:block;width:100%;height:100%;object-fit:contain;background:#e5f2fb}.memory-tile.matched{border:2px solid #087786;box-shadow:none}.memory-tile .match-check{position:absolute;right:5px;bottom:5px;font-size:16px;font-weight:900;background:#fff;color:#07585e;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;line-height:1}.memory-tile.revealed{box-shadow:none}.memory-tile:focus-visible{outline:3px solid #07335e;outline-offset:3px}
.game-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.game-actions .profile-btn{margin:0!important}.game-next{width:100%;margin-top:12px}.game-complete{padding:12px 0}.game-complete h3{font-size:23px;line-height:1.3}.take-kindness{background:#e4f5fd;color:#07335e;padding:16px 18px;border-radius:16px;margin-top:20px}#game-board .take-kindness p{margin-bottom:0}
.kindness-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:14px;margin-top:18px;background:transparent}#game-board .kindness-question{font-family:Nunito,sans-serif;font-weight:800;font-size:23px;line-height:1.4;margin:18px 0}.kindness-choices{gap:12px}.kindness-choices button{display:flex;align-items:flex-start;gap:12px;background:#fff!important;color:#07335e!important;border:2px solid #97c6dd;border-radius:14px;padding:16px;font-size:17px;line-height:1.45;min-height:54px;text-align:left}.choice-number{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:28px;height:28px;background:#e4f5fd;font-size:14px;font-weight:800}.kindness-choices button.chosen{background:#e4f5fd!important;border-color:#0877b8}.kindness-choices button:disabled{opacity:1}.choice-feedback strong,.choice-feedback>span{display:block}.choice-feedback strong{margin-bottom:6px}.choice-feedback.success{border-left:4px solid #087786}
.night .game-library .game-entry{background:#102a54!important;border-color:#456c90!important}.night .game-library h2,.night .games-reassurance{color:#eff7ff}.night .game-entry-footer{color:#c7e2fa}.night #game-board{border-color:#456c90}.night #game-board .category-label{color:#c7e2fa}.night #game-board .game-feedback,.night .take-kindness{background:#193f68;color:#eff7ff}.night .kindness-choices button{background:#102a54!important;color:#eff7ff!important;border-color:#648bb3}.night .kindness-choices button.chosen{background:#214e79!important;border-color:#b6edff}.night .choice-number{background:#315577;color:#fff}.night .memory-tile:focus-visible{outline-color:#ffdc35}.night .back-games{background:#102a54;color:#fff;border-color:#648bb3}
@media(max-width:690px){.game-library{grid-template-columns:1fr}.game-library .card-copy{padding:18px}.game-entry-footer{gap:12px}.game-library h2{font-size:25px}.game-library .game-link{padding:11px 13px}#game-board{padding:16px;margin-top:14px}#game-board .game-heading h2{font-size:27px}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memory-grid[data-pairs="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-tile .tile-back{font-size:32px}#game-board .kindness-question{font-size:21px}.kindness-choices button{padding:13px;gap:9px}.game-actions{gap:10px}.game-actions>button{flex:1;min-width:120px}.game-level select{width:100%}}
@media(max-width:360px){.memory-grid[data-pairs="6"]{grid-template-columns:repeat(2,minmax(0,1fr))}.game-entry-footer{align-items:stretch;flex-direction:column}.game-link{text-align:center}}
/* Playful details stay optional and never hurry a child. */
.game-sound-setting{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#07335e;font-size:16px;font-weight:700;margin:0 0 18px;min-height:44px}.game-sound-setting input{width:23px;height:23px;accent-color:#075bab}.game-sound-setting small{font-size:14px;font-weight:400}.night .game-sound-setting{color:#eff7ff}.memory-tile.just-revealed{animation:tile-reveal .3s ease-out}.game-celebration{display:flex;justify-content:center;align-items:center;gap:12px;height:56px;overflow:hidden;margin:10px 0}.game-celebration i{display:block;width:11px;height:16px;background:#ffb52d;transform:rotate(calc(var(--piece)*31deg));animation:celebrate-piece .85s ease-out both;animation-delay:calc(var(--piece)*.035s)}.game-celebration i:nth-child(3n){background:#00b8d0;border-radius:50%}.game-celebration i:nth-child(3n + 1){background:#ffdc35}.kindness-outcome{background:#e4f5fd;padding:16px;border-radius:16px;margin-top:20px;animation:outcome-in .35s ease-out}.kindness-outcome h3{font-size:21px;line-height:1.35;margin-bottom:14px}.kindness-outcome img{display:block;width:100%;height:auto;border-radius:12px;object-fit:contain}.night .kindness-outcome{background:#193f68;color:#fff}
.hunt-scene{position:relative;width:100%;margin:18px 0;border-radius:16px;overflow:hidden}.hunt-scene>img{display:block;width:100%;height:auto}.hunt-spot{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;border:2px solid white;border-radius:50%;background:#075bab;color:white;font-size:18px;font-weight:800;box-shadow:0 2px 8px #001a4c77;display:grid;place-items:center;padding:0}.hunt-spot:disabled{opacity:1}.hunt-spot.found{background:#ffdc35;color:#07335e}.hunt-spot.hinted{outline:4px solid #ffdc35;outline-offset:4px}.hunt-tools{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}.hunt-tools summary{padding:12px 4px;min-height:44px;cursor:pointer;font-size:15px;text-decoration:underline}.hunt-names{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.hunt-names button{font-size:15px}.treasure-collection{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.treasure-collection span{padding:8px 12px;background:#e4f5fd;color:#07335e;border-radius:10px;font-size:15px}.night .treasure-collection span{background:#193f68;color:#eff7ff}.hunt-spot:focus-visible{outline:4px solid #ffdc35;outline-offset:3px}
@keyframes tile-reveal{from{transform:perspective(600px) rotateY(70deg)}to{transform:perspective(600px) rotateY(0)}}
@keyframes celebrate-piece{0%{opacity:0;translate:0 22px}45%{opacity:1;translate:0 -8px}100%{opacity:1;translate:0 0}}
@keyframes outcome-in{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:none}}
.reduce-game-motion .just-revealed,.reduce-game-motion .game-celebration i,.reduce-game-motion .kindness-outcome{animation:none!important}
@media(prefers-reduced-motion:reduce){.just-revealed,.game-celebration i,.kindness-outcome{animation:none!important}}
@media(max-width:690px){.hunt-scene{margin-left:-8px;width:calc(100% + 16px)}.hunt-spot{width:44px;height:44px}.kindness-outcome{padding:12px}}
/* Discover: story-sized reading and distinct, clearly labelled actions. */
.discovery{color:#07335e}.discovery-intro{max-width:760px;margin:8px 0 28px}.discovery-intro h1{font-size:clamp(32px,5vw,48px);line-height:1.12;margin:8px 0 14px}.discovery-intro>p:last-child{font-size:18px;line-height:1.55}.discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.discover-tile{border-radius:24px;overflow:hidden;background:#fff;border:1px solid #9bdeec}.carlo-tile{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;background:#0758a4;color:#fff}.discover-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.carlo-tile .discover-art{align-self:center}.discover-copy{padding:28px}.discover-copy h2{font-size:30px;line-height:1.16;margin:8px 0 14px;color:inherit}.discover-copy p{line-height:1.55;font-size:17px;margin-bottom:20px}.discover-kicker{font-size:13px!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;margin-bottom:12px!important}.discover-emblem{display:block;color:#a65d00;font-size:64px;line-height:1;margin-bottom:24px}.saints-tile{background:#fff6cf}.discover-button,.discover-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:13px 18px;border:1px solid #91c5dd;border-radius:13px;background:#fff;color:#07335e;font:700 16px/1.4 Nunito,sans-serif;cursor:pointer;text-align:left;box-shadow:none}.discover-button:hover{background:#e6f7fc}.discover-back{margin-bottom:20px;background:#eefbff}.discovery .primary{font-size:17px;min-height:48px;max-width:100%;white-space:normal}.discover-extras,.discover-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.discover-reader{max-width:780px;margin:0 auto;background:#fff;padding:32px;border-radius:24px;line-height:1.65;overflow-wrap:anywhere}.discover-reader h2{font-size:clamp(28px,4vw,38px);line-height:1.2;margin:8px 0 22px;color:inherit}.discover-reader h3{font-size:23px}.discover-reader>p{margin:16px 0;font-size:18px}.discover-story{font-size:21px!important}.discover-wonder{background:#e6f7fc;padding:20px;border-radius:16px;margin:24px 0}.discover-wonder p{margin:8px 0 0}.discover-options{display:grid;gap:12px;margin:24px 0}.discover-options button{display:flex;flex-direction:column;align-items:flex-start;padding:18px;text-align:left;width:100%}.discover-options button strong{font-size:20px}.discover-options button span{font-weight:400}.discover-options .saint-symbol{font-size:34px;line-height:1.1;color:#9c5b00}.discover-notes{border-top:1px solid #bfd7e6;margin:28px 0 18px;padding-top:12px;font-size:15px}.discover-notes summary{min-height:44px;cursor:pointer;font-weight:700;padding:10px 0}.discover-notes p{margin:12px 0}.discovery a{color:#075bab;text-decoration:underline;text-underline-offset:3px}.discover-source,.discover-small{font-size:14px!important;line-height:1.6}.discover-scene{display:block;width:100%;height:auto;border-radius:16px}.discover-reader blockquote{margin:24px 0;padding:18px 20px;border-left:4px solid #e9b600;background:#fff8db;font-size:22px}.discover-reader cite{display:block;font-size:14px;margin-top:7px}.book-page{border-bottom:1px solid #b5d4e5;padding:20px 0}.book-page p{margin:12px 0}.discover-prayer{font-style:italic}.discovery button:focus-visible,.discovery a:focus-visible,.discovery summary:focus-visible{outline:3px solid #07335e;outline-offset:4px}.discover-reader h2:focus{outline:none}.night .discovery{color:#f1f8ff}.night .discover-tile,.night .discover-reader{background:#12375b;color:#f1f8ff;border-color:#4985a3}.night .carlo-tile{background:#10467a}.night .discover-wonder{background:#1e4a6b}.night .discover-reader blockquote{background:#4a4328}.night .discovery a{color:#99dcff}.night .discover-emblem,.night .saint-symbol{color:#ffda35}.night .discovery button:focus-visible,.night .discovery a:focus-visible,.night .discovery summary:focus-visible{outline-color:#ffdb35}
@media(max-width:690px){.discovery-grid{grid-template-columns:1fr;gap:20px}.carlo-tile{display:block;grid-column:auto}.discover-copy{padding:22px}.discover-copy h2{font-size:28px}.discovery-intro{margin-bottom:22px}.discover-reader{padding:22px 18px;border-radius:20px}.discover-story{font-size:19px!important}.discover-actions>*{flex:1}.discover-extras{display:grid}.discover-options button{padding:16px}.discover-reader blockquote{font-size:20px}}
/* Saints: full portraits, readable prayer, and small everyday actions. */
.saint-portrait{margin:0 0 24px}.saint-portrait img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:16px}.saint-portrait figcaption{font-size:14px;line-height:1.5;margin-top:8px;color:#42647b}.saint-preview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:12px 12px 0}.saint-preview-strip figure{margin:0;min-width:0}.saint-preview-strip img{display:block;width:100%;height:auto;border-radius:12px;aspect-ratio:3/2;object-fit:contain}.saint-preview-strip figcaption{font-size:14px;font-weight:700;text-align:center;padding:7px 0 0}.discover-options .saint-entry{padding:0;overflow:hidden;gap:0}.saint-list-portrait{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.saint-list-copy{padding:18px;display:grid;gap:6px}.saint-list-copy strong{line-height:1.25}.saint-devotion{margin:28px 0;border-top:1px solid #b5d4e5;padding-top:24px}.saint-devotion h3{font-size:23px;line-height:1.3;margin:0 0 12px}.saint-devotion p{font-size:18px;line-height:1.65;margin:12px 0}.saint-devotion ul{padding-left:24px;margin:14px 0 22px}.saint-devotion li{padding-left:4px;margin:10px 0;font-size:17px;line-height:1.6}.saint-prayer{background:#fff6cf;border-left:4px solid #e6b900;border-radius:0 16px 16px 0;padding:22px;margin:26px 0}.saint-prayer small{display:block;font-size:14px;line-height:1.5;color:#53636b}.night .saint-portrait figcaption,.night .saint-prayer small{color:#d5e5f1}.night .saint-prayer{background:#3c3c2b}.night .saint-preview-strip{color:#f1f8ff}@media(min-width:691px){.discover-options .saint-entry{display:grid;grid-template-columns:40% 1fr;align-items:center}.saint-list-copy{padding:20px}}@media(max-width:690px){.saint-prayer{padding:18px}.saint-devotion h3{font-size:22px}.saint-preview-strip{padding:8px 8px 0}.saint-list-copy{padding:16px}}
.saint-patronage{margin:26px 0;padding:22px;background:#e6f7fc;border-radius:16px}.saint-patronage h3{font-size:22px;line-height:1.3;margin:0 0 14px}.saint-patronage>strong{font-size:20px;display:block;line-height:1.4}.patronage-status{display:block;font-size:14px;margin:5px 0 12px;font-weight:700}.saint-patronage p{font-size:17px;line-height:1.65;margin:12px 0}.saint-patronage .discover-notes{margin-bottom:0}.night .saint-patronage{background:#1e4a6b}.saint-library{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.discover-options.saint-library .saint-entry{display:flex;flex-direction:column;height:100%;align-items:stretch}.saint-library .saint-list-copy{padding:16px}.saint-library .saint-list-copy strong{font-size:20px}@media(max-width:520px){.saint-library{grid-template-columns:1fr}.saint-patronage{padding:18px}}

.prayer-navigation{display:flex;justify-content:space-between;gap:12px;margin:0 auto 10px;max-width:520px}.prayer-navigation button{min-height:44px;padding:9px 16px;border:1px solid #ffffff80;background:#163c50;color:#fff;border-radius:14px;font-size:14px;font-weight:800}.prayer-navigation button:disabled{opacity:.45;cursor:default}.prayer-navigation button:focus-visible{outline:3px solid #ffe13d;outline-offset:3px}
@media(max-height:600px) and (orientation:landscape){.prayer-navigation{margin-bottom:2px}.prayer-navigation button{padding:5px 12px}}
/* Daily moments and replayable adventures */
.daily-card{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;padding:28px;background:var(--paper);border-radius:28px;margin:12px 0 28px;color:var(--ink);border:2px solid #31c8d1;box-shadow:0 10px 25px #06355a18}.daily-copy h2{font:900 30px Nunito;margin:8px 0}.daily-copy p{line-height:1.55}.daily-card details{margin-top:16px}.daily-card summary{cursor:pointer;font-weight:700;padding:9px 0}.daily-card small{font-size:14px}.daily-card h3{margin:14px 0 6px}.daily-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.daily-friend{margin:0;align-self:center;overflow:hidden;border-radius:20px;background:var(--soft)}.daily-friend img{display:block;width:100%;height:auto}.daily-friend figcaption{padding:18px;display:grid;gap:8px;font-size:16px}.daily-friend strong{font:900 22px Nunito}.daily-play,.game-album{padding:24px;border-radius:24px;background:var(--paper);color:var(--ink);margin:16px 0 26px;border:2px solid #28c4d4}.daily-play h2,.game-album h2{font:900 27px Nunito;margin:8px 0}.daily-play p,.game-album p{line-height:1.5}.daily-trail{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.discovery-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.discovery-counts span{display:grid;gap:6px;padding:14px;border-radius:16px;background:var(--soft)}.discovery-counts strong{font:900 27px Nunito}.memory-comfort{display:flex;gap:12px;align-items:center;margin:14px 0;font-size:16px}.memory-comfort input{width:24px;height:24px;accent-color:#0875a5}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:720px;margin:16px auto}.memory-grid[data-pairs="10"],.memory-grid[data-pairs="12"]{grid-template-columns:repeat(6,minmax(0,1fr))!important}.memory-tile{min-width:0;min-height:65px}.puzzle-options{display:flex;gap:18px;flex-wrap:wrap;margin:16px 0}.puzzle-options label{display:grid;gap:8px;min-width:0}.puzzle-options select{max-width:100%;padding:10px;font:inherit;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px}.picture-puzzle{display:grid;grid-template-columns:repeat(var(--size),1fr);aspect-ratio:3/2;max-width:720px;gap:3px;margin:18px auto;background:#0a355b;border:5px solid #0a355b;border-radius:14px;overflow:hidden}.puzzle-piece{position:relative;border-radius:3px;padding:0;background-repeat:no-repeat;min-width:0;min-height:44px;border:2px solid transparent}.puzzle-piece span{position:absolute;bottom:3px;left:3px;background:#082c52e8;color:#fff;padding:3px 6px;border-radius:5px;font-size:14px}.puzzle-piece.selected{border:4px solid #ffe43c;box-shadow:inset 0 0 0 2px #123}.puzzle-piece.in-place span{background:#075a44}.puzzle-piece:focus-visible{outline:4px solid #ffdf2e;outline-offset:-4px}.puzzle-preview{display:block;width:100%;max-width:720px;height:auto;margin:18px auto;border-radius:14px}.game-actions{flex-wrap:wrap}.night .daily-card,.night .daily-play,.night .game-album{background:#183a56;color:#f1f9ff}.night .discovery-counts span,.night .daily-friend{background:#244c68;color:#f1f9ff}
@media(max-width:690px){.daily-card{grid-template-columns:1fr;padding:20px;gap:18px}.daily-friend{display:grid;grid-template-columns:110px 1fr}.daily-friend img{height:100%;object-fit:cover}.daily-friend figcaption{padding:12px}.daily-friend strong{font-size:19px}.daily-friend figcaption span{font-size:14px}.daily-play,.game-album{padding:20px}.daily-trail{display:grid}.discovery-counts{grid-template-columns:1fr}.discovery-counts span{display:flex;align-items:center;gap:14px}.memory-grid[data-pairs="10"],.memory-grid[data-pairs="12"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}.puzzle-options{display:grid;grid-template-columns:1fr}.daily-copy h2{font-size:27px}.daily-actions>*{width:100%}}

/* Growing with Grace: a familiar companion, clear paths, room to wonder. */
body{background:#effaff;background-image:linear-gradient(180deg,#e2f9ff 0,#f7fcff 650px);color:#113757}
.topbar{border-bottom:1px solid #b6dce8;gap:20px}.brand{gap:12px}.brand>img{width:58px;height:58px;border-radius:18px}.brand>span{font-size:26px;line-height:1.1;letter-spacing:-.6px}.brand small{font-size:13px;letter-spacing:.3px;text-transform:none;margin-top:7px}.shell{max-width:1200px}.grace-welcome{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;background:#cdeffa;border:1px solid #a4dce9;border-radius:30px;overflow:hidden;margin:26px 0 22px;color:#113757}.grace-welcome-copy{padding:32px}.grace-welcome h1{font:900 clamp(30px,4vw,48px)/1.13 Nunito;margin:8px 0 14px;letter-spacing:-1px}.grace-welcome p:not(.eyebrow){font-size:20px;line-height:1.5;max-width:32ch}.grace-welcome .eyebrow{font-size:14px;letter-spacing:1px;color:#235c71}.grace-welcome>img{display:block;width:100%;height:auto;max-height:310px;object-fit:contain;align-self:end}.grace-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 30px}.grace-path{display:flex;flex-direction:column;align-items:stretch;text-align:left;background:#fff;border:1px solid #afd5e2;border-bottom:5px solid #16b7c9;border-radius:20px;overflow:hidden;padding:0;color:#113757;transition:transform .15s}.grace-path:hover{transform:translateY(-3px)}.grace-path img{width:100%;height:130px;object-fit:contain;background:#d7f1fb}.grace-path span{padding:16px;display:grid;gap:7px}.grace-path strong{font:900 21px/1.2 Nunito}.grace-path small{font-size:14px;line-height:1.4}.grace-path:nth-child(2){border-bottom-color:#159ee4}.grace-path:nth-child(3){border-bottom-color:#ebbb20}.grace-path:nth-child(4){border-bottom-color:#8072c8}.grace-path:focus-visible{outline:3px solid #126ca6;outline-offset:4px}.grace-daily-note{font-weight:700;font-size:16px}.grace-encouragement{display:flex;align-items:center;gap:14px;margin:18px 0;padding:12px;background:#e2f7fc;border-radius:20px;color:#113757}.grace-encouragement img{width:76px;height:76px;object-fit:cover;border-radius:18px}.grace-encouragement small{font-weight:800;font-size:14px}.grace-encouragement .game-feedback{margin:4px 0;padding:0;background:none;font-size:18px}.daily-card{box-shadow:none}.feature{box-shadow:none}.games-intro{padding:0}.night{background:#10283f;color:#f3faff}.night .grace-welcome,.night .grace-encouragement{background:#193f5c;color:#f3faff;border-color:#386881}.night .grace-welcome .eyebrow{color:#a9dfed}.night .grace-path{background:#1b3d58;color:#f3faff;border-color:#477c96}.night .grace-path img{background:#d7f1fb}.night .topbar{border-color:#376079}.night .grace-path:focus-visible{outline-color:#ffe136}
@media(max-width:900px){.brand>span{font-size:23px}.grace-paths{grid-template-columns:repeat(2,minmax(0,1fr))}.grace-path{flex-direction:row;align-items:center}.grace-path img{width:95px;height:125px}.grace-path span{padding:12px}.grace-path strong{font-size:19px}}
@media(max-width:690px){.topbar{padding:18px 0;gap:10px}.brand{gap:9px}.brand>img{width:48px;height:48px;border-radius:14px}.brand>span{font-size:22px;max-width:230px}.brand small{font-size:12px;letter-spacing:0}.profile-btn#profile-launch{width:44px;min-width:44px;height:44px;padding:10px;border-radius:50%;background:#fff;color:#143d59;box-shadow:none}.profile-btn#profile-launch span{display:none}.grace-welcome{grid-template-columns:1.1fr 1fr;border-radius:24px;margin:20px 0}.grace-welcome-copy{padding:22px 0 22px 20px}.grace-welcome h1{font-size:30px}.grace-welcome p:not(.eyebrow){font-size:16px}.grace-welcome .eyebrow{font-size:12px;letter-spacing:.4px}.grace-welcome>img{max-height:270px;align-self:center}.grace-paths{gap:12px;margin-bottom:24px}.grace-path{flex-direction:column;align-items:stretch}.grace-path img{width:100%;height:118px}.grace-path span{padding:13px}.grace-path strong{font-size:19px}.grace-path small{font-size:14px}.nav button{font-size:14px}.daily-card{border-width:1px}.daily-friend img{object-fit:contain}.grace-encouragement img{width:68px;height:68px}}
@media(max-width:360px){.brand>span{font-size:19px}.grace-welcome{grid-template-columns:1fr}.grace-welcome-copy{padding:22px}.grace-welcome>img{max-height:220px}.grace-path strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.grace-path{transition:none}.grace-path:hover{transform:none}}.reduce-game-motion .grace-path{transition:none}

/* Release accessibility and device safe areas */
body{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}
#adult-form{display:grid;gap:16px}#adult-answer{width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}
dialog{max-height:calc(100dvh - 32px);overflow:auto}#erase-local{margin-top:16px}
.legal-page{max-width:760px;margin:0 auto;padding:32px 24px 64px;line-height:1.7}.legal-page h1{line-height:1.2}.legal-page h2{margin:26px 0 8px}.legal-page p{margin:12px 0}.legal-page li{margin:8px 0}
/* A gentle welcome; the activity artwork leads. */
.grace-hello{display:flex;align-items:center;gap:20px;margin:24px 0;padding:20px 24px;background:var(--paper);color:var(--ink);border-radius:22px;border:1px solid #acdce6}.grace-hello>img{width:90px;height:90px;object-fit:cover;border-radius:50%;flex-shrink:0}.grace-hello h1{font:900 30px/1.2 Nunito;margin:0 0 8px}.grace-hello p{font-size:17px;line-height:1.45;margin:0}.activity-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 30px}.activity-path{display:flex;flex-direction:column;padding:0;overflow:hidden;text-align:left;border-radius:20px;border:1px solid #afd7e1;background:var(--paper);color:var(--ink)}.activity-path>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.activity-path>span{display:grid;gap:7px;padding:18px}.activity-path strong{font:900 24px/1.2 Nunito}.activity-path small{font-size:15px;line-height:1.45}.activity-path:focus-visible{outline:3px solid #10689a;outline-offset:4px}.subtle-intro{margin:30px 0 24px}.subtle-intro h1{font:900 38px/1.2 Nunito;margin:0 0 10px}.subtle-intro p{font-size:18px;line-height:1.5;max-width:650px}.guide-byline{font-size:15px!important;margin:14px 0}.night .grace-hello,.night .activity-path{background:#183a56;color:#f1f9ff;border-color:#477c96}.night .activity-path:focus-visible{outline-color:#ffdc35}
@media(max-width:900px){.activity-paths{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.grace-hello{padding:18px;gap:15px;margin:20px 0}.grace-hello>img{width:78px;height:78px}.grace-hello h1{font-size:26px}.grace-hello p{font-size:16px}.activity-paths{gap:14px}.activity-path>span{padding:15px}.activity-path strong{font-size:22px}.activity-path small{font-size:14px}.subtle-intro h1{font-size:30px}.subtle-intro p{font-size:17px}}

/* A daily encouragement, alongside Today with Jesus. */
.affirmation-card{margin:0 0 26px;padding:26px 30px;border:1px solid #ddc671;border-radius:24px;background:#fff9e8;color:#173b55}
.affirmation-heading{display:flex;align-items:center;gap:14px}.affirmation-heart{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#f9e9ad;color:#674900;font-size:34px}
.affirmation-card h2{font:900 25px/1.25 Nunito;margin:0 0 6px}.affirmation-heading p{margin:0;font-size:16px}.affirmation-card p{line-height:1.55}.affirmation-card .category-label{color:#705414;margin:22px 0 8px}.affirmation-card .affirmation-words{font:900 clamp(25px,3vw,34px)/1.3 Nunito;margin:0 0 12px;max-width:34ch}.affirmation-card h3{font:900 18px/1.3 Nunito;margin:18px 0 6px}.affirmation-practice{border-top:1px solid #dbc98a;margin-top:20px;padding-top:12px}.affirmation-practice summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:800}.affirmation-practice p{margin:6px 0 16px}.affirmation-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.affirmation-actions button{min-height:48px;white-space:normal;background:#fff;color:#173b55;border:1px solid #c7b678}.affirmation-card :focus-visible{outline:3px solid #006a9f;outline-offset:4px}
.night .affirmation-card{background:#253e50;color:#f9f4df;border-color:#8d815d}.night .affirmation-heart{background:#62532e;color:#ffecad}.night .affirmation-card .category-label{color:#f4d88a}.night .affirmation-practice{border-color:#8d815d}.night .affirmation-actions button{background:#173347;color:#f9f4df;border-color:#8d815d}.night .affirmation-card :focus-visible{outline-color:#ffdc35}
@media(max-width:690px){.affirmation-card{padding:20px}.affirmation-card h2{font-size:23px}.affirmation-heading{align-items:flex-start;gap:12px}.affirmation-heading p{font-size:15px}.affirmation-heart{flex-basis:40px;width:40px;height:40px;font-size:29px}.affirmation-actions{flex-direction:column}.affirmation-actions button{width:100%}}

/* Home: a short daily moment, then clear picture choices. */
.shell[data-collection="home"] .daily-copy h2{margin:10px 0}.shell[data-collection="home"] .daily-copy>p:not(.category-label){margin:10px 0;line-height:1.5}.shell[data-collection="home"] .daily-card{padding:24px;gap:24px;margin-bottom:22px}.shell[data-collection="home"] .daily-more>summary{min-height:44px;padding:12px 0;line-height:1.35}.shell[data-collection="home"] .daily-actions{margin-top:10px}.shell[data-collection="home"] .daily-friend figcaption{gap:5px;padding:14px}.shell[data-collection="home"] .affirmation-card{padding:22px 26px}.shell[data-collection="home"] .affirmation-heading{margin-bottom:14px}.shell[data-collection="home"] .affirmation-card .affirmation-words{font-size:26px;margin-bottom:12px}.shell[data-collection="home"] .affirmation-practice{margin-top:12px;padding-top:4px}.shell[data-collection="home"] .activity-paths{margin-bottom:24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:690px){.shell[data-collection="home"] .grace-hello{padding:14px;margin:16px 0;gap:12px}.shell[data-collection="home"] .grace-hello>img{width:64px;height:64px}.shell[data-collection="home"] .grace-hello h1{font-size:24px;margin-bottom:5px}.shell[data-collection="home"] .daily-card{padding:18px;gap:14px}.shell[data-collection="home"] .daily-card .category-label{font-size:12px;line-height:1.4}.shell[data-collection="home"] .daily-copy h2{font-size:26px}.shell[data-collection="home"] .daily-friend{grid-template-columns:64px 1fr;align-items:center;border-radius:14px}.shell[data-collection="home"] .daily-friend img{width:64px;height:70px;object-fit:cover}.shell[data-collection="home"] .daily-friend figcaption{padding:10px 12px}.shell[data-collection="home"] .daily-friend strong{font-size:18px}.shell[data-collection="home"] .activity-path>img{height:104px;aspect-ratio:auto;object-fit:cover}.shell[data-collection="home"] .activity-path>span{padding:12px;gap:5px}.shell[data-collection="home"] .activity-path strong{font-size:21px}.shell[data-collection="home"] .activity-path small{font-size:14px}.shell[data-collection="home"] .affirmation-card{padding:18px}.shell[data-collection="home"] .affirmation-card h2{font-size:21px}.shell[data-collection="home"] .affirmation-card .affirmation-words{font-size:24px}}
