/* Vlackneon Series — series page */
.vn-series { --vn-accent: #E58A3C; --vn-text: #EDEDED; --vn-muted: #B5B5B5; --vn-line: #2E2E2E; }
/* Text above the viewer inherits the theme's colors. */
.vn-series-meta { font-size: 14px; opacity: .75; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.vn-viewer { color: var(--vn-text); }
.vn-series-collab { color: var(--vn-accent); }
.vn-series-text { max-width: 680px; margin-bottom: 28px; }

/* Without JS every photo is shown one under another. */
.vn-viewer { position: relative; background: #000; outline: none; margin: 0 0 32px; }
.vn-viewer:focus-visible { box-shadow: 0 0 0 2px var(--vn-accent); }
.vn-slide { margin: 0; }
.vn-media { display: block; width: 100%; height: auto; }
.vn-nav, .vn-bar, .vn-sheet { display: none; }

/* With JS: one at a time. */
.vn-viewer.is-ready .vn-stage { position: relative; height: min(86vh, 1100px); display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.vn-viewer.is-ready .vn-stage[hidden] { display: none; }
.vn-viewer.is-ready .vn-slide { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; }
.vn-viewer.is-ready .vn-slide.is-active { display: flex; }
.vn-viewer.is-ready .vn-media { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; -webkit-user-drag: none; }
.vn-viewer.is-ready video.vn-media { width: 100%; height: 100%; }

.vn-viewer.is-ready .vn-nav {
  display: flex; position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.45); cursor: pointer; z-index: 2;
}
.vn-nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vn-prev { left: 12px; }
.vn-next { right: 12px; }
.vn-nav:disabled { opacity: 0; pointer-events: none; }
.vn-nav:focus-visible { outline: 2px solid var(--vn-accent); }
@media (hover: none) { .vn-viewer.is-ready .vn-nav { display: none; } }

.vn-viewer.is-ready .vn-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; background: #0B0B0B; border-top: 1px solid #1F1F1F; font-size: 14px;
}
.vn-counter { color: var(--vn-muted); font-variant-numeric: tabular-nums; }
.vn-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vn-tool {
  min-height: 40px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--vn-text); border: 1px solid #3A3A3A; font: inherit;
}
.vn-tool[aria-pressed=true] { background: var(--vn-text); color: #121212; border-color: var(--vn-text); }
.vn-tool:focus-visible { outline: 2px solid var(--vn-accent); outline-offset: 2px; }

.vn-viewer.is-ready .vn-sheet:not([hidden]) {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px; padding: 4px;
  max-height: min(86vh, 1100px); overflow-y: auto;
}
.vn-thumb { all: unset; cursor: pointer; aspect-ratio: 1; background: #1A1A1A; display: block; overflow: hidden; }
.vn-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vn-thumb:focus-visible { outline: 2px solid var(--vn-accent); outline-offset: -2px; }
.vn-thumb-video, .vn-thumb-locked span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--vn-muted); font-size: 14px; }
.vn-thumb-locked span { font-size: 22px; color: var(--vn-accent); }

/* Full screen: native API or fixed overlay fallback (iPhone). */
.vn-viewer:fullscreen, .vn-viewer.is-full { display: flex; flex-direction: column; width: 100vw; height: 100vh; margin: 0; }
.vn-viewer.is-full { position: fixed; inset: 0; z-index: 99999; height: 100dvh; }
.vn-viewer:fullscreen .vn-stage, .vn-viewer.is-full .vn-stage { flex: 1; height: auto; }
.vn-viewer:fullscreen .vn-sheet, .vn-viewer.is-full .vn-sheet { flex: 1; max-height: none; }
html.vn-noscroll, html.vn-noscroll body { overflow: hidden; }

/* End slide and locked series */
.vn-cta { max-width: 420px; margin: 0 auto; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vn-cta p { margin: 0; }
.vn-cta-title { font-size: 24px; line-height: 1.2; color: #F5F5F5; }
.vn-cta-text { color: var(--vn-muted); }
.vn-cta-btn {
  display: inline-block; margin-top: 8px; padding: 14px 24px; border-radius: 4px;
  background: var(--vn-accent); color: #121212 !important; font-weight: 700; text-decoration: none !important;
}
.vn-cta-login a { color: var(--vn-muted); font-size: 14px; }
.vn-locked { position: relative; background: #000; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 32px; }
.vn-locked-cover { position: absolute; inset: 0; }
.vn-locked-cover img { width: 100%; height: 100%; object-fit: cover; filter: blur(24px) brightness(.5); transform: scale(1.1); }
.vn-locked .vn-cta { position: relative; }

/* Likes and comments (v1.1) */
.vn-likes { display: flex; justify-content: center; margin: 0 0 40px; }
.vn-like,
.vn-likes .vn-like {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 32px;
  border-radius: 999px; border: 1px solid var(--vn-accent) !important;
  background: var(--vn-accent) !important; color: #121212 !important;
  font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
  transition: background-color .15s, color .15s;
}
.vn-like svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill .15s; }
.vn-like.is-liked svg { fill: currentColor; }
.vn-likes .vn-like:hover,
.vn-likes .vn-like:focus-visible { background: transparent !important; color: var(--vn-accent) !important; }
.vn-like.is-pop svg { animation: vn-pop .35s ease; }
.vn-like:focus-visible { outline: 2px solid var(--vn-accent); outline-offset: 2px; }
.vn-like span { font-variant-numeric: tabular-nums; min-width: 2ch; text-align: left; }
@keyframes vn-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .vn-like.is-pop svg { animation: none; } }
.vn-comments { margin-top: 16px; }

/* ---------- 1.3: every photo on the page ---------- */
.vn-scroll { display: flex; flex-direction: column; align-items: center; gap: clamp(56px, 9vw, 120px); margin: 48px 0 64px; }
.vn-frame { margin: 0; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.vn-frame.is-wide { max-width: 960px; }
.vn-frame.is-tall { max-width: 600px; }
.vn-frame .vn-media { display: block; width: 100%; height: auto; }
.vn-frame-no { font-size: 12px; letter-spacing: .12em; color: var(--vn-muted); font-variant-numeric: tabular-nums; }
.vn-band { width: 100%; max-width: 960px; border-top: 1px solid var(--vn-line); border-bottom: 1px solid var(--vn-line); padding: 24px 0; }
.vn-band .vn-cta { max-width: 520px; }
.vn-band .vn-cta-title { text-transform: uppercase; letter-spacing: -0.01em; font-weight: 700; }
.vn-band .vn-cta-btn, .vn-locked .vn-cta-btn { background: transparent !important; color: var(--vn-accent) !important; border: 0; padding: 8px 0; font-weight: 400; }
.vn-band .vn-cta-btn:hover, .vn-locked .vn-cta-btn:hover { color: #F2A766 !important; }

/* ---------- 1.4 ---------- */
/* Likes: outlined at rest so the heart reads; filled on hover and once liked. */
.vn-like,
.vn-likes .vn-like {
  min-height: 68px; padding: 16px 36px; gap: 14px; font-size: 22px;
  background: transparent !important; color: var(--vn-accent) !important; border: 2px solid var(--vn-accent) !important;
}
.vn-like svg { width: 38px; height: 38px; stroke-width: 2; }
.vn-likes .vn-like:hover,
.vn-likes .vn-like:focus-visible { background: var(--vn-accent) !important; color: #121212 !important; }

/* Prints */
.vn-prints { max-width: 960px; margin: 0 auto 48px; padding: 28px 0; border-top: 1px solid var(--vn-line); border-bottom: 1px solid var(--vn-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.vn-prints p { margin: 0; }
.vn-prints-title { font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: 18px; }
.vn-prints-text { opacity: .8; }
.vn-series a.vn-prints-link { color: var(--vn-accent); text-decoration: none; font-weight: 700; margin-left: auto; }
.vn-series a.vn-prints-link:hover { text-decoration: underline; }

/* Previous / next series */
.vn-adjacent { max-width: 960px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--vn-line); padding-top: 28px; }
.vn-series a.vn-adj { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; min-width: 0; }
.vn-adj-next { flex-direction: row-reverse; text-align: right; }
.vn-adj-img { flex: 0 0 96px; width: 96px; height: 120px; overflow: hidden; background: #262626; display: block; }
.vn-adj-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vn-adj-img.is-blurred img { filter: blur(14px) brightness(.75); transform: scale(1.15); }
.vn-adj-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vn-adj-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vn-accent); }
.vn-adj-title { font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.vn-series a.vn-adj:hover .vn-adj-title { color: var(--vn-accent); }
.vn-series a.vn-adj:focus-visible { outline: 2px solid var(--vn-accent); outline-offset: 4px; }
@media (max-width: 599px) {
  .vn-adjacent { grid-template-columns: 1fr; }
  .vn-adj-next { flex-direction: row; text-align: left; }
  .vn-adj.is-empty { display: none; }
  .vn-series a.vn-prints-link { margin-left: 0; }
}
