/* Today Study Home — Free devotional home with a blurred Premium preview, and the
   Premium personal Bible study home. Visual system matches the Christmas challenge
   card: 520px column, 20px radius, rose-tinted hairline, warm shadow, ivory→blush.
   Filled buttons stay dusty rose; never dark brown. */
#screen-feed{
  --gts-surface:var(--card,#fffcf9);
  --gts-blush:#fbefea;
  --gts-blush-2:#f6e4de;
  --gts-line:var(--border,#ecd3cb);
  --gts-ink:var(--text,#3b2a25);
  --gts-body:#4b3a34;
  --gts-muted:var(--text-light,#806a62);
  --gts-rose:#b06a63;
  --gts-rose-ink:#944a4b;
  --gts-on-rose:#fffaf7;
  --gts-gold:#c39d62;
  --gts-gold-ink:#84632c;
  --gts-shadow:0 10px 26px rgba(139,88,78,0.12);
  --gts-radius:20px;
  --gts-max:520px;
}
html[data-theme="evening"] #screen-feed{
  --gts-surface:#332d2b;
  --gts-blush:#3a302e;
  --gts-blush-2:#463835;
  --gts-line:rgba(213,175,168,0.24);
  --gts-ink:#f5ede7;
  --gts-body:#e7d9d2;
  --gts-muted:#c9b9b1;
  --gts-rose:#c98a7f;
  --gts-rose-ink:#e3b2a8;
  --gts-on-rose:#2a2120;
  --gts-gold:#d6b77c;
  --gts-gold-ink:#d6b77c;
  --gts-shadow:0 10px 26px rgba(0,0,0,0.3);
}

/* ── Sections this layout replaces (functionality kept in the DOM) ── */
/* Free keeps its top exactly; only the weekly theme section is replaced by the
   Journey preview. "Discover Grounded" duplicated Explore, so it is retired. */
#screen-feed.gts-mode-free #groundedTodayPremiumCard,
#screen-feed.gts-mode-free #homeStartHereInviteSection,
#screen-feed.gts-mode-free .home-daily-invite,
/* Premium: hero, weekly study and Walk card absorb these. */
#screen-feed.gts-mode-premium #groundedTodayPremiumCard,
#screen-feed.gts-mode-premium #homeStartHereInviteSection,
#screen-feed.gts-mode-premium .home-daily-invite,
#screen-feed.gts-mode-premium #gtsPremiumTop,
#screen-feed.gts-mode-premium #gtsWalkHead,
#screen-feed.gts-mode-free #gtsPremiumTop,
#screen-feed.gts-mode-free #gtsWalkHead,
.gts-study-premium #spxSecContinueWrap{display:none!important}

/* ── Shared ── */
.gts-section{display:flex;flex-direction:column;gap:14px;color:var(--gts-ink);max-width:var(--gts-max);margin-left:auto;margin-right:auto;width:100%;box-sizing:border-box}
.gts-section[hidden]{display:none!important}
.gts-section img{opacity:1}
.gts-section svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.gts-section button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.gts-section button:focus-visible{outline:2px solid var(--gts-gold);outline-offset:2px;border-radius:12px}
.gts-kicker{margin:0;display:flex;align-items:center;gap:6px;font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gts-rose-ink)}
.gts-kicker svg{width:13px;height:13px;color:var(--gts-gold-ink)}
.gts-btn{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;padding:15px 18px!important;border-radius:999px!important;font-weight:600;font-size:calc(15px * var(--grounded-type-scale, 1))!important;line-height:1.2;white-space:nowrap;text-align:center!important}
.gts-btn--fill{background:var(--gts-rose)!important;color:var(--gts-on-rose)!important;box-shadow:0 6px 16px rgba(176,106,99,0.28)}
.gts-btn--fill:active{transform:scale(.99)}
.gts-link{font-size:calc(13px * var(--grounded-type-scale, 1));font-weight:600;color:var(--gts-rose-ink)!important}
.gts-bar{display:block;height:4px;border-radius:4px;background:var(--gts-blush-2);overflow:hidden}
.gts-bar i{display:block;height:100%;background:var(--gts-rose);border-radius:4px}

/* ── Premium hero ── */
.gts-premium-top{gap:16px}
.gts-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;min-height:360px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px;padding:18px;box-shadow:var(--gts-shadow);background:var(--gts-blush)}
.gts-section .gts-hero-img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.gts-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(255,250,245,0) 0%,rgba(255,248,243,0) 22%,rgba(255,247,241,.82) 44%,rgba(255,246,240,.96) 62%,rgba(255,246,240,.98) 100%)}
html[data-theme="evening"] .gts-hero::after{background:linear-gradient(180deg,rgba(36,32,31,0) 0%,rgba(36,32,31,.3) 30%,rgba(36,32,31,.9) 66%,rgba(36,32,31,.98) 100%)}
.gts-hero-top{position:absolute;top:16px;left:16px;right:16px;display:flex;justify-content:space-between}
.gts-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,251,246,.9);color:var(--gts-gold-ink);font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.14em;text-transform:uppercase;border:1px solid rgba(195,157,98,.55)}
html[data-theme="evening"] .gts-badge{background:rgba(36,32,31,.8)}
.gts-badge svg{width:14px;height:14px;fill:rgba(195,157,98,.35)}
.gts-hero-copy{display:flex;flex-direction:column;gap:4px}
.gts-hero-hello{margin:0;font-size:calc(14px * var(--grounded-type-scale, 1));font-weight:500;color:var(--gts-rose-ink)}
.gts-hero-title{margin:0;font-size:calc(31px * var(--grounded-type-scale, 1));line-height:1.1;color:var(--gts-ink);text-wrap:balance}
.gts-hero-sub{margin:0;font-size:calc(14px * var(--grounded-type-scale, 1));line-height:1.45;color:var(--gts-muted)}

.gts-stats{display:grid;grid-template-columns:repeat(4,1fr);border-radius:16px}
.gts-stats--glass{background:rgba(255,252,249,.78);border:1px solid rgba(236,211,203,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[data-theme="evening"] .gts-stats--glass{background:rgba(51,45,43,.8)}
.gts-stat{display:flex;flex-direction:column;align-items:center;gap:2px;padding:11px 4px;text-align:center}
.gts-stat + .gts-stat{border-left:1px solid var(--gts-line)}
.gts-stat svg{color:var(--gts-gold-ink);width:17px;height:17px}
.gts-stat b{font-size:calc(22px * var(--grounded-type-scale, 1));font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--gts-ink)}
.gts-stat span{font-size:calc(10.5px * var(--grounded-type-scale, 1));line-height:1.25;color:var(--gts-muted)}

/* ── Today's Study editorial feature ── */
.gts-feature{border-radius:var(--gts-radius);overflow:hidden;border:1px solid var(--gts-line);box-shadow:var(--gts-shadow);background:linear-gradient(165deg,var(--gts-surface) 0%,var(--gts-surface) 45%,var(--gts-blush) 100%)}
.gts-feature-media{position:relative;aspect-ratio:16/10;background:var(--gts-blush-2)}
.gts-section .gts-feature-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.gts-feature-media::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(40,26,22,.35))}
.gts-feature-tag{position:absolute;left:14px;bottom:12px;z-index:1;padding:6px 12px;border-radius:999px;background:rgba(255,251,246,.92);color:var(--gts-rose-ink);font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.12em;text-transform:uppercase}
html[data-theme="evening"] .gts-feature-tag{background:rgba(36,32,31,.85)}
.gts-feature-body{display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px}
.gts-feature-title{margin:0;font-size:calc(25px * var(--grounded-type-scale, 1));line-height:1.18;color:var(--gts-ink);text-wrap:balance}
.gts-feature-text{margin:0;font-size:calc(14.5px * var(--grounded-type-scale, 1));line-height:1.55;color:var(--gts-body)}
.gts-feature-links{display:flex;justify-content:center;align-items:center;gap:10px;color:var(--gts-muted);font-size:calc(13px * var(--grounded-type-scale, 1))}

.gts-week{display:flex;justify-content:space-between;padding:4px 2px 2px}
.gts-week-day{display:flex;flex-direction:column;align-items:center;gap:4px}
.gts-week-day i{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--gts-line);display:block;background:var(--gts-surface)}
.gts-week-day b{font-size:calc(10.5px * var(--grounded-type-scale, 1));font-weight:600;color:var(--gts-muted)}
.gts-week-day.is-done i{background:var(--gts-rose);border-color:var(--gts-rose)}
.gts-week-day.is-today i{border-color:var(--gts-gold);box-shadow:0 0 0 3px rgba(195,157,98,.22)}
.gts-week-day.is-today b{color:var(--gts-gold-ink)}

/* ── Walk: one cohesive card (wraps the existing Walk controls) ── */


  background:linear-gradient(165deg,var(--gts-surface) 0%,var(--gts-surface) 40%,var(--gts-blush) 100%)!important}



.gts-walk-head-wrap{max-width:none;margin:0 0 12px;gap:0}
.gts-walk-head{position:relative;display:flex;flex-direction:column;gap:4px;padding-right:92px;min-height:76px}
.gts-section .gts-walk-branch{position:absolute;top:-10px;right:-12px;width:110px;height:auto;opacity:.9;pointer-events:none}
.gts-walk-ref{margin:4px 0 0;font-size:calc(28px * var(--grounded-type-scale, 1));line-height:1.1;color:var(--gts-ink)}
.gts-walk-theme{margin:0;font-size:calc(14px * var(--grounded-type-scale, 1));color:var(--gts-muted)}
.gts-walk-verse{margin:8px 0 0;font-size:calc(17px * var(--grounded-type-scale, 1));line-height:1.45;font-style:italic;color:var(--gts-body)}
.gts-walk-share{display:inline-flex!important;align-items:center;gap:6px;align-self:flex-start;margin-top:6px!important;font-size:calc(12.5px * var(--grounded-type-scale, 1));font-weight:600;color:var(--gts-rose-ink)!important}
.gts-walk-share svg{width:14px;height:14px}
#screen-feed.gts-mode-premium .gts-walk-ref{font-size:calc(22px * var(--grounded-type-scale, 1))}

/* ── Premium: continue rail + shelf ── */
.gts-premium-home{gap:22px}
.gts-block{display:flex;flex-direction:column;gap:12px}
.gts-block-head{display:flex;justify-content:space-between;align-items:center}
.gts-rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:2px 16px 10px;scrollbar-width:none}
.gts-rail::-webkit-scrollbar{display:none}
.gts-jc{flex:0 0 68%;max-width:250px;scroll-snap-align:start;display:flex!important;flex-direction:column;overflow:hidden;border-radius:18px!important;border:1px solid var(--gts-line)!important;background:var(--gts-surface)!important;box-shadow:0 6px 18px rgba(139,88,78,.10)}
.gts-section .gts-jc-art{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--gts-blush-2)}
.gts-jc-art--verse{display:flex!important;align-items:center;justify-content:center;font-size:calc(24px * var(--grounded-type-scale, 1));color:var(--gts-rose-ink);background:linear-gradient(160deg,var(--gts-blush),var(--gts-blush-2))!important}
.gts-jc-body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px}
.gts-jc-kicker{font-size:calc(10.5px * var(--grounded-type-scale, 1));font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gts-gold-ink)}
.gts-jc-title{font-size:calc(17px * var(--grounded-type-scale, 1));line-height:1.25;color:var(--gts-ink)}
.gts-jc-sub{font-size:calc(12.5px * var(--grounded-type-scale, 1));color:var(--gts-muted)}
.gts-jc .gts-bar{margin-top:6px}

.gts-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gts-shelf-tile{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 12px!important;border-radius:16px!important;border:1px solid var(--gts-line)!important;background:linear-gradient(165deg,var(--gts-surface),var(--gts-blush))!important}
.gts-shelf-tile svg{width:20px;height:20px;color:var(--gts-gold-ink)}
.gts-shelf-tile b{font-size:calc(24px * var(--grounded-type-scale, 1));font-weight:600;line-height:1.1;margin-top:4px;color:var(--gts-ink)}
.gts-shelf-tile span{font-size:calc(11.5px * var(--grounded-type-scale, 1));line-height:1.3;color:var(--gts-muted)}

/* ── Free: weekly theme + study, transformed into the Premium preview ── */
.gts-journey-section{max-width:var(--gts-max)}
.gts-preview{position:relative;isolation:isolate;overflow:hidden;border-radius:var(--gts-radius);border:1px solid var(--gts-line);box-shadow:var(--gts-shadow);background:linear-gradient(165deg,var(--gts-surface),var(--gts-blush))}
/* Fade the artwork itself into the card, without an overlay edge at the title. */
.gts-preview-ghost{position:absolute;top:0;left:0;right:0;height:190px;box-sizing:border-box;z-index:-2;padding:12px;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;filter:blur(2.2px) saturate(1.05);-webkit-mask-image:linear-gradient(to bottom,#000 25%,transparent 100%);mask-image:linear-gradient(to bottom,#000 25%,transparent 100%);pointer-events:none}
.gts-section .gts-ghost-art{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.gts-stats--ghost{background:rgba(255,252,249,.86);border:1px solid var(--gts-line)}
.gts-rail--ghost{margin:0;padding:0;overflow:hidden}
.gts-rail--ghost .gts-jc{flex-basis:58%}
.gts-rail--ghost .gts-section .gts-jc-art,.gts-rail--ghost .gts-jc-art{aspect-ratio:16/9}
.gts-preview-veil{display:flex;flex-direction:column;gap:8px;padding:132px 18px 18px}
.gts-preview-title{margin:8px 0 6px;font-size:calc(27px * var(--grounded-type-scale, 1));line-height:1.15;color:var(--gts-ink);text-wrap:balance}
.gts-preview-sub{margin:0;font-size:calc(14px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--gts-body)}
.gts-mine{margin:0;display:flex;gap:7px;align-items:flex-start;font-size:calc(13px * var(--grounded-type-scale, 1));font-weight:600;line-height:1.4;color:var(--gts-rose-ink)}
.gts-mine svg{margin-top:1px;color:var(--gts-rose)}
.gts-explore-label{margin:6px 0 0;font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gts-muted)}
.gts-days{display:flex;flex-direction:column;border-top:1px solid var(--gts-line)}
.gts-day-row{display:flex!important;align-items:center;gap:12px;padding:11px 2px!important;border-bottom:1px solid var(--gts-line)!important}
.gts-day-name{flex:0 0 32px;font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gts-gold-ink)}
.gts-day-title{flex:1;min-width:0;font-size:calc(15.5px * var(--grounded-type-scale, 1));line-height:1.3;color:var(--gts-ink)}
.gts-day-row svg{width:17px;height:17px;color:var(--gts-gold-ink)}
.gts-day-row em{font-style:normal;font-size:calc(11.5px * var(--grounded-type-scale, 1));font-weight:700;color:var(--gts-rose-ink);background:var(--gts-blush-2);padding:3px 10px;border-radius:999px}
.gts-day-row.is-open svg{color:var(--gts-rose)}
.gts-day-row.is-locked .gts-day-title{color:var(--gts-muted);filter:blur(.4px);opacity:.8}
.gts-day-row.is-locked:last-child{-webkit-mask-image:linear-gradient(180deg,#000 30%,transparent);mask-image:linear-gradient(180deg,#000 30%,transparent)}
.gts-day-row.is-today .gts-day-name{color:var(--gts-rose-ink)}
.gts-link--center{display:block!important;align-self:center;padding:4px 8px!important}

/* ── Local dev persona switch (localhost only) ── */
.gts-dev{position:fixed;z-index:99999;left:max(10px,env(safe-area-inset-left,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:6px;padding:6px 8px 6px 10px;border-radius:999px;background:rgba(40,32,30,.88);color:#fff;font-size:calc(11px * var(--grounded-type-scale, 1));box-shadow:0 4px 14px rgba(0,0,0,.25)}
.gts-dev label{font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.gts-dev select{font:inherit;font-size:calc(12px * var(--grounded-type-scale, 1));border-radius:999px;border:0;padding:4px 8px;background:#fff;color:#2b2321}

@media (prefers-reduced-motion: reduce){.gts-btn--fill:active{transform:none}}
@media (max-width:360px){.gts-stat span{font-size:calc(9.5px * var(--grounded-type-scale, 1))}.gts-hero-title{font-size:calc(27px * var(--grounded-type-scale, 1))}.gts-feature-title{font-size:calc(22px * var(--grounded-type-scale, 1))}}

/* ── Premium refinements: compact journey header, Walk near the top, short study art ── */
.gts-greeting{margin:0;padding:2px 4px 0;font-size:calc(28px * var(--grounded-type-scale, 1));line-height:1.15;color:var(--gts-ink)}
.gts-premium-top{gap:12px}
.gts-premium-top .gts-hero{min-height:0;padding:16px;gap:12px}
.gts-premium-top .gts-hero::after{background:linear-gradient(100deg,rgba(255,248,243,.96) 0%,rgba(255,248,243,.9) 45%,rgba(255,248,243,.35) 75%,rgba(255,248,243,.15) 100%)}
html[data-theme="evening"] .gts-premium-top .gts-hero::after{background:linear-gradient(100deg,rgba(36,32,31,.95) 0%,rgba(36,32,31,.88) 45%,rgba(36,32,31,.4) 100%)}
.gts-premium-top .gts-hero-copy{gap:6px;max-width:72%}
.gts-premium-top .gts-badge{align-self:flex-start}
.gts-premium-top .gts-hero-title{margin:4px 0 0;font-size:calc(23px * var(--grounded-type-scale, 1));line-height:1.15}
.gts-premium-top .gts-hero-sub{font-size:calc(13px * var(--grounded-type-scale, 1))}
.gts-premium-top .gts-stat{padding:9px 2px}
.gts-premium-top .gts-stat b{font-size:calc(19px * var(--grounded-type-scale, 1))}
.gts-feature-media{aspect-ratio:auto;height:118px}
.gts-feature-body{padding:16px 16px 14px;gap:8px}
.gts-feature-title{font-size:calc(22px * var(--grounded-type-scale, 1))}
#screen-feed.gts-mode-premium .gts-walk-head{min-height:0}
#screen-feed.gts-mode-premium .gts-walk-ref{font-size:calc(21px * var(--grounded-type-scale, 1))}
#screen-feed.gts-mode-premium .gts-walk-verse{font-size:calc(15px * var(--grounded-type-scale, 1));margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#screen-feed.gts-mode-premium .gts-section .gts-walk-branch{width:84px}

/* ── 25 Days of Christmas: compact on the redesigned Today (artwork, question,
   progress and Advent calendar link all kept; the tagline is the one line dropped) ── */
#screen-feed.gts-mode-free .cx-card,#screen-feed.gts-mode-premium .cx-card{padding:14px 16px 2px}
#screen-feed.gts-mode-free .cx-art--card,#screen-feed.gts-mode-premium .cx-art--card{width:36%;top:-8px;right:-8px}
#screen-feed.gts-mode-free .cx-card-head .cx-card-brand,#screen-feed.gts-mode-premium .cx-card-head .cx-card-brand{font-size:calc(25px * var(--grounded-type-scale, 1));line-height:1.1}
#screen-feed.gts-mode-free .cx-card-head .cx-card-brand span,#screen-feed.gts-mode-premium .cx-card-head .cx-card-brand span{display:inline;padding-left:0}
#screen-feed.gts-mode-free .cx-card-head .cx-card-brand span:first-child,#screen-feed.gts-mode-premium .cx-card-head .cx-card-brand span:first-child{padding-left:24px}
#screen-feed.gts-mode-free .cx-card-head .cx-card-brand span:last-child,#screen-feed.gts-mode-premium .cx-card-head .cx-card-brand span:last-child{font-size:1em;padding-left:6px}
#screen-feed.gts-mode-free .cx-card-tagline,#screen-feed.gts-mode-premium .cx-card-tagline{display:none}
#screen-feed.gts-mode-free .cx-card-headline,#screen-feed.gts-mode-premium .cx-card-headline{margin:8px 0 10px;font-size:calc(19px * var(--grounded-type-scale, 1));max-width:70%}
#screen-feed.gts-mode-free .cx-btn,#screen-feed.gts-mode-premium .cx-btn{min-height:42px;padding-top:9px;padding-bottom:9px}
#screen-feed.gts-mode-free .cx-link,#screen-feed.gts-mode-premium .cx-link{min-height:34px}

/* ── Premium greeting with a champagne-gold badge ── */
.gts-greeting-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 4px 0}
.gts-greeting-row .gts-greeting{padding:0}
.gts-badge--gold{flex:none;background:linear-gradient(135deg,#fffaf0,#f6e9cf);color:#86672f;border:1px solid rgba(195,157,98,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 2px 8px rgba(195,157,98,.18)}
html[data-theme="evening"] .gts-badge--gold{background:linear-gradient(135deg,#3a3224,#2e281f);color:#e0c387}

/* ── Premium Today: subtle badge beside the original greeting ── */
#screen-feed.gts-mode-premium #homeTodayWalkCard{position:relative}
#screen-feed.gts-mode-premium #homeTodayWalkCard .gts-badge--greeting{position:absolute;top:6px;right:4px;z-index:2;display:inline-flex;align-items:center;gap:5px;width:auto;margin:0;padding:4px 10px;border-radius:999px;font-size:calc(10px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.14em;text-transform:uppercase}
#screen-feed.gts-mode-premium #homeTodayWalkCard .gts-badge--greeting svg{width:12px;height:12px;fill:rgba(195,157,98,.35);stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.gts-badge--gold{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:calc(10px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.gts-premium-home{gap:0}

/* ── Premium Study tab: compact personal dashboard (replaces the single Continue card) ── */
.gts-study-dash{gap:16px;margin:4px auto 22px;padding:0 16px;--gts-surface:var(--card,#fffcf9);--gts-blush:#fbefea;--gts-blush-2:#f6e4de;--gts-line:var(--border,#ecd3cb);--gts-ink:var(--text,#3b2a25);--gts-body:#4b3a34;--gts-muted:var(--text-light,#806a62);--gts-rose:#b06a63;--gts-rose-ink:#944a4b;--gts-gold:#c39d62;--gts-gold-ink:#84632c;--gts-radius:20px;--gts-max:560px}
html[data-theme="evening"] .gts-study-dash{--gts-surface:#332d2b;--gts-blush:#3a302e;--gts-blush-2:#463835;--gts-line:rgba(213,175,168,0.24);--gts-ink:#f5ede7;--gts-body:#e7d9d2;--gts-muted:#c9b9b1;--gts-rose:#c98a7f;--gts-rose-ink:#e3b2a8;--gts-gold-ink:#d6b77c}
.gts-sd-head{display:flex;align-items:center;justify-content:space-between}
.gts-stats--card{background:linear-gradient(165deg,var(--gts-surface),var(--gts-blush));border:1px solid var(--gts-line)}
.gts-study-dash .gts-rail{margin:0 -16px}

/* ── Refinement pass ── */
/* Premium weekly study: rich hierarchy */
.gts-feature--week .gts-feature-media{height:128px}
.gts-theme-title{margin:2px 0 0;font-size:calc(26px * var(--grounded-type-scale, 1));line-height:1.15;color:var(--gts-ink)}
.gts-theme-outcome{margin:0;font-size:calc(14.5px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--gts-body)}
.gts-today-study{display:flex;flex-direction:column;gap:6px;margin-top:6px;padding:14px;border-radius:16px;background:var(--gts-surface);border:1px solid var(--gts-line)}
.gts-study-complete{display:flex;align-items:center;gap:6px;margin:0;color:var(--gts-rose-ink);font-size:calc(12px * var(--grounded-type-scale, 1));font-weight:600;line-height:1.45}
.gts-preview-veil > .gts-study-complete{margin:12px 0 0}
.gts-day-complete{color:var(--gts-rose-ink);font-size:calc(15px * var(--grounded-type-scale, 1));font-weight:600}
.gts-today-q{margin:0;font-size:calc(19px * var(--grounded-type-scale, 1));line-height:1.3;color:var(--gts-ink)}
.gts-today-learn{margin:0 0 6px;font-size:calc(13.5px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--gts-muted)}
.gts-reflect{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:16px;background:var(--gts-blush-2)}
.gts-reflect-title{margin:0;font-size:calc(18px * var(--grounded-type-scale, 1));color:var(--gts-ink)}
.gts-reflect-text{margin:0 0 6px;font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--gts-body)}
.gts-btn--soft{background:#e9d3c4!important;color:#5c4038!important}
.gts-link--muted{color:var(--gts-muted)!important}
.gts-welcome{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;padding:16px;border-radius:var(--gts-radius);border:1px solid rgba(195,157,98,.55);background:linear-gradient(165deg,#fffaf0,var(--gts-blush))}
.gts-welcome .gts-badge{align-self:flex-start}
.gts-welcome-title{margin:2px 0 0;font-size:calc(21px * var(--grounded-type-scale, 1));color:var(--gts-ink)}
.gts-welcome-text{margin:0;font-size:calc(13.5px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--gts-body)}
.gts-welcome-actions{display:flex;gap:16px}
/* Free preview: headline hierarchy, readable questions, clear Free/Premium tags */
.gts-badge--small{align-self:flex-start;padding:3px 9px;font-size:calc(9.5px * var(--grounded-type-scale, 1))}
.gts-preview-theme{margin:0;font-size:calc(17px * var(--grounded-type-scale, 1));color:var(--gts-rose-ink)}
.gts-day-row.is-locked .gts-day-title{filter:none;opacity:1;color:var(--gts-body)}
.gts-day-row.is-locked:last-child{-webkit-mask-image:none;mask-image:none}
.gts-tag{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:calc(10.5px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px;white-space:nowrap}
.gts-tag svg{width:11px;height:11px}
.gts-tag--free{color:var(--gts-rose-ink);background:var(--gts-blush-2)}
.gts-tag--premium{color:var(--gts-gold-ink);background:#f6ecd6}
.gts-fine{margin:0;text-align:center;font-size:calc(12.5px * var(--grounded-type-scale, 1));color:var(--gts-muted)}
.gts-sd-new{margin:0;font-size:calc(13.5px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--gts-body)}
/* Verse Context + Guidance: ~25–30% shorter, rose buttons (never dark brown) */
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-card{padding:14px 16px 12px;background:linear-gradient(180deg,#fbf1ed 0%,#f6e7e2 100%)}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-branch--tr{width:78px;top:-20px;right:-34px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-branch--bl{width:60px;bottom:4px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-sub{margin-top:4px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-kicker{margin-bottom:3px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-form{margin-top:8px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-rule{margin:10px 0}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-note{margin-top:4px;font-size:calc(11.5px * var(--grounded-type-scale, 1))}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight #tfsVerseSubmit,#homeFeatureSpotlight #tfsGuidanceBtn{min-height:40px;margin-top:7px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) .tfs-btn--primary,html[data-theme="evening"] #screen-feed:is(.gts-mode-free,.gts-mode-premium) .tfs-btn--primary{background:#b06a63!important;color:#fffaf7!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) .tfs-btn--primary:hover,#screen-feed:is(.gts-mode-free,.gts-mode-premium) .tfs-btn--primary:active{background:#a35f58!important}
.gts-week-row{display:flex;align-items:center;gap:12px}
.gts-week-row .gts-week{flex:1}
.gts-week-count{flex:none;font-size:calc(11.5px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gts-gold-ink)}
.gts-feature--week .gts-feature-links{margin-top:2px}
.gts-feature--week .gts-feature-links .gts-link{font-weight:500;color:var(--gts-muted)!important}
/* Verse Context + Guidance: original identity, tighter spacing, lighter ground */
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-card{padding:12px 14px 10px!important;background:linear-gradient(180deg,#fbf3f0 0%,#f6e9e4 100%)!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-kicker{margin-bottom:2px!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-sub{margin-top:2px!important;line-height:1.35!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-form{margin-top:6px!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-field{min-height:0!important;padding-top:8px!important;padding-bottom:8px!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight #tfsChooseVerse,#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight #tfsGuidanceOwn{margin-top:3px!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight #tfsVerseSubmit,#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight #tfsGuidanceBtn{min-height:40px!important;margin-top:6px!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-note{margin-top:3px!important;line-height:1.3!important}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-rule{margin:9px 0!important}
html[data-theme="evening"] #screen-feed:is(.gts-mode-free,.gts-mode-premium) #homeFeatureSpotlight .tfs-card{background:var(--primary)!important}
/* Weekly study progress bar (replaces the dots; tracking unchanged) */
.gts-progress{display:flex;flex-direction:column;gap:6px}
.gts-progress-label{display:flex;justify-content:space-between;align-items:baseline;font-size:calc(12.5px * var(--grounded-type-scale, 1));color:var(--gts-muted)}
.gts-bar--week{height:6px}
/* Christmas: discovery count and progress bar stay; the streak label is hidden (data untouched) */
#screen-feed.gts-mode-free #christmasChallengeCard .cx-streak,#screen-feed.gts-mode-premium #christmasChallengeCard .cx-streak,
#screen-feed.gts-mode-free #christmasChallengeCard .cx-dot:has(+ .cx-streak),#screen-feed.gts-mode-premium #christmasChallengeCard .cx-dot:has(+ .cx-streak){display:none!important}

/* ── Evening: remaining light-only accents use the Evening palette ── */
html[data-theme="evening"] .gts-tag--premium{background:rgba(214,183,124,.16);color:var(--gts-gold-ink)}
html[data-theme="evening"] .gts-tag--free{background:var(--gts-blush-2)}
html[data-theme="evening"] .gts-welcome{background:linear-gradient(165deg,var(--gts-blush-2),var(--gts-surface));border-color:rgba(214,183,124,.45)}
html[data-theme="evening"] .gts-stats--ghost{background:rgba(51,45,43,.85)}
html[data-theme="evening"] .gts-today-study{background:var(--gts-blush)}
html[data-theme="evening"] .gts-feature,html[data-theme="evening"] .gts-preview{background:linear-gradient(165deg,var(--gts-surface),var(--gts-blush))}
html[data-theme="evening"] .gts-day-row.is-locked .gts-day-title{color:var(--gts-body)}
html[data-theme="evening"] .gts-btn--fill{box-shadow:0 6px 16px rgba(0,0,0,.3)}
html[data-theme="evening"] .gts-feature-tag{color:var(--gts-rose-ink)}
/* When no compact Bible-in-a-Year shortcut sits between them, give the weekly study and
   the Verse Context / Guidance card a little more breathing room. */
#screen-feed.gts-mode-free:not(:has(#homeBibleYearCard:not([hidden]))) #homeFeatureSpotlight,
#screen-feed.gts-mode-premium:not(:has(#homeBibleYearCard:not([hidden]))) #homeFeatureSpotlight{margin-top:18px}

/* ── Weekly Study Plan screen (existing overlay, refreshed) ── */
/* Full-screen readers scroll themselves: clipping as well as initial padding
   keeps their text and controls out of the iPhone status area during scrolling. */
:is(#wordOfWeekSheet,#characterStudySheet,#bwStudySheet,#bgGuideSheet){clip-path:inset(env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px))}
#weeklyStudyPlanOverlay{--sp-ink:var(--text,#3b2a25);--sp-muted:var(--text-light,#806a62);--sp-card:var(--card,#fffcf9);--sp-line:var(--border,#ecd3cb);--sp-blush:#fbefea;--sp-blush-2:#f6e4de;--sp-rose:#b06a63;--sp-rose-ink:#944a4b;--sp-gold:#84632c;--sp-gold-bg:#f6ecd6}
html[data-theme="evening"] #weeklyStudyPlanOverlay{--sp-blush:#3a302e;--sp-blush-2:#463835;--sp-rose:#c98a7f;--sp-rose-ink:#e3b2a8;--sp-gold:#d6b77c;--sp-gold-bg:rgba(214,183,124,.16)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-header{text-align:left}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-title{text-align:left}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-art{display:block;width:100%;height:150px;object-fit:cover;object-position:center 30%;border-radius:18px 18px 0 0;margin-top:12px;opacity:1}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-intro{margin-top:-14px!important;position:relative;border-radius:16px;background:var(--sp-blush)!important;border:1px solid var(--sp-line);padding:12px 14px!important;text-align:left}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-subtitle{display:flex;justify-content:space-between;align-items:baseline;margin:14px 0 6px;font-size:calc(13px * var(--grounded-type-scale, 1));color:var(--sp-muted)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-subtitle-day{font-size:calc(11.5px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sp-gold)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-progress{display:block;height:6px;border-radius:6px;background:var(--sp-blush-2);overflow:hidden;margin:0 0 4px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-progress i{display:block;height:100%;background:var(--sp-rose);border-radius:6px}
/* Grounded Together, compact */
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-together{margin:12px 0 4px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-together-card{padding:12px 14px!important;border-radius:16px!important}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-together-card__body{font-size:calc(12.5px * var(--grounded-type-scale, 1))!important;line-height:1.4!important;margin:2px 0!important}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-together-card__lead{margin:2px 0 0!important}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-together-card__note{margin:2px 0!important}
/* Daily rows */
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day{position:relative;background:var(--sp-card);border-color:var(--sp-line)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-header{padding:12px 92px 12px 14px;min-height:0;align-items:flex-start}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-label{font-size:calc(10.5px * var(--grounded-type-scale, 1));font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--sp-rose-ink)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-title{font-size:calc(16.5px * var(--grounded-type-scale, 1));line-height:1.28;color:var(--sp-ink)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-chevron{position:absolute;right:14px;top:18px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day--today{background:var(--sp-blush);border-color:var(--sp-rose)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day--today .sp-day-header{padding-bottom:52px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-begin{position:absolute;right:12px;top:auto;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border:0;border-radius:999px;background:var(--sp-rose);color:#fffaf7;font-size:calc(13.5px * var(--grounded-type-scale, 1));font-weight:600;box-shadow:0 4px 12px rgba(176,106,99,.25);cursor:pointer}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day--today .sp-day-begin{margin-top:-46px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-status{position:absolute;right:36px;top:14px;display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;font-size:calc(10.5px * var(--grounded-type-scale, 1));font-weight:700;letter-spacing:.06em;text-transform:uppercase}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-status--done{right:38px;width:24px;height:24px;padding:0;justify-content:center;border-radius:50%;background:var(--sp-blush-2);color:var(--sp-rose-ink);font-size:calc(13px * var(--grounded-type-scale, 1))}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-status--premium{color:var(--sp-gold);background:var(--sp-gold-bg)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-status--premium::before{content:"";width:9px;height:9px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-status--free{color:var(--sp-rose-ink);background:var(--sp-blush-2)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-check--done{background:var(--sp-blush-2);border-color:var(--sp-rose);color:var(--sp-rose-ink)}
/* Keep the safe area outside the scrollport so content cannot slide under the
   iPhone status bar. The header, Together card and all days scroll as one. */
#weeklyStudyPlanOverlay.gts-plan-v2{box-sizing:border-box;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-sheet{display:block;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-header{padding-top:8px}
#weeklyStudyPlanOverlay.gts-plan-v2 :is(.sp-list,.sp-sunday,.sp-saturday){overflow:visible;flex:none;min-height:auto}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-label{white-space:normal}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-header{padding-right:132px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day--today .sp-day-header{padding-right:40px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day-header{padding-right:44px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day:has(.sp-day-status--premium) .sp-day-header,#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day:has(.sp-day-status--free) .sp-day-header{padding-right:120px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day:has(.sp-day-status--done) .sp-day-header{padding-right:72px}
#weeklyStudyPlanOverlay.gts-plan-v2 .sp-day--today .sp-day-header{padding-right:40px}

/* ── Walk completion (redesign, .wc-v2) ── */
.wc-v2{--wc-card:var(--card,#fffaf6);--wc-ink:var(--text,#3b2a25);--wc-muted:var(--text-light,#7e695d);--wc-line:var(--border,#e5cfc4);--wc-blush:#fbefea;--wc-rose:#b06a63;--wc-rose-ink:#944a4b;--wc-gold:#84632c;--wc-gold-bg:#f6ecd6}
html[data-theme="evening"] .wc-v2{--wc-blush:#3a302e;--wc-rose:#c98a7f;--wc-rose-ink:#e3b2a8;--wc-gold:#d6b77c;--wc-gold-bg:rgba(214,183,124,.16)}
.wc-v2 .wc-recommendation{background:var(--wc-card);border-color:var(--wc-line);color:var(--wc-muted)}
.wc-v2 .wc-card-title{color:var(--wc-ink)}
.wc-v2 .wc-card-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.wc-v2 .wc-card-heading .wc-card-title{flex:1 1 min-content;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:break-word}
.wc-v2 .wc-recommendation .wc-cta{color:var(--wc-rose-ink)}
.wc-v2 .wc-recommendation--primary{padding:14px 16px 16px 48px;background:linear-gradient(165deg,var(--wc-card) 0%,var(--wc-blush) 100%);border-color:var(--wc-line);overflow:hidden}
.wc-v2 .wc-recommendation--primary .wc-card-title{font-family:'Playfair Display',Georgia,serif;font-size:calc(18px * var(--grounded-type-scale, 1));line-height:1.25;padding-right:4px}
.wc-v2 .wc-kicker{font:600 calc(10.5px * var(--grounded-type-scale, 1))/1.2 'Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--wc-rose-ink)}
.wc-v2 .wc-cta--button{display:flex;align-items:center;justify-content:center;align-self:stretch;margin:8px 0 0 -32px;padding:11px 16px;border-radius:999px;background:var(--wc-rose);color:#fffaf7!important;font-size:calc(14px * var(--grounded-type-scale, 1))!important;box-shadow:0 4px 12px rgba(176,106,99,.25)}
html[data-theme="evening"] .wc-v2 .wc-cta--button{color:#2a2120!important}
.wc-v2 .wc-leaf{position:absolute;right:-6px;bottom:44px;width:76px;opacity:.55;pointer-events:none}
.wc-v2 .wc-tag{margin-inline-start:auto;max-width:100%;box-sizing:border-box;padding:3px 9px;border-radius:999px;font:700 calc(10px * var(--grounded-type-scale, 1))/1.3 'Inter',sans-serif;letter-spacing:.06em;text-transform:uppercase;text-align:right}
.wc-v2 .wc-tag--free{color:var(--wc-rose-ink);background:var(--wc-blush)}
.wc-v2 .wc-tag--premium{color:var(--wc-gold);background:var(--wc-gold-bg)}
.wc-v2 .wc-membership--journey{background:linear-gradient(125deg,var(--wc-blush),var(--wc-card));border:1px solid var(--wc-line)}
.wc-v2 .wc-membership--journey h3{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:calc(18px * var(--grounded-type-scale, 1));color:var(--wc-rose-ink)}
.wc-v2 .wc-membership--journey p{color:var(--wc-muted)}
.wc-v2 .wc-membership--journey .wc-premium{background:var(--wc-rose);border-color:var(--wc-rose);color:#fffaf7}
html[data-theme="evening"] .wc-v2 .wc-membership--journey .wc-premium{color:#2a2120}
.wc-v2 .wc-study h2{color:var(--wc-ink)}
.wc-v2 .wc-subtitle{color:var(--wc-muted)}
/* Evening: the completion message keeps its warm italic but stays readable (redesign only). */
html[data-theme="evening"] .progress-popup--walk:has(.wc-v2) #progressPopupMessage{color:var(--text-light)}

/* Campaign remains the second card on Free Today, with a little less height. */
#screen-feed.gts-mode-free #christmasChallengeCard .cx-card{padding-top:12px}
#screen-feed.gts-mode-free #christmasChallengeCard .cx-card-headline{margin:6px 0 8px;font-size:calc(18px * var(--grounded-type-scale, 1))}
#screen-feed.gts-mode-free #christmasChallengeCard .cx-card-head .cx-card-brand{font-size:calc(23px * var(--grounded-type-scale, 1))}

/* Returning-Walk close: keep the approved content and recommendation order,
   with less space above the studies. The personalized first Walk is separate. */
.progress-popup--walk:has(.wc-v2){padding:max(10px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))!important}
.progress-popup--walk:has(.wc-v2) .popup-card{padding:16px 16px 14px;max-height:calc(100dvh - max(10px,env(safe-area-inset-top,0px)) - max(10px,env(safe-area-inset-bottom,0px)));overflow-y:auto;overscroll-behavior:contain}
.progress-popup--walk:has(.wc-v2) .pp-blessing-mark{width:36px;height:36px;margin-bottom:6px}
.progress-popup--walk:has(.wc-v2) .pp-blessing-mark svg{width:32px;height:32px}
.progress-popup--walk:has(.wc-v2) .pp-headline{font-size:calc(22px * var(--grounded-type-scale, 1));margin-bottom:4px}
.progress-popup--walk:has(.wc-v2) .pp-message{font-size:calc(14px * var(--grounded-type-scale, 1));line-height:1.35;margin-bottom:8px}
.progress-popup--walk:has(.wc-v2) .gwc--habit-close{margin-bottom:8px}
.progress-popup--walk:has(.wc-v2) .gwc__label{margin-bottom:6px}
.progress-popup--walk:has(.wc-v2) .pp-peace{margin-bottom:4px}
.progress-popup--walk:has(.wc-v2) .pp-tomorrow{margin-bottom:6px}
.wc-v2 .wc-study-divider{margin:3px 0 7px}
.wc-v2 .wc-subtitle{margin-bottom:8px}
.wc-v2 .wc-recommendation{gap:3px;margin-bottom:6px;padding-top:10px;padding-bottom:10px}
.wc-v2 .wc-recommendation--primary{padding-top:10px;padding-bottom:10px}
.wc-v2 .wc-cta--button{min-height:44px;box-sizing:border-box;padding:9px 14px;margin-top:6px}
.wc-v2 .wc-membership{margin-top:8px;padding:10px 14px}
#screen-feed:is(.gts-mode-free,.gts-mode-premium) #christmasChallengeCard .cx-streak + .cx-dot{display:none!important}

/* Sunday introduction: editorial reading, independently released from Today/Study. */
#weeklyStudyPlanOverlay.sp-sunday-editorial{--sp-paper:#fdf8f3}
html[data-theme="evening"] #weeklyStudyPlanOverlay.sp-sunday-editorial{--sp-paper:#24211f}
#weeklyStudyPlanOverlay.sp-sunday-editorial{box-sizing:border-box;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:var(--sp-paper)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sheet{display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;background:var(--sp-paper)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-header{position:relative;padding:12px 22px 0;background:none}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-header :is(.sp-kicker,.sp-title,.sp-art,.sp-intro,.sp-together){display:none!important}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-header-top{position:absolute;right:20px;top:2px;min-height:44px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-close{color:var(--sp-muted);outline-color:var(--sp-rose-ink)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-subtitle{display:flex;justify-content:space-between;gap:10px;margin:3px 40px 9px 0;font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.4;color:var(--sp-muted)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-subtitle-day{font-size:calc(10px * var(--grounded-type-scale, 1));white-space:nowrap}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday{overflow:visible;flex:none;min-height:auto;padding:0 22px 28px;color:var(--sp-ink);overflow-wrap:break-word}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-back{margin:2px 0 10px;color:var(--sp-rose-ink);font-size:calc(12px * var(--grounded-type-scale, 1))}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-kicker{font-size:calc(10px * var(--grounded-type-scale, 1));line-height:1.5;letter-spacing:.12em;color:var(--sp-rose-ink);margin:0 0 8px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-title{font-size:calc(clamp(27px,7.5vw,36px) * var(--grounded-type-scale, 1));line-height:1.18;font-weight:500;letter-spacing:-.5px;margin:0 0 9px;color:var(--sp-ink)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-outcome{font-size:calc(17px * var(--grounded-type-scale, 1));line-height:1.45;font-style:italic;color:var(--sp-muted);margin:0 0 16px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-banner{display:block;width:100%;height:110px;object-fit:cover;object-position:center 35%;border-radius:13px;margin:0 0 18px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-opening{margin:0 0 20px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-opening:empty{display:none}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-copy{font-size:calc(15px * var(--grounded-type-scale, 1));line-height:1.65;color:var(--sp-ink);margin:0}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-copy + .sp-sunday-copy{margin-top:12px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-section{border:0;border-bottom:1px solid var(--sp-line);padding:0 0 20px;margin:0 0 20px;background:none;box-shadow:none}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-section:last-of-type{border-bottom:0;margin-bottom:8px;padding-bottom:12px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-section-title{display:flex;align-items:baseline;gap:10px;font-size:calc(22px * var(--grounded-type-scale, 1));line-height:1.25;font-weight:500;color:var(--sp-ink);margin:0 0 12px;letter-spacing:-.3px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-number{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--sp-blush-2);color:var(--sp-rose-ink);font-size:calc(15px * var(--grounded-type-scale, 1));letter-spacing:0;line-height:1}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-scripture{border:1px solid var(--sp-line);border-radius:14px;background:var(--sp-card);padding:16px 17px;margin:0}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-verse{font-size:calc(20px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--sp-ink);margin:0 0 10px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-ref{font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4;color:var(--sp-rose-ink)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-discoveries{list-style:none;padding:0;margin:0;display:grid;gap:11px;font-size:calc(15px * var(--grounded-type-scale, 1));line-height:1.55;color:var(--sp-ink)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-discoveries li{display:flex;gap:10px;align-items:baseline}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-discoveries li > span:first-child{color:var(--sp-gold);font-size:calc(18px * var(--grounded-type-scale, 1));flex:0 0 17px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-personal{position:relative;display:flex;align-items:center;gap:12px;background:var(--sp-blush);border-radius:14px;padding:16px;color:var(--sp-ink)}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-personal p{font-size:calc(19px * var(--grounded-type-scale, 1));line-height:1.5;font-style:italic;margin:0}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-botanical{width:29px;height:44px;flex:0 0 29px;color:var(--sp-gold);opacity:.6}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-prayer{font-size:calc(19px * var(--grounded-type-scale, 1));line-height:1.6;color:var(--sp-ink);margin:0;font-style:italic}
#weeklyStudyPlanOverlay.sp-sunday-editorial .weekly-study-finish{margin:12px 0 0;padding:0;border:0;background:none}
#weeklyStudyPlanOverlay.sp-sunday-editorial .weekly-study-finish__btn{width:100%;min-height:52px;box-sizing:border-box;padding:14px 16px;border:0;border-radius:999px;background:var(--sp-rose);color:#fffaf7;font-size:calc(15px * var(--grounded-type-scale, 1));line-height:1.4;font-weight:600;box-shadow:0 6px 18px rgba(176,106,99,.17);cursor:pointer}
#weeklyStudyPlanOverlay.sp-sunday-editorial .weekly-study-finish__btn:focus-visible{outline:2px solid var(--sp-rose-ink);outline-offset:4px}
#weeklyStudyPlanOverlay.sp-sunday-editorial .weekly-study-finish__done{justify-content:flex-start;color:var(--sp-rose-ink);font-size:calc(15px * var(--grounded-type-scale, 1));line-height:1.5;margin:0}
#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-next{font-size:calc(14px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--sp-muted);margin:8px 0 0}
html[data-theme="evening"] #weeklyStudyPlanOverlay.sp-sunday-editorial .weekly-study-finish__btn{color:#281e1a}
@media(min-width:600px){#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-header{padding-inline:36px}#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday{padding-inline:36px}#weeklyStudyPlanOverlay.sp-sunday-editorial .sp-sunday-banner{height:130px}}
