/* Variant 3: White Gallery – White-filled cursor */

/* Change gallery viewer background from black to white */
.viewer-stage {
  background: #fff;
}

/* Make viewer top band white in this variant */
.viewer-top {
  background: #fff;
  color: #111315;
  border-bottom: 1px solid #e7e9ee;
}

.viewer-back,
.viewer-counter {
  color: #111315;
}

.viewer-play,
.viewer-mini-btn,
.viewer-share {
  border-color: rgba(17, 19, 21, 0.22);
  color: #111315;
}

.viewer-play:hover,
.viewer-mini-btn:hover,
.viewer-share:hover {
  background: rgba(17, 19, 21, 0.06);
}

/* Adjust viewer text color for white background */
.viewer-text {
  color: #111315;
}

/* Cursor SVGs with white fill */
.viewer-stage[data-zone="prev"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='white' stroke='%23111315' stroke-width='2'/%3E%3Cpath d='M18.5 9 L12 16 L18.5 23' fill='none' stroke='%23111315' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16 16, w-resize;
}

.viewer-stage[data-zone="next"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='white' stroke='%23111315' stroke-width='2'/%3E%3Cpath d='M13.5 9 L20 16 L13.5 23' fill='none' stroke='%23111315' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16 16, e-resize;
}

.viewer-stage[data-zone="gallery"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='white' stroke='%23111315' stroke-width='2'/%3E%3Cpath d='M22 14 a6 6 0 1 0 -2 7' fill='none' stroke='%23111315' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M19.5 19.5 L19.7 23 L23.1 22.2' fill='none' stroke='%23111315' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16 16, pointer;
}

/* Adjust caption background */
.viewer-caption {
  background: #fff;
  color: #111315;
  border-top: 1px solid #e7e9ee;
}

.viewer-caption.is-empty {
  opacity: 1;
}

/* Light divider for thumbs section */
.viewer-thumbs-wrapper {
  border-top: 1px solid #e7e9ee;
  background: #fbfbfd;
}

/* Thumbnail hover effects for white theme */
.viewer-thumb:hover {
  opacity: 0.8;
  border-color: rgba(17, 19, 21, 0.2);
}

/* ── Cover slide: series title in caption area ────────────────────── */
.viewer-caption.is-cover {
  justify-content: center;
  text-align: center;
  min-height: auto;
  padding-block: 18px 22px;
}

.viewer-caption.is-cover p {
  font-family: var(--font-prose);
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111315;
  max-width: 100%;
  line-height: 1.2;
}

/* ── Minimal frame: subtle border around the photo ───────────────── */
[data-page="viewer:story"] .viewer-stage {
  padding: 18px 20px 14px;
}

[data-page="viewer:story"] .viewer-img {
  box-shadow:
    0 0 0 1px rgba(17, 19, 21, 0.10),
    0 2px 18px rgba(17, 19, 21, 0.06);
}
