.slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #1a1612;
  background: #f4efe6;
}
.slide.is-blank {
  background: #000 !important;
  color: transparent;
}
.slide.is-blank * { visibility: hidden; }
.slide-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 5.5% 8% 6.5%;
}
.watermark {
  position: absolute;
  z-index: 0;
  left: 5%;
  top: 46%;
  transform: translateY(-50%);
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.8;
  color: rgba(90, 68, 36, 0.14);
  pointer-events: none;
  user-select: none;
}
.refrow {
  display: flex;
  align-items: center;
  gap: 0.42em;
  min-height: 1.2em;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.refrow .dash {
  width: 0.85em;
  height: 0.08em;
  border-radius: 99px;
  background: currentColor;
  flex: none;
}
.refrow .count {
  font-weight: 650;
  letter-spacing: 0;
  opacity: 0.72;
}
.refrow .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: #1e40af;
  color: #fff;
  border-radius: 0.28em;
  padding: 0.16em 0.46em 0.18em;
  font-weight: 800;
}
.block {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lines { text-align: left; }
.line {
  display: block;
  white-space: nowrap;
}
.verse-no { font-weight: 750; }
.style-bible .verse-no {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.58em;
  font-weight: 650;
  vertical-align: super;
  margin-right: 0.28em;
  line-height: 0;
}
.ctx {
  font-family: "EB Garamond", Georgia, serif;
  color: rgba(28, 24, 18, 0.36);
  line-height: 1.15;
  max-height: 1.25em;
  overflow: hidden;
  white-space: nowrap;
}
.ctx.next {
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.pill {
  position: absolute;
  left: 50%;
  bottom: 5.5%;
  transform: translateX(-50%);
  background: #1c1917;
  color: #fff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.38em 0.85em;
  white-space: nowrap;
  z-index: 2;
}
.accent-bar {
  height: 3px;
  border-radius: 99px;
  margin-top: 0.35em;
  width: 2.4em;
}
.lines.rise, .refrow.rise, .pill.rise, .ctx.rise {
  animation: slide-rise 340ms ease;
}
@keyframes slide-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.pill.rise { animation-name: pill-rise; }
@keyframes pill-rise {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .lines.rise, .refrow.rise, .pill.rise, .ctx.rise { animation: none; }
}

.style-bible { background: #f4efe6; color: #1a1612; }
.style-bible .lines { font-family: "EB Garamond", Georgia, serif; font-weight: 600; }

.style-modern {
  color: #fff;
  background:
    radial-gradient(120% 90% at 18% 8%, #2a2a30 0%, #16161a 48%, #09090b 100%);
}
.style-modern .lines, .style-modern .refrow { font-family: "Manrope", sans-serif; font-weight: 800; }
.style-modern .verse-no, .style-modern .dash, .style-modern .ver, .style-modern .accent-bar { color: #f0c14d; }
.style-modern .accent-bar { background: #f0c14d; }
.style-modern .refrow { color: #fff; }
.style-modern .count { color: #d4d4d8; opacity: 1; }

.style-cream { background: #f7f3eb; color: #1a1612; }
.style-cream .lines, .style-cream .refrow { font-family: "Manrope", sans-serif; font-weight: 800; }
.style-cream .verse-no, .style-cream .dash, .style-cream .ver { color: #7a3412; }
.style-cream .accent-bar { background: #7a3412; }
.style-cream .count { color: #57534e; opacity: 1; }

.style-white { background: #fff; color: #161616; }
.style-white .lines, .style-white .refrow { font-family: "Manrope", sans-serif; font-weight: 800; }
.style-white .verse-no { color: #1e40af; }
.style-white .accent-bar { background: #1e40af; }
.style-white .count { color: #3f3f46; opacity: 1; }

.style-midnight {
  color: #f4f7fb;
  background:
    radial-gradient(110% 90% at 70% 0%, #161c28 0%, #0b0e14 55%, #05070b 100%);
}
.style-midnight .lines, .style-midnight .refrow { font-family: "Literata", Georgia, serif; font-weight: 650; }
.style-midnight .verse-no, .style-midnight .dash, .style-midnight .ver { color: #c5d8ff; }
.style-midnight .accent-bar { background: #c5d8ff; }
.style-midnight .count { color: #d6d8e0; opacity: 1; }

.style-vivid {
  color: #fff;
  background: linear-gradient(155deg, #3b0764 0%, #4c1d95 42%, #581c87 68%, #3b0764 100%);
}
.style-vivid .lines, .style-vivid .refrow { font-family: "Manrope", sans-serif; font-weight: 800; }
.style-vivid .verse-no { color: #ffe7a3; }
.style-vivid .dash, .style-vivid .ver { color: #ffe7a3; }
.style-vivid .accent-bar { background: #ffe7a3; }
.style-vivid .count { color: #f4f4f5; opacity: 1; }
