/* Heart Turn Global Kids: the Activities and VBS sections, Game time, and their printed pages.
   Uses the platform's tokens (index.html). Each VBS theme sets its own colors as --v-* on its elements. */

/* Shared: link buttons keep the button's colors */
a.btn { color: var(--ink); }
a.btn.btn-brand { color: var(--on-brand); }

/* Shared: segmented buttons (the platform's .seg is built for radio inputs; these are buttons) */
.seg > button { border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font: 700 15px/1 var(--body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg > button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg > button:hover { color: var(--ink); }

/* ---------- Game time ---------- */
.gt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.gt-card { padding: 20px 22px 22px; display: grid; gap: 12px; border-top: 6px solid var(--brand); position: relative; }
.gt-card.gt-youth { border-top-color: #7B5CE0; }
.gt-card.gt-vbs { border-top-color: var(--gold); }
.gt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gt-who { font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); }
.gt-youth .gt-who { color: #7B5CE0; }
.gt-vbs .gt-who { color: var(--gold-ink); letter-spacing: .06em; text-transform: none; font-size: 13px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gt-youth .gt-who { color: #B9A6FF; } }
:root[data-theme="dark"] .gt-youth .gt-who { color: #B9A6FF; }
.gt-type { font: 800 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.gt-name { font: 800 clamp(21px, 2vw, 25px)/1.15 var(--disp); }
.gt-lesson { font-size: 14px; margin-top: -6px; }
.gt-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gt-meta li { font: 700 12.5px/1 var(--body); padding: 7px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); }
.gt-youth .gt-meta li { background: color-mix(in srgb, #7B5CE0 16%, transparent); }
.gt-need { font-size: 15px; color: var(--muted); }
.gt-need b { color: var(--ink); }
.gt-how { margin: 0; padding-left: 0; list-style: none; counter-reset: gt; display: grid; gap: 10px; }
.gt-how li { counter-increment: gt; position: relative; padding-left: 38px; font-size: 16px; line-height: 1.5; }
.gt-how li::before { content: counter(gt); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--surface); font: 800 13px/1 var(--disp); }
.gt-say { padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); font-size: 15.5px; }
.gt-say b { color: var(--gold-ink); }
.gt-all .gt-card { content-visibility: auto; contain-intrinsic-size: 560px; }

/* ---------- Activities ---------- */
.act-week { padding-bottom: 8px; }
.act-week-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 16px; }
.act-week-top h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; margin-top: 4px; }
.act-pick { display: grid; gap: 6px; min-width: min(100%, 340px); }
.act-pick label { font: 700 13px/1 var(--body); color: var(--muted); }
.act-week-tools { margin-top: 14px; }
.act-sec { padding-top: 34px; }
.act-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; padding-bottom: 8px; }
.act-tile { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px 14px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; font: inherit; }
.act-tile:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 14px 30px -22px rgba(0,0,0,.45); }
.act-art { width: 96px; height: 64px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.act-art svg { width: 90%; height: 90%; }
.act-scramble .act-art { background: #1B2A41; } .act-quiz .act-art { background: #12162B; } .act-search .act-art { background: #F1FAEE; }
.act-tile-t { display: grid; gap: 4px; min-width: 0; }
.act-tile-t b { font: 800 18px/1.15 var(--disp); }
.act-tile-t small { font-size: 14px; color: var(--muted); line-height: 1.35; }
.act-go { font: 800 13px/1 var(--body); padding: 9px 12px; border-radius: 10px; background: var(--brand); color: var(--on-brand); }
.act-prints .act-tile { grid-template-columns: 96px minmax(0, 1fr); }
.act-filters { padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: end; margin-bottom: 18px; }
.act-search { flex: 1 1 260px; }
.act-search .input { width: 100%; }
.act-seg { flex-wrap: wrap; }
.act-count { margin-left: auto; font-weight: 700; }
.act-more { display: flex; justify-content: center; padding: 22px 0 64px; }
.act-none { padding: 24px 0 64px; }
.gt-all { padding-bottom: 20px; }

/* The classroom-screen games */
.act-gamehead { padding-block: 18px 14px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.act-gamehead .linkbtn { text-decoration: none; }
.act-stage { position: relative; background: radial-gradient(120% 90% at 50% 0%, #1D3557 0%, #0B1424 70%); color: #F4F7FB; border-radius: 26px; overflow: hidden; margin-bottom: 64px; box-shadow: 0 30px 60px -36px rgba(4, 14, 24, .7); min-height: 520px; display: flex; flex-direction: column; }
.act-stage:fullscreen { border-radius: 0; margin: 0; min-height: 100vh; font-size: 1.25em; }
.act-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 18px clamp(16px, 2.4vw, 26px) 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.act-kicker { font: 800 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #FFD166; }
.act-title { font: 800 clamp(20px, 2.2vw, 28px)/1.1 var(--disp); margin-top: 4px; }
.act-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.act-play { flex: 1; padding: clamp(16px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px; position: relative; }
.act-stage .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.act-stage .btn-brand { background: #FFD166; color: #2B1D00; border-color: transparent; }
.act-stage .muted { color: #A9B8C9; }
.act-stage .seg { background: rgba(255,255,255,.08); }
.act-stage .seg > button { color: #C8D3DF; }
.act-stage .seg > button[aria-pressed="true"] { background: #fff; color: #0B1424; }
.act-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.act-foot { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin-top: auto; }

/* Verse Scramble */
.sc-help { text-align: center; color: #A9B8C9; font-weight: 700; }
.sc-answer { min-height: 120px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 10px 12px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 2px dashed rgba(255,255,255,.14); font: italic 500 clamp(22px, 2.6vw, 34px)/1.35 var(--verse); }
.sc-placed { color: #fff; animation: pop .3s ease-out; }
.sc-blank { width: 70px; height: 1.1em; border-bottom: 3px solid rgba(255,255,255,.28); align-self: end; }
.sc-tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sc-chip { border: 0; cursor: pointer; padding: 14px 18px; border-radius: 16px; font: 700 clamp(18px, 1.9vw, 24px)/1.2 'Fredoka', var(--body); color: #13202F; background: #FFD166; box-shadow: 0 6px 0 rgba(0,0,0,.25); transition: transform .12s; }
.sc-chip:nth-child(5n+2) { background: #06D6A0; } .sc-chip:nth-child(5n+3) { background: #7BDFF2; } .sc-chip:nth-child(5n+4) { background: #F7A1C4; } .sc-chip:nth-child(5n) { background: #C3B1E1; }
.sc-chip:hover { transform: translateY(-2px); }
.sc-chip:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.sc-chip.no { animation: shake .4s; }
.sc-chip.hint { animation: glow 1.2s; }
.sc-ref-sm { font-weight: 700; }
.sc-done, .qz-end { margin: auto; text-align: center; display: grid; gap: 16px; justify-items: center; max-width: 900px; }
.sc-yay { font: 400 clamp(34px, 5vw, 60px)/1 'Lilita One', var(--disp); color: #FFD166; letter-spacing: .01em; text-shadow: 0 4px 0 rgba(0,0,0,.25); }
.sc-verse { margin: 0; font: italic 500 clamp(24px, 3vw, 40px)/1.4 var(--verse); }
.sc-ref { font: 800 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #A9B8C9; }
.sc-stats { font-weight: 700; color: #A9B8C9; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 6px 0 rgba(0,0,0,.25); } 50% { box-shadow: 0 0 0 6px #fff, 0 6px 0 rgba(0,0,0,.25); transform: scale(1.08); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Quiz Show */
.qz-score { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.qz-team { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: color-mix(in srgb, var(--tc) 22%, transparent); border: 2px solid var(--tc); }
.qz-team b { font: 800 16px/1 var(--disp); }
.qz-team span { font: 800 26px/1 'Fredoka', var(--disp); min-width: 2.5ch; text-align: right; }
.qz-board { display: grid; gap: 10px; }
.qz-cat { display: grid; place-items: center; text-align: center; padding: 10px 8px; min-height: 64px; border-radius: 12px; background: rgba(255,255,255,.07); font: 800 clamp(13px, 1.3vw, 16px)/1.2 var(--disp); }
.qz-tile { min-height: clamp(64px, 9vw, 104px); border: 0; border-radius: 14px; cursor: pointer; background: linear-gradient(180deg, #3A86FF, #2A5FD0); color: #FFD166; font: 700 clamp(26px, 3.2vw, 42px)/1 'Fredoka', var(--disp); box-shadow: inset 0 -5px 0 rgba(0,0,0,.25); transition: transform .12s; }
.qz-tile:hover { transform: scale(1.03); }
.qz-tile.is-used { display: grid; place-items: center; cursor: default; background: color-mix(in srgb, var(--tc) 30%, rgba(255,255,255,.04)); color: #fff; font: 800 14px/1.2 var(--body); box-shadow: none; }
.qz-q { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 18px; padding: clamp(20px, 5vw, 60px); text-align: center; background: rgba(8, 16, 30, .96); animation: pop .25s ease-out; }
.qz-text { font: 800 clamp(26px, 3.6vw, 52px)/1.2 var(--disp); max-width: 26ch; text-wrap: balance; }
.qz-ans { font: 700 clamp(22px, 2.6vw, 36px)/1.3 'Fredoka', var(--body); color: #06D6A0; max-width: 32ch; text-wrap: balance; }
.qz-award { border-color: var(--tc) !important; background: color-mix(in srgb, var(--tc) 30%, transparent) !important; }
.qz-setup { margin-top: 8px; }

/* Word Search */
.ws-wrap { display: grid; grid-template-columns: minmax(0, auto) minmax(200px, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; justify-content: center; }
.ws-grid { --cell: min(52px, calc((100vw - 64px) / var(--n)), calc((100vh - 240px) / var(--n))); display: grid; grid-template-columns: repeat(var(--n), var(--cell)); background: #F8FAFC; border-radius: 16px; padding: 8px; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 10px 0 rgba(0,0,0,.2); }
.ws-c { width: var(--cell); height: var(--cell); display: grid; place-items: center; font: 700 calc(var(--cell) * .5)/1 'Fredoka', var(--disp); color: #1D2B3A; border-radius: 10px; cursor: pointer; }
.ws-c.f { background: var(--fc); }
.ws-c.sel { background: #FFB703; color: #1D2B3A; box-shadow: inset 0 0 0 2px #FB8500; }
.ws-side { display: grid; gap: 14px; align-content: start; }
.ws-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-list li { font: 700 clamp(15px, 1.5vw, 19px)/1 'Fredoka', var(--body); letter-spacing: .06em; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.09); }
.ws-list li.done { background: var(--fc); color: #1D2B3A; text-decoration: line-through; text-decoration-thickness: 2px; }
.ws-tip { font-size: 14px; }
@media (max-width: 760px) { .ws-wrap { grid-template-columns: 1fr; justify-items: center; } .ws-grid { --cell: calc((100vw - 2 * var(--gut) - 52px) / var(--n)); } .act-stage { min-height: 0; } }

/* Confetti */
.act-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.act-confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) { .sc-chip.no, .sc-chip.hint, .sc-placed, .qz-q { animation: none; } }

/* ---------- VBS ---------- */
.v-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; padding-bottom: 72px; }
.v-card { border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: 0 24px 50px -40px rgba(0,0,0,.6); }
.v-card-art { position: relative; display: block; aspect-ratio: 16 / 7.4; background: var(--v-deep); overflow: hidden; }
.v-card-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .5s ease; }
.v-card-art:hover > svg { transform: scale(1.04); }
.v-emblem { display: block; }
.v-emblem svg { width: 100%; height: 100%; display: block; }
.v-card-emblem { position: absolute; left: 16px; bottom: 10px; width: 40%; max-width: 190px; aspect-ratio: 1; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.v-card-body { padding: 18px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; border-top: 6px solid var(--v-main); }
.v-year { font: 800 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--v-main); }
.v-name { font-family: var(--v-font), var(--disp); font-weight: var(--v-weight, 400); letter-spacing: .01em; line-height: 1.02; }
.v-card .v-name { font-size: clamp(30px, 3vw, 38px); color: var(--v-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v-card .v-name { color: var(--v-light); } }
:root[data-theme="dark"] .v-card .v-name { color: var(--v-light); }
.v-tag { font: 600 16px/1.35 var(--body); color: var(--muted); }
.v-daylist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.v-daylist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 15px; }
.v-daylist b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--v-soft); color: var(--v-ink); font: 800 13px/1 var(--disp); }
.v-daylist li.is-gospel b { background: var(--v-accent); color: #fff; }
.v-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.v-mine { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 24px; background: linear-gradient(120deg, var(--v-deep), var(--v-main)); color: #fff; margin-bottom: 22px; }
.v-mine .eyebrow { color: rgba(255,255,255,.8); }
.v-mine .v-name { font-size: clamp(28px, 3vw, 40px); }
.v-mine p:not(.eyebrow) { color: rgba(255,255,255,.9); margin-top: 4px; }
.v-mine-emblem { width: 110px; aspect-ratio: 1; }
.v-mine .btn { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.v-mine .btn-brand { background: #fff; color: var(--v-ink); }
@media (max-width: 760px) { .v-mine { grid-template-columns: 72px minmax(0, 1fr); } .v-mine-emblem { width: 72px; } .v-mine .v-acts { grid-column: 1 / -1; } }

/* A theme's hero */
.v-hero { position: relative; background: var(--v-deep); color: #fff; overflow: hidden; min-height: clamp(300px, 36vw, 470px); display: flex; align-items: end; }
.v-hero-sm { min-height: clamp(240px, 26vw, 340px); }
.v-hero-art { position: absolute; inset: 0; }
.v-hero-art > svg { width: 100%; height: 100%; display: block; }
.v-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--v-deep) 88%, transparent) 0%, color-mix(in srgb, var(--v-deep) 40%, transparent) 55%, transparent 80%), linear-gradient(0deg, color-mix(in srgb, var(--v-deep) 70%, transparent), transparent 55%); }
.v-hero-in { position: relative; z-index: 1; width: 100%; display: flex; align-items: end; gap: clamp(14px, 2.4vw, 30px); padding-block: 28px; }
.v-hero-emblem { width: clamp(140px, 19vw, 250px); aspect-ratio: 1; flex: none; filter: drop-shadow(0 14px 24px rgba(0,0,0,.4)); }
.v-hero-text { display: grid; gap: 8px; padding-bottom: 10px; min-width: 0; }
.v-hero .v-year { color: var(--v-light); }
.v-hero .v-name { font-size: clamp(42px, 6vw, 84px); color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.18); }
.v-hero .v-tag { color: rgba(255,255,255,.92); font-size: clamp(16px, 1.6vw, 20px); }
@media (max-width: 640px) { .v-hero-in { flex-direction: column; align-items: start; } .v-hero-emblem { width: 150px; } }

.v-theme, .v-week { padding-block: 30px 72px; }
.v-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
@media (max-width: 1000px) { .v-cols { grid-template-columns: 1fr; } }
.v-verse { padding: 22px 24px; border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--v-soft) 70%, transparent), transparent 80%); border: 1px solid var(--line); display: grid; gap: 8px; }
.v-verse blockquote { margin: 0; font: italic 500 clamp(21px, 2vw, 26px)/1.45 var(--verse); }
.v-verse cite { font: 800 12.5px/1 var(--body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--v-main); }
.v-tr { opacity: .7; }
.v-idea { margin-top: 18px; font: 800 clamp(20px, 2vw, 25px)/1.3 var(--disp); }
.v-theme > .v-cols > div > .muted { margin-top: 6px; }
.v-h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 30px 0 14px; }
.v-days { display: grid; gap: 12px; }
.v-day, .v-weekday { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--v-main); }
.v-day.is-gospel, .v-weekday.is-gospel { border-left-color: var(--v-accent); }
.v-day-num { width: 64px; height: 64px; border-radius: 16px; background: var(--v-soft); color: var(--v-ink); display: grid; place-content: center; text-align: center; }
.is-gospel .v-day-num { background: var(--v-accent); color: #fff; }
.v-day-num span { font: 800 10.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.v-day-num b { font: 400 30px/1 var(--v-font), var(--disp); }
.v-day-body { display: grid; gap: 6px; min-width: 0; }
.v-day-name { font: 800 12.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--v-main); }
.v-day h3, .v-weekday h3 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.2; }
.v-badge { display: inline-block; vertical-align: 1px; margin-left: 6px; font: 800 10.5px/1 var(--body); letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; background: var(--v-accent); color: #fff; }
.v-story { font-size: 15px; color: var(--muted); }
.v-story .linkbtn { font-size: 15px; }
.v-small { font-size: 14.5px; }
.v-side { display: grid; gap: 14px; position: sticky; top: 92px; }
@media (max-width: 1000px) { .v-side { position: static; } }
.v-box { padding: 20px; display: grid; gap: 10px; }
.v-box h3 { font-size: 18px; }
.v-box ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.v-cheer { font: 700 17px/1.35 var(--disp); }
.v-cheer span { font: 800 11.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--v-main); margin-right: 6px; }

/* Setup */
.v-setup { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-bottom: 72px; }
@media (max-width: 1080px) { .v-setup { grid-template-columns: 1fr; } }
.v-steps { display: grid; gap: 16px; min-width: 0; }
.v-step { padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; min-width: 0; }
.v-step h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.v-step h2 b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--v-main); color: #fff; font: 800 15px/1 var(--disp); flex: none; }
.v-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.v-opt { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 10px 12px 10px 10px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.v-opt:hover { border-color: var(--v-main); }
.v-opt.on { border-color: var(--v-main); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v-main) 25%, transparent); background: color-mix(in srgb, var(--v-soft) 30%, var(--surface)); }
.v-opt-emblem { width: 64px; aspect-ratio: 1; }
.v-opt b { display: block; font: var(--v-weight, 400) 20px/1.05 var(--v-font), var(--disp); color: var(--v-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v-opt b { color: var(--v-light); } }
:root[data-theme="dark"] .v-opt b { color: var(--v-light); }
.v-opt small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.v-count { align-self: start; }
.v-dayopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.v-dayopt { display: grid; gap: 5px; text-align: left; padding: 12px 14px; border-radius: 16px; border: 2px dashed var(--line); background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
.v-dayopt b { font: 800 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.v-dayopt span { font: 700 15.5px/1.3 var(--disp); }
.v-dayopt small { font-size: 13px; }
.v-dayopt.on { border-style: solid; border-color: var(--v-main); color: var(--ink); background: color-mix(in srgb, var(--v-soft) 30%, var(--surface)); }
.v-dayopt.on b { color: var(--v-main); }
.v-dayopt:disabled { cursor: default; opacity: 1; }
.v-when { gap: 14px 18px; align-items: end; }
.v-presets { align-self: start; }
.v-ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.v-age { display: grid; gap: 4px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.v-age b { font: 700 16px/1.2 var(--disp); }
.v-age small { color: var(--muted); font-size: 13.5px; }
.v-age.on { border-color: var(--v-main); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v-main) 25%, transparent); }
.v-summary { position: sticky; top: 92px; padding: 22px; display: grid; gap: 12px; justify-items: center; text-align: center; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--v-soft) 45%, var(--surface)), var(--surface) 46%); }
@media (max-width: 1080px) { .v-summary { position: static; } }
.v-sum-emblem { width: 168px; aspect-ratio: 1; }
.v-summary .v-name { font-size: 32px; color: var(--v-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v-summary .v-name { color: var(--v-light); } }
:root[data-theme="dark"] .v-summary .v-name { color: var(--v-light); }
.v-facts { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 0; text-align: left; }
.v-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.v-facts b { font-weight: 800; flex: none; }
.v-sumdays { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; text-align: left; }
.v-sumdays li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font: 700 14px/1.3 var(--body); }
.v-sumdays span { color: var(--v-main); font-weight: 800; }
.v-save { width: 100%; margin-top: 6px; background: var(--v-main); color: #fff; }
.v-save:disabled { opacity: .5; cursor: not-allowed; }

/* The week */
.v-printbar { padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.v-printbar .v-acts { margin: 0; }
.v-weekday { grid-template-columns: 1fr; margin-bottom: 16px; padding: 20px 22px; }
.v-wd-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.v-wd-story { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); display: grid; gap: 8px; }
.v-wd-story .v-acts { margin-top: 2px; }
.v-wd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.v-act { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.v-act h4 { font: 800 15.5px/1.25 var(--disp); color: var(--v-main); }
.v-act p { font-size: 15px; }
.v-sup { color: var(--muted); font-size: 14px !important; }
.v-q { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.v-sched { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.v-sched th { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; font: 800 13.5px/1.3 var(--body); color: var(--v-main); white-space: nowrap; }
.v-sched td { padding: 9px 0; border-top: 1px solid var(--line); }
.v-sched tr:first-child td { border-top: 0; }
.v-verse-sm { font: italic 500 18px/1.45 var(--verse); }
.v-gospel { padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--v-accent) 12%, transparent); border: 2px solid var(--v-accent); display: grid; gap: 8px; }
.v-gospel h4 { font: 800 17px/1.2 var(--disp); }
.v-gospel ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.v-gv { display: block; font: italic 500 15.5px/1.4 var(--verse); color: var(--muted); margin-top: 2px; }

/* ---------- printed pages: VBS and Game time ---------- */
#print-root .vprint, #print-root .gprint { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.vprint { width: 7.8in; height: 10.3in; overflow: hidden; position: relative; background: #fff; color: #161616; font: 400 11.5pt/1.45 var(--body); display: flex; flex-direction: column; gap: .16in; padding: .1in .05in; }
.vprint + .vprint { break-before: page; }
.vprint .v-emblem svg { width: 100%; height: 100%; }
.vp-kicker { font: 800 9pt/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--v-main); }
.vp-name { font: var(--v-weight, 400) 54pt/1 var(--v-font), var(--disp); color: var(--v-ink); text-align: center; }
.vp-tag { font: 700 15pt/1.3 var(--body); text-align: center; color: #333; }
.vp-when { font: 800 17pt/1.35 var(--disp); text-align: center; color: var(--v-ink); }
.vp-church { font: 800 13pt/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--v-main); }
.vp-ages { text-align: center; font-weight: 700; color: #444; }
.vp-verse { font: italic 500 13pt/1.45 var(--verse); text-align: center; max-width: 6in; margin: 0 auto; }
.vp-poster, .vp-cover { display: flex; flex-direction: column; align-items: center; gap: .14in; height: 100%; text-align: center; }
.vp-banner { width: 100%; height: 2.7in; border-radius: .2in; overflow: hidden; flex: none; }
.vp-banner svg { width: 100%; height: 100%; display: block; }
.vp-emblem-xl { width: 2.9in; height: 2.9in; margin-top: -1.6in; filter: drop-shadow(0 .06in .1in rgba(0,0,0,.3)); }
.vp-poster .vp-verse, .vp-cover .vp-verse { margin-top: auto; padding: .14in .2in; border-top: 2px solid var(--v-main); }
.vp-idea { font: 800 14pt/1.35 var(--disp); max-width: 6in; }
.vp-cheer { font-weight: 700; color: #444; }
.vp-head { display: flex; align-items: center; gap: .18in; padding-bottom: .1in; border-bottom: 3px solid var(--v-main); }
.vp-emblem-s { width: .95in; height: .95in; flex: none; }
.vp-title { font: 800 21pt/1.12 var(--disp); color: var(--v-ink); margin-top: 3px; }
.vp-sub { font-weight: 700; color: #444; margin-top: 3px; }
.vp-p { font-size: 11.5pt; }
.vp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .22in; font-size: 10.5pt; }
.vp-cols h3 { font: 800 11.5pt/1.2 var(--disp); color: var(--v-main); margin: .1in 0 .03in; }
.vp-cols ol { margin: 0; padding-left: .2in; }
.vp-need { color: #555; font-size: 9.5pt; }
.vprint .v-gospel { border-color: var(--v-accent); background: color-mix(in srgb, var(--v-accent) 10%, #fff); font-size: 10pt; }
.vprint .v-gospel ol { font-size: 10pt; }
.vprint .v-gv { color: #444; font-size: 10pt; }
.vp-table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
.vp-table th { text-align: left; background: var(--v-main); color: #fff; padding: 6px 8px; font: 800 9.5pt/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.vp-table td { padding: 7px 8px; border-bottom: 1px solid #ddd; vertical-align: top; }
.vp-mini { margin-top: auto; font-size: 9pt; }
.vp-mini td { padding: 3px 8px; }
.vp-tagsheet { padding: 0; }
.vp-tags { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr); gap: .12in; height: 100%; }
.vp-tag-card { border: 2px dashed #999; border-radius: .16in; display: grid; grid-template-columns: 1.15in minmax(0, 1fr); gap: .12in; align-items: center; padding: .12in .16in; background: linear-gradient(135deg, color-mix(in srgb, var(--v-soft) 55%, #fff), #fff 70%); }
.vp-tag-emblem { width: 1.15in; height: 1.15in; }
.vp-tag-theme { font: var(--v-weight, 400) 15pt/1 var(--v-font), var(--disp); color: var(--v-ink); }
.vp-hello { font: 800 8.5pt/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--v-main); margin-top: .08in; }
.vp-line { border-bottom: 2px solid #333; height: .42in; }
.vp-group { margin-top: .08in; font-weight: 800; font-size: 9pt; display: flex; gap: 6px; align-items: end; }
.vp-group span { flex: 1; border-bottom: 1.5px solid #333; height: .2in; }
.vp-certpage { padding: .1in; }
.vp-cert { height: 100%; border: .14in solid var(--v-main); outline: 3px solid var(--v-accent); outline-offset: -.24in; border-radius: .1in; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .16in; padding: .5in .6in; text-align: center; }
.vp-emblem-l { width: 2.4in; height: 2.4in; }
.vp-cert .vp-kicker { font-size: 13pt; }
.vp-this { font: italic 500 16pt/1.2 var(--verse); }
.vp-line-l { width: 5in; height: .5in; }
.vp-done { font-size: 13pt; max-width: 5.6in; }
.vp-sign { display: flex; gap: .6in; margin-top: .3in; }
.vp-sign p { display: grid; gap: 4px; font-weight: 700; font-size: 10pt; }
.vp-sign span { width: 2.2in; border-bottom: 1.5px solid #333; height: .35in; }

/* Game time, printed */
.gprint { width: 7.8in; min-height: 10.3in; background: #fff; color: #161616; font: 400 11.5pt/1.45 var(--body); display: grid; gap: .2in; align-content: start; }
.gp-head { display: flex; align-items: center; gap: .2in; padding-bottom: .12in; border-bottom: 3px solid #111; }
.gp-logo { height: .7in; display: block; flex: none; }
.gp-logo svg, .gp-logo img { height: .7in !important; width: auto !important; max-width: 2.4in; display: block; filter: brightness(0); }
.gp-kicker { font: 800 9pt/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #444; }
.gp-head h1 { font: 800 24pt/1.1 var(--disp); margin-top: 3px; }
.gp-ref { font-weight: 700; color: #444; }
.gp-pick { border: 2px solid #111; border-radius: .14in; padding: .16in .2in; display: grid; gap: .08in; break-inside: avoid; }
.gp-who { font: 800 9pt/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #444; }
.gp-pick h2 { font: 800 17pt/1.15 var(--disp); }
.gp-pick ol { margin: 0; padding-left: .24in; display: grid; gap: .04in; }
.gp-say { padding: .08in .12in; border-radius: .08in; background: #F2F2F2; }

@media print {
  #print-root .vprint, #print-root .gprint { box-shadow: none; }
  #print-root .gprint + .gprint { break-before: page; }
}

.btn[hidden] { display: none; }

/* ---------- church accounts (Church setup) ---------- */
.acct-wrap { padding-bottom: 18px; }
.acct { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 16px; border-top: 6px solid var(--brand); }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px 20px; }
.acct-head h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; margin-top: 4px; }
.acct-head .muted { margin-top: 6px; max-width: 760px; }
.acct-tabs { justify-self: start; }
.acct-form { display: grid; gap: 14px; max-width: 760px; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 16px; }
.acct-form .input { width: 100%; }
.acct-small { font-size: 14px; }
.acct-err { color: #B3261E; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .acct-err { color: #FFB4AB; } }
:root[data-theme="dark"] .acct-err { color: #FFB4AB; }
.acct-msg { color: var(--ok); font-weight: 700; }
.acct-page { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); }
.acct-link { font: 800 clamp(16px, 1.7vw, 19px)/1.3 var(--disp); color: var(--brand-strong); word-break: break-all; text-decoration: none; }
.acct-link:hover { text-decoration: underline; }
.acct-qr { flex-basis: 100%; display: flex; justify-content: center; padding: 12px; background: #fff; border-radius: 12px; }
.acct-qr img, .acct-qr canvas { display: block; }
.acct-sync { font-size: 14px; }
.acct-team h3 { font-size: 18px; margin-bottom: 8px; }
.acct-people { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.acct-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.acct-people li > span:first-child { flex: 1; min-width: 200px; }
.acct-role { font: 800 11.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.acct-invite { align-items: end; }
.acct-box { display: block; padding: 28px clamp(20px, 4vw, 34px) 26px; width: min(480px, 100%); }
.acct-box h2 { font-size: 26px; margin: 4px 36px 10px 0; }
.acct-box .reader-x { position: absolute; top: 16px; right: 16px; }
.acct-box .acct-form { margin-top: 12px; }
@media (max-width: 640px) { .acct-modal .acct-box { height: auto; max-height: 100dvh; } }
.ctimes { gap: 10px 14px; }
.ctimes .field { width: 150px; }
.ctimes .input { width: 100%; }

/* ---------- a church's volunteer page ---------- */
.vol-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 20px; padding-top: 22px; }
.vol-id h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; margin-top: 4px; }
.vol-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.vol-tools .input { min-width: 170px; }
.church-loading #app { visibility: hidden; }
.church-loading body::after { content: 'Opening your church’s lessons…'; position: fixed; inset: 50% 0 auto; text-align: center; font: 700 18px/1.4 var(--body); color: var(--muted); }

/* VBS: Apply it */
.v-apply { padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--v-soft) 55%, var(--surface)); border-left: 6px solid var(--v-main); display: grid; gap: 8px; }
.v-apply h4 { font: 800 16px/1.2 var(--disp); color: var(--v-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v-apply h4 { color: var(--v-light); } }
:root[data-theme="dark"] .v-apply h4 { color: var(--v-light); }
.v-apply p { font-size: 16px; line-height: 1.55; }
.v-apply-q { font: 800 12px/1.2 var(--body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--v-main); margin-top: 4px; }
.v-apply-sm { font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.v-apply-sm b { color: var(--v-main); }

/* VBS: the T-shirt */
.v-tee { background: var(--surface-2); border-radius: 14px; padding: 10px 14px 4px; }
.v-tee > svg { width: 100%; height: auto; display: block; }
.v-shirt-spec li { font-size: 13.5px; }
.v-shirt-spec li b { margin-right: 12px; }

/* ---------- classes (Church setup) ---------- */
.progs { display: grid; gap: 12px; }
.prog-day { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.prog-dayname { font: 800 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prog-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 8px; align-items: center; }
.prog-row .iconbtn { width: 40px; height: 40px; border-radius: 11px; }
.prog-day .linkbtn { font-size: 14px; }
@media (max-width: 520px) { .prog-row { grid-template-columns: minmax(0, 1fr) 118px auto; } }

/* ---------- Upcoming lesson plans ---------- */
.up-wrap { padding-bottom: 64px; }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.up-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); gap: 0; align-items: stretch; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.up-row.is-today { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.up-link { display: grid; grid-template-columns: 76px minmax(120px, 200px) minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 12px 16px; color: var(--ink); text-decoration: none; min-width: 0; }
.up-link:hover { background: var(--surface-2); }
.up-date { display: grid; font: 700 14px/1.2 var(--body); color: var(--muted); }
.up-date b { font: 800 17px/1.1 var(--disp); color: var(--ink); }
.up-class, .up-lesson { display: grid; gap: 2px; min-width: 0; }
.up-class b { font: 700 15px/1.25 var(--body); }
.up-class small, .up-lesson small { font-size: 13px; color: var(--muted); }
.up-lesson b { font: 800 16.5px/1.25 var(--disp); }
.up-go { font: 800 22px/1 var(--body); color: var(--muted); }
.up-who { display: flex; align-items: center; padding: 10px 14px; border-left: 1px solid var(--line); background: var(--surface-2); font-size: 15px; font-weight: 600; }
.up-who .input { width: 100%; height: 42px; background: var(--surface); }
.up-row.is-closed { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px 16px; align-items: center; background: transparent; border-style: dashed; }
.up-closed { font-weight: 700; color: var(--muted); }
.up-next { display: grid; gap: 6px; justify-items: start; padding: 20px 22px; margin-bottom: 18px; text-decoration: none; color: var(--ink); border-left: 6px solid var(--brand); }
.up-next:hover { border-color: var(--brand); }
.up-next-t { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--disp); }
.up-next-go { margin-top: 6px; }
.vol-class { margin-top: 6px; font-size: 16px; }
.vol-progs { margin-top: 10px; }
@media (max-width: 860px) {
  .up-row { grid-template-columns: 1fr; }
  .up-link { grid-template-columns: 64px minmax(0, 1fr) 16px; grid-template-areas: "d c g" "d l g"; row-gap: 4px; }
  .up-link .up-date { grid-area: d; } .up-link .up-class { grid-area: c; } .up-link .up-lesson { grid-area: l; } .up-link .up-go { grid-area: g; }
  .up-row.is-closed { grid-template-columns: 64px minmax(0, 1fr); }
  .up-who { border-left: 0; border-top: 1px solid var(--line); }
}

/* the printed list */
.uprint { width: 7.8in; background: #fff; color: #161616; font: 400 10.5pt/1.4 var(--body); display: grid; gap: .16in; }
.uprint header { display: flex; align-items: center; gap: .2in; padding-bottom: .1in; border-bottom: 3px solid #111; }
.uprint header h1 { font: 800 22pt/1.1 var(--disp); }
.uprint table { width: 100%; border-collapse: collapse; }
.uprint th { text-align: left; font: 800 9pt/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid #111; padding: 6px 6px; }
.uprint td { padding: 7px 6px; border-bottom: 1px solid #ccc; vertical-align: top; }
.uprint tr.is-closed td { color: #666; font-style: italic; }
.uprint td:last-child { width: 1.9in; border-bottom: 1px solid #999; }

/* ---------- Donate in the top bar, the footer ---------- */
.chrome-give { flex: none; color: #241800; background: var(--gold); font: 800 14px/1 var(--body); text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.chrome-give:hover { filter: brightness(1.06); }
.chrome-give[hidden] { display: none; }
.tab-top[hidden] { display: none; }
@media (max-width: 720px) { .chrome-give { margin-left: auto; padding: 9px 12px; } }
.site-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 24px; }
.site-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 22px; font-size: 14.5px; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.site-foot a, .site-foot .linkbtn { color: var(--ink); font: 700 14.5px/1.2 var(--body); text-decoration: none; }
.site-foot a:hover, .site-foot .linkbtn:hover { color: var(--brand-strong); }
.site-foot .give-link { color: var(--gold-ink); }

/* ---------- About ---------- */
.ab-hero { background: radial-gradient(120% 140% at 85% 0%, color-mix(in srgb, var(--brand) 45%, var(--chrome)) 0%, var(--chrome) 60%); color: var(--chrome-ink); }
.ab-hero-in { padding-block: clamp(40px, 6vw, 84px); display: grid; gap: 18px; justify-items: start; }
.ab-hero .eyebrow { color: var(--chrome-muted); }
.ab-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; max-width: 16ch; }
.ab-lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; color: color-mix(in srgb, var(--chrome-ink) 85%, transparent); }
.ab-ghost { background: transparent; color: var(--chrome-ink); border-color: color-mix(in srgb, var(--chrome-ink) 30%, transparent); }
.ab-sec { padding-top: 40px; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 14px; }
.ab-tile { padding: 20px; display: grid; gap: 4px; align-content: start; }
.ab-tile b { font: 800 34px/1 var(--disp); color: var(--brand-strong); }
.ab-tile-k { font: 800 16px/1.2 var(--disp); }
.ab-tile p { font-size: 15px; margin-top: 4px; }
.ab-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
@media (max-width: 900px) { .ab-cols { grid-template-columns: 1fr; } }
.ab-cols p { margin-top: 12px; font-size: 17px; line-height: 1.65; }
.ab-quote { margin: 18px 0 12px; padding: 16px 20px; border-left: 5px solid var(--gold); background: var(--gold-soft); border-radius: 0 14px 14px 0; font: italic 500 21px/1.45 var(--verse); }
.ab-quote cite { display: block; margin-top: 8px; font: 800 12.5px/1 var(--body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.ab-beliefs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.ab-beliefs li { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ab-beliefs b { font: 800 16.5px/1.3 var(--disp); }
.ab-beliefs span { font: italic 400 17px/1.5 var(--verse); color: var(--muted); }
.ab-beliefs cite { font: 800 11.5px/1 var(--body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); white-space: nowrap; }
.ab-give { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: clamp(22px, 3vw, 34px); border-top: 6px solid var(--gold); }
@media (max-width: 760px) { .ab-give { grid-template-columns: 1fr; } }
.ab-give h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 6px 0 10px; }
.ab-verse { margin-top: 12px; font: italic 400 17px/1.5 var(--verse); }
.ab-verse cite { font: 800 11.5px/1 var(--body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-left: 6px; }
.ab-give-acts { display: grid; gap: 10px; }
.ab-big { min-height: 56px; padding: 0 30px; font-size: 18px; background: var(--gold); color: #241800; }
.ab-contact { padding-bottom: 48px; }
.ab-contact p { margin-top: 8px; }
.ab-contact a { color: var(--brand-strong); font-weight: 700; }

/* ---------- Contact us (contact.js) ---------- */
.cu-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 72px; }
.cu-form { display: grid; gap: 16px; padding: 24px; }
.cu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cu-form textarea.input { resize: vertical; min-height: 150px; font: inherit; line-height: 1.5; }
.cu-form select.input { appearance: auto; }
.cu-form .hint { color: var(--muted); font-size: 14px; }
.cu-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cu-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cu-send .btn { min-width: 170px; justify-content: center; }
.cu-mailto { color: inherit; text-decoration: underline; white-space: nowrap; }
.cu-done { padding: 32px 24px; display: grid; gap: 10px; justify-items: start; }
.cu-done h2 { font: 800 26px/1.2 var(--disp); }
.cu-check { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 800 24px/1 var(--body); }
.cu-side { display: grid; gap: 16px; }
.cu-info, .cu-faq { padding: 20px 22px; }
.cu-info h2, .cu-faq h2 { font: 800 13px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.cu-info h2:first-child, .cu-faq h2:first-child { margin-top: 0; }
.cu-info p { margin-top: 4px; }
.cu-info a { color: var(--brand-strong); font-weight: 700; word-break: break-word; }
.cu-faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.cu-faq details:first-of-type { margin-top: 10px; }
.cu-faq summary { font-weight: 700; cursor: pointer; list-style-position: outside; }
.cu-faq details p { margin-top: 8px; color: var(--muted); }
.cu-links { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 860px) { .cu-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cu-two { grid-template-columns: 1fr; } .cu-form { padding: 18px; } }

/* ---------- VBS shirts and logos (#vbs/shirts) ---------- */
.v-shirt-go { justify-content: center; }
.vs-pick { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.vs-pick-one { flex: none; width: 112px; display: grid; justify-items: center; gap: 6px; padding: 10px 8px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font: 700 12.5px/1.2 var(--body); text-align: center; }
.vs-pick-one:hover { border-color: var(--brand); }
.vs-pick-one.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.vs-pick-emblem { width: 76px; aspect-ratio: 1; }
.vs { padding-bottom: 72px; display: grid; gap: 24px; }
.vs-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vs-show, .vs-order { padding: 22px; display: grid; gap: 12px; }
.vs-show h3, .vs-order h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.vs-order h2 { font: 800 22px/1.2 var(--disp); }
.vs-tees { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; align-items: end; }
.vs-tee { margin: 0; background: var(--surface-2); border-radius: 14px; padding: 12px 12px 8px; }
.vs-tee > svg { width: 100%; height: auto; display: block; }
.vs-tee figcaption { display: flex; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); padding-top: 4px; }
.vs-tee figcaption b { color: var(--ink); }
.vs-count { min-width: 32px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font: 800 13px/1.2 var(--body); text-align: center; }
.vs-sizes { display: grid; grid-template-columns: 54px repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; }
.vs-sz-k { font: 800 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.vs-size { display: grid; gap: 4px; font: 700 12px/1.1 var(--body); color: var(--muted); text-align: center; }
.vs-size input { width: 100%; text-align: center; font: 700 16px/1 var(--body); padding: 9px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.vs-size input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.vs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs-fields .field:last-child { grid-column: 1 / -1; max-width: 240px; }
.vs-note { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; min-height: 220px; white-space: pre-wrap; }
.vs-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vs-way { padding: 20px; display: grid; gap: 8px; align-content: start; }
.vs-way h3 { font-size: 17px; }
.vs-way ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.vs-way-n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--v-main, var(--brand)); color: #fff; font: 800 15px/1 var(--disp); }
.vs-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 2px; }
.vs-links a { color: var(--brand-strong); font-weight: 700; text-decoration: none; }
.vs-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vs-logo-in { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.vs-logo-emblem { width: 150px; aspect-ratio: 1; }
.vs-logo-in > div { display: grid; gap: 10px; }
.vs-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; margin: 8px 0 64px; text-decoration: none; color: inherit; border: 2px solid var(--line); }
.vs-band:hover { border-color: var(--brand); }
.vs-band h2 { font: 800 22px/1.2 var(--disp); margin: 4px 0; }
.vs-band .btn { flex: none; }
@media (max-width: 1080px) { .vs-top, .vs-cols { grid-template-columns: 1fr; } .vs-ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vs-ways, .vs-fields { grid-template-columns: 1fr; } .vs-sizes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .vs-sz-k { grid-column: 1 / -1; padding: 4px 0 0; } .vs-logo-in { grid-template-columns: 96px minmax(0, 1fr); } .vs-logo-emblem { width: 96px; } .vs-band { flex-direction: column; align-items: start; } }
/* the size sign-up sheet */
.vp-sizes td { padding: 6px 8px; height: .34in; }
.vp-sizes .vp-n { width: .3in; color: #888; }
.vp-sizes td:nth-child(2) { width: 2.4in; }
.vp-sizes td:last-child { width: .55in; }
.vp-sz { white-space: nowrap; }
.vp-sz span { display: inline-block; min-width: .3in; margin-right: .03in; text-align: center; font: 700 8pt/1 var(--body); color: #555; }

/* ---------- It’s free, and Share (share.js): the header pill and button, the footer, the lesson's band ---------- */
/* Beside the logo: the brand's own line ("Bible Lessons"), and under it the free pill */
.brand-side { display: grid; gap: 6px; justify-items: start; border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 12px; }
.brand-side .brand-sub { border-left: 0; padding-left: 0; }
.brand-side:not(:has(> :not([hidden]))) { display: none; }
.free-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 6px; border-radius: 999px; border: 1px solid rgba(92, 255, 79, .45); background: rgba(92, 255, 79, .09); color: #DCFFD6; font: 800 11.5px/1 var(--body); white-space: nowrap; }
.free-pill svg { width: 13px; height: 13px; color: #5CFF4F; flex: none; }
.brand:hover .free-pill { background: rgba(92, 255, 79, .16); border-color: rgba(92, 255, 79, .75); }
.free-pill .fp-s { display: none; }
.chrome-share { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; border: 2px solid transparent; background: linear-gradient(var(--chrome), var(--chrome)) padding-box, linear-gradient(100deg, #FF3DA8, #FFE600 52%, #5CFF4F) border-box; color: #fff; font: 800 14px/1 var(--body); transition: box-shadow .2s; }
.chrome-share svg { width: 17px; height: 17px; flex: none; }
.chrome-share:hover { box-shadow: 0 0 0 4px rgba(255, 61, 168, .14), 0 0 22px -4px rgba(92, 255, 79, .6); }
.chrome-share[hidden], .free-pill[hidden], .site-foot [hidden] { display: none; }
@media (max-width: 1440px) { .tab-top { padding-inline: 10px; } .chrome-in { gap: 12px; } .chrome-share { padding: 0 14px 0 11px; } }
@media (max-width: 720px) {
  .brand-side { border-left: 0; padding-left: 2px; }
  .chrome-share { margin-left: auto; height: 38px; padding: 0 13px 0 11px; }
  .chrome-share:not([hidden]) ~ .chrome-give { margin-left: 0; }
}
@media (max-width: 1100px) { .free-pill .fp-l { display: none; } .free-pill .fp-s { display: inline; } }
@media (max-width: 520px) {
  .chrome-in { gap: 8px; } .brand { gap: 8px; } .brand-logo { height: 44px; }
  .free-pill { padding: 5px 8px 5px 6px; }
  .chrome-share { gap: 6px; padding: 0 12px 0 10px; }
  .chrome-give { padding: 9px 11px; }
}
@media (max-width: 384px) { .chrome-share { width: 38px; padding: 0; justify-content: center; } .chrome-share .cs-l { display: none; } }
@media (prefers-reduced-motion: reduce) { .chrome-share { transition: none; } }

.free-band { margin-top: -40px; margin-bottom: 22px; }
.free-band-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 22px; align-items: center; padding: 18px 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(115deg, color-mix(in srgb, var(--brand) 15%, var(--surface)), var(--surface) 72%); }
.fb-mark { width: 40px; height: 42px; color: var(--brand); display: block; }
.fb-mark svg { width: 100%; height: 100%; display: block; }
.free-band h2 { font-size: 19px; line-height: 1.25; }
.free-band p { color: var(--muted); font-size: 15.5px; margin-top: 3px; max-width: 70ch; }
.free-band .row { justify-content: flex-end; }
@media (max-width: 760px) { .free-band { margin-top: -48px; } .free-band-in { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 18px 16px; } .fb-mark { width: 32px; height: 34px; margin-top: 2px; } .free-band .row { grid-column: 1 / -1; justify-content: flex-start; } }

/* ---------- the bonus pack (bonus.js, #bonus) ---------- */
.bx-head { align-items: center; }
.bx-head h1 { max-width: 20ch; }
.bx-state { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; font: 800 14px/1 var(--body); background: var(--surface-2); color: var(--muted); }
.bx-state.is-open { background: var(--brand-soft); color: var(--brand-strong); }
.bx-lock { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px 40px; align-items: center; padding: clamp(22px, 3.4vw, 42px); border: 1.5px dashed color-mix(in srgb, var(--muted) 42%, transparent); background: radial-gradient(90% 120% at 100% 0%, var(--brand-soft), transparent 60%), var(--surface); }
.bx-lock-txt { display: grid; gap: 12px; justify-items: start; }
.bx-lock-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.bx-lock-ic svg { width: 22px; height: 22px; }
.bx-lock h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
.bx-lock p { font-size: 17px; max-width: 52ch; }
.bx-lock p.bx-fine { font-size: 14px; color: var(--muted); }
.bx-big { min-height: 54px; padding: 0 24px; font-size: 16.5px; }
.bx-fan { position: relative; width: 100%; aspect-ratio: 560 / 410; --k: .8; }
.bx-fc { position: absolute; left: 0; top: 0; width: 3.9in; height: 2.5in; border-radius: 12px; overflow: hidden; background: #fff; transform-origin: 0 0; transform: scale(var(--k)) translate(var(--x), var(--y)) rotate(var(--r)); box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 26px 44px -26px rgba(5, 15, 25, .55); }
.bx-fc .vc { height: 100%; border: 0; }
.bx-fc0 { --x: 14px; --y: 36px; --r: -5deg; }
.bx-fc1 { --x: 176px; --y: 150px; --r: 3deg; }
.bx-sec { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px 48px; align-items: start; margin-top: 30px; padding-block: 34px 10px; border-top: 1px solid var(--line); }
.bx-sec:last-child { padding-bottom: 64px; }
.bx-side { display: grid; gap: 14px; align-content: start; position: sticky; top: 92px; }
.bx-side .sec-h { margin-top: 0; }
.bx-lbl { font: 700 14px/1.2 var(--body); }
.bx-side .seg { justify-self: start; }
.bx-how { font-size: 14.5px; color: var(--muted); }
.bx-print { justify-self: start; min-height: 52px; padding: 0 22px; font-size: 16px; }
.bx-print[disabled] { opacity: .7; cursor: progress; }
.bx-prev { display: grid; gap: 22px; grid-template-columns: minmax(0, 540px); justify-content: center; }
.bx-prev.bx-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bx-prev figure { margin: 0; display: grid; gap: 10px; }
.bx-prev figcaption { font: 700 13px/1.2 var(--body); color: var(--muted); text-align: center; }
.bx-paper { position: relative; aspect-ratio: 8.5 / 11; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 24px 50px -30px rgba(10, 20, 30, .45); --k: .5; }
.bx-scale { position: absolute; left: 0; top: 0; width: 8.5in; height: 11in; padding: .35in; transform: scale(var(--k)); transform-origin: 0 0; }
@media (max-width: 980px) { .bx-sec { grid-template-columns: 1fr; } .bx-side { position: static; } .bx-lock { grid-template-columns: 1fr; } .bx-fan { max-width: 520px; } }
@media (max-width: 560px) { .bx-prev.bx-two { gap: 10px; } .bx-print, .bx-big { width: 100%; } }

/* ---------- printed: Memory Verse Cards (eight to a letter page) ---------- */
#print-root .vc-sheet, #print-root .th-page { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
#print-root .vc-sheet + .vc-sheet, #print-root .th-page + .th-page { break-before: page; }
.vc-sheet { width: 7.8in; height: 10.3in; overflow: hidden; display: flex; flex-direction: column; background: #fff; color: #151515; }
.vc-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr); border-top: 1px dashed #A7B0B9; border-left: 1px dashed #A7B0B9; }
.vc { --cd: color-mix(in srgb, var(--c) 70%, #000); position: relative; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: .2in .24in .17in .3in; background: #fff; color: #151515; border-right: 1px dashed #A7B0B9; border-bottom: 1px dashed #A7B0B9; font-family: var(--body); }
.vc-f::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .11in; background: var(--c); }
.vc-top { display: flex; justify-content: space-between; align-items: center; gap: .1in; font: 800 7pt/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #555; }
.vc-top b { flex: none; min-width: .3in; height: .3in; padding: 0 .05in; border-radius: 999px; border: 1.5px solid var(--c); display: grid; place-items: center; font: 800 8.5pt/1 'Poppins', var(--disp); letter-spacing: 0; color: #222; }
.vc-t { margin: .09in 0 0; font: 400 20pt/1.02 'Lilita One', var(--disp); letter-spacing: 0; color: #111; text-wrap: balance; }
.vc-low { margin: auto -.24in -.17in -.3in; padding: .13in .24in .15in .3in; background: color-mix(in srgb, var(--c) 11%, #fff); border-top: 1.5px solid color-mix(in srgb, var(--c) 45%, #fff); }
.vc-ref { font: 800 24pt/1 'Poppins', var(--disp); letter-spacing: -.015em; color: var(--cd); }
.vc-say { display: flex; align-items: center; gap: .035in; margin-top: .09in; font: 700 7pt/1 var(--body); color: #444; }
.vc-say span { margin-right: auto; }
.vc-say svg { width: .19in; height: .19in; fill: none; stroke: var(--c); stroke-width: 2; }
.vc-b { padding-left: .26in; }
.vc-bt { display: flex; align-items: center; gap: .07in; font: 800 7pt/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #555; }
.vc-bt::before { content: ''; flex: none; width: .22in; height: .05in; border-radius: 1px; background: var(--c); }
.vc-q { margin: auto 0; padding: .06in 0; font: italic 500 12.5pt/1.3 var(--verse); color: #111; text-wrap: pretty; }
.vc-q::before { content: '\201C'; } .vc-q::after { content: '\201D'; }
.vc-l1 { font-size: 16pt; } .vc-l2 { font-size: 14pt; } .vc-l3 { font-size: 12.5pt; } .vc-l4 { font-size: 11pt; line-height: 1.27; }
.vc-br { display: flex; justify-content: space-between; align-items: center; gap: .1in; font: 700 7.5pt/1 var(--body); color: #444; }
.vc-br b { font: 800 9.5pt/1 'Poppins', var(--disp); color: var(--cd); margin-right: .03in; }
.vc-brand { display: inline-flex; align-items: center; gap: .045in; font-size: 6.5pt; letter-spacing: .08em; text-transform: uppercase; color: #888; }
.vc-brand svg { width: .13in; height: .13in; color: var(--c); }
.vc-foot { flex: none; display: flex; justify-content: space-between; gap: .3in; padding-top: .08in; font: 600 6.5pt/1.3 var(--body); color: #666; }
.vc-foot span:last-child { text-align: right; max-width: 4.2in; }

/* ---------- printed: Family Take-Home Pages ---------- */
.th-page { --cd: color-mix(in srgb, var(--c) 68%, #000); --cs: color-mix(in srgb, var(--c) 11%, #fff); width: 7.8in; height: 10.3in; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: .11in; padding: .04in .06in; background: #fff; color: #171717; font: 400 11pt/1.46 var(--body); }
.th-head { display: flex; align-items: center; justify-content: space-between; gap: .2in; }
.th-logo { height: .5in; display: block; }
.th-logo svg, .th-logo img { height: .5in !important; width: auto !important; max-width: 2.2in; display: block; }
.th-head p { font: 800 8.5pt/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #555; }
.th-band { display: grid; gap: .05in; padding: .19in .26in .2in; border-radius: .2in; border-left: .09in solid var(--c); background: var(--cs); }
.th-where { font: 800 8.5pt/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--cd); }
.th-band h1 { margin: .02in 0; font: 400 30pt/1 'Lilita One', var(--disp); letter-spacing: 0; color: #111; text-wrap: balance; }
.th-refs { font: 700 10.5pt/1.3 var(--body); color: #333; }
.th-intro { margin-top: .03in; font: 600 10.5pt/1.4 var(--body); color: #444; }
.th-page h2 { display: flex; align-items: center; gap: .08in; margin: 0 0 .06in; font: 800 9.5pt/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--cd); }
.th-page h2 svg { width: .22in; height: .22in; flex: none; }
.th-story p { font-size: 11.5pt; line-height: 1.48; text-wrap: pretty; }
.th-idea { display: flex; align-items: baseline; gap: .14in; padding: .09in 0; border-top: 1.5px solid #222; border-bottom: 1.5px solid #222; }
.th-idea b { flex: none; font: 800 8.5pt/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--cd); }
.th-idea span { font: 800 12.5pt/1.3 'Poppins', var(--disp); }
.th-verse { position: relative; display: grid; gap: .07in; margin: .05in 0 0; padding: .2in .34in .16in; border: 2px solid #1A1A1A; border-radius: .22in; text-align: center; }
.th-verse figcaption { position: absolute; top: -.08in; left: 50%; transform: translateX(-50%); padding: 0 .12in; background: #fff; font: 800 8.5pt/1.1 var(--body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--cd); }
.th-verse blockquote { margin: 0; font: italic 500 14.5pt/1.36 var(--verse); text-wrap: balance; }
.th-verse blockquote::before { content: '\201C'; } .th-verse blockquote::after { content: '\201D'; }
.th-verse cite { font: 800 8.5pt/1.2 var(--body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #333; }
.th-talk ol { margin: 0; padding-left: .26in; display: grid; gap: .08in; }
.th-talk li::marker { font-weight: 800; color: var(--cd); }
.th-talk b { display: block; font-size: 11.5pt; font-weight: 800; line-height: 1.35; }
.th-talk span { display: block; margin-top: .01in; font-size: 9.5pt; line-height: 1.38; color: #555; }
.th-two { display: grid; grid-template-columns: 1fr 1fr; gap: .2in; }
.th-box { padding: .15in .2in; border: 1.5px solid #222; border-radius: .16in; }
.th-box p { font-size: 10.5pt; line-height: 1.42; }
.th-days { display: flex; justify-content: space-between; margin-top: .1in; }
.th-days span { display: grid; justify-items: center; gap: .035in; font: 800 7.5pt/1 var(--body); color: #444; }
.th-days i { width: .26in; height: .26in; border: 1.5px solid #333; border-radius: .06in; }
.th-foot { display: flex; justify-content: space-between; gap: .3in; padding-top: .07in; border-top: 1px solid #CCC; font: 600 7pt/1.3 var(--body); color: #666; }
.th-foot span:last-child { text-align: right; max-width: 4in; }

/* ---------- About: it's free, and share it ---------- */
.ab-free { list-style: none; margin: 2px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ab-free li { display: inline-flex; align-items: center; gap: 8px; font: 800 15.5px/1.25 var(--body); color: var(--chrome-ink); }
.ab-free svg { width: 18px; height: 18px; flex: none; color: #5CFF4F; }
.ab-share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: clamp(22px, 3vw, 34px); border-top: 6px solid var(--brand); }
.ab-share h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 6px 0 10px; }
.ab-share-acts { display: grid; gap: 10px; }
.ab-share .ab-big { background: var(--brand); color: var(--on-brand); }
@media (max-width: 760px) { .ab-share { grid-template-columns: 1fr; } }

/* ==========================================================================================================
   VBS: the planned week's print bar and tabs, Team and stations, Coloring and worksheets, Decorations,
   and their printed pages (vbs-team.js, vbs-sheets.js, vbs-decor.js; added with them)
   ========================================================================================================== */
/* theme-colored words: a little lighter on a dark screen */
.vb-print, .vb-tabs, .vb-panel { --v-text: var(--v-main); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vb-print, :root:not([data-theme="light"]) .vb-tabs, :root:not([data-theme="light"]) .vb-panel { --v-text: color-mix(in srgb, var(--v-main) 55%, #fff); } }
:root[data-theme="dark"] .vb-print, :root[data-theme="dark"] .vb-tabs, :root[data-theme="dark"] .vb-panel { --v-text: color-mix(in srgb, var(--v-main) 55%, #fff); }
/* the print bar, grouped, with the day picker */
.v-printbar.vb-print { display: grid; justify-content: stretch; gap: 14px; }
.vb-print-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 18px; }
.vb-print-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.vb-day { min-width: 190px; }
.vb-day label { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.vb-day .input { height: 40px; }
.vb-groups { display: grid; gap: 8px; }
.vb-group { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; align-items: start; }
.vb-glabel { font: 800 11.5px/38px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--v-text); }
.vb-group .v-acts { margin: 0; gap: 8px; }
.vb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v-accent); display: inline-block; flex: none; }
@media (max-width: 640px) {
  .vb-group { grid-template-columns: 1fr; gap: 4px; } .vb-glabel { line-height: 1.2; } .vb-print-tools, .vb-day { width: 100%; }
  /* one row per group that slides sideways, so the tabs stay close */
  .vb-group .v-acts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px 4px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .vb-group .v-acts::-webkit-scrollbar { display: none; }
  .vb-group .btn { flex: none; }
}
.vb-tabs { margin: 0 0 22px; }
.vb-tabs .subtab { text-decoration: none; }
.vb-tabs .subtab[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.vb-panel { min-width: 0; }
.vb-ts { display: none; }
@media (max-width: 520px) { .vb-tabs { justify-content: space-between; } .vb-tabs .subtab { padding: 10px 12px; } .vb-tl { display: none; } .vb-ts { display: inline; } }

/* Team and stations */
.vt { display: grid; gap: 18px; }
.vt-card { padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 14px; min-width: 0; align-content: start; }
.vt-h { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.vt-count { font: 800 13px/1 var(--body); padding: 5px 9px; border-radius: 999px; background: var(--v-soft); color: var(--v-ink); }
.vt-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vt-card-head .v-acts, .vt-printcard .v-acts { margin: 0; }
.vt select.input, .vb-print select.input { padding-right: 8px; min-width: 0; width: 100%; }
.vt .field small { font-size: 12.5px; line-height: 1.35; }
.vt-ro { font-weight: 700; padding: 8px 0; }
.vt-nums-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; }
@media (max-width: 820px) { .vt-nums-in { grid-template-columns: 1fr; } }
.vt-inputs { display: grid; gap: 12px; align-content: start; }
.vt-kids { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.vt-kids label small { font-weight: 600; color: var(--muted); }
.vt-rec { padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--v-main) 9%, var(--surface)); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.vt-rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vt-rec-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.vt-rec-list b { font: var(--v-weight, 400) 30px/1 var(--v-font), var(--disp); color: var(--v-ink); text-align: right; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vt-rec-list b { color: var(--v-light); } }
:root[data-theme="dark"] .vt-rec-list b { color: var(--v-light); }
.vt-rec-list span { font-size: 15px; line-height: 1.4; }
.vt-why { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.vt-meter { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.vt-meter span { display: block; height: 100%; border-radius: inherit; background: var(--v-main); }
.vt-have { font-size: 14.5px; }
.vt-have b { font-size: 17px; }
.vt-need-h { font: 800 12px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vt-needs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vt-needs li { font: 700 13.5px/1.1 var(--body); padding: 8px 11px; border-radius: 999px; background: color-mix(in srgb, var(--v-accent) 13%, var(--surface)); border: 1px solid color-mix(in srgb, var(--v-accent) 45%, transparent); }
.vt-ok { font-weight: 800; color: #24834A; }
.vt-add { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
@media (max-width: 760px) { .vt-add { grid-template-columns: 1fr 1fr; } .vt-add .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .vt-add { grid-template-columns: 1fr; } }
.vt-privacy { margin-top: -4px; }
.vt-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vt-person { display: grid; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.vt-p-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 46px; gap: 8px; align-items: center; }
.vt-p-main b { font-size: 16px; }
@media (max-width: 760px) { .vt-p-main { grid-template-columns: minmax(0, 1fr) 46px; } .vt-p-main > :nth-child(2), .vt-p-main > :nth-child(3) { grid-column: 1 / -1; } .vt-p-main .vt-del { grid-column: 2; grid-row: 1; } }
.vt-del { font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.vt-p-days { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-day { border: 1.5px dashed var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 11px; font: 700 13px/1 var(--body); cursor: pointer; text-decoration: line-through; }
.vt-day.on { border-style: solid; border-color: var(--v-main); background: color-mix(in srgb, var(--v-main) 13%, var(--surface)); color: var(--ink); text-decoration: none; }
span.vt-day { cursor: default; }
.vt-p-as { font-size: 13.5px; font-weight: 700; color: var(--v-text); }
.vt-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1000px) { .vt-two { grid-template-columns: 1fr; } }
.vt-st-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.vt-st-opt { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 14px; border: 2px dashed var(--line); background: transparent; color: var(--muted); font: 700 14px/1.2 var(--body); text-align: left; cursor: pointer; }
.vt-st-opt small { display: block; margin-top: 3px; font: 700 11px/1.2 var(--body); color: var(--muted); }
.vt-st-opt.on { border-style: solid; border-color: var(--st); color: var(--ink); background: color-mix(in srgb, var(--st) 9%, var(--surface)); }
.vt-st-opt:disabled { cursor: default; opacity: 1; }
.vt-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; color: var(--st, var(--v-main)); }
.vt-ic svg { width: 100%; height: 100%; display: block; }
.vt-gather .input { width: 100%; }
.vt-st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vt-st { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); border-left: 5px solid var(--st); }
.vt-st-name { font: 800 16px/1.2 var(--disp); }
.vt-st-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; margin-top: 8px; }
.vt-st-fields label, .vt-crew-leads label, .vt-lbl { font-size: 12.5px; }
.vt-lbl { font-weight: 700; }
.vt .vt-empty { border-color: color-mix(in srgb, var(--v-accent) 60%, var(--line)); }
.vt-warn { color: #B4471A; font-weight: 700; }
.vt-crew-n { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.vt-crews { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vt-crew { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); border-left: 6px solid var(--crew); display: grid; gap: 8px; }
.vt-crew-top { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.vt-swatch, .vt-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--crew); display: inline-block; flex: none; vertical-align: middle; }
.vt .vt-crew-name { height: 40px; font-weight: 700; width: 100%; }
.vt-crew-meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.vt-crew-leads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 8px; }
@media (max-width: 480px) { .vt-crew-top { grid-template-columns: 16px minmax(0, 1fr); } .vt-crew-meta { grid-column: 2; } }
.vt-day-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; }
.vt-day-flow b { color: var(--v-text); margin-right: 6px; }
.vt-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); max-width: 100%; }
.vt-rot, .vt-daily { width: 100%; border-collapse: collapse; font-size: 14px; }
.vt-rot { min-width: 620px; }
.vt-daily { min-width: 560px; }
.vt-rot th, .vt-rot td, .vt-daily th, .vt-daily td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.vt-rot thead th, .vt-daily thead th { font: 800 12.5px/1.2 var(--body); color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.vt-rot thead small, .vt-daily thead small { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; opacity: .85; }
.vt-rot tbody th, .vt-daily tbody th { font-weight: 800; }
.vt-rot tbody th { white-space: nowrap; }
.vt-rot tbody th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.vt-rot tbody th .vt-dot { width: 12px; height: 12px; margin-right: 7px; vertical-align: -1px; }
.vt-chip { display: inline-block; padding: 6px 9px; border-radius: 8px; font: 800 12.5px/1 var(--body); font-style: normal; white-space: nowrap; background: color-mix(in srgb, var(--st) 15%, var(--surface)); color: color-mix(in srgb, var(--st) 72%, var(--ink)); border: 1px solid color-mix(in srgb, var(--st) 35%, transparent); }
.vt-daily select.vt-fill { height: 38px; font-size: 13.5px; min-width: 150px; }
.vt-hole { color: #B4471A; font-weight: 700; font-size: 13px; }
.vt-roleline th { color: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vt-warn, :root:not([data-theme="light"]) .vt-hole { color: #FF9A6B; } :root:not([data-theme="light"]) .vt-ok { color: #6BD69A; } }
:root[data-theme="dark"] .vt-warn, :root[data-theme="dark"] .vt-hole { color: #FF9A6B; }
:root[data-theme="dark"] .vt-ok { color: #6BD69A; }

/* Coloring and worksheets; the decorations: real pages shown small */
.vw, .vd { display: grid; gap: 18px; }
.vw-top, .vd-top { padding: clamp(16px, 2.4vw, 26px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.vw-top > div:first-child, .vd-top > div:first-child { max-width: 680px; display: grid; gap: 6px; }
.vw-top .v-acts, .vd-top .v-acts { margin: 0; }
.vw-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 14px; }
.vw-day { padding: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
@media (max-width: 640px) { .vw-day { grid-template-columns: 1fr; } }
.vw-day-pics { display: flex; gap: 10px; }
.vw-day-text { display: grid; gap: 6px; min-width: 0; }
.vw-day-text h3 { font-size: 19px; line-height: 1.25; }
.vw-thumb, .vd-thumb { --tw: 132px; --ts: .17628; position: relative; flex: none; width: var(--tw); height: calc(var(--tw) * 1.32051); overflow: hidden; border-radius: 6px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 22px -14px rgba(0,0,0,.45); }
.vd-thumb { --tw: 112px; --ts: .14957; }
.vw-thumb-in, .vd-thumb-in { position: absolute; left: 0; top: 0; width: 7.8in; height: 10.3in; transform: scale(var(--ts)); transform-origin: 0 0; pointer-events: none; }
.vd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .vd-cols { grid-template-columns: 1fr; } }
.vd-rooms { padding: clamp(16px, 2.4vw, 26px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px 24px; align-content: start; }
.vd-rooms > .vt-h { grid-column: 1 / -1; }
.vd-room h3 { margin-bottom: 6px; font: 800 16px/1.2 var(--disp); color: var(--v-text); }
.vd-room ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 15px; }
.vd-side { display: grid; gap: 14px; }
.vd-steps { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14.5px; }
.vd-note { margin: -8px 0 0; }
.vd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.vd-item { margin: 0; padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.vd-item figcaption { display: grid; gap: 4px; align-content: start; min-width: 0; }
.vd-item figcaption b { font: 800 16px/1.2 var(--disp); }
.vd-item figcaption span, .vd-item figcaption p { font-size: 13.5px; }
.vd-item .btn { justify-self: start; margin-top: 4px; }

/* ---------- printed: the team ---------- */
.vt-page { gap: .13in; font-size: 10.5pt; }
.vt-pdir { font-size: 11pt; }
.vt-proster td { padding: 5px 8px; font-size: 10pt; }
.vt-proster td:first-child { width: 1.6in; }
.vt-pdays { white-space: nowrap; }
.vt-pdays span { display: inline-block; width: .26in; margin-right: 2px; border: 1px solid #DDD; border-radius: 4px; text-align: center; font: 700 7.5pt/1.7 var(--body); color: #BBB; }
.vt-pdays span.on { background: var(--v-main); border-color: var(--v-main); color: #fff; }
.vt-pbox { padding: .1in .16in; border: 2px solid var(--v-accent); border-radius: .12in; background: color-mix(in srgb, var(--v-accent) 8%, #fff); }
.vt-pbox h3 { margin-bottom: .04in; font: 800 12pt/1.2 var(--disp); color: var(--v-ink); }
.vt-pflow { display: flex; flex-wrap: wrap; gap: .06in .3in; padding: .07in .12in; border-radius: .08in; background: color-mix(in srgb, var(--v-soft) 55%, #fff); font-size: 10pt; }
.vt-pflow b { color: var(--v-ink); }
.vt-prot th { font-size: 8.5pt; padding: 5px 6px; }
.vt-prot td { padding: 5px 6px; font-size: 9.5pt; vertical-align: middle; }
.vt-prot td:first-child { width: 1.95in; }
.vt-prot td small { display: block; margin-top: 1px; font-size: 7.5pt; color: #555; }
.vt-prot.vt-tight td { padding: 3px 6px; }
.vt-prot.vt-roomy td { padding: 10px 6px; }
.vt-page .vt-dot, .vt-cardsheet .vt-dot { width: .13in; height: .13in; margin-right: 5px; vertical-align: -1px; }
.vprint .vt-chip { padding: 3px 6px; font-size: 8.5pt; background: color-mix(in srgb, var(--st) 18%, #fff); color: color-mix(in srgb, var(--st) 75%, #000); border-color: color-mix(in srgb, var(--st) 40%, #fff); }
.vt-pcols { display: grid; grid-template-columns: 1fr 1fr; gap: .2in; margin-top: auto; font-size: 9.5pt; }
.vt-pcols h3 { margin-bottom: .05in; font: 800 11pt/1.2 var(--disp); color: var(--v-main); }
.vt-pst, .vt-palso { list-style: none; margin: 0; padding: 0; display: grid; gap: .05in; }
.vt-pst li { padding-left: .1in; border-left: 4px solid var(--st); }
.vt-cardsheet { padding: 0; }
.vt-cards4 { height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; border-top: 1px dashed #AAA; border-left: 1px dashed #AAA; }
.vt-cc { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .07in; padding: .16in; border-right: 1px dashed #AAA; border-bottom: 1px dashed #AAA; }
.vt-cc-band { display: flex; justify-content: space-between; align-items: baseline; gap: .1in; padding: .1in .14in; border-radius: .1in; background: var(--crew); color: var(--crew-ink); }
.vt-cc-band b { font: 800 16pt/1.1 var(--disp); }
.vt-cc-band span { font: 700 8.5pt/1.2 var(--body); white-space: nowrap; }
.vt-cc-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .05in; }
.vt-cc-emblem { position: absolute; right: 0; top: 0; width: .78in; height: .78in; }
.vt-cc-day { padding-right: .9in; font: 800 7.5pt/1.35 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--v-main); }
.vt-cc-lead { padding-right: .9in; font-size: 9.5pt; }
.vt-cc-path { list-style: none; margin: .06in 0 0; padding: 0; display: grid; }
.vt-cc-path li { display: grid; grid-template-columns: .68in minmax(0, 1fr); gap: .08in; align-items: center; padding: .045in 0; border-bottom: 1px solid #E3E3E3; font-size: 9.5pt; }
.vt-cc-path li b { font: 800 9.5pt/1 var(--body); }
.vt-cc-path .vt-chip { margin-right: .06in; }
.vt-cc-point { margin-top: auto; font: italic 600 9.5pt/1.3 var(--body); color: #333; }
.vt-tag { position: relative; overflow: hidden; border-left: .14in solid var(--crew) !important; }
.vt-tag-in { min-width: 0; }
.vt-tag-crew { display: inline-block; margin-top: .07in; padding: .04in .12in; border-radius: 999px; background: var(--crew); color: var(--crew-ink); font: 800 10pt/1.2 var(--disp); }
.vt-tag .vp-line span { display: block; font: 800 14pt/.42in var(--disp); }
.vt-pcheck { table-layout: fixed; font-size: 9pt; }
.vt-pcheck th { padding: 4px; font-size: 7.5pt; text-align: center; vertical-align: bottom; letter-spacing: .03em; }
.vt-pcheck th small { display: block; font-weight: 700; opacity: .9; }
.vt-pcheck thead tr:first-child th:nth-child(1) { width: .28in; }
.vt-pcheck thead tr:first-child th:nth-child(2) { width: 1.55in; text-align: left; }
.vt-pcheck thead tr:first-child th:nth-child(3) { width: .42in; }
.vt-pcheck thead tr:first-child th:nth-child(4) { width: 1.6in; text-align: left; }
.vt-pcheck thead tr:first-child th:nth-child(5) { width: 1.1in; text-align: left; }
.vt-pcheck .vt-cio { font-size: 7pt; padding: 2px; }
.vt-pcheck td { height: .33in; padding: 0 4px; border: 1px solid #CCC; }
.vt-pcheck .vt-cn { text-align: center; color: #888; }
.vt-pcheck .vt-cbox { background: #FAFAFA; }
.vt-stpage { gap: .09in; }
.vt-ppoint { padding: .07in .14in; border-radius: .1in; border-left: .08in solid var(--v-main); background: color-mix(in srgb, var(--v-soft) 60%, #fff); font: 800 13pt/1.25 var(--disp); color: var(--v-ink); }
.vt-ppoint span { display: block; margin-bottom: .02in; font: 800 7.5pt/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--v-main); }
.vt-psched th { padding: 4px 8px; font-size: 8pt; }
.vt-psched td { padding: 4px 8px; font-size: 9.5pt; }
.vt-pstation { font-size: 9.6pt; line-height: 1.38; }
.vt-pstation h3 { margin: .07in 0 .02in; font-size: 10.5pt; }
.vt-pstation > div > h3:first-child { margin-top: 0; }
.vt-pstation ol, .vt-pstation ul { margin: 0; padding-left: .2in; }
.vt-pref { font-weight: 700; color: #444; }
.vt-pverse { font: italic 500 11pt/1.4 var(--verse); }
.vt-pverse b { font: 800 8.5pt/1 var(--body); font-style: normal; letter-spacing: .03em; }
.vt-tr { font: 700 7.5pt/1 var(--body); font-style: normal; color: #777; }
.vt-stpage .v-gospel { padding: .08in .12in; gap: .03in; }
.vt-stpage .v-gospel h4 { font-size: 10.5pt; }
.vt-stpage .v-gospel ol { gap: .03in; font-size: 9pt; }
.vt-stpage .v-gospel .v-gv { font-size: 9pt; }

/* ---------- printed: coloring sheets and worksheets ---------- */
.vw-cpage { padding: 0; gap: .1in; align-items: center; }
.vw-cframe { position: relative; flex: none; height: 9.78in; aspect-ratio: 1529 / 2048; overflow: hidden; border: 2px solid #222; border-radius: .12in; background: #fff; }
.vw-cdrawn { position: absolute; left: 0; right: 0; top: 2.5in; bottom: 0; display: grid; place-items: center; }
.vw-cdrawn svg { width: 100%; height: auto; max-height: 100%; }
.vw-cframe.has-pic .vw-cdrawn { display: none; }
.vw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.vw-img.ok { opacity: 1; }
.vw-chead { position: absolute; left: .22in; right: .22in; top: .2in; display: flex; align-items: center; gap: .16in; padding: .12in .18in; border: 2px solid var(--v-main); border-radius: .16in; background: rgba(255,255,255,.94); }
.vw-cemblem { width: 1.15in; height: 1.15in; flex: none; }
.vw-ctext { min-width: 0; }
.vw-ckick { font: 800 9pt/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--v-main); }
.vw-cpoint { margin-top: .03in; font: var(--v-weight, 400) 28pt/1.08 var(--v-font), var(--disp); color: var(--v-ink); text-wrap: balance; }
.vw-cfoot { width: 7.3in; display: flex; align-items: end; gap: .12in; font: 700 10pt/1.2 var(--body); }
.vw-line { flex: 1; height: .26in; border-bottom: 1.5px solid #333; }
.vw-cref { font-size: 8.5pt; color: #555; white-space: nowrap; }
.vw-wpage { gap: .11in; font-size: 10.5pt; }
.vw-whead { display: grid; grid-template-columns: .95in minmax(0, 1fr) 2in; gap: .16in; align-items: center; padding-bottom: .08in; border-bottom: 3px solid var(--v-main); }
.vw-wemblem { width: .95in; height: .95in; }
.vw-wt { min-width: 0; }
.vw-wpoint { margin-top: .02in; font: var(--v-weight, 400) 19pt/1.08 var(--v-font), var(--disp); color: var(--v-ink); text-wrap: balance; }
.vw-wstory { margin-top: .03in; font-size: 9.5pt; font-weight: 700; color: #444; }
.vw-name { align-self: end; display: flex; align-items: end; gap: .08in; font: 700 10pt/1 var(--body); }
.vw-box { min-width: 0; display: flex; flex-direction: column; gap: .06in; padding: .1in .14in; border: 2px solid #222; border-radius: .14in; }
.vw-box h2 { display: flex; align-items: center; gap: .08in; font: 800 11.5pt/1.1 var(--disp); color: var(--v-ink); }
.vw-box h2 b { width: .26in; height: .26in; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--v-main); color: #fff; font: 800 10pt/1 var(--disp); }
.vw-fill { font: 500 12.5pt/2 var(--verse); }
.vw-blank { display: inline-block; height: 1em; margin: 0 .03in; border-bottom: 1.5px solid #222; vertical-align: baseline; }
.vw-vref { font: 800 8.5pt/1 var(--body); letter-spacing: .05em; white-space: nowrap; }
.vw-bank { display: flex; flex-wrap: wrap; gap: .06in; }
.vw-bank span { padding: .02in .1in; border: 1.5px dashed var(--v-main); border-radius: .08in; font: 700 10pt/1.3 var(--body); }
.vw-row { display: grid; grid-template-columns: 1fr 1fr; gap: .14in; }
.vw-ws { align-self: center; width: 2.9in; display: grid; grid-template-columns: repeat(10, 1fr); border: 1.5px solid #222; }
.vw-ws span { aspect-ratio: 1; display: grid; place-items: center; border-right: 1px solid #DDD; border-bottom: 1px solid #DDD; font: 800 10.5pt/1 'Poppins', var(--body); }
.vw-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .03in .14in; font: 800 8.5pt/1.3 var(--body); letter-spacing: .04em; }
.vw-hint { font-size: 9pt; color: #444; }
.vw-maze { align-self: center; width: 2.6in; height: auto; }
.vw-spell { display: flex; justify-content: center; gap: .06in; }
.vw-spell span { width: .28in; height: .28in; border-bottom: 2px solid #222; }
.vw-row2 { flex: 1; min-height: 0; }
.vw-q { margin-top: .02in; font-size: 10pt; font-weight: 700; }
.vw-wline { display: block; height: .28in; border-bottom: 1.5px solid #999; }
.vw-wfoot { padding-top: .05in; border-top: 1.5px solid #CCC; font-size: 9.5pt; }

/* ---------- printed: decorations (no words but the theme's name, the station names and Scripture) ---------- */
.vd-page { padding: 0; gap: 0; }
.vd-name { font: var(--v-weight, 400) calc(52pt * var(--ns, 1))/1.02 var(--v-font), var(--disp); color: var(--v-ink); text-align: center; text-wrap: balance; }
.vd-wl { height: 100%; display: flex; flex-direction: column; align-items: center; gap: .16in; padding-bottom: .4in; overflow: hidden; border: .12in solid var(--v-main); border-radius: .3in; background: linear-gradient(180deg, #fff 55%, color-mix(in srgb, var(--v-soft) 60%, #fff)); }
.vd-wl-art, .vd-sg-art { width: 100%; flex: none; overflow: hidden; }
.vd-wl-art { height: 3.4in; }
.vd-wl-art svg, .vd-sg-art svg { width: 100%; height: 100%; display: block; }
.vd-wl-emblem { width: 3.7in; height: 3.7in; margin-top: -2.3in; filter: drop-shadow(0 .06in .1in rgba(0,0,0,.3)); }
.vd-wl .vd-name { padding: 0 .3in; font-size: calc(60pt * var(--ns, 1)); }
.vd-wl-verse { width: 84%; margin-top: auto; padding: .2in .3in; border: 3px solid var(--v-main); border-radius: .2in; background: #fff; text-align: center; }
.vd-wl-verse p { font: italic 500 19pt/1.35 var(--verse); color: #1A1A1A; }
.vd-wl-verse cite, .vd-vp-ref { display: block; margin-top: .08in; font: 800 10pt/1 var(--body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--v-main); }
.vd-sg { height: 100%; display: flex; flex-direction: column; align-items: center; gap: .1in; padding-bottom: .35in; overflow: hidden; border: .12in solid var(--v-main); border-radius: .3in; }
.vd-sg-art { height: 2.6in; }
.vd-sg-ic { width: 3.4in; height: 3.4in; margin-top: -1.5in; padding: .5in; display: grid; place-items: center; border: .12in solid var(--v-main); border-radius: 50%; background: #fff; box-shadow: 0 .05in .12in rgba(0,0,0,.2); }
.vd-sg-ic svg, .vd-dh-ic svg { width: 100%; height: 100%; display: block; }
.vd-sg-name { margin-top: .15in; padding: 0 .3in; font: var(--v-weight, 400) calc(66pt * var(--ns, 1))/1.02 var(--v-font), var(--disp); color: var(--v-ink); text-align: center; text-wrap: balance; }
.vd-sg-emblem { width: 2.3in; height: 2.3in; margin-top: auto; }
.vd-vp { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .22in; padding: 1.3in .85in; border: .1in solid var(--v-main); border-radius: .3in; outline: .04in solid var(--v-accent); outline-offset: -.26in; background: radial-gradient(circle at 50% 42%, #fff 55%, color-mix(in srgb, var(--v-soft) 65%, #fff)); }
.vd-vp-shape { position: absolute; width: 1.45in; height: 1.45in; }
.vd-vp-shape svg { width: 100%; height: 100%; display: block; }
.vd-vp-shape.tl { left: .4in; top: .4in; transform: rotate(-10deg); }
.vd-vp-shape.tr { right: .4in; top: .4in; transform: rotate(10deg); }
.vd-vp-shape.bl { left: .4in; bottom: .4in; transform: rotate(8deg); }
.vd-vp-shape.br { right: .4in; bottom: .4in; transform: rotate(-8deg); }
.vd-vp-emblem { width: 2.9in; height: 2.9in; }
.vd-vp-text { margin: 0; font: italic 500 34pt/1.32 var(--verse); color: #151515; text-align: center; text-wrap: balance; }
.vd-vp-ref { margin-top: 0; font-size: 14pt; }
.vd-vp .vd-vp-name { margin-top: .05in; font-size: calc(36pt * var(--ns, 1)); }
.vd-dhs { height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .2in; }
.vd-dh { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .22in; padding: 2.5in .2in .3in; border: 2px dashed #777; border-radius: .25in; background: linear-gradient(180deg, #fff 2.3in, color-mix(in srgb, var(--v-soft) 70%, #fff) 2.3in); }
.vd-dh-cut { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.vd-dh-ic { position: relative; width: 2.1in; height: 2.1in; padding: .3in; display: grid; place-items: center; border: .08in solid var(--v-main); border-radius: 50%; background: #fff; }
.vd-dh-name { position: relative; font: var(--v-weight, 400) calc(34pt * var(--ns, 1))/1.05 var(--v-font), var(--disp); color: var(--v-ink); text-align: center; text-wrap: balance; }
.vd-dh-emblem { position: relative; width: 2in; height: 2in; margin-top: auto; }
.vd-dh-blank .vd-dh-big { width: 3in; height: 3in; margin-top: .3in; }
.vd-dh .vd-dh-theme { position: relative; font-size: calc(30pt * var(--ns, 1)); margin-bottom: auto; }
.vd-flags { height: 100%; display: grid; grid-template-rows: 1fr 1fr; gap: .25in; align-items: center; }
.vd-flag { position: relative; width: 7.6in; height: 4.7in; }
.vd-flag > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vd-flag-in { position: absolute; left: 1.25in; right: 1.45in; top: 0; bottom: 0; display: flex; align-items: center; gap: .22in; }
.vd-flag-emblem { width: 2.3in; height: 2.3in; flex: none; padding: .1in; border-radius: 50%; background: #fff; }
.vd-flag-blank { flex: 1; height: 1.35in; border: 2px solid rgba(0,0,0,.3); border-radius: .14in; background: #fff; }
.vd-pns { height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .2in; place-items: center; }
.vd-pn { position: relative; width: 3.6in; height: 4.7in; }
.vd-pn > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vd-pn-ch { position: absolute; left: 0; right: 0; top: .95in; text-align: center; font: var(--v-weight, 400) 120pt/1 var(--v-font), var(--disp); color: #fff; text-shadow: 0 .03in 0 rgba(0,0,0,.18); }
.vd-pn-emblem { position: absolute; left: .8in; top: .85in; width: 2in; height: 2in; }
.vd-fr { position: relative; height: 100%; overflow: hidden; border-radius: .3in; background: var(--fr); }
.vd-fr::before { content: ''; position: absolute; inset: .16in; border: .05in dashed rgba(255,255,255,.65); border-radius: .22in; }
.vd-fr-win { position: absolute; left: 1.2in; right: 1.2in; top: 1.75in; bottom: 1.45in; border: 2px dashed #555; border-radius: .22in; background: #fff; }
.vd-fr-s { position: absolute; width: 1in; height: 1in; }
.vd-fr-s svg { width: 100%; height: 100%; display: block; }
.vd-fr-s0 { left: .1in; top: 2.3in; } .vd-fr-s1 { right: .1in; top: 2.3in; } .vd-fr-s2 { left: .1in; top: 5.1in; } .vd-fr-s3 { right: .1in; top: 5.1in; } .vd-fr-s4 { left: .14in; bottom: .25in; } .vd-fr-s5 { right: .14in; bottom: .25in; }
.vd-fr-emblem { position: absolute; left: 50%; top: .12in; width: 1.6in; height: 1.6in; transform: translateX(-50%); }
.vd-fr-name { position: absolute; left: 1.3in; right: 1.3in; bottom: .4in; font: var(--v-weight, 400) 28pt/1 var(--v-font), var(--disp); color: var(--fr-ink, #fff); text-align: center; text-shadow: 0 .03in 0 rgba(0,0,0,.25); }
.vd-props { height: 100%; display: grid; grid-template-rows: 1fr 1fr; gap: .2in; place-items: center; }
.vd-prop { width: 4.6in; height: 4.6in; }
.vd-prop svg { width: 100%; height: 100%; display: block; }
.vd-cuts { height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: .15in; place-items: center; }
.vd-cuts span { display: block; width: 3.1in; height: 3.1in; }
.vd-cuts svg { width: 100%; height: 100%; display: block; }
.vd-cuts.vd-cuts-s { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); }
.vd-cuts-s span { width: 1.65in; height: 1.65in; }
.vd-gpage { gap: .16in; font-size: 11pt; line-height: 1.45; }
.vd-g-cols { columns: 2; column-gap: .3in; }
.vd-g-room { break-inside: avoid; margin-bottom: .2in; }
.vd-g-room h3, .vd-g-two h3 { margin: 0 0 .05in; font: 800 13pt/1.2 var(--disp); color: var(--v-main); }
.vd-g-two h3 + ul, .vd-g-two h3 + ol { margin-bottom: .14in; }
.vd-g-room ul, .vd-g-two ul, .vd-g-two ol { margin: 0; padding-left: .2in; display: grid; gap: .04in; }
.vd-g-two { display: grid; grid-template-columns: 1fr 1fr; gap: .3in; }
.vd-g-print li { font-size: 10pt; }
/* ========================================================================================================== */

/* ---------- On a phone, Donate rides at the end of the section menu instead of beside the logo ---------- */
.tab-give { display: none; }
@media (max-width: 720px) {
  #giveTop { display: none; }
  .tab-give:not([hidden]) { display: inline-flex; align-items: center; margin-left: 4px; color: #241800; background: var(--gold); font-weight: 800; text-decoration: none; }
  .tab-give:hover { color: #241800; filter: brightness(1.06); background: var(--gold); }
}

/* The footer's links to the readable lesson pages (built by _build/seo_pages.js) */
.foot-explore { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.site-foot .foot-explore a { font: 600 13.5px/1.3 var(--body); color: var(--muted); }
.foot-explore[hidden] { display: none; }
