/* ---- Calendar extras: coloring pages + Venmo ---- */
.extras { position: relative; z-index: 1; width: 100%; max-width: 460px; margin: 0 auto; padding: 8px 10px calc(env(safe-area-inset-bottom) + 28px); display: flex; flex-direction: column; gap: 14px; font-family: var(--body-serif); color: var(--parchment); }
.extras .ornament { margin: 6px 0 4px; }
.extras .ornament svg { width: 18px; height: 18px; }
.xpanel { padding: 20px 18px 18px; text-align: center; }
.xpanel > * { position: relative; z-index: 1; }
.xlabel { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-indent: .24em; text-transform: uppercase; color: rgba(216,178,106,.85); }
.xtitle { margin: 6px 0 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--parchment); }
.xtext { margin: 8px auto 0; max-width: 32ch; font-family: var(--display); font-style: italic; font-size: 16px; line-height: 1.4; color: rgba(246,238,223,.72); }
.strip { display: flex; gap: 10px; overflow-x: auto; margin: 16px -18px 0; padding: 2px 18px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.sheet { flex: 0 0 92px; scroll-snap-align: start; text-decoration: none; color: inherit; }
.sheet__img { display: block; width: 92px; height: 119px; border-radius: 8px; background: #f7f3ea center/cover no-repeat; border: 1px solid var(--brass-dim); box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.sheet__cap { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 7px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,238,223,.7); }
.sheet__cap svg { width: 11px; height: 11px; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xbtn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--brass-dim); background: radial-gradient(circle at 50% 0%, rgba(216,178,106,.18), rgba(16,12,8,.4)); color: var(--brass-lit); font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.xbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xbtn--solid { background: linear-gradient(180deg, #e9c98a, #c99a52); color: #2a1c0e; border-color: transparent; box-shadow: 0 6px 18px rgba(201,154,82,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.xnote { margin: 8px 0 0; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 11.5px; color: rgba(246,238,223,.45); }
.amounts { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.amt { min-width: 58px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--brass-dim); background: rgba(16,12,8,.35); color: var(--parchment); font-family: var(--display); font-size: 18px; cursor: pointer; }
.amt[aria-pressed="true"] { border-color: var(--brass-lit); background: rgba(216,178,106,.18); color: var(--brass-lit); }
.foot { margin: 8px 0 0; text-align: center; font-family: var(--display); font-style: italic; font-size: 14px; color: rgba(246,238,223,.4); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 14px auto 0; font-family: -apple-system, sans-serif; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(216,178,106,.6); }
.scroll-cue svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
/* ---- Day page: print coloring page button ---- */
.head__color { position: absolute; right: 0; top: 2px; }
.head__color svg { width: 17px; height: 17px; }

.sheet { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.sheet__img { position: relative; transition: transform .15s, box-shadow .15s; }
.sheet[aria-pressed="true"] .sheet__img { border: 2px solid var(--brass-lit); box-shadow: 0 0 0 3px rgba(216,178,106,.25), 0 6px 16px rgba(0,0,0,.45); }
.sheet__tick { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,15,10,.55); border: 1.5px solid rgba(255,255,255,.85); }
.sheet__tick svg { width: 13px; height: 13px; fill: none; stroke: transparent; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sheet[aria-pressed="true"] .sheet__tick { background: var(--brass-lit); border-color: var(--brass-lit); }
.sheet[aria-pressed="true"] .sheet__tick svg { stroke: #2a1c0e; }
.sheet[aria-pressed="true"] .sheet__cap { color: var(--brass-lit); }
.selbar { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: -apple-system, sans-serif; font-size: 12px; letter-spacing: .08em; color: rgba(246,238,223,.6); }
.sellink { border: 0; background: none; padding: 4px 0; color: var(--brass); font: inherit; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.xbtns { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }
.xbtns .xbtn { margin-top: 0; }
.xbtn svg { width: 16px; height: 16px; }
.xbtn--venmo { background: linear-gradient(180deg, #e9c98a, #c99a52); color: #2a1c0e; border-color: transparent; box-shadow: 0 6px 18px rgba(201,154,82,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.head__color svg.pr { width: 18px; height: 18px; }

.sheet__img { overflow: hidden; background: #f7f3ea; }
.sheet__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sheet__tick { z-index: 1; }
.xbtn { cursor: pointer; width: auto; }
.xbtn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.head__color svg { width: 18px; height: 18px; }

/* ---- Printing coloring pages ---- */
/* Each coloring page gets its own sheet. The image is held well inside the
   printable area (9.3in tall on 11in paper) so browser margins and
   headers/footers can't push it onto a second sheet. */
#printSheets { display: none; }
@media print {
  @page { size: letter portrait; margin: 0.4in; }
  html, body { height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: #fff !important; overflow: visible !important; }
  body > *:not(#printSheets) { display: none !important; }
  #printSheets { display: block !important; margin: 0; padding: 0; }
  #printSheets .print-page { display: flex; justify-content: center; align-items: flex-start; margin: 0; padding: 0; break-inside: avoid; page-break-inside: avoid; break-after: page; page-break-after: always; }
  #printSheets .print-page:last-child { break-after: auto; page-break-after: auto; }
  #printSheets img { display: block; height: 9.3in; width: auto; max-width: 100%; object-fit: contain; }
}

/* ---- Navy panels (calendar extras + day pages) ---- */
.panel {
  background:
    radial-gradient(120% 70% at 50% -12%, rgba(216, 178, 106, 0.12), transparent 60%),
    linear-gradient(170deg, rgba(24, 31, 54, 0.94) 0%, rgba(14, 18, 34, 0.96) 48%, rgba(8, 10, 20, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(240, 208, 148, 0.14), inset 0 0 0 1px rgba(216, 178, 106, 0.2), 0 2px 4px rgba(0, 0, 0, 0.4), 0 26px 60px -22px rgba(0, 0, 0, 0.8);
}
.reader__fade { background: linear-gradient(180deg, transparent, rgba(8, 10, 20, 0.98)); }
.round { background: radial-gradient(circle at 50% 0%, rgba(216, 178, 106, 0.14), rgba(10, 13, 26, 0.5)); }
.extras .xbtn:not(.xbtn--solid):not(.xbtn--venmo) { background: radial-gradient(circle at 50% 0%, rgba(216,178,106,.14), rgba(10,13,26,.5)); }
.extras .amt { background: rgba(10, 13, 26, 0.55); }
.extras .amt[aria-pressed="true"] { background: rgba(216, 178, 106, 0.16); }
.extras .sheet__tick { background: rgba(10, 13, 26, 0.6); }

/* ---- Gold crown in the top ornament (calendar + day pages) ---- */
.ornament__crown { display: block; width: 40px; height: auto; flex: 0 0 auto; filter: drop-shadow(0 0 8px rgba(240, 208, 148, 0.45)); }
.reading-view .ornament__crown { width: 34px; }

/* ---- Day page: plain line under the scripture reference (no diamond) ---- */
.rule-diamond { gap: 0; }
.rule-diamond i { display: none; }
.rule-diamond span { width: 54px; background: linear-gradient(90deg, transparent, var(--brass-dim)); }
.rule-diamond span:last-child { background: linear-gradient(270deg, transparent, var(--brass-dim)); }

/* ---- "More below" cue: more visible ---- */
.scroll-cue {
  flex-direction: row; gap: 8px; width: max-content; margin: 18px auto 0; padding: 9px 16px 9px 18px;
  border-radius: 999px; border: 1px solid rgba(216, 178, 106, 0.45);
  background: rgba(10, 13, 26, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(216, 178, 106, 0.18), inset 0 1px 0 rgba(240, 208, 148, 0.12);
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; color: var(--brass-lit);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); cursor: pointer;
}
.scroll-cue svg { width: 16px; height: 16px; stroke-width: 2; animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
/* "More below" in solid gold, matching the gold buttons */
.scroll-cue {
  background: linear-gradient(180deg, #e9c98a, #c99a52); border-color: transparent; color: #2a1c0e;
  text-shadow: none; box-shadow: 0 6px 18px rgba(201, 154, 82, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.scroll-cue svg { stroke: #2a1c0e; }
