/* The flood, day by day. A full-screen viewer that opens from the article "How Long Was Noah on the Ark?".
   Type and colour follow christianpure.com and the ark viewer (ark-true-size): Tiempos Headline for headings and,
   in bold italic, for Scripture (design system D-026); FK Roman Text for reading and navigation; GT America
   Condensed for the small labels on the view. The fonts load from the site itself.
   The shell of every Interactive Bible map (owner, 18 Nov 2026; output/map-shells-2026-11-18/SHELL.md), ranked by
   what the reader came for: the ground with the day's water on it gets the most room; then the event and its day
   with Previous and Next; then Play with the line of days and the choice of view; the verses and note when asked for;
   the way back, the title and About last and quietest.
   Phones: a one-row header, the view, and under it a panel that shows the choice of view, Play with the line of days
   as one row, Previous and Next and the event; it pulls up over the view for the verses. Laptops: one column on the
   left holds everything but the view, which takes the full height beside it. */

@font-face { font-family: 'Tiempos Headline'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/TiemposHeadline-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/TiemposHeadline-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Tiempos Headline'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/TiemposHeadline-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/TiemposHeadline-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Tiempos Headline'; font-style: italic; font-weight: 700; font-display: swap; src: url('/wp-content/uploads/fonts/TiemposHeadline-BoldItalic.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/TiemposHeadline-BoldItalic.woff2') format('woff2'); }
@font-face { font-family: 'FK Roman Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/FKRomanText-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/FKRomanText-Regular.woff2') format('woff2'); }
@font-face { font-family: 'FK Roman Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/FKRomanText-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/FKRomanText-Medium.woff2') format('woff2'); }
@font-face { font-family: 'GT America LCG'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/GT-America-Condensed-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-America-Condensed-Regular.woff2') format('woff2'); }
@font-face { font-family: 'GT America LCG'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/GT-America-Condensed-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-America-Condensed-Medium.woff2') format('woff2'); }

:root {
  --page: #fffbf9;
  --band: #f8f2e8;
  --ink: #002159;
  --text: #002b63;
  --muted: #56607a;
  --gold: #c58c23;
  --gold-ink: #8f6418;
  --line: #e6ded3;
  --focus: #0951b1;
  --paper: #efe5d3;
  --side: 16px;  /* the page's side gutter */
  --radius: 4px; /* the design system's button.radius: every control on the site has 4 px corners */
  /* the water, as the line of days draws it */
  --w-rise: #8fb0c4;
  --w-full: #2f5873;
  --w-fall: #6d93ab;
  --w-dry: #ddcfae;
  --sky-top: #e3e8ea;
  --sky-mid: #eceee9;
  --sky-low: #f6f0e5;
  --head-font: 'Tiempos Headline', Georgia, 'Times New Roman', serif;
  --body-font: 'FK Roman Text', Georgia, 'Times New Roman', serif;
  --label-font: 'GT America LCG', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--text); }
body { font-family: var(--body-font); line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ================================================================ the frame: it fills the screen and never scrolls */
.app {
  display: grid; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; overflow: clip;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) var(--peek, 140px);
  grid-template-areas: "head" "map" "panel";
}

/* ---- header: one row. A back chevron, the title, About at the right. The addresses plugin still writes the way
   back's words; here they are the link's spoken name, and the chevron always points back. */
.head {
  grid-area: head; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 4px;
  padding: 6px var(--side) 10px; padding-top: max(6px, env(safe-area-inset-top));
  background: var(--page); position: relative; z-index: 20;
}
.back {
  display: inline-grid; place-items: center; width: 40px; height: 44px; margin-inline-start: -10px;
  color: var(--gold); text-decoration: none; border-radius: var(--radius);
}
.head a.back.cp-fwd { padding: 0; }
.head a.back.cp-fwd .back-arrow, .back-arrow { display: inline-grid; place-items: center; }
.head a.back .cp-fwd-arrow { display: none !important; }
.back-arrow .ico { width: 24px; height: 24px; }
.back:hover { color: var(--gold-ink); }
.back-words { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.head h1 { margin: 0; min-width: 0; font: 400 20px/1.15 var(--head-font); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.head-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0 0 12px; border: 0; background: none; cursor: pointer;
  font: 400 15px/1.2 var(--body-font); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.head-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
/* a title that would wrap gets the header's spacing first (fitTitle) */
.head.tight { column-gap: 0; }
.head.tight .back { width: 34px; }
.head.tight .head-btn { padding-inline-start: 6px; }
.ico { display: block; flex: 0 0 auto; }
[dir="rtl"] .ico.flip { transform: scaleX(-1); }

/* ---- the view */
.view {
  grid-area: map; position: relative; min-width: 0; min-height: 0; overflow: hidden; overflow: clip;
  background: linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-low) 78%, #f8f2e8 100%);
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; }
#gl:active { cursor: grabbing; }
#gl:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.loading {
  position: absolute; inset: 0; display: grid; place-items: center; font: 400 17px var(--body-font);
  color: var(--muted); background: var(--paper); z-index: 20; transition: opacity 0.4s; padding: 0 24px; text-align: center;
}
.loading.done { opacity: 0; pointer-events: none; }

/* Labels on the view: small on purpose, the one place small type belongs */
.pin { position: absolute; left: 0; top: 0; will-change: transform; }
.pin .dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px rgba(255, 251, 249, 0.92); }
.pin .stem { position: absolute; left: -0.5px; bottom: 4px; width: 1px; height: 18px; background: rgba(0, 33, 89, 0.5); }
.pin .lab { transition: opacity 0.15s; position: absolute; left: 0; bottom: 22px; transform: translateX(-50%); }
.pin.minor .stem { display: none; }
.pin.minor .lab { left: 10px; bottom: auto; top: -12px; transform: none; }
.pin.minor.flip .lab { left: auto; right: 10px; }
.pin.drowned .dot { background: #4f7c9c; }
.lab {
  white-space: nowrap; font: 500 13px/1.2 var(--label-font); letter-spacing: 0.01em; color: var(--ink);
  background: rgba(255, 251, 249, 0.95); border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px;
}
.lab small { display: block; font-weight: 400; font-size: 0.9em; color: var(--muted); }
.ark-tag { position: absolute; left: 0; top: 0; will-change: transform; }
.ark-tag .lab { display: inline-block; border-color: #d9c49a; }
.ark-tag .lab small { display: inline; margin-inline-start: 4px; }
.region-tag { position: absolute; left: 0; top: 0; text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.region-tag b {
  display: block; font: italic 700 21px/1.15 var(--head-font); color: #5e4210; background: rgba(255, 251, 249, 0.94);
  border: 1px solid #e3cf9f; border-radius: 6px; padding: 5px 12px 6px;
}
.region-tag small { text-wrap: balance; display: inline-block; margin-top: 4px; font: 400 13px/1.25 var(--label-font); color: #5e4210; background: rgba(255, 251, 249, 0.92); border-radius: 4px; padding: 2px 8px; }

/* the magnifier on the summit */
.lens { position: absolute; left: 0; top: 0; width: 196px; height: 216px; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 0.35s; overflow: visible; }
.lens.on { opacity: 1; }
/* the leader runs under the labels, so a name it crosses stays whole */
.lens-leader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 0.35s; }
.lens-leader.on { opacity: 1; }
.lens text { font-family: var(--label-font); }

/* the scale, the heights and north: one small row in the view's bottom corner */
.corner {
  position: absolute; right: 10px; bottom: 10px; z-index: 4; display: flex; align-items: center; gap: 10px;
  font: 400 12.5px/1 var(--label-font); color: var(--muted); pointer-events: none;
  background: rgba(255, 251, 249, 0.86); padding: 5px 8px; border-radius: 5px; white-space: nowrap;
}
.scale { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.scale-line { display: inline-block; height: 6px; border: 1.5px solid #7d8496; border-top: 0; width: 60px; }
.north { display: inline-flex; align-items: center; gap: 2px; line-height: 1; font-weight: 500; }
.north-arrow { display: inline-block; font-size: 13px; }

/* ---- the panel: the choice of view, Play with the line of days, Previous and Next, the event and its day, then the
   verses */
.panel {
  grid-row: 2 / 4; grid-column: 1; align-self: end; position: relative; z-index: 12; overflow: hidden;
  display: flex; flex-direction: column; height: var(--peek, 140px);
  padding: 0 var(--side); padding-bottom: env(safe-area-inset-bottom);
  background: var(--page); border-top: 1px solid var(--line);
  transition: height 0.28s ease, border-radius 0.28s ease, box-shadow 0.28s ease;
}
.panel.open { height: 74%; border-top-color: transparent; border-radius: 14px 14px 0 0; box-shadow: 0 -6px 24px rgba(0, 33, 89, 0.16); }
.grab { flex: 0 0 auto; display: grid; place-items: center; height: 24px; margin: 0 calc(-1 * var(--side)); padding: 0; border: 0; background: none; cursor: pointer; touch-action: none; }
.grab::before { content: ''; width: 40px; height: 4px; border-radius: 2px; background: #c8beaf; }
.grab:hover::before { background: var(--gold); }

/* Previous and Next: the design system's compact limestone buttons, the same size, the next event named in full */
.stepper { flex: 0 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 0 0 12px; }
.step.cp-button { min-height: 44px; height: 44px; gap: 6px; padding-inline: 10px 14px; font: 500 15px/1 var(--body-font); white-space: nowrap; }
.step.next.cp-button { justify-content: space-between; padding-inline: 14px 10px; min-width: 0; }
.step .ico { color: var(--gold); }
.step:disabled { opacity: 0.45; cursor: default; }
.step-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* where the next name does not fit, Previous keeps only its chevron (fitStep) */
.stepper.tight .step.prev { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
.stepper.tight .step.prev .step-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* the event and its day head what is under the panel's edge */
.here-name { margin: 0 0 10px; font: 400 21px/1.2 var(--head-font); color: var(--ink); letter-spacing: -0.01em; }

/* closed, the panel shows the first line under its edge, a sign there is more; a tap on it pulls the panel up */
.card-body { flex: 1 1 auto; min-height: 0; position: relative; overflow: hidden; padding: 14px 0 20px; border-top: 1px solid var(--line); cursor: pointer; }
.panel.open .card-body { overflow-y: auto; overscroll-behavior: contain; cursor: auto; }
.here-line { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; margin: 0 0 10px; }
.here-line .here-name { margin: 0; }
.here-day { font: 400 16px/1.2 var(--body-font); color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }

/* the choice of view: two equal choices; the chosen one in full ink with a gold line under it (look B) */
.jwrap { flex: 0 0 auto; display: grid; gap: 8px; padding: 0 0 12px; }
.view-switch {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2px; gap: 2px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: var(--radius);
}
.view-switch button {
  position: relative; min-height: 38px; padding: 0 10px; border: 0; border-radius: 2px; background: transparent; cursor: pointer;
  font: 400 15px/1.1 var(--body-font); color: var(--muted); white-space: nowrap;
}
.view-switch button:hover { background: var(--band); }
.view-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 500; cursor: default; }
.view-switch button[aria-pressed="true"]::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--gold);
}

/* Play and the line of the 370 days: one row; the line keeps its direction in every language */
.play-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.play.cp-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
.play .ico { color: var(--gold); width: 22px; height: 22px; }
.play .pause-ico, .play.on .play-ico { display: none; }
.play.on .pause-ico { display: block; }
.track { position: relative; height: 30px; margin: 0 4px; }
.track input[type=range] {
  -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; z-index: 2;
}
.track input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--w-rise) 0 var(--p40), var(--w-full) var(--p40) var(--p150), var(--w-fall) var(--p150) var(--p314), var(--w-dry) var(--p314) 100%); }
.track input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--w-rise) 0 var(--p40), var(--w-full) var(--p40) var(--p150), var(--w-fall) var(--p150) var(--p314), var(--w-dry) var(--p314) 100%); }
.track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.track input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.track-ticks { position: absolute; left: 11px; right: 11px; top: 0; bottom: 0; pointer-events: none; z-index: 1; }
.track-ticks i { position: absolute; top: 5px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 1px; }


/* the words of the day: the date in Noah's years, the verses in full, and a note when the drawing needs one */
.words p { margin: 0; }
.w-date { font: 400 15px/1.3 var(--body-font); color: var(--muted); }
.w-verse { margin: 8px 0 0; padding: 0; }
.w-verse p { font: italic 700 18px/1.36 var(--head-font); color: var(--ink); letter-spacing: -0.005em; }
.w-verse cite { display: block; margin-top: 4px; font: 400 14px/1.3 var(--body-font); font-style: normal; color: var(--muted); }
.w-note { margin-top: 10px !important; font: 400 15.5px/1.42 var(--body-font); color: var(--text); }
.w-note:empty { display: none; }
/* the smallest phones */
@media (max-width: 380px) {
  :root { --side: 14px; }
  .head h1 { font-size: 18.5px; }
  .view-switch button { font-size: 14.5px; }
}

/* ================================================================ laptops and tablets on their side: the column on the
   left, the view the full height beside it */
@media (min-width: 900px) {
  :root { --side: 28px; }
  .app {
    grid-template-columns: clamp(380px, 30vw, 460px) minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    grid-template-areas: "head map" "band map" "step map" "card map";
  }
  .view { border-inline-start: 1px solid var(--line); }
  .head { padding: 16px var(--side) 0; }
  .head h1 { font-size: 20px; }
  .panel { display: contents; }
  .grab { display: none; }
  .jwrap { grid-area: band; padding: 20px var(--side) 0; gap: 14px; }
  .stepper { grid-area: step; padding: 14px var(--side) 18px; }
  .here-line .here-name { font-size: 28px; }
  .here-day { font-size: 17px; }
  .card-body { grid-area: card; overflow-y: auto; overscroll-behavior: contain; cursor: auto; padding: 18px var(--side) 28px; }
  .w-date { font-size: 16px; }
  .w-verse p { font-size: 19px; }
  .w-verse cite { font-size: 14.5px; }
  .w-note { font-size: 16px; }
  .lab { font-size: 14px; }
  .corner { right: 16px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .loading, .lens, .lens-leader, .region-tag, .panel { transition: none; } }

/* Hide (H): only the view, and one button to bring the rest back */
.show-ui { display: none; }
.hide-ui .head, .hide-ui .panel { display: none !important; }
.hide-ui .view { grid-row: 1 / -1; grid-column: 1 / -1; border: 0; }
.hide-ui .show-ui {
  display: block; position: absolute; right: 12px; top: 12px; z-index: 16; min-height: 44px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 251, 249, 0.95); font: 400 16px var(--body-font); color: var(--ink); cursor: pointer;
}

/* About this view */
dialog#about {
  width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); background: var(--page); box-shadow: 0 10px 40px rgba(0, 33, 89, 0.2);
}
dialog#about::backdrop { background: rgba(0, 20, 50, 0.45); }
.about-head {
  position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px 10px 24px; background: var(--page); border-bottom: 1px solid var(--line);
}
.about-head h2 { margin: 0; font: 400 24px/1.2 var(--head-font); color: var(--ink); letter-spacing: -0.01em; }
.btn {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); display: inline-flex; align-items: center;
  background: #fff; font: 400 16px/1 var(--body-font); color: var(--ink); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--gold); }
.about-body { padding: 4px 24px 28px; }
.about-body h3 { margin: 26px 0 8px; font: 400 21px/1.25 var(--head-font); color: var(--ink); }
.about-body h4 { margin: 18px 0 2px; font: 500 17px/1.3 var(--body-font); color: var(--ink); }
.about-body p, .about-body dd { font: 400 17px/1.5 var(--body-font); margin: 0 0 12px; }
.about-body blockquote { margin: 6px 0 10px; padding: 0 0 0 14px; border-left: 2px solid var(--gold); font: 400 17px/1.5 var(--body-font); }
.about-body blockquote cite { display: block; font-style: normal; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.reading-sum { color: var(--muted); font-size: 16px !important; margin-bottom: 6px !important; }
.honesty { margin: 0; }
.honesty dt { margin: 16px 0 4px; font: 500 16px/1.3 var(--body-font); color: var(--ink); }
.honesty dd { margin: 0; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; font: 400 16px/1.4 var(--body-font); }
kbd {
  font: 500 13px/1 var(--label-font); min-width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0 5px;
  border: 1px solid #d9d1c6; border-bottom-width: 2px; border-radius: 4px; background: #fff; color: var(--ink);
}
.sources, .more { padding-left: 20px; margin: 0; }
.sources li, .more li { font: 400 15.5px/1.45 var(--body-font); margin: 6px 0; overflow-wrap: anywhere; }
.more li { font-size: 16.5px; }

@media (max-width: 899px) {
  dialog#about { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
  .about-head { padding: 6px 12px 6px 18px; padding-top: max(6px, env(safe-area-inset-top)); }
  .about-head h2 { font-size: 22px; }
  .about-body { padding: 2px 18px 28px; }
  .about-body p, .about-body dd { font-size: 16.5px; }
}
[dir="rtl"] .sources, [dir="rtl"] .more { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .about-body blockquote { padding: 0 14px 0 0; border-left: 0; border-right: 2px solid var(--gold); }

/* Recording (?record=1): the view alone, with its own captions */
.rec-layer { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
body.record .head, body.record .panel, body.record .loading, body.record .show-ui,
body.record .corner { display: none !important; }
body.record .view { grid-row: 1 / -1; grid-column: 1 / -1; border: 0; }
body.record .app { height: 100vh; min-height: 0; }
body.record *, body.record *::after { transition: none !important; }
.rec-day { position: absolute; display: flex; flex-direction: column; gap: 2px; background: rgba(255, 251, 249, 0.94); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px 11px; }
.rec-day-n { font: 400 30px/1.1 var(--head-font); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.rec-day-date { font: 400 15px/1.3 var(--body-font); color: var(--muted); }
.rec-cap { position: absolute; background: rgba(255, 251, 249, 0.95); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 15px; box-shadow: 0 2px 14px rgba(0, 33, 89, 0.1); }
.rec-cap.off { display: none; }
.rec-kicker { margin: 0 0 6px; font: 400 14px/1.3 var(--body-font); color: var(--gold-ink); }
.rec-quote { margin: 0; font: italic 700 26px/1.25 var(--head-font); color: var(--ink); }
.rec-note { margin: 8px 0 0; font: 400 15px/1.35 var(--body-font); color: var(--text); }
.rec-note:empty { display: none; }
.rec-card { position: absolute; inset: 0; display: none; place-items: center; background: rgba(255, 251, 249, 0.96); }
.rec-card.on { display: grid; }
.rec-card .inner { max-width: 82%; text-align: left; }
.rec-card h2 { margin: 0 0 14px; font: 400 40px/1.15 var(--head-font); color: var(--ink); letter-spacing: -0.01em; }
.rec-card p { margin: 0 0 12px; font: 400 20px/1.4 var(--body-font); color: var(--text); }
.rec-card p.small { font-size: 15px; color: var(--muted); }
.rec-strip { position: absolute; }
.rec-track { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 33, 89, 0.15); overflow: hidden; }
.rec-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.rec-ticks { position: relative; height: 10px; }
.rec-ticks i { position: absolute; top: 2px; width: 2px; height: 8px; margin-left: -1px; background: rgba(0, 33, 89, 0.35); }
.rec-ticks i.passed { background: var(--gold); }
.rec-tag { position: absolute; font: 400 13px/1 var(--label-font); color: var(--muted); }
.rec-tag span { color: var(--gold-ink); }
body.record.reel .rec-day { left: 6%; top: 4.5%; }
body.record.reel .rec-cap { left: 6%; right: 12%; top: 13%; }
body.record.reel .rec-strip { left: 6%; right: 12%; top: 75%; }
body.record.reel .rec-tag { left: 6%; top: 77.5%; }
body.record.wide .rec-day { left: 3%; top: 5%; }
body.record.wide .rec-cap { left: 3%; top: 19%; width: 31%; }
body.record.wide .rec-quote { font-size: 22px; }
body.record.wide .rec-strip { left: 3%; right: 3%; bottom: 7%; }
body.record.wide .rec-tag { left: 3%; bottom: 3.5%; }
body.record.nocaps .rec-cap, body.record.nocaps .rec-day { display: none; }
@media (max-width: 599px) {
  .region-tag { max-width: 214px; text-align: left; }
  .region-tag b { font-size: 17px; padding: 4px 9px 5px; }
  .region-tag small { font-size: 12px; white-space: normal; }
}

/* the handle shows keyboard focus as a blue handle, not a ring the full width of the panel (18 Nov 2026) */
.grab:focus { outline: none; }
.grab:focus-visible::before { background: var(--focus, #0951b1); box-shadow: 0 0 0 3px rgba(9, 81, 177, 0.25); }
@media (hover: none) { .grab:hover::before { background: #c8beaf; } }
