/* Study layout is independently gated. The established hero and journey retain their styles. */
#screen-scriptureplus.gsl-active{--gsl-ink:#342521;--gsl-muted:#6c5952;--gsl-border:#e6cdc4;--gsl-paper:#fffaf6;--gsl-rose:#a56f70;--gsl-tint:#f8eae2;--gts-gold-ink:#84632c;--gts-gold:#c39d62}
#screen-scriptureplus.gsl-active{padding-bottom:0}
#screen-scriptureplus.gsl-active .spx-landing--v2{padding-bottom:0}
main.main-container:has(> #scripturePlusScreen[style*="display: block"] > #screen-scriptureplus.gsl-active){padding-bottom:0}
#screen-scriptureplus.gsl-active #spxLandingMain{gap:19px;padding-bottom:calc(var(--gsl-nav-height,calc(74px + env(safe-area-inset-bottom,0px))) + 22px)}
#screen-scriptureplus.gsl-active .spx-premium-foot-sec,#screen-scriptureplus.gsl-member #spxSecContinueWrap{display:none}
#screen-scriptureplus.gsl-active .gsl-group-body{display:flex;flex-direction:column;gap:11px}
#screen-scriptureplus.gsl-active .gsl-group-body>.spx-sec{margin:0;padding:0}
#screen-scriptureplus.gsl-active .gsl-group-title{font-family:'Playfair Display',Georgia,serif;font-size:calc(23px * var(--grounded-type-scale, 1));line-height:1.16;font-weight:500;letter-spacing:-.025em;color:var(--gsl-ink);margin:0 0 11px}
.gsl-sub{margin:-5px 0 12px;font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4;color:var(--gsl-muted)}
#screen-scriptureplus.gsl-active :is(.gsl-art img,.gsl-free-tile>img,.gsl-small-library>img,.gsl-depth-card>img,.gsl-learning-card>img,.gts-section img){opacity:1}
.gsl-free-grid,.gsl-library-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gsl-free-tile{display:flex;flex-direction:column;padding:0;text-align:left;border:1px solid var(--gsl-border);border-radius:15px;overflow:hidden;background:var(--gsl-paper);color:var(--gsl-ink);font:inherit;box-shadow:0 2px 5px #6b3b2910}
.gsl-free-tile>img{width:100%;height:98px;object-fit:cover;display:block}
.gsl-free-copy{position:relative;display:grid;grid-template-rows:auto minmax(2.3em,auto) 1fr auto;flex:1;padding:0 11px 12px;gap:6px}
.gsl-tag{justify-self:start;background:var(--gsl-paper);padding:3px 8px;border-radius:12px;position:relative;margin-top:-11px;font-size:calc(10px * var(--grounded-type-scale, 1));line-height:1.5;letter-spacing:.08em;text-transform:uppercase;font-weight:650}
.gsl-free-copy strong{font-size:calc(19px * var(--grounded-type-scale, 1));line-height:1.13;font-weight:500}
.gsl-free-description{font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.4}
.gsl-free-copy>b{font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.3;color:var(--gsl-rose);font-weight:600;margin-top:2px}
.gsl-premium{padding:17px 16px 12px;border:1px solid var(--gsl-border);border-radius:19px;background:linear-gradient(140deg,var(--gsl-paper),var(--gsl-tint));color:var(--gsl-ink);overflow:hidden}
.gsl-premium .gsl-premium-badge{margin-bottom:10px;font-size:calc(10px * var(--grounded-type-scale, 1));padding:6px 10px;letter-spacing:.12em}
.gsl-premium-badge svg{width:14px;height:14px;fill:rgba(195,157,98,.35);stroke:currentColor;stroke-width:1.6}
#screen-scriptureplus.gsl-active .gsl-premium h2{font-family:'Playfair Display',Georgia,serif;font-size:calc(27px * var(--grounded-type-scale, 1));font-weight:500;line-height:1.08;letter-spacing:-.025em;margin:0;color:var(--gsl-ink)}
.gsl-premium>p{font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.45;margin:8px 0 12px}
.gsl-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;height:108px;overflow:hidden}
.gsl-art img{width:100%;height:100%;min-width:0;object-fit:cover;border-radius:10px}
.gsl-preview-art{position:relative;margin:9px -7px 0}
.gsl-preview-art .gsl-art{height:108px;mask-image:linear-gradient(#000 50%,#0005)}
.gsl-preview-art img:nth-child(2){filter:blur(1.5px)}
.gsl-lock{position:absolute;left:calc(50% - 17px);bottom:7px;background:#fffcf2eb;color:#815f51;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}
.gsl-premium .gsl-count{font-size:calc(12px * var(--grounded-type-scale, 1));text-align:center;margin:6px 0 10px}
.gsl-unlock{display:block;width:100%;border:0;border-radius:24px;background:var(--gsl-rose);color:#fffaf7;padding:12px 9px;font-family:inherit;font-size:calc(14px * var(--grounded-type-scale, 1));font-weight:600;line-height:1.3;min-height:44px;white-space:nowrap}
.gsl-premium .gsl-fine{text-align:center;font-size:calc(11px * var(--grounded-type-scale, 1));margin:8px 0 0;color:var(--gsl-muted)}
.gsl-library{display:block;text-align:left;width:100%;padding:0;border:1px solid var(--gsl-border);border-radius:16px;overflow:hidden;background:var(--gsl-paper);color:var(--gsl-ink);font:inherit}
.gsl-library .gsl-art{height:108px;gap:3px}
.gsl-library .gsl-art img{border-radius:0;object-position:center 35%}
.gsl-library-copy{display:flex;flex-direction:column;gap:7px;padding:14px}
.gsl-library-copy .spx-kicker,.gsl-small-copy .spx-kicker,.gsl-depth-copy .spx-kicker,.gsl-learning-copy .spx-kicker{margin:0;font-size:calc(10px * var(--grounded-type-scale, 1));letter-spacing:.11em;line-height:1.4;color:var(--gsl-muted)}
.gsl-library-copy strong{font-size:calc(25px * var(--grounded-type-scale, 1));line-height:1.08;font-weight:500;letter-spacing:-.02em}
.gsl-library-copy>span:not(.spx-kicker){font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.45;color:var(--gsl-muted)}
.gsl-library-copy b,.gsl-small-copy b{font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.35;font-weight:600;color:var(--gsl-rose);margin-top:2px}
.gsl-small-library{display:flex;flex-direction:column;text-align:left;padding:0;border:1px solid var(--gsl-border);border-radius:14px;overflow:hidden;background:var(--gsl-paper);color:var(--gsl-ink);font:inherit}
.gsl-small-library>img{width:100%;height:84px;object-fit:cover;display:block}
.gsl-small-art{display:block;height:68px;width:100%;overflow:hidden;background:var(--gsl-tint)}
.gsl-small-art img{width:100%;height:100%;object-fit:cover;object-position:center 85%;transform:scale(1.12);transform-origin:center bottom;opacity:1}
.gsl-small-library[data-spx-lib="word-studies"] .gsl-small-art img{object-position:center 80%;transform-origin:center bottom;transform:scale(1.1)}
.gsl-small-copy{padding:8px;display:grid;grid-template-rows:auto 1fr auto auto;gap:4px;flex:1}
#screen-scriptureplus.gsl-active .gsl-small-copy .spx-kicker{margin:0;font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.4;letter-spacing:.045em}
.gsl-small-copy strong{font-size:calc(19px * var(--grounded-type-scale, 1));line-height:1.13;font-weight:500;letter-spacing:-.02em}
.gsl-small-copy>span:not(.spx-kicker){min-height:2.7em;font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.35;color:var(--gsl-muted)}
#screen-scriptureplus.gsl-active #spxSecForYouWrap .spx-kicker{font-size:calc(10px * var(--grounded-type-scale, 1));margin-top:2px}
#screen-scriptureplus.gsl-active .spx-sec--intro>.spx-section-title,#screen-scriptureplus.gsl-active .spx-sec--intro>.spx-section-sub,#screen-scriptureplus.gsl-active #spxVcCardNote{display:none}
#screen-scriptureplus.gsl-active .spx-feature-card--vc{margin:0;box-shadow:none;border-radius:15px}
#screen-scriptureplus.gsl-active .spx-feature-card--vc .spx-feature-card__copy{padding:13px}
#screen-scriptureplus.gsl-active .spx-feature-card--vc .spx-feature-card__title{font-size:calc(23px * var(--grounded-type-scale, 1));line-height:1.12}
#screen-scriptureplus.gsl-active .spx-feature-card--vc .spx-feature-card__body{font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4}
#screen-scriptureplus.gsl-active .spx-feature-card--vc .spx-feature-card__photo{width:86px;flex-basis:86px}
.gsl-access{display:block;font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.45;color:var(--gsl-muted);margin-top:4px;font-weight:500}
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap{margin:0}
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap>.spx-section-title{font-size:calc(23px * var(--grounded-type-scale, 1));margin-bottom:3px}
#screen-scriptureplus.gsl-active .spx-weekly-theme{font-size:calc(14px * var(--grounded-type-scale, 1));margin-bottom:9px}
#screen-scriptureplus.gsl-active .spx-sec--weekly .study-connected-item{padding:10px 11px;gap:9px}
#screen-scriptureplus.gsl-active .spx-sec--weekly .study-connected-item__title{font-size:calc(15px * var(--grounded-type-scale, 1));line-height:1.2}
#screen-scriptureplus.gsl-active .spx-sec--weekly .study-connected-item__reason{font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.4}
#screen-scriptureplus.gsl-active :is(.gsl-free-tile,.gsl-small-library,.gsl-library,.gsl-unlock):focus-visible{outline:2px solid var(--gsl-rose);outline-offset:3px}
.bw-concise-preview .bw-study-hero img{max-height:none}
html[data-theme="evening"] #screen-scriptureplus.gsl-active{--gsl-ink:#f7eee5;--gsl-muted:#cbbab0;--gsl-border:#655047;--gsl-paper:#302826;--gsl-tint:#493430;--gsl-rose:#d39a98;--gts-gold-ink:#d6b77c;--gts-gold:#d6b77c}
html[data-theme="evening"] .gsl-unlock{background:#b5797b;color:white}
@media(max-width:350px){.gsl-free-copy{padding-inline:9px;grid-template-rows:auto minmax(3.4em,auto) 1fr auto}.gsl-free-copy strong{font-size:calc(18px * var(--grounded-type-scale, 1))}.gsl-free-description{font-size:calc(12px * var(--grounded-type-scale, 1))}.gsl-small-copy{padding:8px}.gsl-small-copy strong{font-size:calc(18px * var(--grounded-type-scale, 1))}.gsl-premium{padding:15px 13px 11px}#screen-scriptureplus.gsl-active .gsl-premium h2{font-size:calc(25px * var(--grounded-type-scale, 1))}}

/* A single quiet tools panel replaces five competing feature cards. */
#screen-scriptureplus.gsl-active .gsl-tools-panel{border:1px solid var(--gsl-border);border-radius:17px;background:var(--gsl-paper);overflow:hidden}
#screen-scriptureplus.gsl-active .gsl-tool-row{display:flex;align-items:center;gap:11px;width:100%;padding:12px;border:0;background:transparent;color:var(--gsl-ink);text-align:left;font:inherit}
#screen-scriptureplus.gsl-active .gsl-tool-row+.gsl-tool-row{border-top:1px solid var(--gsl-border)}
#screen-scriptureplus.gsl-active .gsl-tool-row>img{width:57px;height:62px;min-width:57px;object-fit:cover;border-radius:10px;opacity:1}
#screen-scriptureplus.gsl-active .gsl-tool-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
#screen-scriptureplus.gsl-active .gsl-tool-copy strong{font-size:calc(19px * var(--grounded-type-scale, 1));line-height:1.15;font-weight:500;letter-spacing:-.02em}
#screen-scriptureplus.gsl-active .gsl-tool-copy>span{font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4;color:var(--gsl-muted)}
#screen-scriptureplus.gsl-active .gsl-tool-copy small{font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.35;color:var(--gsl-muted)}
#screen-scriptureplus.gsl-active .gsl-tool-chevron{font-size:calc(24px * var(--grounded-type-scale, 1));color:var(--gsl-rose);flex:none}
#screen-scriptureplus.gsl-active .gsl-tool-row:focus-visible{outline:2px solid var(--gsl-rose);outline-offset:-3px}
/* Weekly recommendations keep their real content, labels, handlers and impression tracking. */
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap .spx-weekly-editorial{display:flex;align-items:stretch;gap:10px;border:0;background:transparent;box-shadow:none;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:0 1px 9px;scrollbar-width:thin;scrollbar-color:var(--gsl-border) transparent}
#screen-scriptureplus.gsl-active #spxThemeConnectedList{display:contents}
#screen-scriptureplus.gsl-active :is(#spxThemeConnectedList>li,#spxSecForYouWrap){flex:0 0 calc(100% - 35px);max-width:265px;scroll-snap-align:start;border:1px solid var(--gsl-border);border-radius:15px;overflow:hidden;background:var(--gsl-paper)}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .study-connected-item{position:relative;height:100%;min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:7px;padding:11px;background:transparent;border:0}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .study-connected-item__text{gap:6px;min-width:0;flex:initial}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .study-connected-item__title{font-size:calc(18px * var(--grounded-type-scale, 1));line-height:1.2}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .study-connected-item__reason{display:block;overflow:visible;-webkit-line-clamp:unset;font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .study-connected-item__chev{position:absolute;right:10px;top:10px;align-self:flex-end}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .study-connected-item__top{padding-right:18px}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .bw-weekly-thumbnail{position:static;width:100%;height:52px;flex:none;display:block;overflow:hidden;border-radius:9px}
#screen-scriptureplus.gsl-active #spxThemeConnectedList .bw-weekly-thumbnail img{display:block;position:static;width:100%;height:100%;object-fit:cover;opacity:1}
#screen-scriptureplus.gsl-active #spxThemeConnectedList [data-theme-id="born-in-bethlehem"] .bw-weekly-thumbnail img{object-position:center bottom}
#screen-scriptureplus.gsl-active #spxThemeConnectedList [data-theme-kind]:not([data-theme-kind="isg"]) .study-connected-item__reason{display:none}
#screen-scriptureplus.gsl-active #spxThemeConnectedList [data-theme-kind="isg"] .bw-weekly-thumbnail{display:none}
.gsl-access-indicator{display:inline-flex;align-items:center;align-self:flex-start;font-size:calc(10.5px * var(--grounded-type-scale, 1));line-height:1.3;font-weight:500;color:var(--gsl-muted);border:1px solid var(--gsl-border);border-radius:20px;padding:2px 7px;letter-spacing:0;margin-top:3px}
#screen-scriptureplus.gsl-member #spxThemeConnectedList .study-connected-item__meta{display:none}
@media(max-width:350px){#screen-scriptureplus.gsl-active .gsl-tool-row{padding:11px 10px;gap:9px}#screen-scriptureplus.gsl-active .gsl-tool-row>img{width:48px;min-width:48px;height:58px}}

/* Personalization joins the rail with its original navigation and impression tracking. */
#screen-scriptureplus.gsl-active #spxSecForYouWrap{margin:0;padding:11px;display:flex;flex-direction:column;gap:7px}
#screen-scriptureplus.gsl-active #spxSecForYouWrap[hidden]{display:none}
#screen-scriptureplus.gsl-active #spxSecForYouWrap>.spx-kicker{font-size:calc(10px * var(--grounded-type-scale, 1));line-height:1.4;margin:0;letter-spacing:.1em}
#screen-scriptureplus.gsl-active #spxForYouList{display:flex;flex:1;margin:0}
#screen-scriptureplus.gsl-active #spxForYouList .spx-foryou-editorial{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
#screen-scriptureplus.gsl-active #spxForYouList .spx-foryou-art{width:100%;height:52px;min-height:0;flex:none;border-radius:9px}
#screen-scriptureplus.gsl-active #spxForYouList .spx-foryou-art img{width:100%;height:100%;object-fit:cover}
#screen-scriptureplus.gsl-active #spxForYouList .spx-foryou-copy{display:flex;flex-direction:column;gap:6px;padding:0;flex:1}
#screen-scriptureplus.gsl-active #spxForYouList .spx-for-you-title{font-size:calc(18px * var(--grounded-type-scale, 1));line-height:1.2;margin:0}
#screen-scriptureplus.gsl-active #spxForYouList :is(.spx-for-you-sub,.spx-for-you-kicker){display:none}
#screen-scriptureplus.gsl-active #spxForYouList .spx-for-you-cta{font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.35;margin:0}

#screen-scriptureplus.gsl-active #spxForYouList .spx-for-you-cta{display:none}

#bwStudySheet.bw-concise-preview.bwStudySheet--preview .bw-study-cover{display:block}

/* A new member's existing weekly rail becomes their compact starting point. */
#screen-scriptureplus.gsl-active.gsl-premium-start #gtsStudyDash .gts-sd-new{display:none}
#screen-scriptureplus.gsl-active .gsl-start-copy{font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.45;color:var(--gsl-muted);margin:7px 0 9px}
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap.gsl-start-journey #spxThemeConnectedList .study-connected-item__reason{display:block}
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap.gsl-start-journey #spxThemeConnectedList .bw-weekly-thumbnail{display:block}
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap.gsl-start-journey #spxForYouList .spx-for-you-sub{display:block;font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4;margin:0}

#screen-scriptureplus.gsl-active.gsl-premium-start #gtsStudyDash{margin-bottom:0}
#screen-scriptureplus.gsl-active #spxSecThemeConnectedWrap.gsl-start-journey #spxThemeConnectedList [data-theme-kind="isg"] .bw-weekly-thumbnail img{object-position:center bottom}
