/* ===========================================================================
 * OBN Kids Zone — hub & chrome styling. Individual games inject their own
 * styles; this covers the branded hub, game overlay, win screen, confetti.
 * ======================================================================== */
.obnk-zone {
  --obnk-bg1: #4b2e83; --obnk-bg2: #1b2a8a;
  font-family: "Baloo 2", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, var(--obnk-bg1), var(--obnk-bg2) 55%, #0c1030 100%);
  border-radius: 28px;
  padding: clamp(16px, 3vw, 36px);
  box-sizing: border-box;
}
.obnk-zone * { box-sizing: border-box; }

/* Header */
.obnk-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.obnk-logo { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: .5px; }
.obnk-star-pill { background: rgba(255,255,255,.16); padding: 10px 20px; border-radius: 999px; font-size: clamp(18px, 2.4vw, 26px); }
.obnk-star-pill b { font-variant-numeric: tabular-nums; }

/* Daily cards */
.obnk-daily { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 26px; }
@media (max-width: 640px) { .obnk-daily { grid-template-columns: 1fr; } }
.obnk-daily-card { border-radius: 20px; padding: 18px 20px; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.obnk-daily-verse { background: linear-gradient(135deg,#3a86ff,#274bb0); }
.obnk-daily-story { background: linear-gradient(135deg,#22c1a4,#1f8a6d); }
.obnk-daily-mission { background: linear-gradient(135deg,#ff9f1c,#e8603c); }
.obnk-daily-title { font-weight: 800; font-size: 20px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
/* read-aloud (tap-to-listen) buttons */
.obnk-listen-btn { border: none; cursor: pointer; font-family: inherit; background: rgba(255,255,255,.22); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 15px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .12s ease, background .12s ease; }
.obnk-listen-btn:hover { transform: scale(1.1); background: rgba(255,255,255,.34); }
.obnk-listen-btn.on { background: #ffd400; color: #3a2d6b; animation: obnkListenPulse 1s ease-in-out infinite; }
@keyframes obnkListenPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.obnk-listen-wide { width: auto; height: auto; border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 800; gap: 6px; background: linear-gradient(135deg,#9b6cff,#6d28d9); margin: 0 0 14px; }
.obnk-listen-wide:hover { transform: translateY(-2px); }
.obnk-listen-wide.on { background: linear-gradient(135deg,#ffb703,#f08a1d); color: #3a2d6b; }
.obnk-daily-body { font-size: 18px; opacity: .96; }

/* Today's Story — clickable card opens the full-story modal */
.obnk-daily-clickable { cursor: pointer; transition: transform .14s ease, box-shadow .14s ease; }
.obnk-daily-clickable:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.26); }
.obnk-daily-clickable:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.obnk-daily-story .obnk-daily-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.obnk-daily-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 800; font-size: 15px; background: rgba(255,255,255,.22); padding: 7px 14px; border-radius: 999px; }
.obnk-daily-more span { transition: transform .14s ease; }
.obnk-daily-clickable:hover .obnk-daily-more span { transform: translateX(3px); }

/* Full-story modal content (rendered into the scroll overlay panel) */
.obnk-story-modal { background: #fff; border-radius: 18px; padding: 24px 26px 30px; color: #2a2350; max-width: 640px; margin: 6px auto; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.obnk-story-hero { width: 100%; aspect-ratio: 16/9; border-radius: 16px; background-size: cover; background-position: center; margin-bottom: 18px; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.obnk-story-h { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; line-height: 1.15; margin: 0 0 10px; color: #173f37; }
.obnk-story-ref { display: inline-block; font-weight: 800; font-size: 14px; color: #0e7a63; background: #d8f5ee; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.obnk-story-verse { margin: 0 0 18px; padding: 14px 18px; border-left: 5px solid #22c1a4; background: #f1faf8; border-radius: 0 12px 12px 0; font-style: italic; font-size: 18px; line-height: 1.5; color: #2c4a44; }
.obnk-story-body-full { font-size: 18px; line-height: 1.65; color: #34335a; }
.obnk-story-body-full p { margin: 0 0 14px; }
.obnk-story-prayer { margin-top: 20px; padding: 16px 18px; background: #fff7e8; border-radius: 14px; font-size: 17px; line-height: 1.55; color: #5a4326; }
.obnk-story-prayer-label { font-weight: 800; margin-bottom: 6px; color: #b9791b; }
.obnk-story-author { margin-top: 16px; font-weight: 800; color: #6b6a8c; }
.obnk-story-note { margin-top: 18px; text-align: center; font-weight: 800; font-size: 17px; color: #0e7a63; }

/* ===== Kids entry gate (sign in / create account / continue as guest) ===== */
body.vb-kids-locked .kidhero,
body.vb-kids-locked #kids-shows,
body.vb-kids-locked #obn-kids-zone { display: none !important; }
.obnk-door { position: fixed; inset: 0; z-index: 20000; background: radial-gradient(120% 120% at 50% 0%, #7a2ad8, #4b1fb0 55%, #2a1066 100%); display: flex; align-items: center; justify-content: center; padding: 24px; overflow: auto; font-family: "Baloo 2","Nunito",system-ui,sans-serif; }
.obnk-door-card { width: 100%; max-width: 460px; text-align: center; color: #fff; }
.obnk-door-emoji { font-size: 64px; line-height: 1; margin-bottom: 8px; }
.obnk-door h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; margin: 6px 0 10px; }
.obnk-door p { font-size: 1.02rem; line-height: 1.5; opacity: .92; margin: 0 auto 22px; max-width: 400px; font-weight: 600; }
.obnk-door-btns { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 0 auto; }
.obnk-door-btn { border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 1.05rem; padding: 15px 22px; border-radius: 16px; transition: transform .12s ease; }
.obnk-door-btn.primary { background: #ffd400; color: #3a2d6b; }
.obnk-door-btn.ghost { background: rgba(255,255,255,.16); color: #fff; }
.obnk-door-btn:hover { transform: translateY(-2px); }
.obnk-door-guest { margin-top: 20px; background: none; border: none; color: #fff; font-family: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; text-decoration: underline; opacity: .92; }
.obnk-door-guest:hover { opacity: 1; }
.obnk-door-note { margin: 8px auto 0; font-size: .82rem; opacity: .7; font-weight: 600; max-width: 340px; }

/* ===== Account gate (Games & Movies require sign-in; rest is public) ===== */
.obnk-acctgate { background: linear-gradient(160deg, #5b3bd0, #3a2d8f); border-radius: 24px; padding: 30px 26px; text-align: center; color: #fff; margin: 6px 0 26px; box-shadow: 0 12px 30px rgba(40,16,80,.3); }
.obnk-acctgate-ico { font-size: 48px; line-height: 1; margin-bottom: 8px; }
.obnk-acctgate h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; margin: 4px 0 8px; }
.obnk-acctgate p { font-size: 1rem; line-height: 1.5; opacity: .92; max-width: 460px; margin: 0 auto 18px; font-weight: 600; }
.obnk-acctgate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.obnk-acctgate-btn { border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 1rem; padding: 13px 24px; border-radius: 14px; transition: transform .12s ease; }
.obnk-acctgate-btn.primary { background: #ffd400; color: #3a2d6b; }
.obnk-acctgate-btn.ghost { background: rgba(255,255,255,.16); color: #fff; }
.obnk-acctgate-btn:hover { transform: translateY(-2px); }
/* movies "choose profile" gate hides the rails (kept in DOM) until a child is picked */
#kids-shows.obnk-shows-locked .nfx-rail,
#kids-shows.obnk-shows-locked .nfx-skel-rail,
#kids-shows.obnk-shows-locked .nfx-billboard { display: none !important; }
/* dismissable Who's-Watching close button */
.obnk-whos-inner { position: relative; }
.obnk-whos-close { position: absolute; top: -6px; right: -6px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .15s; }
.obnk-whos-close:hover { background: rgba(255,255,255,.3); }

/* ===== Bible for Kids ===== */
.obnk-bible-sec { margin: 8px 0 26px; scroll-margin-top: 90px; }

/* Memory verse surfaced on the live standby ("taking a nap") screen */
.kidhero-sbverse { margin: 6px auto 2px; max-width: 360px; display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 10px 16px; }
.kidhero-sbverse-q { font-weight: 800; font-size: .98rem; line-height: 1.35; }
.kidhero-sbverse-ref { font-weight: 700; font-size: .78rem; opacity: .85; }
.obnk-bible-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.obnk-bible-badge { font-size: 13px; font-weight: 800; color: #fff; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; }
.obnk-bible-badge.done { background: #16a34a; }

/* Parent weekly activity report */
.obnk-report { display: flex; flex-direction: column; gap: 12px; }
.obnk-rep-card { background: #141418; border: 1.5px solid #2a2a31; border-radius: 16px; padding: 14px 16px; }
.obnk-rep-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.obnk-rep-head .obnk-gu-profav { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.obnk-rep-head b { color: #fff; font-size: 1rem; }
.obnk-rep-total { margin-left: auto; font-size: 13px; font-weight: 800; color: #7c5cff; }
.obnk-rep-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-bottom: 12px; }
.obnk-rep-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.obnk-rep-fill { width: 70%; max-width: 26px; background: linear-gradient(180deg,#9b6cff,#6d28d9); border-radius: 6px 6px 0 0; min-height: 3px; }
.obnk-rep-fill.empty { background: #2a2a31; }
.obnk-rep-bar span { font-size: 10px; color: #6b6b76; font-weight: 700; }
.obnk-rep-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.obnk-rep-chip { font-size: 12px; font-weight: 700; color: #cdc7ff; background: rgba(124,92,255,.16); border-radius: 999px; padding: 4px 10px; }
.obnk-rep-list { display: flex; flex-direction: column; gap: 4px; }
.obnk-rep-recent { font-size: 13px; color: #b9b9c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* My List heart on movie tiles + My List / Continue Watching rails */
#kids-shows .nfx-tile-inner { position: relative; }
.obnk-fav { position: absolute; top: 8px; right: 8px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer; background: rgba(10,10,20,.55); backdrop-filter: blur(4px); font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform .12s ease, background .12s ease; }
.obnk-fav:hover { transform: scale(1.12); background: rgba(10,10,20,.75); }
.obnk-fav.on { background: rgba(229,9,20,.85); }
.obnk-movierail { margin: 0 0 18px; }
.obnk-movierail-title { font-size: clamp(18px,2.2vw,24px); font-weight: 800; color: #fff; margin: 0 0 10px; padding: 0 var(--ltv-gutter, 50px); }
.obnk-movierail-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--ltv-gutter, 50px) 8px; scrollbar-width: thin; }
.obnk-movierail-row::-webkit-scrollbar { height: 7px; }
.obnk-movierail-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 999px; }
.obnk-movierail-row .nfx-tile { flex: 0 0 clamp(180px, 22vw, 260px); }
@media (max-width: 640px) { .obnk-movierail-title, .obnk-movierail-row { padding-left: 16px; padding-right: 16px; } .obnk-movierail-row .nfx-tile { flex-basis: 70%; } }

/* Series "Up Next" autoplay card (overlaid on the player) */
.obnk-upnext { position: absolute; right: 18px; bottom: 18px; z-index: 30; background: rgba(15,12,28,.92); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px 16px; max-width: 320px; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.obnk-upnext-lbl { font-size: 12px; font-weight: 800; color: #ffd400; margin-bottom: 4px; }
.obnk-upnext-title { font-size: 1rem; font-weight: 900; line-height: 1.25; margin-bottom: 12px; }
.obnk-upnext-btns { display: flex; gap: 8px; }
.obnk-upnext-play { flex: 1; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: .92rem; color: #3a2d6b; background: #ffd400; padding: 9px 14px; border-radius: 999px; }
.obnk-upnext-x { border: none; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; width: 38px; border-radius: 999px; font-size: 1rem; }

/* Section time-up lock (games / videos) */
.obnk-sectionlock { background: linear-gradient(150deg,#ff9f1c,#e8603c); color: #fff; border-radius: 18px; padding: 20px; text-align: center; font-weight: 800; font-size: 1.05rem; margin: 6px 0 22px; box-shadow: 0 10px 26px rgba(180,70,20,.26); }

/* Story Quiz */
.obnk-quizcta { display: block; width: 100%; margin: 18px 0 4px; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg,#ff9f1c,#e8603c); padding: 13px 18px; border-radius: 14px; transition: transform .12s ease; }
.obnk-quizcta:hover { transform: translateY(-2px); }
.obnk-quiz { padding: 8px 22px 24px; max-width: 540px; margin: 0 auto; text-align: center; }
.obnk-quiz-prog { font-size: 13px; font-weight: 800; color: #ffb703; margin-bottom: 12px; }
.obnk-quiz-q { font-size: clamp(1.3rem,3vw,1.7rem); font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 20px; }
.obnk-quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.obnk-quiz-opt { border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-weight: 800; font-size: 1.05rem; padding: 15px 18px; border-radius: 16px; cursor: pointer; transition: transform .1s ease, background .15s ease; }
.obnk-quiz-opt:not(:disabled):hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.obnk-quiz-opt.right { background: #16a34a; border-color: #16a34a; }
.obnk-quiz-opt.wrong { background: #dc2626; border-color: #dc2626; }
.obnk-quiz-result { padding: 16px 22px 26px; text-align: center; color: #fff; }
.obnk-quiz-result-emoji { font-size: 64px; }
.obnk-quiz-result-big { font-size: clamp(1.5rem,4vw,2rem); font-weight: 900; margin: 6px 0; }
.obnk-quiz-result-msg { font-size: 1.05rem; font-weight: 700; opacity: .95; margin-bottom: 18px; }

/* Weekly Quest */
.obnk-quest { margin: 4px 0 14px; border-radius: 20px; padding: 16px 20px; color: #fff; background: linear-gradient(150deg, #ff9f1c, #e8603c); box-shadow: 0 10px 26px rgba(180,70,20,.26); }
.obnk-quest-top { font-weight: 900; font-size: 17px; margin-bottom: 12px; }
.obnk-quest-done { background: rgba(255,255,255,.25); border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.obnk-quest-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.obnk-quest-row:last-child { margin-bottom: 0; }
.obnk-quest-ic { font-size: 22px; flex: none; }
.obnk-quest-mid { flex: 1; min-width: 0; }
.obnk-quest-lbl { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.obnk-quest-lbl b { font-weight: 900; }
.obnk-quest-bar { height: 9px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.obnk-quest-fill { height: 100%; background: #fff; border-radius: 999px; transition: width .3s ease; }
.obnk-quest-tick { font-size: 18px; flex: none; }

/* Prayer Corner */
.obnk-pray { margin: 14px 0 4px; border-radius: 20px; padding: 18px 20px; color: #fff; background: linear-gradient(150deg, #5b8def, #3a52c4); box-shadow: 0 10px 26px rgba(30,50,140,.28); }
.obnk-pray-top { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.obnk-pray-body { font-size: 18px; line-height: 1.45; font-weight: 600; margin-bottom: 14px; }
.obnk-pray-btn { width: 100%; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 16px; color: #2a3a8a; background: #fff; padding: 12px 18px; border-radius: 14px; transition: transform .12s ease; }
.obnk-pray-btn:hover { transform: translateY(-2px); }
.obnk-pray-btn.done { background: rgba(255,255,255,.22); color: #fff; cursor: default; }
/* Verses I've learned */
.obnk-vlearned-link { display: inline-block; margin: 12px 0 2px; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 14px; color: #fff; background: rgba(255,255,255,.16); padding: 9px 16px; border-radius: 999px; transition: background .12s ease; }
.obnk-vlearned-link:hover { background: rgba(255,255,255,.28); }
.obnk-vlearned { padding: 6px 22px 22px; max-width: 600px; margin: 0 auto; }
.obnk-vlearned-item { background: #fff; color: #2a2350; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.obnk-vlearned-text { font-size: 17px; font-weight: 800; line-height: 1.4; color: #3b2370; }
.obnk-vlearned-ref { font-size: 14px; font-weight: 700; color: #8b5cf6; margin-top: 4px; }
.obnk-vlearned-empty { text-align: center; color: #cdc7ff; font-weight: 700; padding: 24px 10px; }

/* Reading Plan + streak calendar */
.obnk-plan { margin: 4px 0 16px; border-radius: 20px; padding: 18px 20px; color: #fff; background: linear-gradient(150deg, #2bb673, #128a52); box-shadow: 0 10px 26px rgba(8,90,52,.28); }
.obnk-plan-top { font-weight: 800; font-size: 15px; opacity: .95; }
.obnk-plan-day-line { font-size: 18px; margin: 6px 0 12px; }
.obnk-plan-day-line b { font-weight: 900; }
.obnk-plan-cal { display: flex; gap: 8px; margin-bottom: 10px; }
.obnk-plan-day { flex: 1; text-align: center; background: rgba(255,255,255,.12); border-radius: 12px; padding: 7px 2px; font-weight: 800; }
.obnk-plan-day span { display: block; font-size: 11px; opacity: .8; }
.obnk-plan-day i { font-style: normal; font-size: 15px; }
.obnk-plan-day.read { background: rgba(255,255,255,.28); }
.obnk-plan-day.today { outline: 2px solid #ffd400; }
.obnk-plan-streak { font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.obnk-plan-btn { width: 100%; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 16px; color: #0f6b41; background: #fff; padding: 12px 18px; border-radius: 14px; transition: transform .12s ease; }
.obnk-plan-btn:hover { transform: translateY(-2px); }
.obnk-plan-btn.done { background: rgba(255,255,255,.22); color: #fff; cursor: default; }
.obnk-plan-callink { display: block; margin: 10px auto 0; border: none; background: none; color: rgba(255,255,255,.9); font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; text-decoration: underline; }
.obnk-plan-callink:hover { color: #fff; }
/* Month reading calendar modal */
.obnk-cal { padding: 6px 18px 22px; max-width: 460px; margin: 0 auto; color: #fff; }
.obnk-cal-head { display: flex; align-items: center; justify-content: space-between; font-weight: 900; font-size: 1.1rem; margin-bottom: 14px; }
.obnk-cal-nav { border: none; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.2rem; line-height: 1; }
.obnk-cal-nav:disabled { opacity: .3; cursor: default; }
.obnk-cal-nav:not(:disabled):hover { background: rgba(255,255,255,.26); }
.obnk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.obnk-cal-dow { text-align: center; font-size: 11px; font-weight: 800; opacity: .7; padding-bottom: 4px; }
.obnk-cal-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.08); font-weight: 800; font-size: 14px; }
.obnk-cal-cell.empty { background: none; }
.obnk-cal-cell.future { opacity: .35; }
.obnk-cal-cell.read { background: rgba(43,182,115,.45); }
.obnk-cal-cell.today { outline: 2px solid #ffd400; }
.obnk-cal-stat { text-align: center; font-weight: 800; font-size: 14px; margin-top: 16px; opacity: .95; }

/* Story shelf — responsive grid of tappable story cards */
.obnk-bible-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; padding: 6px 0 14px; }
@media (max-width: 640px) { .obnk-bible-shelf { grid-template-columns: repeat(2, 1fr); } }
.obnk-bible-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 4px; min-height: 168px; padding: 16px 16px 14px; border: none; border-radius: 20px; cursor: pointer; font-family: inherit; color: #fff; background: linear-gradient(160deg, #5b8def, #2857b7); box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .14s ease, box-shadow .14s ease; }
.obnk-bible-card:nth-child(6n+2) { background: linear-gradient(160deg, #2bc4a8, #1f8a6d); }
.obnk-bible-card:nth-child(6n+3) { background: linear-gradient(160deg, #ff9f59, #e8603c); }
.obnk-bible-card:nth-child(6n+4) { background: linear-gradient(160deg, #b07cff, #7c3aed); }
.obnk-bible-card:nth-child(6n+5) { background: linear-gradient(160deg, #ff7aa8, #e0457f); }
.obnk-bible-card:nth-child(6n+6) { background: linear-gradient(160deg, #ffc24b, #f08a1d); }
.obnk-bible-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.26); }
.obnk-bible-card:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.obnk-bible-more { display: block; margin: 2px auto 18px; padding: 11px 28px; border: 2px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-family: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: background .14s ease, transform .14s ease; }
.obnk-bible-more:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.obnk-bible-more:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
#obnk-games-more { margin-top: 20px; }
.obnk-bible-emoji { font-size: 34px; line-height: 1; }
.obnk-bible-name { font-size: 16px; font-weight: 900; line-height: 1.15; margin-top: 4px; }
.obnk-bible-blurb { font-size: 13px; font-weight: 600; opacity: .92; line-height: 1.3; flex: 1; }
.obnk-bible-go { margin-top: 8px; font-size: 13px; font-weight: 800; background: rgba(255,255,255,.22); padding: 5px 11px; border-radius: 999px; }

/* Story reader modal (white storybook sheet on the dark overlay) */
.obnk-bible-modal { background: #fff; border-radius: 18px; padding: 22px 26px 28px; max-width: 660px; margin: 6px auto; color: #2a2350; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.obnk-bible-ref { display: inline-block; font-weight: 800; font-size: 14px; color: #1f47a0; background: #e3ecfb; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.obnk-bible-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid #eef1f8; }
.obnk-bible-listen { display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg, #5b8def, #2857b7); padding: 11px 20px; border-radius: 999px; box-shadow: 0 6px 16px rgba(40,87,183,.35); transition: transform .12s ease; }
.obnk-bible-listen:hover { transform: translateY(-2px); }
.obnk-bible-listen.is-playing { background: linear-gradient(135deg, #ff7a59, #e8603c); box-shadow: 0 6px 16px rgba(232,96,60,.35); }
.obnk-bl-ico { font-size: 15px; }
.obnk-bible-ver { font-size: 13px; font-weight: 700; color: #8b8aa6; }
.obnk-bible-text { font-size: 18px; line-height: 1.7; color: #34335a; }
.obnk-bv { margin: 0 0 12px; }
.obnk-bvn { display: inline-block; min-width: 20px; font-size: 12px; font-weight: 800; color: #2857b7; vertical-align: super; margin-right: 2px; }
.obnk-bible-loading, .obnk-bible-err { text-align: center; font-weight: 800; color: #6b6a8c; padding: 28px 10px; font-size: 17px; }

/* Reward toast */
.obnk-bible-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); z-index: 100000; background: #2a1a55; color: #fff; font-weight: 800; font-size: 15px; padding: 13px 20px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; transition: opacity .3s ease, transform .3s ease; max-width: 90vw; text-align: center; }
.obnk-bible-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Memory Verse — card + practice modal */
.obnk-mv-card { margin-top: 4px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border-radius: 20px; padding: 16px 22px; color: #fff; background: linear-gradient(150deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 26px rgba(76,29,149,.28); }
.obnk-mv-card-main { flex: 1 1 280px; min-width: 0; }
.obnk-mv-card-top { font-weight: 800; font-size: 15px; opacity: .92; margin-bottom: 4px; }
.obnk-mv-card-verse { font-size: 20px; font-weight: 900; line-height: 1.3; }
.obnk-mv-card-ref { font-size: 14px; font-weight: 700; opacity: .9; margin-top: 3px; }
.obnk-mv-card-btn { flex: 0 0 auto; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 15px; color: #6d28d9; background: #fff; padding: 11px 20px; border-radius: 999px; white-space: nowrap; transition: transform .12s ease; }
.obnk-mv-card-btn:hover { transform: translateY(-2px); }
.obnk-mv-modal { background: #fff; border-radius: 18px; padding: 28px 26px 30px; max-width: 600px; margin: 6px auto; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.obnk-mv-verse { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; line-height: 1.5; color: #3b2370; }
.obnk-mv-word { } .obnk-mv-blank { color: #b07cff; letter-spacing: 2px; }
.obnk-mv-ref { margin-top: 14px; font-weight: 800; font-size: 16px; color: #8b5cf6; }
.obnk-mv-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.obnk-mv-btn { border: 2px solid #8b5cf6; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 16px; color: #6d28d9; background: #fff; padding: 11px 20px; border-radius: 999px; transition: transform .12s ease; }
.obnk-mv-btn.primary { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; border-color: transparent; }
.obnk-mv-btn:hover { transform: translateY(-2px); }
.obnk-mv-tip { margin-top: 16px; font-weight: 700; font-size: 15px; color: #7a789c; }

/* Section heads */
.obnk-section-head { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; margin: 22px 0 14px; }
.obnk-section-head .obnk-count { background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 12px; font-size: .7em; margin-left: 8px; }

/* Game grid + cards */
.obnk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.obnk-card {
  border: none; cursor: pointer; color: #fff; border-radius: 24px; padding: 22px 12px;
  min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-family: inherit; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .14s ease, box-shadow .14s ease;
}
.obnk-card:hover, .obnk-card:focus-visible { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 30px rgba(0,0,0,.38); outline: none; }
.obnk-card-emoji { font-size: 56px; line-height: 1; }
.obnk-card-title { font-size: 20px; font-weight: 800; text-align: center; }

/* Sticker shelf */
.obnk-sticker-shelf { margin-top: 30px; }
.obnk-sticker-row { display: flex; flex-wrap: wrap; gap: 12px; }
.obnk-sticker { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.obnk-sticker-empty { opacity: .8; font-size: 18px; padding: 8px 0; }

/* Game overlay + panel */
.obnk-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(6,8,24,.78); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.obnk-panel {
  --obnk-accent: #3a86ff;
  width: min(880px, 96vw); max-height: 94vh; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg,#241a4a,#12152e); border-radius: 26px; color: #fff;
  font-family: "Baloo 2","Nunito",system-ui,sans-serif; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  padding-bottom: 30px;
}
.obnk-panel-bar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.1); background: inherit; }
.obnk-panel-title { font-size: 24px; font-weight: 800; }
.obnk-close { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; }
.obnk-close:hover { background: rgba(255,255,255,.3); }
/* games (fit mode): root centres the board; .obnk-game-fit is scaled down to fit (no scroll) */
.obnk-game-root { flex: 1 1 auto; min-height: 0; padding: 14px; display: flex; overflow: hidden; }
.obnk-panel.obnk-fit .obnk-game-root { align-items: center; justify-content: center; }
.obnk-panel.obnk-fit .obnk-game-fit { transform-origin: center center; max-width: 100%; }
/* content panels (scroll mode): fill the width and scroll if tall (rewards, PIN, gate, etc.) */
.obnk-panel.obnk-scroll .obnk-game-root { align-items: stretch; justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px 20px 22px; }
.obnk-panel.obnk-scroll .obnk-game-fit { width: 100%; }
/* Games were authored for a light card but the panel is dark — force the bare
   on-panel text (questions, prompts, progress, score) to a readable light colour.
   Text that sits on its own light surface (-cell/-chip/-tool/-pill/white -slot) is
   untouched and keeps its dark colour. */
.obnk-panel [class$="-q"], .obnk-panel [class$="-question"], .obnk-panel [class$="-hint"],
.obnk-panel [class$="-prog"], .obnk-panel [class$="-progress"], .obnk-panel [class$="-score"],
.obnk-panel [class$="-status"], .obnk-panel [class$="-prompt"] { color: #f4f1ff !important; }

/* Shared win screen */
.obnk-result { text-align: center; padding: 30px 16px; }
.obnk-result-emoji { font-size: 84px; }
.obnk-result-big { font-size: 44px; font-weight: 800; margin: 8px 0; }
.obnk-result-msg { font-size: 20px; opacity: .92; margin-bottom: 20px; }
.obnk-btn {
  font-family: inherit; cursor: pointer; border: none; border-radius: 999px; padding: 14px 34px;
  font-size: 20px; font-weight: 800; color: #1a1330; background: #ffd400;
}
.obnk-btn:hover { filter: brightness(1.05); }

/* Confetti */
.obnk-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100000; overflow: hidden; }
.obnk-confetti span { position: absolute; top: -40px; animation: obnk-fall linear forwards; }
@keyframes obnk-fall { to { transform: translateY(110vh) rotate(360deg); opacity: 0; } }

/* ---- header right + rank banner ---- */
.obnk-headright { display: flex; align-items: center; gap: 12px; }
/* Compact 🏆 button in the header — single entry to My Rewards + Quest */
.obnk-trophybtn { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #fff; text-align: left; font-family: inherit; background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.5); border-radius: 999px; padding: 8px 16px 8px 14px; min-width: 168px; transition: transform .12s; }
.obnk-trophybtn:hover { transform: scale(1.04); filter: brightness(1.05); }
.obnk-tb-ic { font-size: 26px; line-height: 1; }
.obnk-tb-mid { flex: 1; min-width: 0; }
.obnk-tb-mid b { display: block; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.obnk-tb-track { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.28); margin-top: 5px; overflow: hidden; }
.obnk-tb-track span { display: block; height: 100%; border-radius: 999px; }
/* Quest inside the My Rewards modal */
.obnk-rwquest { display: grid; gap: 8px; }
/* Memory Verse + Prayer Corner side by side */
.obnk-mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; margin: 4px 0; }
.obnk-mp-row .obnk-mv-card, .obnk-mp-row .obnk-pray { margin: 0; height: 100%; }
.obnk-mp-row .obnk-mv-card { flex-direction: column; align-items: stretch; gap: 12px; }
.obnk-mp-row .obnk-mv-card .obnk-mv-card-main { flex: 1; }
@media (max-width: 720px) { .obnk-mp-row { grid-template-columns: 1fr; } }

/* ---- rewards hub ---- */
.obnk-rankcard { display: flex; gap: 16px; align-items: center; border: 3px solid; border-radius: 22px; padding: 16px; background: rgba(255,255,255,.06); }
.obnk-rankav { font-size: 40px; width: 70px; height: 70px; border: 3px solid; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.obnk-rankmid { flex: 1; min-width: 0; }
.obnk-rankname { font-size: 24px; font-weight: 800; }
.obnk-ranktrack { height: 10px; background: rgba(255,255,255,.2); border-radius: 999px; margin: 8px 0; overflow: hidden; }
.obnk-rankfill { height: 100%; border-radius: 999px; }
.obnk-ranknext { opacity: .9; font-size: 15px; }
.obnk-chiprow { display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.obnk-chip { background: rgba(255,255,255,.14); border-radius: 999px; padding: 8px 16px; font-size: 16px; font-weight: 700; }
.obnk-sec { font-size: 22px; font-weight: 800; margin: 22px 0 12px; }
.obnk-note { color: #ffd400; font-weight: 700; min-height: 22px; }
.obnk-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.obnk-shopcell { border: 2px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); border-radius: 18px; padding: 14px 8px; cursor: pointer; color: #fff; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.obnk-shopcell.sel { border-color: #ffd400; background: rgba(255,212,0,.12); }
.obnk-shopemoji { font-size: 42px; }
.obnk-shopname { font-size: 15px; font-weight: 700; }
.obnk-tag { font-size: 13px; font-weight: 800; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 10px; }
.obnk-tag.muted { background: transparent; opacity: .7; }
.obnk-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.obnk-badge { border: 2px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px 6px; text-align: center; opacity: .6; }
.obnk-badge.got { border-color: #ffb703; background: rgba(255,183,3,.12); opacity: 1; }
.obnk-badge span { font-size: 30px; display: block; }
.obnk-badge small { font-size: 13px; display: block; margin-top: 4px; }
.obnk-streak { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.06); border-radius: 18px; padding: 16px; flex-wrap: wrap; }
.obnk-streakstat { text-align: center; }
.obnk-streakstat b { font-size: 30px; display: block; }
.obnk-streakstat small { opacity: .85; }
.obnk-streakgoals { flex: 1; min-width: 160px; font-size: 15px; line-height: 1.7; }

/* ---- parental gate + grown-ups ---- */
.obnk-gate { text-align: center; padding: 16px; }
.obnk-gate-sub { font-size: 18px; opacity: .9; }
.obnk-gate-code { font-size: 48px; font-weight: 800; letter-spacing: 4px; margin: 14px 0; }
.obnk-gate-q { font-size: 46px; font-weight: 900; letter-spacing: 1px; margin: 16px 0; }
.obnk-gate-tip { margin-top: 14px; font-size: 13px; opacity: .8; }
.obnk-gate-tip a { color: #fff; font-weight: 800; text-decoration: underline; }
.obnk-gate-input { width: 180px; font-size: 32px; text-align: center; padding: 10px; border-radius: 14px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; }
.obnk-gate-err { color: #ff8d8d; margin-top: 10px; font-weight: 700; }
.obnk-gate-go { display: block; margin: 18px auto 8px; }
.obnk-gate-refresh { background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; font-size: 14px; font-family: inherit; }
.obnk-grown { padding: 8px 6px 16px; font-size: 18px; line-height: 1.6; }
.obnk-grown ul { padding-left: 4px; list-style: none; }
.obnk-grown li { margin: 8px 0; }
.obnk-grown .obnk-btn { display: inline-block; text-decoration: none; margin-top: 12px; }

/* ---- footer ---- */
.obnk-foot { margin-top: 26px; text-align: center; }
.obnk-grownbtn { background: rgba(255,255,255,.12); border: none; color: rgba(255,255,255,.85); cursor: pointer; font-family: inherit; font-size: 16px; padding: 10px 22px; border-radius: 999px; }
.obnk-grownbtn:hover { background: rgba(255,255,255,.22); }

/* ---- embedded mode (games shown inside the Kids page, below the hero) ---- */
.obnk-zone.obnk-embed { background: transparent; padding: 8px 50px 40px; max-width: 1400px; margin: 0 auto; border-radius: 20px; }
.obnk-zone.obnk-embed .obnk-logo { font-size: clamp(20px, 2.6vw, 30px); }
@media (max-width: 767px){ .obnk-zone.obnk-embed { padding: 8px 16px 32px; } }

/* ---- Grown-Ups parental-control page (dark, app-style) ---- */
.obnk-gu { max-width: 720px; margin: 0 auto; padding: 8px 18px 60px; color: #fff; font-family: "Baloo 2","Nunito",system-ui,sans-serif; }
.obnk-gu-sec { margin: 26px 0 0; }
.obnk-gu-h { font-size: 1.4rem; font-weight: 800; margin: 0 0 4px; }
.obnk-gu-sub { color: #9aa0aa; font-size: .95rem; margin: 0 0 14px; }
.obnk-gu-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.obnk-gu-pill { flex: 1; min-width: 64px; padding: 12px 10px; border-radius: 999px; border: 1.5px solid #2a2a31; background: #1a1a1f; color: #cfcfd6; font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .15s; }
.obnk-gu-pill:hover { border-color: #3a3a44; }
.obnk-gu-pill.on { border-color: #7c5cff; background: rgba(124,92,255,.16); color: #fff; }
.obnk-gu-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 10px; }
.obnk-gu-input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #2a2a31; background: #141418; color: #fff; font-family: inherit; font-size: 1rem; }
.obnk-gu-input::placeholder { color: #6b6b76; }
.obnk-gu-input:focus { outline: none; border-color: #7c5cff; }
.obnk-gu-ok { flex: 0 0 auto; width: 64px; border-radius: 14px; border: none; background: #26262e; color: #fff; font-size: 1.3rem; font-weight: 800; cursor: pointer; }
.obnk-gu-ok:hover { background: #32323c; }
.obnk-gu-add { background: #2857b7; } .obnk-gu-add:hover { background: #3265cf; }
.obnk-gu-lock { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: none; cursor: pointer; background: #1a1a1f; border-radius: 16px; padding: 16px; color: #fff; font-family: inherit; }
.obnk-gu-lock.off { opacity: .6; cursor: default; }
.obnk-gu-lockico { font-size: 1.5rem; }
.obnk-gu-lockmid { flex: 1; } .obnk-gu-lockmid b { display: block; font-size: 1.05rem; } .obnk-gu-lockmid small { color: #9aa0aa; }
.obnk-gu-toggle { width: 52px; height: 30px; border-radius: 999px; background: #33333c; position: relative; flex: none; transition: background .15s; }
.obnk-gu-toggle i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; }
.obnk-gu-toggle.on { background: #34c759; } .obnk-gu-toggle.on i { left: 25px; }
.obnk-gu-prof { display: flex; align-items: center; gap: 14px; background: #1a1a1f; border: 1.5px solid #26262e; border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s; }
.obnk-gu-prof.active { border-color: #7c5cff; }
.obnk-gu-profav { width: 48px; height: 48px; border-radius: 50%; background: #2a2a31; display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.obnk-gu-profmid { flex: 1; min-width: 0; } .obnk-gu-profmid b { display: block; font-size: 1.05rem; } .obnk-gu-profmid small { color: #9aa0aa; }
.obnk-gu-active { color: #34c759; font-weight: 700; font-size: .85rem; }
.obnk-gu-profx { flex: none; width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; color: #6b6b76; font-size: 1rem; cursor: pointer; }
.obnk-gu-profx:hover { background: #2a2a31; color: #ff6b6b; }
.obnk-gu-about { display: flex; align-items: center; gap: 14px; background: #1a1a1f; border-radius: 16px; padding: 16px; margin-bottom: 10px; }
.obnk-gu-aboutico { width: 44px; height: 44px; border-radius: 50%; background: #26262e; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: none; }
.obnk-gu-aboutmid b { display: block; font-size: 1.05rem; } .obnk-gu-aboutmid small { color: #9aa0aa; }
.obnk-gu-locked { text-align: center; padding: 60px 20px; color: #fff; font-family: "Baloo 2","Nunito",system-ui,sans-serif; }
.obnk-gu-lockbig { font-size: 54px; } .obnk-gu-locked h2 { margin: 12px 0 6px; font-weight: 800; } .obnk-gu-locked p { color: #9aa0aa; margin: 0 auto 18px; max-width: 420px; line-height: 1.5; }
.obnk-gu-lockbtns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.obnk-btn-ghost { background: rgba(255,255,255,.12) !important; color: #fff !important; }
.obnk-gu-loading { text-align: center; padding: 60px; color: #9aa0aa; font-family: "Baloo 2","Nunito",system-ui,sans-serif; }
/* secret PIN keypad */
.obnk-pinpad { text-align: center; padding: 8px 6px 6px; }
.obnk-pinsub { color: #b8b8c4; font-size: .95rem; margin-bottom: 16px; }
.obnk-pindots { display: flex; gap: 14px; justify-content: center; margin-bottom: 6px; }
.obnk-pindot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); }
.obnk-pindot.on { background: #ffd400; border-color: #ffd400; }
.obnk-pinerr { color: #ff8d8d; font-weight: 700; min-height: 22px; font-size: .9rem; }
.obnk-pingrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 280px; margin: 6px auto 0; }
.obnk-pinkey { height: 64px; border-radius: 18px; border: none; background: rgba(255,255,255,.1); color: #fff; font-family: inherit; font-size: 1.7rem; font-weight: 800; cursor: pointer; transition: background .12s; }
.obnk-pinkey:hover { background: rgba(255,255,255,.2); } .obnk-pinkey:active { background: rgba(255,255,255,.3); }
.obnk-pinforgot { margin-top: 16px; background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; font-family: inherit; font-size: .9rem; text-decoration: underline; }
/* child editor */
.obnk-gu-editor { padding: 4px 4px 6px; }
.obnk-gu-field { display: block; margin-bottom: 12px; }
.obnk-gu-field > span, .obnk-gu-fieldlabel { display: block; font-size: .82rem; font-weight: 700; color: #b8b8c4; margin: 4px 0 6px; }
.obnk-gu-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.obnk-gu-color { padding: 4px; height: 48px; }
.obnk-gu-avrow, .obnk-gu-caprow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.obnk-gu-av { width: 48px; height: 48px; border-radius: 14px; border: 2px solid #2a2a31; background: #1a1a1f; font-size: 26px; cursor: pointer; }
.obnk-gu-av.on { border-color: #7c5cff; background: rgba(124,92,255,.18); }
.obnk-gu-cap { padding: 9px 14px; border-radius: 999px; border: 2px solid #2a2a31; background: #1a1a1f; color: #cfcfd6; font-family: inherit; font-weight: 700; cursor: pointer; }
.obnk-gu-cap.on { border-color: #7c5cff; background: rgba(124,92,255,.18); color: #fff; }
.obnk-gu-allow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.obnk-gu-chip { padding: 10px 16px; border-radius: 999px; border: 2px solid #2a2a31; background: #1a1a1f; color: #9aa0aa; font-family: inherit; font-weight: 800; cursor: pointer; }
.obnk-gu-chip.on { border-color: #34c759; background: rgba(52,199,89,.14); color: #eafff0; }
.obnk-gu-editorbtns { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.obnk-gu-editorbtns .obnk-btn { margin-left: auto; }
.obnk-gu-del { background: none; border: none; color: #ff7b7b; font-family: inherit; font-weight: 700; cursor: pointer; padding: 8px 4px; }
.obnk-gu-profedit { flex: none; font-size: 1.1rem; opacity: .7; }
.obnk-gu-prof:hover .obnk-gu-profedit { opacity: 1; }
.obnk-gu-wide { width: auto !important; padding: 0 20px !important; }
.obnk-gu-signin { background: linear-gradient(135deg,#2857b7,#5b3bd0); border-radius: 18px; padding: 18px 20px; margin-bottom: 8px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.obnk-gu-signin b { font-size: 1.05rem; } .obnk-gu-signin small { color: rgba(255,255,255,.85); }
.obnk-gu-signin .obnk-btn { align-self: flex-start; margin-top: 10px; padding: 10px 26px; }
/* "Who's watching?" entry picker */
.obnk-whos { position: fixed; inset: 0; z-index: 99997; background: radial-gradient(120% 120% at 50% 0%, #4b2e83, #1b2a8a 60%, #0c1030 100%); display: flex; align-items: center; justify-content: center; padding: 24px; font-family: "Baloo 2","Nunito",system-ui,sans-serif; }
.obnk-whos-inner { text-align: center; max-width: 720px; width: 100%; }
.obnk-whos-inner h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 28px; }
.obnk-whos-sub { color: #cfd0ff; font-size: clamp(.95rem, 1.6vw, 1.1rem); font-weight: 600; max-width: 520px; margin: -16px auto 28px; line-height: 1.5; }
.obnk-whos-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.obnk-whos-card { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: inherit; }
.obnk-whos-av { width: 110px; height: 110px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 60px; background: rgba(255,255,255,.12); border: 3px solid transparent; transition: transform .15s, border-color .15s; }
.obnk-whos-card:hover .obnk-whos-av { transform: translateY(-4px) scale(1.04); border-color: #fff; }
.obnk-whos-nm { color: #cdd3e6; font-size: 1.1rem; font-weight: 700; }
.obnk-whos-add .obnk-whos-av { font-size: 50px; color: #b9b2e6; border: 3px dashed rgba(255,255,255,.3); }
.obnk-whos-grown { margin-top: 30px; background: rgba(255,255,255,.12); border: none; color: rgba(255,255,255,.85); cursor: pointer; font-family: inherit; font-size: 1rem; padding: 12px 26px; border-radius: 999px; }
.obnk-whos-grown:hover { background: rgba(255,255,255,.22); }
/* Top bar — its own section above the hero (below the header): Parents + Add to
   Home Screen. Full-width dark strip; content aligned to the hero column. */
.kids-topbar { width: 100%; box-sizing: border-box; background-color: #0000005e; padding: 12px max(50px, calc((100% - 1400px) / 2 + 50px)); }
.kids-topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; width: 100%; }
@media (max-width: 900px) { .kids-topbar { padding: 12px 16px; } }
/* hero top row: profile switcher + Grown-ups button */
.kidhero-toprow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.kidhero-grown { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); border-radius: 999px; color: #fff; font-family: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; transition: background .15s, transform .12s; }
.kidhero-grown:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.kidhero-editme { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); border-radius: 999px; color: #fff; font-family: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; transition: background .15s, transform .12s; }
.kidhero-editme:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.kidhero-install { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: none; background: #ffd400; border-radius: 999px; color: #3a2d6b; font-family: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; transition: transform .12s; }
.kidhero-install:hover { transform: translateY(-1px); }
.obnk-install { padding: 6px 22px 24px; max-width: 460px; margin: 0 auto; color: #fff; text-align: center; }
.obnk-install-ico { font-size: 56px; margin-bottom: 6px; }
.obnk-install p { font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.obnk-install ol { text-align: left; font-size: 1rem; line-height: 1.7; font-weight: 600; margin: 14px auto 0; max-width: 360px; padding-left: 22px; }
.obnk-install b { font-weight: 900; }
/* Kid self-edit modal (name + buddy only) */
.obnk-me { padding: 6px 18px 22px; }
.obnk-me-field { margin-bottom: 16px; }
.obnk-me-field > label { display: block; font-weight: 800; font-size: 14px; color: #cdc7ff; margin-bottom: 8px; }
.obnk-me-note { background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.3); color: #d7cffb; border-radius: 12px; padding: 11px 14px; font-size: 13px; font-weight: 700; margin: 4px 0 18px; }
.obnk-me .obnk-btn { width: 100%; }
/* daily verse reference */
.obnk-daily-ref { opacity: .9; font-weight: 700; white-space: nowrap; }
/* hero profile switcher chip (shared-device profile change) */
.kidhero-profile { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); border-radius: 999px; color: #fff; font-family: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; transition: background .15s, transform .12s; }
.kidhero-profile:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.kidhero-profile-av { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; background: rgba(255,255,255,.2); flex: none; }
.kidhero-profile-switch { font-size: .72rem; font-weight: 800; letter-spacing: .03em; background: rgba(0,0,0,.18); padding: 3px 9px; border-radius: 999px; }
/* "Time's up" daily-limit lock over the Kids Zone */
.obnk-timeup { position: fixed; inset: 0; z-index: 99998; background: rgba(10,10,16,.92); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.obnk-timeup-card { text-align: center; max-width: 380px; background: linear-gradient(160deg,#241a4a,#12152e); border-radius: 26px; padding: 34px 26px; color: #fff; font-family: "Baloo 2","Nunito",system-ui,sans-serif; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.obnk-timeup-emoji { font-size: 60px; } .obnk-timeup-card h2 { margin: 10px 0 6px; font-size: 1.6rem; font-weight: 800; } .obnk-timeup-card p { color: #c8c8d2; margin: 0 0 18px; }

/* ===== Bright kid skin for the shared (otherwise dark) auth modal =====
   The site-wide Sign In / Create Account modal (#nfxAuthGate, config.php) uses
   hardcoded dark inline styles. On the kids page the engine adds .obnk-auth-skin
   so we can repaint it bright & playful — !important is required to beat the
   inline styles. The rest of the site keeps the dark modal untouched. */
#nfxAuthGate.obnk-auth-skin { background: radial-gradient(120% 120% at 50% 0%, rgba(75,46,131,.92), rgba(20,16,60,.92)) !important; font-family: "Baloo 2","Nunito",system-ui,sans-serif !important; }
#nfxAuthGate.obnk-auth-skin > div { background: #ffffff !important; border-radius: 26px !important; box-shadow: 0 24px 60px rgba(40,20,90,.45) !important; }
#nfxAuthGate.obnk-auth-skin h3 { color: #3a2d6b !important; }
#nfxAuthGate.obnk-auth-skin p,
#nfxAuthGate.obnk-auth-skin #nfxRegCodeHint { color: #6b6390 !important; }
#nfxAuthGate.obnk-auth-skin input { background: #f4f1ff !important; border: 2px solid #e2dbff !important; color: #2a2150 !important; border-radius: 12px !important; }
#nfxAuthGate.obnk-auth-skin input::placeholder { color: #9d95c4 !important; }
#nfxAuthGate.obnk-auth-skin input:focus { border-color: #7c3aed !important; }
/* primary action buttons → kid purple, fully rounded */
#nfxAuthGate.obnk-auth-skin #nfxLoginBtn,
#nfxAuthGate.obnk-auth-skin #nfxRegEmailBtn,
#nfxAuthGate.obnk-auth-skin #nfxVerifyBtn,
#nfxAuthGate.obnk-auth-skin #nfxRegFinBtn { background: linear-gradient(135deg,#7c3aed,#6d28d9) !important; color: #fff !important; border-radius: 999px !important; box-shadow: 0 8px 18px rgba(109,40,217,.32) !important; }
#nfxAuthGate.obnk-auth-skin a { color: #6d28d9 !important; }
#nfxAuthGate.obnk-auth-skin .bi-x-lg, #nfxAuthGate.obnk-auth-skin button[onclick="nfxAuthClose()"] { color: #b3a9d6 !important; }
/* recolor the little round icon badges to a friendly purple tint */
#nfxAuthGate.obnk-auth-skin h3 + p, #nfxAuthGate.obnk-auth-skin .bi-person-fill,
#nfxAuthGate.obnk-auth-skin .bi-envelope-fill { color: #7c3aed !important; }
