/* WHEN THE BIBLE WAS WRITTEN (written/written.js): a fold-out chart, a soft panel for each era, swiped across. In the
   site's colors, either mode */
.wbw { position: fixed; inset: 0; z-index: 58; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 16, 12, 0.45); opacity: 0; transition: opacity 0.2s ease; color: var(--ink); font-family: var(--sans); }
.wbw.open { opacity: 1; }
.wbw[hidden] { display: none; }
html.wbw-open, html.wbw-open body { overflow: hidden; }
.wbw-box { position: relative; display: flex; flex-direction: column; width: min(1200px, 100%); height: min(900px, 100%); overflow: hidden; border-radius: 24px; background: var(--bg); border: 1px solid var(--rule); box-shadow: 0 30px 80px -24px rgba(20, 16, 12, 0.5); }
@media (max-width: 700px) { .wbw { padding: 0; } .wbw-box { width: 100%; height: 100%; border-radius: 0; border: none; } }
/* (the window's size, from the Size button in its head (index.html): Wide, or Full screen) */
@media (min-width: 701px) {
  html[data-app-size="md"] .wbw-box { width: min(1600px, 100%); height: 100%; }
  html[data-app-size="lg"] .wbw { padding: 0; }
  html[data-app-size="lg"] .wbw-box { width: 100%; height: 100%; border-radius: 0; border: none; }
}
.wbw-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px 18px; padding-top: max(12px, env(safe-area-inset-top)); background: var(--bg-raised); }
.wbw-titles { flex: 1; min-width: 0; }
.wbw-kicker { font: 800 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.wbw-title { font: italic 22px/1.2 var(--serif); }
.wbw-bar { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 4px 16px 10px; background: var(--bg-raised); border-bottom: 1px solid var(--rule); }
.wbw-sw { display: inline-flex; align-items: center; gap: 7px; font: 600 13.5px var(--sans); cursor: pointer; }
.wbw-sw input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.wbw-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.wbw-kinds button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); color: var(--ink); font: 600 12.5px var(--sans); cursor: pointer; }
.wbw-kinds button i { width: 9px; height: 9px; border-radius: 50%; background: var(--k); }
.wbw-kinds button[aria-pressed="true"] { border-color: var(--k); background: color-mix(in srgb, var(--k) 14%, var(--bg)); }

/* the fold-out: the panels side by side, each a page of it, a fold's shadow between */
.wbw-strip { position: relative; flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; } /* (no snapping: a swipe glides as far as it goes, and stops where it stops) */
.wbw-strip::-webkit-scrollbar { display: none; } /* (the map below is its scrollbar) */
.wbw-panel { position: relative; flex: none; width: clamp(300px, calc(200px + var(--w, 1) * 100px), 820px); box-sizing: border-box; padding: 18px 20px 24px; overflow-y: auto; overscroll-behavior-y: contain; background: color-mix(in srgb, var(--hue, #A6773A) 9%, var(--bg)); box-shadow: inset 12px 0 18px -14px rgba(0, 0, 0, 0.28); }
.wbw-panel:nth-child(7n + 2) { --hue: #7E5A9B; } .wbw-panel:nth-child(7n + 3) { --hue: #3E7A4C; } .wbw-panel:nth-child(7n + 4) { --hue: #A63E4A; }
.wbw-panel:nth-child(7n + 5) { --hue: #2F5A86; } .wbw-panel:nth-child(7n + 6) { --hue: #B9821E; } .wbw-panel:nth-child(7n) { --hue: #6E8A69; } .wbw-panel:nth-child(7n + 1) { --hue: #A65F66; }
.wbw-panel.is-intro { width: 320px; --hue: #A6773A; }
.wbw-panel.is-silent { width: 300px; --hue: #8f877b; background: color-mix(in srgb, #8f877b 12%, var(--bg)); }
.wbw-panel h3 { margin: 0; font: italic 600 22px/1.2 var(--serif); color: color-mix(in srgb, var(--hue) 75%, var(--ink)); }
.wbw-d { margin: 2px 0 6px; font: 700 12px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wbw-note, .wbw-panel.is-silent > p:not(.wbw-d) { margin: 0 0 6px; font: 13.5px/1.5 var(--sans); color: var(--muted); max-width: 520px; }
.wbw-intro { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.wbw-big { font: italic 700 26px/1.1 var(--serif); color: var(--gold); margin-top: 10px; }
.wbw-intro > span { font: 14px/1.4 var(--sans); color: var(--muted); }
.wbw-intro p { margin: 16px 0 0; font: 14.5px/1.55 var(--sans); }
.wbw-intro .wbw-fine { font-size: 12.5px; color: var(--muted); }
/* the line of time, with what happened */
.wbw-line { position: relative; height: 92px; margin: 34px 0 0; }
.wbw-line::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: color-mix(in srgb, var(--hue, #8f877b) 55%, var(--rule)); }
.wbw-y { position: absolute; top: calc(50% + 8px); font: 700 10.5px var(--sans); color: var(--muted); }
.wbw-y.is-a { left: 0; } .wbw-y.is-b { right: 0; }
.wbw-ev { position: absolute; left: var(--at); top: 50%; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); padding-bottom: 6px; max-width: 120px; text-align: center; }
.wbw-ev i { position: absolute; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2.5px solid color-mix(in srgb, var(--hue, #8f877b) 75%, var(--ink)); }
.wbw-ev em { font: 600 12px/1.2 var(--sans); font-style: normal; }
.wbw-ev small { font: 600 10.5px var(--sans); color: var(--muted); }
.wbw-ev.is-low { transform: translate(-50%, 0); padding: 12px 0 0; }
.wbw-ev.is-low i { top: -5px; bottom: auto; }
/* (near the edge: the words lean in, the dot stays at its time) */
.wbw-ev.is-start { align-items: flex-start; text-align: left; transform: translate(-5px, -100%); }
.wbw-ev.is-end { align-items: flex-end; text-align: right; transform: translate(calc(-100% + 5px), -100%); }
.wbw-ev.is-start.is-low { transform: translate(-5px, 0); } .wbw-ev.is-end.is-low { transform: translate(calc(-100% + 5px), 0); }
.wbw-ev.is-start i { left: 0; } .wbw-ev.is-end i { right: 0; }
/* the books, each hung from the line at its time */
.wbw-bks { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 58px; }
.wbw-bk { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: auto; min-width: 90px; max-width: 150px; box-sizing: border-box; min-height: 58px; padding: 8px 9px 7px; border: none; border-radius: 10px; background: var(--bg-raised); color: var(--ink); text-align: left; cursor: pointer; box-shadow: inset 0 3px 0 var(--k), 0 4px 12px -8px rgba(0, 0, 0, 0.4); transition: transform 0.12s ease, opacity 0.15s ease; }
.wbw-bk:hover { transform: translateY(-2px); }
.wbw-bk b { font: 700 13px/1.15 var(--sans); overflow-wrap: anywhere; } /* (each card as wide as its name, up to a point: a long one, "1 Thessalonians", kept inside) */
.wbw-bk small { font: 600 10.5px var(--sans); color: var(--muted); }
.wbw-bk.is-after small::after { content: ' (later)'; } .wbw-bk.is-before small::after { content: ' (earlier)'; }
.wbw-n { position: absolute; top: -8px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--k); color: #fff; font: 800 10.5px/20px var(--sans); font-style: normal; text-align: center; }
.no-order .wbw-n { display: none; }
.wbw-bk.is-on { outline: 2.5px solid var(--k); outline-offset: 2px; transform: translateY(-2px); }
.wbw-hang { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.wbw-hang path { fill: none; stroke-width: 1.3; opacity: 0.45; }
.wbw-hang circle { opacity: 0.8; }
.wbw-hang .is-on { opacity: 1; stroke-width: 2.4; }
/* the map, below: the panels as a bar, where you are lit */
.wbw-map { position: relative; z-index: 2; flex: none; display: flex; box-sizing: content-box; height: 14px; margin: -4px 16px calc(-2px + env(safe-area-inset-bottom)); border: solid transparent; border-width: 12px 0; border-radius: 999px; overflow: hidden; background: var(--rule); background-clip: padding-box; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; transition: height 0.16s ease, margin 0.16s ease, box-shadow 0.16s ease; }
/* (held: it grows up over the panels' foot, not pushing them, so nothing jumps; a label over it, which era) */
.is-scrub .wbw-map { height: 34px; margin-top: -24px; cursor: grabbing; box-shadow: 0 10px 24px -10px rgba(20, 16, 12, 0.5); }
.is-scrub .wbw-view { box-shadow: inset 0 0 0 3px var(--gold), 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.wbw-strip.is-gliding { scroll-snap-type: none; }
.wbw-tip { position: absolute; z-index: 4; left: 16px; bottom: calc(54px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; max-width: min(320px, calc(100% - 16px)); padding: 8px 13px; border-radius: 14px; background: var(--ink); color: var(--bg); font-family: var(--sans); pointer-events: none; opacity: 0; transform: translateY(6px) scale(0.96); transition: opacity 0.14s ease, transform 0.14s ease; }
.is-scrub .wbw-tip { opacity: 1; transform: none; }
.wbw-tip b { font: italic 600 16px/1.2 var(--serif); }
.wbw-tip small { font: 700 11px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
@media (prefers-reduced-motion: reduce) { .wbw-map, .wbw-tip { transition: none; } }
.wbw-map i { height: 100%; background: color-mix(in srgb, #A6773A 40%, var(--bg)); border-right: 1px solid var(--bg); }
.wbw-map i:nth-child(odd) { background: color-mix(in srgb, #2F5A86 30%, var(--bg)); }
.wbw-view { position: absolute; top: 0; bottom: 0; border-radius: 999px; box-shadow: inset 0 0 0 2.5px var(--gold); pointer-events: none; }
/* a book, tapped */
.wbw-card { position: absolute; z-index: 3; left: 50%; bottom: calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; width: min(520px, calc(100% - 24px)); height: min(46%, 340px); max-height: 46%; box-sizing: border-box; transform: translateX(-50%); border-radius: 20px; background: var(--bg-raised); border: 1px solid var(--rule); box-shadow: 0 18px 50px -14px rgba(20, 16, 12, 0.45); } /* (at the foot, in the middle, over the drag bar: the timeline above it left clear; dragged taller by its grab bar) */
.wbw-card-in { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 18px 14px; }
.wbw-grip { flex: none; display: grid; place-items: center; height: 18px; cursor: ns-resize; touch-action: none; }
.wbw-grip span { width: 44px; height: 5px; border-radius: 3px; background: var(--rule); transition: background 0.15s, width 0.15s; }
.wbw-grip:hover span, .wbw-grip:focus-visible span, .wbw-grip.is-drag span { width: 56px; background: var(--muted); }
.wbw-grip:focus { outline: none; }
.wbw-card[hidden] { display: none; }
.wbw-card-x { position: absolute; top: 0; right: 8px; width: 32px; height: 32px; border: none; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); font: 20px/1 var(--sans); cursor: pointer; }
.wbw-card-k { display: block; font: 800 11px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.wbw-card-t { display: block; margin: 2px 0 8px; font: italic 600 24px/1.15 var(--serif); }
.wbw-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 8px; font: 14px/1.4 var(--sans); }
.wbw-card dt { color: var(--muted); font-weight: 600; }
.wbw-card dd { margin: 0; }
.wbw-card p { margin: 0 0 12px; font: italic 15px/1.5 var(--serif); }
.wbw-card-a { display: flex; flex-wrap: wrap; gap: 8px; }
/* (Bible Maps' studies of its world, under its line: written.js) */
.wbw-card-maps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 12px; }
.wbw-card-maps[hidden] { display: none; }
.wbw-card-maps small { flex-basis: 100%; color: var(--muted); font: 600 14px/1.4 var(--sans); }
.wbw-btn { min-height: 40px; padding: 0 16px; border: none; border-radius: 999px; background: var(--gold); color: var(--on-gold, #1c1a17); font: 800 14px var(--sans); cursor: pointer; }
.wbw-btn.is-soft { background: color-mix(in srgb, var(--ink) 7%, var(--bg)); color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .wbw-bk { transition: none; } }
@media (max-width: 600px) { .wbw-kinds { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; } .wbw-kinds button { flex: none; } .wbw-kicker { font-size: 9.5px; } } /* (a phone: the kinds in one row, swiped) */
/* the kinds of writers: each word, hovered or tapped, shows who they were */
.wbw-cats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.wbw-cat { padding: 4px 10px; border: 1px solid transparent; border-radius: 999px; background: color-mix(in srgb, var(--gold) 11%, var(--bg-raised)); color: var(--ink); font: 600 12.5px/1.25 var(--sans); cursor: pointer; transition: background 0.12s ease, border-color 0.12s ease; }
.wbw-cat:hover { background: color-mix(in srgb, var(--gold) 20%, var(--bg-raised)); }
.wbw-cat[aria-expanded="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 22%, var(--bg-raised)); }
.wbw-intro > .wbw-cats-k { margin-top: 5px; font: 12px var(--sans); color: var(--muted); }
.wbw-who { display: block; position: absolute; z-index: 5; width: min(300px, calc(100% - 20px)); max-height: 60%; overflow-y: auto; box-sizing: border-box; padding: 12px 14px; border-radius: 16px; background: var(--bg-raised); box-shadow: 0 0 0 1px var(--rule), 0 18px 40px -16px rgba(0, 0, 0, 0.5); font-family: var(--sans); }
.wbw-who[hidden] { display: none; }
.wbw-who > small { display: block; margin-bottom: 6px; font: 800 10.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.wbw-pw { padding: 6px 0; border-top: 1px solid var(--rule); }
.wbw-pw:first-of-type { border-top: none; padding-top: 0; }
.wbw-pw b { font: 700 14px/1.3 var(--sans); }
.wbw-pw em { display: block; font: italic 12.5px/1.35 var(--sans); color: var(--muted); }
.wbw-pw span { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.wbw-pw span button { padding: 3px 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); color: var(--ink); font: 600 12px var(--sans); cursor: pointer; box-shadow: inset 3px 0 0 var(--k); }
.wbw-pw .wbw-pw-k { font-style: normal; font-weight: 600; }
/* a writer's name: their card in the family tree */
.wbw-pn { display: inline-flex; align-items: baseline; gap: 4px; padding: 0; border: none; background: none; color: var(--ink); font: 700 14px/1.3 var(--sans); cursor: pointer; }
.wbw-pn span { color: var(--gold); font-weight: 800; }
.wbw-pn:hover { color: var(--gold); }
/* (an event lifted clear of another: its dot kept on the line, and a thin stem from it to its words) */
.wbw-ev.is-lift i { bottom: calc(-5px - var(--lift, 0px)); }
.wbw-ev.is-lift.is-low i { top: calc(-5px - var(--lift, 0px)); bottom: auto; }
.wbw-ev.is-lift::after { content: ''; position: absolute; left: 50%; bottom: calc(-1 * var(--lift, 0px)); width: 1.5px; height: var(--lift, 0px); margin-left: -0.75px; background: color-mix(in srgb, var(--hue, #8f877b) 55%, var(--rule)); }
.wbw-ev.is-lift.is-low::after { top: calc(-1 * var(--lift, 0px)); bottom: auto; }
.wbw-ev.is-lift.is-start::after { left: 0; margin-left: 4.25px; } .wbw-ev.is-lift.is-end::after { left: auto; right: 0; margin-right: 4.25px; }
/* (a stem passing behind another event's words: the words over it, on the panel's own color) */
.wbw-panel { --pbg: color-mix(in srgb, var(--hue, #A6773A) 9%, var(--bg)); }
.wbw-ev { z-index: 1; }
.wbw-ev.is-lift { z-index: 0; }
.wbw-ev em, .wbw-ev small { background: var(--pbg); padding: 0 2px; border-radius: 3px; }
/* a phone turned sideways: the filters tucked up for the chart, and "Filters" in the header to bring them down */
.wbw-fold { display: none; }
@media (orientation: landscape) and (max-height: 500px) {
  .wbw { padding: 0; } .wbw-box, html[data-app-size] .wbw-box { width: 100%; height: 100%; border-radius: 0; border: none; } /* (the whole screen, as on a phone held upright) */
  .wbw-head .app-size-btn { display: none; }
  .wbw-box .wbw-head { min-height: 50px; padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: 6px; }
  .wbw-fold { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 13.5px var(--sans); cursor: pointer; }
  .wbw-fold svg { width: 16px; height: 16px; flex: none; }
  .wbw-fold-v { color: var(--muted); transition: transform 0.2s; }
  .wbw-fold[aria-expanded="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 16%, var(--bg-raised)); }
  .wbw-fold[aria-expanded="true"] .wbw-fold-v { transform: rotate(180deg); }
  .wbw-fold-n { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold, #221E19); font: 800 11px var(--sans); }
  .wbw-fold-n[hidden], .wbw-fold[aria-expanded="true"] .wbw-fold-n { display: none; }
  .wbw-box:not(.bar-open) .wbw-bar { display: none; }
  .wbw-fold.is-cue { animation: wbw-cue 1s ease-in-out 3; }
}
@keyframes wbw-cue { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 0%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 35%, transparent); border-color: var(--gold); } }
@media (prefers-reduced-motion: reduce) { .wbw-fold.is-cue { animation: none; border-color: var(--gold); } }
/* how these became the Bible: the last panel, wider, its line of time, then the Old Testament, the three marks, and
   Kruger's article and video in a folded Learn More, as on the site's cards */
.wbw-panel.is-canon { width: min(560px, 92vw); --hue: #2F5A86; }
.wbw-canon { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.wbw-cn-ot { margin: 0 0 4px; font: 14px/1.55 var(--sans); }
.wbw-cn-marks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: m; }
.wbw-cn-marks li { position: relative; padding: 10px 12px 10px 42px; border-radius: 12px; background: var(--bg-raised); font: 13.5px/1.45 var(--sans); counter-increment: m; }
.wbw-cn-marks li::before { content: counter(m); position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--hue) 18%, var(--bg)); color: color-mix(in srgb, var(--hue) 80%, var(--ink)); font: 800 11px var(--sans); }
.wbw-cn-marks b { display: block; font-weight: 700; }
.wbw-cn-marks span { color: var(--muted); }
.wbw-canon .wbw-fine { margin: 0 0 6px; font: 12.5px/1.45 var(--sans); color: var(--muted); }
.wbw-cn-more { margin-top: 2px; }
/* the first panel's way to the last: how these became the Bible */
.wbw-tocanon { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 16px 0 0; padding: 12px 34px 12px 14px; border: 1px solid color-mix(in srgb, #2F5A86 30%, var(--rule)); border-radius: 14px; background: color-mix(in srgb, #2F5A86 8%, var(--bg-raised)); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.wbw-tocanon small { font: 800 10.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, #2F5A86 75%, var(--ink)); }
.wbw-tocanon b { font: italic 600 17px/1.2 var(--serif); color: color-mix(in srgb, #2F5A86 75%, var(--ink)); }
.wbw-tocanon span { font: 13px/1.4 var(--sans); color: var(--muted); }
.wbw-tocanon em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 20px; color: var(--muted); }
@media (hover: hover) { .wbw-tocanon:hover { border-color: color-mix(in srgb, #2F5A86 55%, var(--rule)); } }
/* (the map is easy to take hold of: a clear band above and below it takes the finger too, its look as thin as before) */
/* the canon's markers, tappable: what was said, in a card */
.wbw-ev.is-cite { padding: 0 0 6px; border: none; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wbw-ev.is-cite em { text-decoration: underline dotted color-mix(in srgb, var(--hue) 50%, transparent); text-underline-offset: 3px; }
.wbw-ev.is-cite.is-on em, .wbw-ev.is-cite:hover em { color: color-mix(in srgb, var(--hue) 80%, var(--ink)); }
.wbw-ev.is-cite.is-on i { background: color-mix(in srgb, var(--hue) 75%, var(--ink)); }
.wbw-cn-tap { margin-top: -6px !important; }
.wbw-cite { margin: 0 0 10px; padding: 2px 0 2px 12px; border-left: 3px solid color-mix(in srgb, #2F5A86 45%, var(--rule)); }
.wbw-card .wbw-cite p { margin: 0 0 3px; font: 15px/1.5 var(--serif); font-style: normal; }
.wbw-cite cite { display: block; font: 700 11.5px var(--sans); font-style: normal; color: var(--muted); }
a.wbw-btn { display: inline-flex; align-items: center; text-decoration: none; }
/* a computer: a card in the middle of the chart */
/* (the card open: room under each panel's books as tall as it, so what it covers can be scrolled up above it) */
.wbw-strip.has-card .wbw-panel { padding-bottom: calc(var(--wbw-card-h, 0px) + 40px); }
/* (a Bible reference in a quote's source: a link into the reader) */
.wbw-ref { display: inline; padding: 0; border: none; background: none; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 60%, transparent); text-underline-offset: 3px; cursor: pointer; }
.wbw-ref:hover { color: var(--gold); }
/* (its buttons, in a foot at its bottom: the same place on every card) */
.wbw-card-foot { flex: none; padding: 10px 18px 14px; border-top: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.wbw-card-foot[hidden] { display: none; }
.wbw-card-foot .wbw-card-a { margin: 0; }
/* the kinds chosen (any number): just their books, side by side; an era with none of them folded away, as are the opening
   panel, the four hundred silent years, and how they became the Bible; and a line under the kinds saying what's shown */
.wbw-bk.is-out { display: none; }
.wbw-strip.is-narrowed .wbw-panel.is-empty, .wbw-strip.is-narrowed .wbw-panel.is-intro, .wbw-strip.is-narrowed .wbw-panel.is-silent, .wbw-strip.is-narrowed .wbw-panel.is-canon { display: none; }
.wbw-kinds button[aria-pressed="true"] { border-color: var(--k); background: color-mix(in srgb, var(--k) 22%, var(--bg-raised)); color: var(--ink); box-shadow: inset 0 0 0 1px var(--k); }
.wbw-sum { flex: 1 0 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font: 13.5px/1.35 var(--sans); color: var(--muted); }
.wbw-sum[hidden] { display: none; }
.wbw-sum b { color: var(--ink); font-weight: 700; }
.wbw-sum-x { flex: none; min-height: 32px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 13px var(--sans); cursor: pointer; }
/* (the map's dots: a book each, in its kind's color; larger while the map's held) */
.wbw-map i { position: relative; }
.wbw-map s { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg) 70%, transparent); pointer-events: none; transition: width 0.2s, height 0.2s, margin 0.2s; }
.is-scrub .wbw-map s { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
