@font-face{font-family:ARLibrary;src:url('/assets/e565bd7bffd895ca64f8d1cb.ttf') format('truetype');font-display:swap}
:root{color-scheme:dark;--text:#f8f5f1;--muted:#b8b5b1;--hub-bg:#0b0906;--hub-panel:#1a1815;--hub-ink:#f8f5f1;--hub-muted:#c3c0bc;--hub-line:#5b5854;--hub-silver:#e5e2de;--hub-bright:#f4f1ed;font-family:Arial,sans-serif;background:var(--hub-bg);color:var(--hub-ink)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 75% 0,#bab7b318,transparent 55%),#0b0906;min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--hub-bright);outline-offset:5px}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}img{max-width:100%}.hub-skip{position:fixed;left:20px;top:-100px;z-index:10000;background:var(--hub-bright);color:#161411;padding:14px 20px;border-radius:8px}.hub-skip:focus{top:15px}.hub-shell{max-width:1400px;margin:0 auto;padding:54px 40px 90px}.hub-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px}.hub-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.22em;color:var(--hub-silver);font-weight:700;margin:0 0 15px}.hub-intro h1{font:400 clamp(38px,5vw,66px)/1.1 Georgia,serif;letter-spacing:-.035em;margin:0 0 14px}.hub-intro p:not(.hub-kicker){font-size:15px;color:var(--hub-muted);line-height:1.7;margin:0;max-width:610px}.hub-mode-control{flex:0 0 auto;border:1px solid #6e6b67;background:linear-gradient(115deg,#383531,#1c1a17);color:var(--hub-ink);padding:14px 18px;border-radius:15px;text-align:left;display:flex;align-items:center;gap:30px;box-shadow:0 4px 20px #0002;min-width:185px}.hub-mode-control small{display:block;font:10px/1.7 Arial,sans-serif;color:var(--hub-silver);text-transform:uppercase;letter-spacing:.13em}.hub-mode-control strong{font:500 15px/1.6 Arial,sans-serif}.hub-mode-control>span:last-child{font-size:20px;color:var(--hub-silver)}.hub-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #3f3c38;padding:22px 0}.hub-filters{display:flex;gap:7px}.hub-filter{background:transparent;border:1px solid transparent;border-radius:11px;color:var(--hub-muted);font:600 13px/1.4 Arial,sans-serif;padding:10px 17px}.hub-filter[aria-pressed=true]{background:#3d3a36;color:var(--hub-bright);border-color:#84817d}.hub-filter:hover{color:var(--hub-ink);background:#292724}.hub-count{font-size:12px;color:#b8b5b1}.hub-section{margin-bottom:36px}.hub-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.hub-section-heading h2{font:500 22px/1.3 Georgia,serif;margin:0}.hub-section-heading span{font-size:10px;letter-spacing:.12em;color:var(--hub-silver);padding:5px 8px;border:1px solid #605d59;border-radius:6px;text-transform:uppercase}.hub-feature{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr);border:1px solid #726f6b;border-radius:25px;overflow:hidden;background:linear-gradient(125deg,#23211e,#151310);box-shadow:0 20px 45px #0003}.hub-feature-art{position:relative;min-height:355px;background:#7dc2d9;overflow:hidden}.hub-feature-art>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.hub-art-badge{position:absolute;left:19px;top:18px;display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:7px 11px;background:#151310e8;border:1px solid #e5e2de4f;color:#f8f5f1;font:700 10px/1.4 Arial,sans-serif;letter-spacing:.06em}.hub-feature-copy{padding:35px 34px;align-self:center}.hub-card-eyebrow{font:700 10px/1.4 Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--hub-silver);margin:0 0 14px}.hub-feature-copy h3{font:400 clamp(31px,3vw,44px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0 0 9px}.hub-feature-copy .hub-subtitle{font:italic 18px/1.4 Georgia,serif;color:#e5e2de;margin:0 0 20px}.hub-feature-copy>p:not([class]){font-size:14px;line-height:1.8;color:var(--hub-muted);margin:0 0 25px;max-width:410px}.hub-play{display:inline-flex;justify-content:center;align-items:center;gap:13px;min-height:46px;min-width:138px;padding:12px 23px;background:linear-gradient(120deg,#f4f1ed,#bab7b3);color:#161411;border:1px solid #faf7f3;border-radius:12px;font:700 14px/1.4 Arial,sans-serif;box-shadow:0 4px 20px #0002;transition:background .2s,transform .2s}.hub-play:hover{background:#ffffff;transform:translateY(-2px)}.hub-play svg{width:13px;height:14px;fill:currentColor}.hub-play-note{font-size:10px;color:#b8b5b1;margin:13px 0 0}.hub-app-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.hub-app-card{border:1px solid #5d5a56;background:linear-gradient(145deg,#201e1b,#12100d);border-radius:23px;overflow:hidden;transition:border-color .2s,transform .2s}.hub-app-card:hover{border-color:#afaca8;transform:translateY(-3px)}.hub-app-art{position:relative;aspect-ratio:1.94;overflow:hidden;border-bottom:1px solid #777470}.hub-quest-art{background:#ceaa70 url('/embedded/scripture-quest/assets/scripture-landscape.png') center/cover no-repeat}.hub-quest-art>img{position:absolute;right:3%;bottom:-5%;height:97%;width:65%;object-fit:contain;filter:drop-shadow(0 10px 15px #54300f55)}.hub-art-title{position:absolute;left:7%;top:17%;max-width:48%;color:#453017;font:500 clamp(24px,3vw,41px)/1.05 Georgia,serif;text-shadow:0 1px 2px #faf7f399;z-index:1}.hub-art-title small{display:block;font:700 9px/1.5 Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;margin-top:12px;max-width:130px}.hub-card-body{padding:24px 26px 27px}.hub-card-body .hub-card-eyebrow{margin-bottom:9px}.hub-card-body h3{font:400 28px/1.2 Georgia,serif;letter-spacing:-.02em;margin:0 0 12px}.hub-card-body>p:not([class]){color:var(--hub-muted);font-size:14px;line-height:1.75;min-height:50px;margin:0 0 21px}.hub-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}.hub-card-bottom>span{font-size:11px;color:#c3c0bc}.hub-library-note{display:flex;justify-content:space-between;gap:25px;padding:22px 0;border-top:1px solid #3f3c38;color:#c3c0bc;font-size:12px;line-height:1.7}.hub-library-note p{margin:0;max-width:600px}.hub-library-note a,.hub-footer a{color:#e5e2de;text-decoration:none}.hub-footer{border-top:1px solid #3f3c38;padding:24px 40px;text-align:center;color:#b8b5b1;font:12px/1.7 Arial,sans-serif}.hub-chooser{color-scheme:dark;width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:35px;border:1px solid #888581;border-radius:25px;background:radial-gradient(ellipse at 50% 0,#3e3b37,#171512 80%);color:var(--hub-ink);box-shadow:0 25px 100px #000a;overflow:auto}.hub-chooser::backdrop{background:#060401dc;backdrop-filter:blur(8px)}.hub-chooser-heading{text-align:center}.hub-chooser h2{font:400 clamp(28px,4vw,38px)/1.2 Georgia,serif;letter-spacing:-.025em;margin:0 0 12px}.hub-chooser-heading>p:not(.hub-kicker){font:14px/1.7 Arial,sans-serif;color:var(--hub-muted);max-width:490px;margin:0 auto 25px}.hub-choices{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hub-choice{display:flex;flex-direction:column;text-align:left;padding:0;border:1px solid #726f6b;border-radius:17px;overflow:hidden;background:#1d1b18;color:var(--hub-ink);transition:border-color .2s,transform .2s}.hub-choice:hover{transform:translateY(-3px);border-color:#f4f1ed}.hub-choice>img{width:100%;height:120px;object-fit:cover;object-position:center 65%}.hub-choice-full-art{height:120px;display:flex;align-items:center;justify-content:center;width:100%;background:#a88a5a url('/embedded/scripture-quest/assets/scripture-landscape.png') center/cover}.hub-choice-full-art>img{height:110px;width:150px;object-fit:contain}.hub-choice-copy{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}.hub-choice-copy strong{font:400 24px/1.2 Georgia,serif}.hub-choice-copy>span{font:12px/1.7 Arial,sans-serif;color:#cdcac6}.hub-choice-copy .hub-choice-go{margin-top:auto;padding-top:15px;color:#f4f1ed;font-weight:700;font-size:12px}.hub-chooser-foot{font:11px/1.7 Arial,sans-serif;color:#b9b6b2;text-align:center;margin:23px 0 0}.hub-chooser-close{display:block;margin:17px auto 0;border:0;background:none;color:#e5e2de;text-decoration:underline;text-underline-offset:4px;font:12px/1.5 Arial,sans-serif;padding:8px}
@media(max-width:950px){.hub-shell{padding:40px 25px 65px}.hub-feature{grid-template-columns:1.3fr 1fr}.hub-feature-art{min-height:330px}.hub-feature-copy{padding:25px}.hub-card-body{padding:22px}.hub-art-title{font-size:30px}.hub-intro h1{font-size:48px}}
@media(max-width:700px){.hub-shell{padding:31px 18px 45px}.hub-intro{display:block;margin-bottom:26px}.hub-intro h1{font-size:39px}.hub-intro p:not(.hub-kicker){font-size:13px}.hub-mode-control{margin-top:22px;padding:10px 15px;min-width:190px;gap:30px}.hub-mode-control small{font-size:9px}.hub-mode-control strong{font-size:13px}.hub-toolbar{gap:8px;padding:17px 0}.hub-count{font-size:10px;text-align:right}.hub-filter{padding:9px 12px;font-size:12px}.hub-feature{display:block;border-radius:20px}.hub-feature-art{aspect-ratio:1.6;min-height:0}.hub-feature-copy{padding:27px}.hub-feature-copy h3{font-size:34px}.hub-feature-copy>p:not([class]){font-size:13px}.hub-app-grid{grid-template-columns:1fr;gap:20px}.hub-app-art{aspect-ratio:1.86}.hub-art-title{font-size:35px}.hub-card-body>p:not([class]){min-height:0;font-size:13px}.hub-library-note{display:block;font-size:11px}.hub-library-note>p+p{margin-top:12px}.hub-chooser{padding:25px 20px}.hub-choices{gap:11px}.hub-choice>img,.hub-choice-full-art{height:92px}.hub-choice-full-art>img{height:85px}.hub-choice-copy{padding:14px}.hub-choice-copy strong{font-size:21px}.hub-choice-copy>span{font-size:11px}.hub-chooser-heading>p:not(.hub-kicker){font-size:13px}.hub-chooser-foot{font-size:10px}.hub-footer{padding:20px}}
@media(max-width:380px){.hub-choices{grid-template-columns:1fr}.hub-choice{display:grid;grid-template-columns:90px 1fr}.hub-choice>img,.hub-choice-full-art{height:100%;min-height:146px;object-fit:cover}.hub-choice-full-art>img{width:85px;height:auto}.hub-choice-copy strong{font-size:20px}.hub-choice-copy .hub-choice-go{padding-top:3px}.hub-chooser{padding:21px 15px}.hub-art-title{font-size:28px}.hub-card-bottom{gap:6px}.hub-card-bottom>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hub-play,.hub-app-card,.hub-choice{transition:none}.hub-play:hover,.hub-app-card:hover,.hub-choice:hover{transform:none}}

/* The initial library preference is opt-in and centered beneath both choices. */
.hub-remember-choice{margin:23px auto 0;text-align:center;max-width:470px}
.hub-remember-choice label{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;cursor:pointer;color:var(--hub-ink);font:600 13px/1.4 Arial,sans-serif}
.hub-remember-choice input{width:17px;height:17px;margin:0;accent-color:var(--hub-silver);flex:0 0 17px}
.hub-remember-choice input:focus-visible{outline:3px solid var(--hub-bright);outline-offset:4px}
.hub-remember-choice p{font:11px/1.6 Arial,sans-serif;color:var(--hub-muted);margin:3px 0 0}
.hub-remember-choice #hub-remember-status{color:var(--hub-bright);margin-top:9px}
.hub-preference-notice{padding:12px 15px;margin:0 0 22px;border:1px solid var(--hub-line);border-radius:10px;font:12px/1.6 Arial,sans-serif;color:var(--hub-bright)}

.hub-gifts-art{background:#593e21}.hub-gifts-art>img.hub-gifts-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:none;opacity:1;box-shadow:none}

.hub-section-heading{flex-wrap:wrap}.hub-section-heading h2{min-width:0;max-width:100%}
/* Activity cards use warm brown containers and compact launch controls. */
.hub-app-card{background:#281b13;border-color:#72543e}
.hub-app-card .hub-card-body{background:#281b13}
.hub-app-card .hub-play{background:#422e20;border-color:#987254;color:#f4e8da;padding:10px 15px;font-size:13px}
.hub-app-card .hub-play:hover{background:#573b27;color:#fff3e6}
.hub-play>svg{display:block;flex:0 0 13px;pointer-events:none}
.hub-play>svg.hub-launch-home{width:16px;height:16px;flex-basis:16px}
.hub-app-card .hub-card-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}

/* Revision8: let the save explanation use the available row, not a600px cap. */
.hub-library-note {display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:24px}
.hub-library-note > p {max-width:none;min-width:0}
.hub-library-note > .hub-explorer-prompt {display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;max-width:410px}
.hub-library-note a.hub-explorer-link {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border:1px solid #8b877f;border-radius:12px;background:linear-gradient(160deg,#393630,#1e1c18);color:#f6f2e9;font:650 12px/1.4 Arial,sans-serif;text-align:center;text-decoration:none;white-space:normal;box-shadow:inset 0 1px 0 #fff1,0 3px 10px #0002}
.hub-library-note a.hub-explorer-link:hover {background:linear-gradient(160deg,#49453d,#2b2822);border-color:#d8d1c3;color:#fff}
.hub-library-note a.hub-explorer-link:focus-visible {outline:3px solid #f3e8d2;outline-offset:4px}
body[data-library-theme="youth"] .hub-library-note a.hub-explorer-link {background:linear-gradient(160deg,#e4eccb,#cbd9a8);border:2px solid #64814f;border-radius:15px;color:#294d34;font-family:var(--hub-round);text-decoration:none;box-shadow:0 3px 0 #a6b87f,inset 0 1px 0 #fff8}
body[data-library-theme="youth"] .hub-library-note a.hub-explorer-link:hover {background:linear-gradient(160deg,#f0f5db,#d8e5bc);border-color:#3d633e;color:#203f2a}
body[data-library-theme="youth"] .hub-library-note a.hub-explorer-link:focus-visible {outline-color:#315b3b}
@media(max-width:850px){.hub-library-note {grid-template-columns:minmax(0,1fr)}.hub-library-note > .hub-explorer-prompt {max-width:none;justify-content:flex-start;margin-top:0}.hub-library-note > p+p {margin-top:0}}
@media(forced-colors:active){.hub-library-note a.hub-explorer-link,body[data-library-theme="youth"] .hub-library-note a.hub-explorer-link {background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}.hub-library-note a.hub-explorer-link:focus-visible {outline-color:Highlight}}
