/* D3K08 -- the 1-bit look, cyberpunk (Nel, 2026-11-30: "less AI and more cyberPUNK with the 1-bit look").
   His answers: a mix -- photocopy grit for the page, dystopia-corporate UI for the labels and the bar, a little
   broken-signal glitch on hover; no terminal prompt, cursor, glow, pixel type, key hints or status line; the work as a
   tight masonry contact sheet; a condensed grotesk for headings with a stamped mono for labels.
   Two tones only, ink and paper; the art keeps its own colours. Loaded after vectec-1bit.css, which it overrides. */

@import url("https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:wght@400;600&display=swap");

:root {
  --pk-ink: #000;
  --pk-paper: #f1efe8;
  --pk-head: "Anton", "Oswald", "Impact", "Haettenschweiler", sans-serif-condensed, sans-serif;
  --pk-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pk-hazard: repeating-linear-gradient(-45deg, var(--pk-paper) 0 9px, var(--pk-ink) 9px 18px);
  /* Photocopy grit: fractal noise, thresholded hard so it reads as toner specks, not a soft gradient. */
  /* TV static: fine fractal noise in greys, each pixel its own value. */
  --pk-static: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.2' intercept='-0.6'/%3E%3CfeFuncG type='linear' slope='2.2' intercept='-0.6'/%3E%3CfeFuncB type='linear' slope='2.2' intercept='-0.6'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  --pk-grit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 9 -5.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- the ground -- */
html { background: var(--pk-ink) !important; }
/* The body stays see-through so the static below shows behind the page (the ink is html's). */
body { background-color: transparent !important; }
body {
  color: var(--pk-paper);
  font-family: var(--pk-mono);
  font-size: 15px;
  letter-spacing: 0.01em;
  background-image: none;
}
/* The ground is a dead channel (Nel, 2026-11-30: "a static animation looped in the background for an underground crt
   feel"): grey TV static jumping between six frames, scanlines and a dark edge over it, all BEHIND the page -- the
   art and the words sit on top and are never covered (the old grit was a layer over everything, art included).
   One noise tile drawn once and moved by transform, so it costs the compositor, not a repaint a frame. */
body::before {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: -2;
  background: var(--pk-static) 0 0 / 256px 256px; image-rendering: pixelated; opacity: 0.34;
  animation: vt-static 0.6s steps(1) infinite;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.4) 2px 4px),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
}
@keyframes vt-static {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-7%, 4%); }
  33% { transform: translate(5%, -9%); }
  50% { transform: translate(-11%, -3%); }
  67% { transform: translate(9%, 7%); }
  83% { transform: translate(-3%, 11%); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
::selection { background: var(--pk-paper); color: var(--pk-ink); }
h1, h2, h3, h4, .wp-block-heading, .site-title, .wp-block-site-title, .wp-block-post-title {
  font-family: var(--pk-head) !important; font-weight: 400; text-shadow: none !important; color: var(--pk-paper);
  letter-spacing: 0.01em; line-height: 0.92; text-transform: uppercase;
}
h1::before, h1::after, h2.wp-block-heading::before, h2.wp-block-heading::after { content: none; animation: none; }
a { background-image: none; color: inherit; }
a:hover, a:focus-visible { background: var(--pk-paper); color: var(--pk-ink); }

/* ------------------------------------------------------------ the bar -- */
/* Nel, 2026-11-30: "more simplified in execution", then "cluttered and claustrophobic": the wordmark and the tabs with
   room round them and one hairline under them -- no hazard stripe. It stays at the top on a wide screen; on a phone the
   tabs take a row of their own under the wordmark and the bar scrolls away with the page. */
header.wp-block-template-part {
  position: sticky; top: 0; z-index: 50; background: var(--pk-ink); border-bottom: 1px solid rgba(241, 239, 232, 0.16);
}
header.wp-block-template-part::before { content: none; }
header.wp-block-template-part .wp-block-group { padding-top: 0 !important; padding-bottom: 0 !important; }
header.wp-block-template-part .has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }   /* the bar keeps its own gutter */
header .wp-block-group.alignwide {
  max-width: 1240px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 40px) !important; align-items: center;
}
header .wp-block-group.alignwide::after { content: none; }
.wp-block-site-title { font-size: 28px !important; line-height: 1; margin: 0; letter-spacing: 0.05em; }
.wp-block-site-title a { text-decoration: none; display: inline-block; padding: 6px 0; }
.wp-block-site-title a:hover, .wp-block-site-title a:focus-visible { background: none; color: var(--pk-cyan); }

/* --------------------------------------------------- the page's title -- */
main > .wp-block-group:first-child, .wp-block-post-title { max-width: none; }
h1.wp-block-post-title, main h1 {
  font-size: clamp(30px, 6vw, 46px) !important; max-width: 600px; margin: 0.7em auto 0 !important;
  padding: 0 clamp(16px, 4vw, 0px); text-shadow: none !important;
}
main .wp-block-separator { display: none; }
/* The theme's 70 px above main and 70 px above the title group left a blank band under the bar. */
main.wp-block-group { margin-top: 0 !important; }
main > .wp-block-group:first-child { padding-top: 0 !important; }

/* ---------------------------------------------------- a category's tab -- */
.entry-content, .wp-block-post-content { counter-reset: pk-sec; max-width: none; padding: 0 clamp(16px, 4vw, 40px); }
.entry-content > *, .wp-block-post-content > * { max-width: none; }
h2.wp-block-heading {
  counter-increment: pk-sec;
  display: inline-block; margin: 2.2em 0 0; padding: 0.12em 0.45em 0.06em;
  font-size: clamp(26px, 4.4vw, 46px); background: var(--pk-paper); color: var(--pk-ink);
  transform: rotate(-1.2deg); transform-origin: left bottom;
}
h2.wp-block-heading::before {
  content: counter(pk-sec, decimal-leading-zero) " /"; display: inline; margin-right: 0.35em;
  font-family: var(--pk-mono); font-size: 0.42em; vertical-align: 0.55em; letter-spacing: 0.08em;
  color: var(--pk-ink);
}

/* --------------------------------------- the contact sheet (masonry) -- */
.wp-block-gallery.has-nested-images {
  display: block !important; column-count: 4; column-gap: 0 !important; gap: 0 !important; margin-top: 0.9em !important;
  --wp--style--unstable-gallery-gap: 0px; --gallery-block--gutter-size: 0px;
  border-top: 2px solid var(--pk-paper); border-left: 2px solid var(--pk-paper);
}
@media (max-width: 1100px) { .wp-block-gallery.has-nested-images { column-count: 3; } }
@media (max-width: 700px)  { .wp-block-gallery.has-nested-images { column-count: 2; } }
.wp-block-gallery.has-nested-images figure.wp-block-image {
  display: block; width: 100% !important; margin: 0 !important; break-inside: avoid; position: relative;
  border-right: 2px solid var(--pk-paper); border-bottom: 2px solid var(--pk-paper); counter-increment: pk-frame;
}
.wp-block-gallery { counter-reset: pk-frame; }
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  display: block; width: 100% !important; height: auto !important; object-fit: initial !important;
  border: 0; border-radius: 0; filter: none;
}
.wp-block-gallery.is-cropped figure.wp-block-image img { aspect-ratio: auto; }
/* A frame number stamped in the corner, like a contact sheet. */
.wp-block-gallery figure.wp-block-image::after {
  content: counter(pk-frame, decimal-leading-zero); position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--pk-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  background: var(--pk-ink); color: var(--pk-paper); padding: 2px 6px 1px; pointer-events: none;
}

/* ------------------------------------------------- broken-signal hover -- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wp-block-gallery figure.wp-block-image:hover img { animation: pk-glitch 0.36s steps(2, end) 1; }
  .wp-block-gallery figure.wp-block-image:hover::after { background: var(--pk-paper); color: var(--pk-ink); }
}
@keyframes pk-glitch {
  0%   { clip-path: inset(0 0 0 0); transform: none; }
  20%  { clip-path: inset(12% 0 64% 0); transform: translateX(-7px); }
  40%  { clip-path: inset(58% 0 18% 0); transform: translateX(6px); }
  60%  { clip-path: inset(30% 0 41% 0); transform: translateX(-3px); }
  80%  { clip-path: inset(0 0 82% 0); transform: translateX(4px); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}

/* ------------------------------------------------------- full-size view -- */
.wp-lightbox-overlay .scrim { background-color: var(--pk-ink) !important; opacity: 0.97 !important; }
.wp-lightbox-overlay .close-button, .wp-lightbox-overlay button {
  color: var(--pk-paper) !important; fill: var(--pk-paper) !important;
}

/* ----------------------------------------------------------- the foot -- */
footer.wp-block-template-part { border-top: 2px solid var(--pk-paper); margin-top: 4em; position: relative; }
footer.wp-block-template-part::after {
  content: ""; display: block; height: 10px; background: var(--pk-hazard);
}
footer p { font-family: var(--pk-mono); font-size: 11px !important; letter-spacing: 0.2em; text-transform: uppercase; }

/* ------------------------------------------- posts (Nel, 2026-11-30) -- */
/* "It should look more like a Cyberpunk 2077 Instagram/Reddit and TikTok feed": one column of posts, each piece at its
   own shape (nothing stretched or cropped), @d3k08 and the type over it, like / comments / share under it, the type as
   a hashtag and the date. 1-bit, with purple, blue and cyan for the HUD's trim only -- the art keeps its own colours. */
:root { --pk-violet: #b026ff; --pk-blue: #3d5afe; --pk-cyan: #00f0ff; }
.vectec-feed.vt-posts {
  height: auto; max-height: none; max-width: 600px; margin: 1.4em auto 0; overflow: visible;
  scroll-snap-type: none; border: 0; background: none; display: grid; gap: 34px;
}
.vt-posts .vt-slide.vt-post {
  scroll-margin-top: 70px;                          /* a post's link lands below the bar */
  height: auto; display: block; overflow: visible; background: var(--pk-ink); scroll-snap-align: none;
  border: 2px solid var(--pk-paper); position: relative;
  place-items: normal; justify-items: stretch;      /* the TikTok slide centred its children; a post fills its width */
  /* A cut corner, top right and bottom left, as on a HUD panel. */
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
/* No violet trim down the left edge any more: the screen's red and cyan fringes are the frame's colour now (Nel). */
.vt-posts .vt-post::before { content: none; }
.vt-posts .vt-post-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px;
  border-bottom: 2px solid var(--pk-paper); font-family: var(--pk-mono);
}
.vt-post-av {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  font-family: var(--pk-head); font-size: 15px; background: var(--pk-paper); color: var(--pk-ink);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); box-shadow: none;
  outline: 2px solid var(--pk-violet); outline-offset: 2px;
}
.vt-post-who { display: flex; flex-direction: column; line-height: 1.15; }
.vt-post-who b { font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.vt-post-who i { font-style: normal; font-size: 10px; letter-spacing: 0.18em; color: var(--pk-cyan); }
.vt-post-by { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; padding-right: 8px; }
.vt-post-by:hover, .vt-post-by:focus-visible { background: none; color: var(--pk-cyan); }
.vt-post-n {
  margin-left: auto; font-size: 10px; letter-spacing: 0.16em; padding: 0 10px; min-height: 32px;
  display: inline-flex; align-items: center; text-decoration: none;
  border: 1px solid var(--pk-blue); color: var(--pk-paper);
}
.vt-post-n:hover, .vt-post-n:focus-visible { background: var(--pk-blue); color: var(--pk-paper); }
.vt-post-n::before { content: "POST "; color: var(--pk-blue); }
.vt-post-media { position: relative; background: #050505; line-height: 0; }
/* The core gallery's rules never reach here, and these win over any theme rule that would stretch: the picture is as
   wide as the post and as tall as its own shape says. */
.vt-posts .vt-post .vt-post-media img, .vt-posts .vt-post .vt-post-media video {
  display: block; width: 100% !important; height: auto !important; max-width: 100% !important; max-height: none !important;
  aspect-ratio: auto; object-fit: contain !important; border: 0; margin: 0; flex: none !important;
}
.vt-posts .vt-rail.vt-post-actions {
  position: static; flex-direction: row; align-items: center; gap: 6px; padding: 8px 12px 4px 14px;
}
.vt-posts .vt-post-actions button, .vt-posts .vt-post-actions .vt-share {
  flex-direction: row; width: auto; gap: 7px; padding: 6px 12px !important; font-family: var(--pk-mono);
  font-size: 13px !important; background: none !important; color: var(--pk-paper) !important;
  border: 1px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; cursor: pointer;
  text-decoration: none; line-height: 1.2; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  justify-content: center;
}
.vt-posts .vt-post-actions button:hover, .vt-posts .vt-post-actions .vt-share:hover,
.vt-posts .vt-post-actions button:focus-visible, .vt-posts .vt-post-actions .vt-share:focus-visible {
  border-color: var(--pk-cyan) !important; color: var(--pk-cyan) !important; background: none !important;
}
.vt-posts .vt-post-actions span { font-size: 19px; line-height: 1; }
.vt-posts .vt-post-actions b { font-family: var(--pk-mono); font-weight: 600; font-size: 13px; }
.vt-posts .vt-like[aria-pressed="true"] { background: none !important; color: var(--pk-violet) !important; }
.vt-posts .vt-like[aria-pressed="true"] .vt-heart { text-shadow: 0 0 0 var(--pk-violet); }
.vt-posts .vt-share { margin-left: auto; font-size: 19px !important; }
.vt-posts .vt-share.vt-copied::after { content: "LINK COPIED"; font-size: 10px; letter-spacing: 0.16em; margin-left: 8px; color: var(--pk-cyan); }
.vt-posts .vt-cap.vt-post-cap {
  position: static; background: none; padding: 2px 16px 14px 18px; font-family: var(--pk-mono); font-size: 13px;
}
.vt-post-cap .vt-tag { color: var(--pk-cyan); font-weight: 600; letter-spacing: 0.04em; text-decoration: none; padding: 4px 0; }
.vt-post-cap .vt-tag:hover, .vt-post-cap .vt-tag:focus-visible { background: var(--pk-cyan); color: var(--pk-ink); }
.vt-filter {
  display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 8px 14px;
  border: 1px solid var(--pk-cyan); font-family: var(--pk-mono); font-size: 13px; letter-spacing: 0.08em;
}
.vt-filter span { color: var(--pk-cyan); }
.vt-filter a { text-decoration: none; padding: 6px 10px; border: 1px solid var(--pk-paper); }
.vt-post-cap .vt-when { color: var(--pk-paper); opacity: 0.6; letter-spacing: 0.12em; font-size: 11px; }
.vt-post-cap p { margin: 6px 0 0; color: var(--pk-paper); opacity: 0.85; }
.vt-posts .vt-burst { color: var(--pk-violet); text-shadow: 3px 3px 0 var(--pk-ink), -3px -3px 0 var(--pk-cyan); }
/* Comments open under the post, in the column, as on Instagram -- not over the picture. */
.vt-posts .vt-post .vt-sheet {
  position: static; max-height: 420px; border-top: 2px solid var(--pk-paper); background: var(--pk-ink); animation: none;
}
.vt-posts .vt-sheet-bar strong { font-family: var(--pk-head); font-weight: 400; letter-spacing: 0.06em; font-size: 18px; }
.vt-posts .vt-comments li { border-bottom: 1px dashed rgba(241, 239, 232, 0.25); }
.vt-posts .vt-sound { top: 10px; right: 10px; background: var(--pk-ink) !important; color: var(--pk-cyan) !important; border: 1px solid var(--pk-cyan) !important; }
@media (max-width: 640px) {
  .vectec-feed.vt-posts { gap: 22px; margin-top: 1em; }
  .entry-content:has(.vt-posts), .wp-block-post-content:has(.vt-posts) { padding: 0 !important; }
  .vt-posts .vt-slide.vt-post { border-left: 0; border-right: 0; clip-path: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vt-post-media:hover img { animation: pk-glitch 0.36s steps(2, end) 1; }
}

/* ------------------------------------------- the hub (Nel, 2026-11-30) -- */
/* A content hub on the home page: tabs in the bar, a spotlight of news and links, a row a category with a permanent
   arrow into its posts, then the latest posts. hub.php writes it. */
header .wp-block-group.alignwide { gap: 24px; flex-wrap: nowrap; }
.vt-tabs-bar { display: flex; gap: clamp(8px, 2.4vw, 28px); }
.vt-tabs-bar a {
  font-family: var(--pk-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 0 6px; min-height: 44px; display: inline-flex; align-items: center;
  color: rgba(241, 239, 232, 0.6); box-shadow: none;
}
.vt-tabs-bar a:hover, .vt-tabs-bar a:focus-visible { background: none; color: var(--pk-paper); }
.vt-tabs-bar a[aria-current="page"] { color: var(--pk-cyan); box-shadow: inset 0 -2px 0 var(--pk-cyan); }
@media (max-width: 640px) {
  header.wp-block-template-part { position: static; }
  header .wp-block-group.alignwide { flex-wrap: wrap; gap: 0; padding: 12px 16px 0 !important; }
  header .wp-block-site-title { width: 100%; }
  .vt-tabs-bar { width: 100%; justify-content: space-between; gap: 0; margin: 4px -6px 0; }
  .vt-tabs-bar a { flex: 1; justify-content: center; min-height: 46px; font-size: 12.5px; letter-spacing: 0.14em; }
}

.home main h1.wp-block-post-title { display: none; }
.vt-hub { max-width: 1240px; margin: 0 auto; }
.vt-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; text-decoration: none;
  font-family: var(--pk-mono); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--pk-paper); color: var(--pk-ink) !important; border: 2px solid var(--pk-paper);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.vt-btn:hover, .vt-btn:focus-visible { background: var(--pk-violet); border-color: var(--pk-violet); color: var(--pk-paper) !important; }
.vt-btn-ghost { background: rgba(0, 0, 0, 0.55); color: var(--pk-paper) !important; }
.vt-btn-ghost:hover, .vt-btn-ghost:focus-visible { background: var(--pk-blue); border-color: var(--pk-blue); }

/* The spotlight. */
.vt-spot { position: relative; margin: 18px 0 0; border: 2px solid var(--pk-paper); background: #050505; }
.vt-spot-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  height: clamp(380px, 64vh, 620px);
}
.vt-spot-track::-webkit-scrollbar { display: none; }
.vt-spot-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.vt-spot-slide img, .vt-spot-slide video {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 22%;
  max-width: none !important;
}
.vt-spot-slide::after { content: none; }
.vt-spot-plain { background: var(--pk-ink); }
.vt-spot-plain { background: var(--pk-violet); }
.vt-spot-plain::before {                           /* a solid block, offset, like a misprinted second colour */
  content: ""; position: absolute; right: 8%; top: 12%; width: 38%; height: 56%; background: var(--pk-blue);
  border: 2px solid var(--pk-ink);
}
.vt-spot-text { position: absolute; z-index: 2; left: clamp(12px, 4vw, 48px); right: clamp(12px, 4vw, 48px); bottom: 56px; max-width: 620px;
  background: var(--pk-ink); border: 2px solid var(--pk-paper); padding: 16px 20px 18px; }
.vt-spot-kicker { margin: 0 0 8px; font-family: var(--pk-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pk-cyan); }
.vt-spot-title { margin: 0; font-size: clamp(40px, 7vw, 88px) !important; line-height: 0.9; }
.vt-spot-line { margin: 10px 0 0; font-family: var(--pk-mono); font-size: 13px; letter-spacing: 0.06em; opacity: 0.85; }
.vt-spot-go { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vt-spot-prev, .vt-spot-next {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; padding: 0 !important;
  font-size: 40px !important; line-height: 1; background: rgba(0, 0, 0, 0.6) !important; color: var(--pk-paper) !important;
  border: 1px solid rgba(241, 239, 232, 0.4) !important; box-shadow: none !important; cursor: pointer; border-radius: 0 !important;
}
.vt-spot-prev { left: 0; } .vt-spot-next { right: 0; }
.vt-spot-prev:hover, .vt-spot-next:hover { background: var(--pk-cyan) !important; color: var(--pk-ink) !important; }
.vt-spot-bars { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 6px; }
.vt-spot-bars button {
  width: 36px; height: 24px; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; cursor: pointer;
  position: relative;
}
.vt-spot-bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: rgba(241, 239, 232, 0.45); }
.vt-spot-bars button[aria-current="true"]::before { background: var(--pk-cyan); }
@media (max-width: 640px) {
  .vt-spot { margin: 10px -16px 0; border-left: 0; border-right: 0; }
  .vt-spot-track { height: 72vh; max-height: 560px; }
  .vt-spot-prev, .vt-spot-next { display: none; }
  .vt-spot-text { bottom: 56px; }
}

/* A category's row. */
.vt-row, .vt-latest { margin-top: 44px; }
.vt-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vt-row-title { margin: 0 !important; font-size: clamp(26px, 3.4vw, 38px) !important; }
.vt-row-sub { margin: 4px 0 0; font-family: var(--pk-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--pk-cyan); }
.vt-row-all {
  font-family: var(--pk-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; white-space: nowrap;
}
.vt-row-all:hover, .vt-row-all:focus-visible { background: none; color: var(--pk-cyan); }
.vt-row-body { position: relative; }
.vt-row-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-right: 72px;
}
.vt-row-track::-webkit-scrollbar { display: none; }
.vt-tile2 { flex: 0 0 clamp(138px, 17vw, 210px); scroll-snap-align: start; text-decoration: none; display: block; }
.vt-tile2:hover, .vt-tile2:focus-visible { background: none; }
.vt-tile2-pic {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #0b0b0b; border: 2px solid rgba(241, 239, 232, 0.25);
  position: relative;
}
.vt-tile2:hover .vt-tile2-pic, .vt-tile2:focus-visible .vt-tile2-pic { border-color: var(--pk-cyan); }
.vt-tile2-pic img, .vt-tile2-pic video { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none !important; }
.vt-tile2-name { display: block; margin-top: 8px; font-family: var(--pk-mono); font-weight: 600; font-size: 13px; color: var(--pk-paper); }
.vt-tile2-meta { display: block; margin-top: 2px; font-family: var(--pk-mono); font-size: 11px; letter-spacing: 0.08em; opacity: 0.6; }
.vt-tile2-end .vt-tile2-pic { display: grid; place-items: center; align-content: center; gap: 6px; border-style: dashed; }
.vt-tile2-end b { font-family: var(--pk-head); font-weight: 400; font-size: 28px; text-transform: uppercase; color: var(--pk-paper); }
.vt-tile2-end i { font-style: normal; font-size: 40px; color: var(--pk-cyan); line-height: 1; }
/* The permanent arrow: always on the row's right edge, into the category's posts. */
.vt-row-more {
  position: absolute; z-index: 2; right: 0; top: calc(50% - 40px); width: 52px; height: 80px;
  display: grid; place-items: center; text-decoration: none; font-size: 44px; line-height: 1; color: var(--pk-paper);
  background: var(--pk-ink); border: 2px solid var(--pk-paper);
}
.vt-row-more:hover, .vt-row-more:focus-visible { color: var(--pk-ink); background: var(--pk-cyan); border-color: var(--pk-cyan); }

/* The latest posts under the rows. */
.vt-latest .vt-row-head { max-width: 600px; margin: 0 auto 0; }
.vt-latest .vectec-feed.vt-posts { margin-top: 12px; }
.vt-latest-more { max-width: 600px; margin: 24px auto 0; text-align: center; }
.vt-latest-more a { font-family: var(--pk-mono); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; min-height: 46px; align-items: center; padding: 0 22px; border: 2px solid var(--pk-paper); }
.vt-latest-more a:hover, .vt-latest-more a:focus-visible { background: var(--pk-cyan); color: var(--pk-ink); border-color: var(--pk-cyan); }

/* The Posts tab's categories. */
.vt-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.vt-chips::-webkit-scrollbar { display: none; }
.vt-chips a {
  flex: none; font-family: var(--pk-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none;
  min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid rgba(241, 239, 232, 0.5);
}
.vt-chips a i { font-style: normal; opacity: 0.6; font-weight: 400; }
.vt-chips a:hover, .vt-chips a:focus-visible { background: none; border-color: var(--pk-cyan); color: var(--pk-cyan); }
.vt-chips a[aria-current="page"] { background: var(--pk-cyan); border-color: var(--pk-cyan); color: var(--pk-ink); }

/* The Network page. */
.vt-net { max-width: 680px; margin: 24px auto 0; padding: 28px clamp(18px, 4vw, 36px); border: 2px solid var(--pk-paper); position: relative;
  background: var(--pk-ink); box-shadow: 8px 8px 0 var(--pk-violet); }
.vt-net-kicker { margin: 0; font-family: var(--pk-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pk-cyan); }
.vt-net-title { margin: 8px 0 14px !important; font-size: clamp(30px, 5vw, 52px) !important; background: none !important; color: var(--pk-paper) !important;
  display: block !important; transform: none !important; padding: 0 !important; }
.vt-net-title::before { content: none !important; }
.vt-net-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.vt-net-list li { padding: 10px 14px; border-left: 4px solid var(--pk-violet); background: rgba(0, 0, 0, 0.5); }
.vt-net-list b { display: block; font-family: var(--pk-head); font-weight: 400; font-size: 20px; text-transform: uppercase; }
@media (max-width: 640px) {
  /* The posts' page drops its side padding so posts run edge to edge; the hub keeps a gutter for its words and rows,
     and lets the spotlight and the posts run to the edges. */
  .vt-hub { padding: 0 16px; }
  .vt-hub .vt-latest .vectec-feed.vt-posts { margin-left: -16px; margin-right: -16px; }
  .vt-chips { padding-left: 16px; padding-right: 16px; }
  .vt-net { margin-left: 0; margin-right: 0; }
}

/* GIFs and clips in rows (Nel, 2026-11-30): a corner tag says which. */
.vt-tile2-kind {
  position: absolute; left: 0; top: 0; font-style: normal; font-family: var(--pk-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 7px; background: var(--pk-ink); color: var(--pk-cyan);
  border-right: 1px solid var(--pk-cyan); border-bottom: 1px solid var(--pk-cyan);
}

/* The site builder's pieces (builder.php, ADR-0171): a text section on the home page, a block page, a picture block. */
.vt-textsec { max-width: 760px; }
.vt-textsec p { font-family: var(--pk-mono); color: var(--pk-paper); line-height: 1.65; margin: 0 0 1em; max-width: 64ch; }
.vt-page-blocks { max-width: 760px; margin: 24px auto 0; padding: 0 16px; }
.vt-page-blocks > h2.vt-row-title { margin: 28px 0 12px !important; }
.vt-page-blocks > p { font-family: var(--pk-mono); color: var(--pk-paper); line-height: 1.65; max-width: 64ch; }
.vt-page-pic { margin: 22px 0; border: 2px solid var(--pk-paper); background: #050505; line-height: 0; }
.vt-page-pic img, .vt-page-pic video { width: 100%; height: auto; display: block; }
.vt-page-pic figcaption { line-height: 1.5; padding: 10px 12px; font-family: var(--pk-mono); font-size: 13px; color: var(--pk-paper); border-top: 2px solid var(--pk-paper); }
.vt-page-blocks .vt-btn { display: inline-block; margin: 6px 0 14px; }

/* ---- Comics, videos, spots, membership (works.php, shop.php, tiers.php; ADR-0172). Flat colour only. ---- */
.vt-works { max-width: 1200px; margin: 24px auto 0; padding: 0 16px; }
.vt-works-sub { margin-top: 36px !important; }
.vt-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 16px; }
.vt-works-grid .vt-tile2 { flex: none; }
.vt-cover-none { display: block; width: 100%; height: 100%; min-height: 120px; background: #111; }
.vt-badge { display: inline-block; margin-left: 6px; padding: 2px 7px; font: 600 11px/1.4 var(--pk-mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid currentColor; }
.vt-badge-e { color: var(--pk-cyan); }
.vt-badge-m { color: var(--pk-violet); }

.vt-series { max-width: 1000px; margin: 24px auto 0; padding: 0 16px; }
.vt-series-head { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 24px; align-items: start; }
.vt-series-cover { aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--pk-paper); background: #050505; }
.vt-series-cover img, .vt-series-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-series-head p { font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-chapters { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--pk-paper); }
.vt-chapters li a { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid rgba(241, 239, 232, 0.25); color: var(--pk-paper); text-decoration: none; font-family: var(--pk-mono); }
.vt-chapters li a:hover, .vt-chapters li a:focus-visible { background: var(--pk-paper); color: var(--pk-ink); }
.vt-ch-n { opacity: 0.6; min-width: 2.2em; }
.vt-ch-t { flex: 1; }
.vt-ch-locked a { opacity: 0.7; }
@media (max-width: 640px) { .vt-series-head { grid-template-columns: 1fr; } .vt-series-cover { max-width: 220px; } }

.vt-locked { max-width: 640px; margin: 40px auto; padding: 28px 20px; border: 2px solid var(--pk-paper); text-align: center; font-family: var(--pk-mono); color: var(--pk-paper); }

/* The reader. */
.vt-reader { position: relative; max-width: 1100px; margin: 18px auto 0; background: #050505; border: 2px solid var(--pk-paper); outline: none; }
.vt-reader:fullscreen { max-width: none; border: 0; display: flex; flex-direction: column; }
.vt-reader-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; border-bottom: 2px solid var(--pk-paper); font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-reader-back { color: var(--pk-paper); text-decoration: none; }
.vt-reader-title { flex: 1; font-weight: 600; }
.vt-reader-count { opacity: 0.8; min-width: 5em; text-align: right; }
.vt-reader-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-reader-tools button, .vt-reader-tools a { font: 600 12px/1 var(--pk-mono) !important; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 11px !important; min-height: 36px;
  background: transparent !important; color: var(--pk-paper) !important; border: 1px solid var(--pk-paper) !important; border-radius: 0 !important; text-decoration: none; cursor: pointer; }
.vt-reader-tools [aria-pressed="true"] { background: var(--pk-paper) !important; color: var(--pk-ink) !important; }
.vt-reader-chapters { padding: 10px 14px; border-bottom: 2px solid var(--pk-paper); max-height: 40vh; overflow: auto; }
.vt-chlist { margin: 0; padding-left: 0; list-style: none; font-family: var(--pk-mono); }
.vt-chlist a { color: var(--pk-paper); display: block; padding: 6px 0; text-decoration: none; }
.vt-chlist [aria-current] a { color: var(--pk-cyan); }
.vt-reader-pages { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 60vh; overflow: hidden; touch-action: pan-y pinch-zoom; }
.vt-reader:fullscreen .vt-reader-pages { flex: 1; align-items: center; }
.vt-rpage { display: none; margin: 0; }
.vt-rpage.vt-on { display: block; }
.vt-rpage img { display: block; max-width: 100%; max-height: 88vh; height: auto; margin: 0 auto; transition: transform 0.15s; cursor: zoom-in; }
.vt-rpage img.vt-zoomed { cursor: move; }
.vt-reader:fullscreen .vt-rpage img { max-height: calc(100vh - 70px); }
.vt-reader[data-mode="spread"] .vt-rpage.vt-on.vt-left, .vt-reader[data-mode="spread"] .vt-rpage.vt-on.vt-right { width: 50%; }
.vt-reader[data-mode="spread"] .vt-rpage.vt-left img { margin-right: 0; }
.vt-reader[data-mode="spread"] .vt-rpage.vt-right img { margin-left: 0; }
.vt-reader[data-mode="scroll"] .vt-reader-pages { display: block; overflow: visible; }
.vt-reader[data-mode="scroll"] .vt-rpage img { max-height: none; }
.vt-reader[data-mode="scroll"] .vt-reader-prev, .vt-reader[data-mode="scroll"] .vt-reader-next { display: none; }
.vt-rend, .vt-rspot { padding: 32px 20px; text-align: center; width: 100%; max-width: 720px; }
.vt-reader-prev, .vt-reader-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 70px; font-size: 32px !important; line-height: 1;
  background: rgba(0, 0, 0, 0.55) !important; color: var(--pk-paper) !important; border: 1px solid var(--pk-paper) !important; border-radius: 0 !important; cursor: pointer; }
.vt-reader-prev { left: 8px; }
.vt-reader-next { right: 8px; }
.vt-reader-prev:disabled, .vt-reader-next:disabled { opacity: 0.25; }

/* The player. */
.vt-watch { max-width: 1280px; margin: 18px auto 0; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; outline: none; }
.vt-watch .vt-player { grid-column: 1; }
.vt-watch .vt-watch-main { grid-column: 1; }
.vt-watch .vt-playlist { grid-column: 2; grid-row: 1 / span 2; }
.vt-watch.vt-theater { grid-template-columns: 1fr; }
.vt-watch.vt-theater .vt-playlist { grid-column: 1; grid-row: auto; }
.vt-player { position: relative; background: #000; border: 2px solid var(--pk-paper); line-height: 0; }
.vt-player video { width: 100%; max-height: 80vh; display: block; background: #000; }
.vt-player:fullscreen video { max-height: none; height: 100%; }
.vt-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: #050505; border-top: 2px solid var(--pk-paper); line-height: 1.2; font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-controls button, .vt-controls select { font: 600 13px/1 var(--pk-mono) !important; min-width: 40px; min-height: 36px; padding: 6px 9px !important; background: transparent !important;
  color: var(--pk-paper) !important; border: 1px solid var(--pk-paper) !important; border-radius: 0 !important; cursor: pointer; }
.vt-c-time { min-width: 7.5em; font-size: 13px; }
.vt-c-line { position: relative; flex: 1 1 200px; height: 14px; background: #222; cursor: pointer; border: 1px solid var(--pk-paper); }
.vt-c-done { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pk-cyan); pointer-events: none; }
.vt-c-mark { position: absolute; top: -4px; width: 4px !important; min-width: 0 !important; height: 20px; padding: 0 !important; margin-left: -2px; background: var(--pk-violet) !important; border: 0 !important; }
.vt-c-note { position: absolute; left: 12px; top: 12px; padding: 6px 10px; background: var(--pk-paper); color: var(--pk-ink); font: 600 13px/1.3 var(--pk-mono); }
.vt-screen { position: relative; }
.vt-endcard { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; line-height: 1.4; text-align: center; overflow: auto; }
.vt-endcard[hidden] { display: none; }
.vt-endcard .vt-spots { margin: 4px auto; padding: 0; width: 100%; }
.vt-endcard .vt-spots-list { grid-template-columns: repeat(auto-fit, minmax(110px, 150px)); justify-content: center; }
.vt-endcard .vt-spot img, .vt-endcard .vt-spot .vt-cover-none { aspect-ratio: 4 / 3; }
.vt-endcard .vt-spots-off { display: none; }
.vt-watch .vt-playlist { align-self: start; }
.vt-c-count { font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-watch-info p { font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-watch-actions { margin: 10px 0; }
.vt-watch-actions .vt-slide { min-height: 0; height: auto; position: static; display: block; }
.vt-watch-actions .vt-rail { position: static; flex-direction: row; }
.vt-playlist { list-style: none; margin: 0; padding: 0; max-height: 80vh; overflow: auto; border: 2px solid var(--pk-paper); }
.vt-playlist a { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; padding: 8px; color: var(--pk-paper); text-decoration: none; font: 13px/1.35 var(--pk-mono); border-bottom: 1px solid rgba(241, 239, 232, 0.2); }
.vt-playlist img, .vt-playlist video, .vt-playlist .vt-cover-none { width: 96px; height: 54px; min-height: 0; object-fit: cover; display: block; }
.vt-playlist [aria-current] a { background: var(--pk-paper); color: var(--pk-ink); }
@media (max-width: 900px) { .vt-watch { grid-template-columns: 1fr; } .vt-watch .vt-playlist { grid-column: 1; grid-row: auto; } }

/* Shop spots. */
.vt-spots { margin: 22px auto; max-width: 900px; padding: 0 16px; text-align: left; }
.vt-spots-k { font: 600 12px/1 var(--pk-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pk-cyan); margin: 0 0 10px; }
.vt-spots-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.vt-spot { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 2px solid var(--pk-paper); color: var(--pk-paper); text-decoration: none; font: 13px/1.35 var(--pk-mono); background: #050505; }
.vt-spot:hover, .vt-spot:focus-visible { border-color: var(--pk-cyan); }
.vt-spot img, .vt-spot .vt-cover-none { width: 100%; aspect-ratio: 1; object-fit: cover; min-height: 0; }
.vt-spot-name { font-weight: 600; }
.vt-spot-price del { opacity: 0.6; }
.vt-spots-off { font: 12px/1.4 var(--pk-mono); margin: 8px 0 0; }
.vt-spots-off a { color: var(--pk-paper); opacity: 0.7; }
.vt-spots-between { margin: 0 auto; }

/* Membership and the shop's own bits. */
.vt-tiers { max-width: 960px; margin: 28px auto 0; padding: 0 16px; font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-tier-now { padding: 12px 14px; border: 2px solid var(--pk-cyan); }
.vt-tier-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.vt-tier { border: 2px solid var(--pk-paper); padding: 18px; }
.vt-tier-paid { border-color: var(--pk-violet); }
.vt-tier ul { padding-left: 1.1em; line-height: 1.7; }
.vt-tier-note { margin-top: 18px; }
.vt-member-price { color: var(--pk-cyan); font-family: var(--pk-mono); font-size: 0.9em; }
.vt-commission textarea, .vt-commission input, .vt-pwyw input { width: 100%; max-width: 520px; display: block; }
@media (max-width: 640px) {
  .vt-reader-prev, .vt-reader-next { display: none; } /* edge taps and swipes turn the page; the art stays clear */
  .vt-spots-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-reader-bar { font-size: 13px; }
}

/* ---- The safe-for-work view and the 18+ question (sfw.php), portfolio and info blocks (builder.php; ADR-0173). ---- */
.vt-sfw { --vt-sfw-lift: 0px; }
.vt-sfw-switch { position: fixed; right: max(10px, env(safe-area-inset-right)); bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--vt-sfw-lift)); z-index: 9000;
  display: inline-flex; align-items: center; gap: 7px; font: 700 11px/1 var(--pk-mono) !important; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 9px 6px 7px !important; min-height: 32px; background: var(--pk-ink) !important; color: var(--pk-paper) !important;
  border: 2px solid var(--pk-paper) !important; border-radius: 0 !important; cursor: pointer; opacity: 0.88; }
.vt-sfw-switch:hover, .vt-sfw-switch:focus-visible { opacity: 1; }
.vt-sfw-switch:focus-visible { outline: 3px solid var(--pk-cyan) !important; outline-offset: 2px; }
.vt-sfw-track { position: relative; width: 26px; height: 14px; border: 2px solid currentColor; flex: none; }
.vt-sfw-knob { position: absolute; top: 1px; left: 1px; width: 8px; height: 8px; background: currentColor; transition: left 0.12s; }
.vt-sfw-switch[aria-checked="true"] { color: var(--pk-violet) !important; border-color: var(--pk-violet) !important; }
.vt-sfw-switch[aria-checked="true"] .vt-sfw-knob { left: 13px; }
.vt-sfw-switch[aria-checked="false"] { color: var(--pk-cyan) !important; border-color: var(--pk-cyan) !important; }
/* The state in words only when asked (hover, keyboard focus): small on a phone, out of the art's way. */
.vt-sfw-state { display: none; letter-spacing: 0.06em; }
.vt-sfw-switch:hover .vt-sfw-state, .vt-sfw-switch:focus-visible .vt-sfw-state { display: inline; }
.vt-sfw-switch:hover .vt-sfw-label, .vt-sfw-switch:focus-visible .vt-sfw-label { display: none; }
.vt-sfw-reveal { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  font: 700 12px/1 var(--pk-mono) !important; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 12px !important; min-height: 40px;
  background: var(--pk-ink) !important; color: var(--pk-paper) !important; border: 2px solid var(--pk-paper) !important; border-radius: 0 !important; cursor: pointer; }
.vt-sfw-reveal:hover, .vt-sfw-reveal:focus-visible { border-color: var(--pk-violet) !important; color: var(--pk-violet) !important; }
.vt-tile2-pic .vt-sfw-reveal, .vt-pf-item .vt-sfw-reveal { font-size: 10px !important; padding: 7px 8px !important; min-height: 30px; bottom: 10%; }
.vt-sfw-ask { position: fixed; inset: 0; z-index: 9500; background: rgba(0, 0, 0, 0.88); display: grid; place-items: center; padding: 16px; }
.vt-sfw-ask[hidden] { display: none; }
.vt-sfw-card { max-width: 520px; width: 100%; background: var(--pk-ink); border: 2px solid var(--pk-paper); padding: 24px 22px; font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-sfw-card .vt-kind { color: var(--pk-violet); font-weight: 700; letter-spacing: 0.14em; margin: 0; }
.vt-sfw-btns { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.vt-sfw-btns .vt-btn { text-align: center; width: 100%; }
html.vt-sfw-open { overflow: hidden; }
.vt-sfw-locked img { display: block; margin: 0 auto 14px; max-width: 240px; height: auto; }

.vt-pf { margin: 26px 0; }
.vt-pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.vt-pf-item { display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--pk-paper); background: #050505; }
.vt-pf-item:hover, .vt-pf-item:focus-visible { border-color: var(--pk-cyan); }
.vt-pf-item img, .vt-pf-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-bio { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start; margin: 22px 0; font-family: var(--pk-mono); color: var(--pk-paper); }
.vt-bio-photo { aspect-ratio: 1; overflow: hidden; border: 2px solid var(--pk-paper); }
.vt-bio-photo img, .vt-bio-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-links { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vt-qr { margin: 26px 0; text-align: center; }
.vt-qr img { display: block; margin: 0 auto 12px; width: 240px; height: 240px; image-rendering: pixelated; border: 2px solid var(--pk-paper); }
@media (max-width: 640px) { .vt-bio { grid-template-columns: 1fr; } .vt-bio-photo { max-width: 180px; } .vt-pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vt-sfw-btns button { font: 700 13px/1.2 var(--pk-mono) !important; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 16px !important; min-height: 48px;
  border: 2px solid var(--pk-paper) !important; border-radius: 0 !important; cursor: pointer; }
.vt-sfw-btns .vt-sfw-all { background: var(--pk-paper) !important; color: var(--pk-ink) !important; }
.vt-sfw-btns .vt-sfw-safe { background: transparent !important; color: var(--pk-paper) !important; }
.vt-sfw-btns button:focus-visible { outline: 3px solid var(--pk-cyan) !important; outline-offset: 2px; }
.vt-pf-item { position: relative; }
.vt-pf-item .vt-tile2-kind { position: absolute; left: 8px; top: 8px; }
.vt-pf-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: rgba(0, 0, 0, 0.78); color: var(--pk-paper); font: 700 13px/1.2 var(--pk-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- the Member tab (member.php) ---- */
.vt-me { max-width: 860px; margin: 0 auto; padding: 8px 0 40px; }
.vt-me-head { display: flex; gap: 16px; align-items: center; margin: 8px 0 14px; }
.vt-me-head .vt-row-title { margin: 0; }
.vt-me-head p { margin: 4px 0 0; }
.vt-me-av { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; image-rendering: pixelated; border: 2px solid var(--pk-paper); background: var(--pk-ink); }
.vt-me-tabs a i { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; background: var(--pk-cyan); color: var(--pk-ink); opacity: 1; font-weight: 700; text-align: center; }
.vt-me-body { margin-top: 18px; }
.vt-me-body h2.vt-row-title { margin-top: 28px; font-size: 1.05rem; }
.vt-me-form { display: grid; gap: 12px; max-width: 520px; }
.vt-me-form label { display: grid; gap: 6px; font: 700 12px/1.2 var(--pk-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.vt-me-form input:not([type=checkbox]), .vt-me-form textarea, .vt-me-form select { font: 400 16px/1.4 inherit; text-transform: none; letter-spacing: 0; padding: 10px 12px; background: rgba(0, 0, 0, 0.55); color: var(--pk-paper); border: 2px solid rgba(255, 255, 255, 0.35); }
.vt-me-form input:focus-visible, .vt-me-form textarea:focus-visible, .vt-me-form select:focus-visible { outline: 3px solid var(--pk-cyan); outline-offset: 1px; }
.vt-me-form .vt-check { display: flex; gap: 10px; align-items: center; text-transform: none; letter-spacing: 0; font: 400 15px/1.3 inherit; }
.vt-me-form .vt-check input { width: 20px; height: 20px; accent-color: var(--pk-cyan); }
.vt-me-form .vt-btn { justify-self: start; }
.vt-me .vt-note { font: 400 13px/1.3 var(--pk-mono); opacity: 0.8; }
.vt-me-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.vt-me-list li { padding: 10px 12px; background: rgba(0, 0, 0, 0.45); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.vt-notes li.vt-unread { border-left: 4px solid var(--pk-cyan); }
.vt-linkbtn { background: none; border: 0; padding: 0; color: var(--pk-cyan); font: 400 13px/1.2 var(--pk-mono); text-decoration: underline; cursor: pointer; }
.vt-me-avatar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vt-me-avatar label { cursor: pointer; }
.vt-toggle[aria-pressed="true"] { background: var(--pk-cyan) !important; border-color: var(--pk-cyan); color: var(--pk-ink) !important; }
.vt-reader-tools .vt-toggle { padding: 4px 10px; font-size: 12px; }
@media (max-width: 640px) { .vt-me { padding-left: 16px; padding-right: 16px; } .vt-me-head { align-items: flex-start; } }
.vt-me-flash { margin: 14px 0 0; padding: 10px 12px; border-left: 4px solid var(--pk-cyan); background: rgba(0, 0, 0, 0.5); }
/* The theme styles every button; the kit's buttons keep their own look. */
button.vt-btn { background: var(--pk-paper) !important; color: var(--pk-ink) !important; border-radius: 0 !important; }
button.vt-btn-ghost, button.vt-toggle { background: rgba(0, 0, 0, 0.55) !important; color: var(--pk-paper) !important; }
button.vt-btn:hover, button.vt-btn:focus-visible { background: var(--pk-violet) !important; color: var(--pk-paper) !important; }
button.vt-toggle[aria-pressed="true"] { background: var(--pk-cyan) !important; color: var(--pk-ink) !important; }
.vt-me .vt-linkbtn { background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; color: var(--pk-cyan) !important; font: 400 13px/1.2 var(--pk-mono) !important; text-transform: none !important; letter-spacing: 0 !important; }

/* ---- the Store tab (storefront.php) ---- */
.vt-store-soon { flex: 0 0 clamp(220px, 30vw, 320px); min-height: 120px; padding: 16px; border: 2px dashed rgba(255, 255, 255, 0.3); display: grid; align-content: start; gap: 10px; }
.vt-store-soon p { margin: 0; }
.vt-store-price { display: block; margin-top: 4px; font: 400 13px/1.3 var(--pk-mono); color: var(--pk-paper); }
.vt-store-price .vt-member-price { display: block; color: var(--pk-cyan); }
.vt-store-foot { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .vt-store-foot { padding: 0 16px; } }
.vt-pk-hint { display: block; margin-top: 6px; }
.vt-qr figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.vt-store-soon-art { position: relative; overflow: hidden; border-style: solid; min-height: 220px; align-content: end; }
.vt-store-soon-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vt-store-soon-art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0 38%, rgba(0, 0, 0, 0.15) 75%); }
.vt-store-soon-art > :not(img) { position: relative; z-index: 2; }
.vt-store-soon .vt-kind { justify-self: start; }

/* ---- posts as screens (Nel, 2026-11-30: "chromatic aberration effects going on on posts with a mild depth effect
   like it's on a screen"; "it's on the posts, not content"): the post's frame splits into red and cyan, its words
   fringe the same way, and it floats a little off the ground. The art inside is untouched. ---- */
/* The fringes follow the cut corners (unblurred drop-shadows, cheap); the depth is a plain soft shadow under the box. */
.vt-screen {
  filter: drop-shadow(-2px 0 0 rgba(255, 46, 99, 0.7)) drop-shadow(2px 0 0 rgba(0, 229, 255, 0.65));
  box-shadow: 0 18px 26px -10px rgba(0, 0, 0, 0.85);
}
.vt-screen .vt-post-head, .vt-screen .vt-post-actions, .vt-screen .vt-post-cap {
  text-shadow: -1px 0 rgba(255, 46, 99, 0.75), 1px 0 rgba(0, 229, 255, 0.7);
}
.vt-screen .vt-post-head { box-shadow: inset 0 1px 0 rgba(241, 239, 232, 0.18); }   /* the glass's top edge */
@media (max-width: 640px) { .vt-screen { filter: none; } }   /* full-bleed on a phone: no side edges to fringe */
@media (prefers-reduced-transparency: reduce) { .vt-screen .vt-post-head, .vt-screen .vt-post-actions, .vt-screen .vt-post-cap { text-shadow: none; } }

/* ---- banners over art stay small (Nel, 2026-11-30: "make sure that text/link banners over art aren't taking up most
   of the art's space"): the spotlight's card keeps to a corner, a quarter of the picture at most. ---- */
.vt-spot-text { left: 16px; right: auto; bottom: 46px; max-width: min(380px, 42%); padding: 10px 14px 12px; background: rgba(0, 0, 0, 0.82); }
.vt-spot-kicker { font-size: 10.5px; margin-bottom: 4px; }
.vt-spot-title { font-size: clamp(22px, 2.6vw, 38px) !important; }
.vt-spot-line { font-size: 12px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vt-spot-go { margin-top: 10px; gap: 8px; }
.vt-spot-go .vt-btn { min-height: 34px; padding: 0 12px; font-size: 11.5px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
@media (max-width: 640px) {
  .vt-spot-text { left: 10px; right: 10px; bottom: 40px; max-width: none; }
  .vt-spot-title { font-size: 22px !important; }
  .vt-spot-line { -webkit-line-clamp: 1; }
  .vt-spot-go .vt-btn-ghost { display: none; }      /* one button on a phone */
}
.vt-store-soon-art::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0 26%, rgba(0, 0, 0, 0) 55%); }

/* ---- the comic reader: no arrows (the page's left and right edges turn it), and scroll mode scrolls in fullscreen ---- */
.vt-reader-prev, .vt-reader-next { display: none !important; }
.vt-reader-pages.vt-edge-back { cursor: w-resize; }
.vt-reader-pages.vt-edge-next { cursor: e-resize; }
.vt-reader:fullscreen, .vt-reader:-webkit-full-screen { overflow-y: auto; -webkit-overflow-scrolling: touch; background: #050505; width: 100%; height: 100%; }
.vt-reader:fullscreen .vt-reader-bar, .vt-reader:-webkit-full-screen .vt-reader-bar { position: sticky; top: 0; z-index: 5; background: #050505; }
.vt-reader:-webkit-full-screen { max-width: none; border: 0; display: flex; flex-direction: column; }
.vt-reader:-webkit-full-screen .vt-reader-pages { flex: 1; align-items: center; }
.vt-reader:-webkit-full-screen .vt-rpage img { max-height: calc(100vh - 70px); }
.vt-reader[data-mode="scroll"]:fullscreen, .vt-reader[data-mode="scroll"]:-webkit-full-screen { display: block; }
.vt-reader[data-mode="scroll"]:fullscreen .vt-rpage img, .vt-reader[data-mode="scroll"]:-webkit-full-screen .vt-rpage img { max-height: none; }

/* ---- the Add to Home Screen card (pwa.php) ---- */
.vt-a2hs { position: fixed; z-index: 8900; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom));
  width: min(380px, calc(100vw - 24px)); display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
  background: var(--pk-ink); border: 2px solid var(--pk-paper); box-shadow: -2px 0 0 rgba(255, 46, 99, 0.7), 2px 0 0 rgba(0, 229, 255, 0.65), 0 14px 28px rgba(0, 0, 0, 0.8);
  font-family: var(--pk-mono); font-size: 13px; color: var(--pk-paper); }
.vt-a2hs[hidden] { display: none; }
.vt-a2hs img { flex: none; width: 52px; height: 52px; }
.vt-a2hs p { margin: 0; }
.vt-a2hs-h { font-weight: 600; letter-spacing: 0.04em; margin-bottom: 4px !important; }
.vt-a2hs-how { line-height: 1.45; opacity: 0.9; }
.vt-a2hs-btns { display: flex; gap: 8px; margin-top: 10px !important; }
.vt-a2hs-btns .vt-btn { min-height: 36px; padding: 0 14px; font-size: 11.5px; }
.vt-a2hs-share { display: inline-block; width: 13px; height: 16px; vertical-align: -3px; margin-right: 2px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 16' fill='none' stroke='%2300f0ff' stroke-width='1.5'%3E%3Cpath d='M4 6H1.5v9h10V6H9M6.5 1v9M3.8 3.6 6.5 1l2.7 2.6'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .vt-a2hs-on .vt-sfw { --vt-sfw-lift: 150px; } }
.vt-a2hs [hidden] { display: none !important; }

/* ---- bigger previews, Netflix-style (Nel, 2026-11-30: "increase the size of previews like Netflix so that less can
   show for there to be live animations playing efficiently"): about three and a half tiles across a desktop row, one
   and a half on a phone; a tile lifts a little under the pointer. ---- */
.vt-tile2 { flex: 0 0 clamp(210px, 25vw, 330px); }
.vt-row-track { gap: 14px; padding-top: 6px; padding-bottom: 10px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vt-tile2 .vt-tile2-pic { transition: transform 0.18s ease-out, box-shadow 0.18s ease-out; }
  .vt-tile2:hover .vt-tile2-pic, .vt-tile2:focus-visible .vt-tile2-pic { transform: translateY(-4px) scale(1.03); box-shadow: -2px 0 0 rgba(255, 46, 99, 0.7), 2px 0 0 rgba(0, 229, 255, 0.65), 0 14px 24px rgba(0, 0, 0, 0.7); }
}
@media (max-width: 640px) { .vt-tile2 { flex-basis: 58vw; } }

/* ---- the animated logo (logo.php; made with Koma) ---- */
/* Cropped to the word: the clip is 480x160 art pixels and the word sits in x 85-395, y 25-115 of it (the CRT's
   switching-on band still crosses the whole box). */
.vt-logo { position: relative; display: block; height: 46px; aspect-ratio: 310 / 90; overflow: hidden; background: #000; }
.vt-logo video { position: absolute; left: -27.42%; top: -27.78%; width: 154.84% !important; height: auto !important; max-width: none !important;
  border: 0 !important; margin: 0 !important; image-rendering: pixelated; }
.vt-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none;           /* the tube's scanlines */
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 1px, rgba(0, 0, 0, 0.45) 1px 2px); }
.vt-logo-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-block-site-title a:hover .vt-logo, .wp-block-site-title a:focus-visible .vt-logo { outline: 2px solid var(--pk-cyan); outline-offset: 2px; }
.wp-block-site-title a:hover, .wp-block-site-title a:focus-visible { background: none !important; }
@media (max-width: 640px) { .vt-logo { height: 38px; } }

/* ---- art in the static (ghost.php): black and white, VHS, behind the page ---- */
.vt-ghost { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; opacity: 0; }
.vt-ghost img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 50% 30%;
  transform: translateX(var(--vt-ghost-x, 0%)); filter: grayscale(1) contrast(1.35) brightness(0.85) blur(0.6px); }
/* Tape noise and the tracking bar rolling down. */
.vt-ghost::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--pk-static) 0 0 / 192px 192px; opacity: 0.35; mix-blend-mode: screen; }
.vt-ghost::after { content: ""; position: absolute; left: 0; right: 0; height: 14%; top: -14%; z-index: 2;
  background: linear-gradient(to bottom, rgba(241, 239, 232, 0) 0, rgba(241, 239, 232, 0.28) 45%, rgba(0, 0, 0, 0.45) 55%, rgba(241, 239, 232, 0) 100%), var(--pk-static) 0 0 / 128px 64px;
  background-blend-mode: screen; filter: blur(1px); }
.vt-ghost.vt-ghost-on { animation: vt-ghost-life 2.8s linear 1 both; }
.vt-ghost.vt-ghost-on img { animation: vt-ghost-tear 2.8s steps(1) 1 both; }
.vt-ghost.vt-ghost-on::after { animation: vt-ghost-track 2.8s linear 1 both; }
@keyframes vt-ghost-life {                 /* how much of the picture comes through the static */
  0% { opacity: 0; } 4% { opacity: 0.25; } 7% { opacity: 0.05; } 11% { opacity: 0.32; } 15% { opacity: 0.45; }
  78% { opacity: 0.45; } 83% { opacity: 0.16; } 86% { opacity: 0.36; } 92% { opacity: 0.1; } 100% { opacity: 0; }
}
@keyframes vt-ghost-tear {                 /* torn in, a few jitters while clear, torn out */
  0% { clip-path: inset(38% 0 44% 0); transform: translateX(calc(var(--vt-ghost-x, 0%) - 4%)); }
  4% { clip-path: inset(12% 0 61% 0); transform: translateX(calc(var(--vt-ghost-x, 0%) + 6%)); }
  8% { clip-path: inset(0 0 22% 0); transform: translateX(calc(var(--vt-ghost-x, 0%) - 2%)); }
  12% { clip-path: inset(0 0 0 0); transform: translateX(var(--vt-ghost-x, 0%)); }
  34% { transform: translateX(calc(var(--vt-ghost-x, 0%) + 0.6%)); } 35% { transform: translateX(var(--vt-ghost-x, 0%)); }
  58% { transform: translateX(calc(var(--vt-ghost-x, 0%) - 0.8%)); } 59.5% { transform: translateX(var(--vt-ghost-x, 0%)); }
  80% { clip-path: inset(0 0 0 0); }
  84% { clip-path: inset(20% 0 30% 0); transform: translateX(calc(var(--vt-ghost-x, 0%) + 5%)); }
  89% { clip-path: inset(55% 0 8% 0); transform: translateX(calc(var(--vt-ghost-x, 0%) - 7%)); }
  94% { clip-path: inset(70% 0 25% 0); transform: translateX(calc(var(--vt-ghost-x, 0%) + 3%)); }
  100% { clip-path: inset(50% 0 50% 0); }
}
@keyframes vt-ghost-track { 0% { top: -14%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .vt-ghost { display: none; } }

/* ---- the Commissions page (commissions.php) ---- */
.vt-cm { max-width: 1100px; margin: 0 auto; padding: 8px 0 48px; }
.vt-cm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.vt-cm-state { margin: 0; font: 600 13px/1.3 var(--pk-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.vt-cm-state b { display: inline-block; padding: 4px 10px; margin-right: 6px; color: var(--pk-ink); }
.vt-cm-open { background: var(--pk-cyan); } .vt-cm-full { background: var(--pk-paper); } .vt-cm-closed { background: rgb(255, 46, 99); }
.vt-cm-intro { max-width: 720px; font-size: 16px; line-height: 1.55; }
.vt-cm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 22px; }
.vt-cm-card { background: var(--pk-ink); border: 2px solid var(--pk-paper); display: flex; flex-direction: column;
  box-shadow: -2px 0 0 rgba(255, 46, 99, 0.7), 2px 0 0 rgba(0, 229, 255, 0.65), 0 16px 26px -10px rgba(0, 0, 0, 0.85); }
.vt-cm-exs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #050505; }
.vt-cm-exs:has(> :only-child) { grid-template-columns: 1fr; }
.vt-cm-ex { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.vt-cm-ex:only-child { aspect-ratio: 4 / 3; }
.vt-cm-ex img, .vt-cm-ex video { width: 100%; height: 100%; object-fit: cover; display: block; border: 0 !important; }
.vt-cm-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vt-cm-body h2 { margin: 0; font-size: 26px !important; }
.vt-cm-body p { margin: 0; }
.vt-cm-price { font: 600 15px/1.3 var(--pk-mono); color: var(--pk-cyan); }
.vt-cm-price span { color: var(--pk-paper); opacity: 0.75; font-weight: 400; }
.vt-cm-body .vt-btn { margin-top: auto; align-self: flex-start; }
.vt-cm-wait { cursor: default; opacity: 0.7; }
.vt-cm-h2 { margin-top: 40px !important; }
.vt-cm-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
@media (max-width: 960px) { .vt-cm-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .vt-cm-steps { grid-template-columns: repeat(2, 1fr); } }
.vt-cm-steps li { background: rgba(0, 0, 0, 0.6); padding: 12px 14px; display: grid; gap: 4px; border-top: 2px solid var(--pk-cyan); }
.vt-cm-steps b { font: 600 12px/1.2 var(--pk-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.vt-cm-steps span { font-size: 14px; opacity: 0.85; }
.vt-cm-notes { margin-top: 16px; font-size: 14px; opacity: 0.9; }
.vt-cm-notes a { color: var(--pk-cyan); }
.vt-cm-waitform { max-width: 480px; display: grid; gap: 10px; }
.vt-cm-waitform label { display: grid; gap: 6px; font: 700 12px/1.2 var(--pk-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.vt-cm-waitform input { font: 400 16px/1.4 inherit; padding: 10px 12px; background: rgba(0, 0, 0, 0.55); color: var(--pk-paper); border: 2px solid rgba(255, 255, 255, 0.35); }
.vt-cm-waitform .vt-btn { justify-self: start; }
.vt-cm-terms { max-width: 720px; line-height: 1.6; }
@media (max-width: 640px) { .vt-cm { padding-left: 16px; padding-right: 16px; } }
.vt-store-soon { text-decoration: none; color: var(--pk-paper); }

/* ---- commission requests (commission-requests.php) ---- */
.vt-cm-form { max-width: 640px; display: grid; gap: 14px; }
.vt-cm-form label, .vt-cm-form legend { display: grid; gap: 6px; font: 700 12px/1.2 var(--pk-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.vt-cm-form input[type=text], .vt-cm-form input:not([type]), .vt-cm-form input[type=email], .vt-cm-form input[type=url], .vt-cm-form select, .vt-cm-form textarea {
  font: 400 16px/1.45 inherit; letter-spacing: 0; text-transform: none; padding: 10px 12px; background: rgba(0, 0, 0, 0.55); color: var(--pk-paper); border: 2px solid rgba(255, 255, 255, 0.35); }
.vt-cm-form input[type=file] { font: 400 14px/1.4 inherit; text-transform: none; letter-spacing: 0; }
.vt-cm-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.vt-cm-form .vt-cm-check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font: 400 15px/1.4 inherit; }
.vt-cm-form .vt-cm-check a { color: var(--pk-cyan); }
.vt-cm-form .vt-btn { justify-self: start; }
.vt-cm-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-cm-picks:empty { display: none; }
.vt-cm-picks figure { position: relative; margin: 0; width: 96px; height: 96px; border: 2px solid var(--pk-paper); }
.vt-cm-picks img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-cm-picks button { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--pk-ink); background: var(--pk-paper); color: var(--pk-ink); font: 700 16px/1 inherit; cursor: pointer; }
.vt-cm-ok { padding: 12px 14px; background: rgba(0, 229, 255, 0.12); border-left: 4px solid var(--pk-cyan); }
.vt-cm-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: 15px; }
.vt-cm-facts dt { font: 700 12px/1.6 var(--pk-mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.vt-cm-facts dd { margin: 0; }
.vt-cm-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 16px; }
.vt-cm-refs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border: 2px solid var(--pk-paper); }
.vt-cm-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.vt-cm-act p { margin: 0; flex-basis: 100%; }
.vt-cm-quote dd { font: 600 15px/1.5 var(--pk-mono); }
/* commission work: the queue, progress, finals (commission-work.php) */
.vt-cm-queue { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 2px; max-width: 640px; }
.vt-cm-queue li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 14px; background: rgba(0, 0, 0, 0.6); border-left: 3px solid var(--pk-cyan); }
.vt-cm-queue b { font: 700 14px/1.2 var(--pk-mono); }
.vt-cm-queue i { font: 600 12px/1.2 var(--pk-mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pk-cyan); }
.vt-cm-queue .vt-cm-q-quoted { border-left-color: rgba(255, 255, 255, 0.4); }
.vt-cm-queue .vt-cm-q-quoted i { color: var(--pk-paper); opacity: 0.7; }
.vt-cm-queue .vt-cm-q-delivered { opacity: 0.6; }
.vt-cm-updates { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 16px; }
.vt-cm-updates li { border-left: 3px solid var(--pk-cyan); padding-left: 14px; }
.vt-cm-upd-head { margin: 0 0 4px; }
.vt-cm-upd-head b { font: 700 13px/1.3 var(--pk-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.vt-cm-finals { list-style: none; padding: 0; display: grid; gap: 10px; }
.vt-cm-finals li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---- Web videos (webvideos.php) and the swipe player (vectec-shorts.js) ---- */
.vt-wv-cat { margin-top: 14px; }
.vt-wv-cat-title { margin: 0 0 8px !important; font: 700 13px/1.2 var(--pk-mono) !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pk-paper); }
.vt-wv-cat-title i { font-style: normal; color: var(--pk-cyan); margin-left: 6px; }
.vt-wv-strip { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: thin; }
.vt-wv-tile { flex: none; scroll-snap-align: start; display: grid; gap: 6px; text-decoration: none; color: var(--pk-paper); }
.vt-wv-v { width: clamp(132px, 30vw, 190px); }
.vt-wv-h { width: clamp(240px, 62vw, 380px); }
.vt-wv-pic { position: relative; display: block; overflow: hidden; background: #050505; border: 2px solid var(--pk-paper);
  box-shadow: -2px 0 0 rgba(255, 46, 99, 0.6), 2px 0 0 rgba(0, 229, 255, 0.55); }
.vt-wv-v .vt-wv-pic { aspect-ratio: 9 / 16; }
.vt-wv-h .vt-wv-pic { aspect-ratio: 16 / 9; }
.vt-wv-pic img, .vt-wv-pic video { width: 100%; height: 100%; object-fit: cover; display: block; border: 0 !important; }
.vt-wv-name { font: 600 13px/1.3 var(--pk-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-wv-tile:hover .vt-wv-pic, .vt-wv-tile:focus-visible .vt-wv-pic { border-color: var(--pk-cyan); }
html.vt-sh-on, html.vt-sh-on body { overflow: hidden !important; }
.vt-sh { position: fixed; inset: 0; z-index: 9800; background: #000; color: #fff; }
.vt-sh-track { height: 100%; height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.vt-sh-track::-webkit-scrollbar { display: none; }
.vt-sh-slide { position: relative; height: 100%; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.vt-sh-slide video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.vt-sh-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  background: rgba(0, 0, 0, 0.32); pointer-events: none; }
.vt-sh-top > * { pointer-events: auto; }
.vt-sh-cat { flex: 1; font: 700 13px/1.2 var(--pk-mono); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
.vt-sh-btn { width: 44px; height: 44px; padding: 0 !important; border-radius: 50% !important; border: 0 !important; box-shadow: none !important; background: rgba(0, 0, 0, 0.45) !important; color: #fff !important; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transform: none !important; }
.vt-sh-btn:focus-visible { outline: 2px solid var(--pk-cyan); outline-offset: 2px; }
.vt-sh-info { position: absolute; left: 14px; right: 70px; bottom: max(22px, env(safe-area-inset-bottom)); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); pointer-events: none; }
.vt-sh-info b { font: 700 15px/1.3 var(--pk-mono); }
.vt-sh-info p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; max-height: 4.2em; overflow: hidden; }
.vt-sh-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pk-cyan); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.vt-sh-paused { position: absolute; font-size: 64px; opacity: 0.8; pointer-events: none; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.vt-sh-hint { position: absolute; left: 0; right: 0; bottom: 70px; margin: 0; text-align: center; font: 600 12px/1 var(--pk-mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; pointer-events: none; }
.vt-sh-hint:empty { display: none; }
@media (min-width: 900px) { .vt-sh-slide video { width: auto; max-width: 100%; aspect-ratio: 9 / 16; }
  .vt-sh-info { left: max(14px, calc(50% - 28.1vh + 14px)); right: max(70px, calc(50% - 28.1vh + 14px)); } }

/* ---- the selected tab's TV (builder.php [vectec_tabs], the Koma clip tools/site/anim/tab-crt.py) ----
   It floats off the bar in a black-and-white CRT; the name is inside the screen -- under the scanlines and the glass,
   glowing and jumping with the clip's glitch -- not printed on top of it. Flat patterns only: the scanlines are a 1x3
   picture, the bezel and the lift plain shadows. */
.vt-tabs-bar a.vt-tab-tv {
  position: relative; isolation: isolate; overflow: hidden; padding: 0 14px; color: #ecebe6; background: #08080a; border-radius: 7px;
  box-shadow: 0 0 0 2px #3b3b41, 0 0 0 4px #111114, 0 12px 16px -6px rgba(0, 0, 0, 0.95), inset 0 0 14px rgba(0, 0, 0, 0.85);
  animation: vt-tv-float 3s ease-in-out infinite;
}
.vt-tabs-bar a.vt-tab-tv:hover, .vt-tabs-bar a.vt-tab-tv:focus-visible { color: #fff; }
.vt-tv-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: grayscale(1) contrast(1.15); pointer-events: none;
  border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }   /* the kit borders every video; not this one */
.vt-tv-name { position: relative; text-shadow: 0 0 5px rgba(236, 235, 230, 0.6), 0 0 1px #fff; filter: blur(0.3px); animation: vt-tv-jitter 3s steps(1, end) infinite; }
.vt-tab-tv::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='3' shape-rendering='crispEdges'%3E%3Crect width='1' height='1' fill='%23000' fill-opacity='0.45'/%3E%3C/svg%3E");
  background-size: 1px 3px; box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* The name jumps with the clip's tears (frames 9, 31, 52) and its hard glitch (frame 44 of 72). */
@keyframes vt-tv-jitter {
  0%, 100% { transform: none; opacity: 1; clip-path: none; }
  12% { transform: translateX(2px); opacity: 0.85; }
  14% { transform: none; opacity: 1; }
  43% { transform: translateX(-1px); opacity: 0.7; }
  45% { transform: none; opacity: 1; }
  61% { transform: translateX(-4px) skewX(-8deg); clip-path: inset(0 0 45% 0); opacity: 0.9; }
  63% { transform: translateX(5px); clip-path: inset(40% 0 0 0); }
  65% { transform: translateX(-2px); clip-path: none; opacity: 0.6; }
  67% { transform: none; opacity: 1; }
  72% { transform: translateY(-1px); opacity: 0.8; }
  74% { transform: none; opacity: 1; }
}
@keyframes vt-tv-float { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .vt-tabs-bar a.vt-tab-tv, .vt-tv-name { animation: none; } .vt-tabs-bar a.vt-tab-tv { transform: translateY(-3px); } }

/* ---- the screen fringe, everywhere (Nel, 2026-11-30: "chromatic aberration should be more wide spread"): every picture,
   clip and heading in the page body gets the posts' red and cyan edges; components that already set their own keep it
   (these rules carry no weight of their own). The Plaza, the swipe player and small icons stay clean. ---- */
:where(main, .wp-site-blocks > main) :where(img, video):not(:where(.vt-os *, .vt-sh *, img.avatar, .vt-logo *, svg *)) {
  box-shadow: -2px 0 0 rgba(255, 46, 99, 0.55), 2px 0 0 rgba(0, 229, 255, 0.5);
}
:where(main) :where(h1, h2, h3, .vt-row-title, .vt-btn):not(:where(.vt-os *, .vt-sh *)) {
  text-shadow: -2px 0 0 rgba(255, 46, 99, 0.55), 2px 0 0 rgba(0, 229, 255, 0.5);
}
:where(header) .vt-tabs-bar a:not(.vt-tab-tv) { text-shadow: -1px 0 0 rgba(255, 46, 99, 0.45), 1px 0 0 rgba(0, 229, 255, 0.4); }
:where(.vt-reader, .vt-watch) :where(img, video) { box-shadow: -3px 0 0 rgba(255, 46, 99, 0.5), 3px 0 0 rgba(0, 229, 255, 0.45); }

/* ---- Music (music.php, vectec-music.js) ---- */
.vt-mu { max-width: 1100px; margin: 0 auto; padding-bottom: 40px; }
.vt-mu-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.vt-mu-strip .vt-mu-card { flex: none; width: clamp(150px, 38vw, 200px); scroll-snap-align: start; }
.vt-mu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; margin: 14px 0 30px; }
.vt-mu-card { display: grid; gap: 6px; text-decoration: none; color: var(--pk-paper); }
.vt-mu-art { display: block; aspect-ratio: 1; overflow: hidden; background: #0b0b0e; border: 2px solid var(--pk-paper); }
.vt-mu-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-mu-nocover { display: grid; place-items: center; width: 100%; height: 100%; font-size: 54px; color: var(--pk-cyan); }
.vt-mu-card:hover .vt-mu-art, .vt-mu-card:focus-visible .vt-mu-art { border-color: var(--pk-cyan); }
.vt-mu-name { font: 700 14px/1.3 var(--pk-mono); }
.vt-mu-meta, .vt-mu-kind { font: 600 11px/1.2 var(--pk-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pk-cyan); margin: 0; }
.vt-mu-empty { margin: 4px 0 0; padding: 18px; border: 1px dashed rgba(241, 239, 232, 0.3); font: 600 13px/1.4 var(--pk-mono); letter-spacing: 0.06em; opacity: 0.75; }
.vt-mu-h { margin-top: 24px !important; }
.vt-mu-head { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 22px; align-items: end; margin: 10px 0 18px; }
.vt-mu-head h1 { margin: 6px 0 !important; }
.vt-mu-player { position: sticky; top: 8px; z-index: 5; background: #0c0c10; border: 2px solid var(--pk-paper); padding: 12px 14px; display: grid; gap: 8px;
  box-shadow: -2px 0 0 rgba(255, 46, 99, 0.6), 2px 0 0 rgba(0, 229, 255, 0.55); }
.vt-mu-now { margin: 0; font: 700 14px/1.3 var(--pk-mono); color: var(--pk-cyan); min-height: 1.3em; }
.vt-mu-ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vt-mu-ctl button { width: 42px; height: 42px; padding: 0 !important; border-radius: 50% !important; border: 2px solid var(--pk-paper) !important; background: none !important; color: var(--pk-paper) !important; font-size: 16px; display: grid; place-items: center; cursor: pointer; }
.vt-mu-ctl .vt-mu-play { width: 50px; height: 50px; background: var(--pk-paper) !important; color: #000 !important; }
.vt-mu-ctl button:hover, .vt-mu-ctl button:focus-visible { border-color: var(--pk-cyan) !important; color: var(--pk-cyan) !important; }
.vt-mu-ctl .vt-mu-play:hover { background: var(--pk-cyan) !important; color: #000 !important; }
.vt-mu-time, .vt-mu-len { font: 600 12px/1 var(--pk-mono); min-width: 38px; }
.vt-mu-seek { flex: 1; min-width: 120px; accent-color: var(--pk-cyan); }
.vt-mu-vol { display: flex; align-items: center; gap: 6px; }
.vt-mu-vol input { width: 90px; accent-color: var(--pk-cyan); }
.vt-mu-tracks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 2px; }
.vt-mu-track { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px !important; text-align: left;
  background: rgba(0, 0, 0, 0.55) !important; color: var(--pk-paper) !important; border: 0 !important; border-left: 3px solid transparent !important; font: 600 14px/1.3 var(--pk-mono) !important; cursor: pointer; }
.vt-mu-track:hover, .vt-mu-track:focus-visible { border-left-color: var(--pk-paper) !important; }
.vt-mu-on { border-left-color: var(--pk-cyan) !important; color: var(--pk-cyan) !important; }
.vt-mu-n, .vt-mu-d { opacity: 0.7; font-size: 12px; }
@media (max-width: 640px) { .vt-mu { padding-left: 16px; padding-right: 16px; } .vt-mu-head { grid-template-columns: 120px 1fr; gap: 14px; } .vt-mu-vol { display: none; } }

/* ---- a comic chapter's sound (vectec-comic-audio.js) ---- */
.vt-snd { display: inline-flex; align-items: center; gap: 6px; }
.vt-snd-btn[aria-pressed="true"] { color: var(--pk-cyan) !important; border-color: var(--pk-cyan) !important; }
.vt-snd-vol { width: 80px; accent-color: var(--pk-cyan); }
