/* =====================================================================
   Viper Softworks — custom styles
   Tokens are defined in the inlined Tailwind config (see functions.php).
   ===================================================================== */

html { background:#0B0B0E; }
body { background:transparent; color:#ECECEC; }
body { font-family: 'Geist', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing:antialiased; }

/* WebGL depth field — fixed behind all content; scroll flies the camera through it */
/* translateZ + backface-visibility pin this fixed full-screen canvas to a single
   stable GPU layer. Without it, scrolling away and back lets the compositor re-tile
   the fixed layer and the tiles can desync — a hard vertical seam appears where two
   tiles meet (the "two images coming together" line under the hero). */
#bg3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; transform: translateZ(0); backface-visibility: hidden; }

.grid-bg {
  background-image:
    radial-gradient(900px 500px at 20% -10%, rgba(79,124,255,0.12), transparent 60%),
    radial-gradient(600px 400px at 90% 10%, rgba(79,124,255,0.06), transparent 60%),
    linear-gradient(to bottom, rgba(11,11,14,0.5) 0%, rgba(8,8,10,0.58) 100%);
}
.hairline { border-color: rgba(255,255,255,0.08); }
.hairline-strong { border-color: rgba(255,255,255,0.14); }
.accent-text { color: #4F7CFF; }
.accent-underline {
  background-image: linear-gradient(transparent 70%, rgba(79,124,255,0.35) 70%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ------------- LONG-FORM LEGAL / POLICY CONTENT ------------- */
/* Tailwind's Preflight zeroes the margins on headings/paragraphs and strips
   list bullets, and this theme ships no typography ("prose") plugin — so the
   `prose prose-invert` classes do nothing and long-form bodies render as a wall
   of text. Long-form page content (privacy, terms) gets its rhythm here, in the
   site palette. Apply with class="legal" on the content wrapper. */
.legal { color: rgba(236,236,236,0.85); font-size: 1rem; line-height: 1.75; }
.legal > * + * { margin-top: 1.1rem; }              /* vertical rhythm between blocks */
.legal h2 {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #ECECEC;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal strong { color: #ECECEC; font-weight: 600; }
.legal a { color: #4F7CFF; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal li { position: relative; padding-left: 1.45rem; }
.legal li + li { margin-top: .5rem; }
.legal li::before {                                  /* viper "fang" bullet, matching .fang */
  content: "";
  position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(135deg, #4F7CFF 0%, #4F7CFF 50%, transparent 50%);
  border-radius: 1px;
}

/* ------------- SCROLL REVEALS (3D: content tips up from the page plane) ------------- */
html.js .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
html.js .reveal.in { opacity: 1; transform: none; }

html.js .stagger > * {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
html.js .stagger.in > * { opacity: 1; transform: none; }
.stagger > *:nth-child(1)  { transition-delay: .04s; }
.stagger > *:nth-child(2)  { transition-delay: .10s; }
.stagger > *:nth-child(3)  { transition-delay: .16s; }
.stagger > *:nth-child(4)  { transition-delay: .22s; }
.stagger > *:nth-child(5)  { transition-delay: .28s; }
.stagger > *:nth-child(6)  { transition-delay: .34s; }
.stagger > *:nth-child(7)  { transition-delay: .40s; }
.stagger > *:nth-child(8)  { transition-delay: .46s; }
.stagger > *:nth-child(9)  { transition-delay: .52s; }
.stagger > *:nth-child(10) { transition-delay: .58s; }
.stagger > *:nth-child(11) { transition-delay: .64s; }
.stagger > *:nth-child(12) { transition-delay: .70s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .stagger > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ------------- 3D DEPTH ------------- */
/* mouse-tracking tilt (JS sets the transform; this just smooths it) */
.tilt {
  transition: transform .18s ease-out, border-color .3s ease, box-shadow .3s ease;
}
/* promote to its own layer only while actively tilting — a permanent
   will-change/preserve-3d kept every card rasterized on a GPU layer, which
   renders the text blurry, most visibly during scroll */
.tilt:hover { will-change: transform; }
/* product shot stands in perspective, straightens when inspected */
.shot-3d {
  transform: perspective(1200px) rotateY(-20deg) rotateX(8deg) rotateZ(1deg);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.shot-3d:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg) rotateZ(0deg); }
/* hero content tips up out of the page on load */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: none; }
}
.hero-3d { animation: hero-in 1s cubic-bezier(.2,.7,.2,1) both; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) {
  .hero-3d { animation: none; }
  .shot-3d, .shot-3d:hover { transform: none; }
  .tilt { transition: none; }
}

/* status dot pulse */
@keyframes pulse-dot { 0%,100%{ box-shadow:0 0 0 0 rgba(79,124,255,.55);} 70%{ box-shadow:0 0 0 7px rgba(79,124,255,0);} }
.pulse-dot { animation: pulse-dot 2.4s ease-out infinite; }

/* ------------- FULL-PAGE SCROLL VIPER ------------- */
#viper-trail {
  position: absolute; top: 0; left: 0;
  width: 100%;
  z-index: 30;
  pointer-events: none;
  opacity: 0.72;
}
@media (prefers-reduced-motion: reduce) { #viper-trail { opacity: .5; } }

/* ------------- VIPER MOTIF ------------- */

.snake-img { }
.snake-img-flip { transform: scaleX(-1); }

/* logo aura — shape-hugging glow via stacked drop-shadow filters */
@keyframes logo-aura-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 3px rgba(255,255,255,0.55))
      drop-shadow(0 0 8px rgba(220,230,255,0.40))
      drop-shadow(0 0 18px rgba(140,170,255,0.30))
      drop-shadow(0 0 32px rgba(79,124,255,0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 5px rgba(255,255,255,0.70))
      drop-shadow(0 0 14px rgba(220,230,255,0.55))
      drop-shadow(0 0 26px rgba(140,170,255,0.40))
      drop-shadow(0 0 44px rgba(79,124,255,0.28));
  }
}
.logo-aura {
  animation: logo-aura-pulse 4.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .logo-aura {
    animation: none;
    filter:
      drop-shadow(0 0 4px rgba(255,255,255,0.6))
      drop-shadow(0 0 14px rgba(140,170,255,0.4))
      drop-shadow(0 0 28px rgba(79,124,255,0.25));
  }
}

@keyframes snake-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.snake-rise {
  animation: snake-rise 1.4s cubic-bezier(.2,.7,.2,1) .2s both;
  z-index: 1; /* above the light-pour canvas so the beam lands behind the viper */
}

/* ------------- LIGHT POUR (huly.io-style hero beam) -------------
   A beam of light pours from the top of the hero onto the viper artwork:
   bright core + volumetric cone + impact glow + drifting smoke + embers.
   Tune the landing point with --pour-x / --pour-y. */

.light-pour {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0; /* keep the pour behind the snake and hero content */
  --pour-x: calc(100% - 290px); /* tracks the snake artwork (right-0, ~580px wide) */
  --pour-y: 58%;
}
@media (max-width: 1023.98px) {
  /* snake is hidden below lg — keep a fainter pour near the right edge */
  .light-pour { --pour-x: 82%; opacity: 0.5; }
}

@keyframes pour-flicker {
  0%, 100% { opacity: 0.85; }
  38%      { opacity: 1; }
  55%      { opacity: 0.72; }
  70%      { opacity: 0.95; }
}

/* bright core of the falling beam */
.pour-beam {
  position: absolute;
  left: var(--pour-x);
  top: 0;
  height: var(--pour-y);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0.95) 12%,
    rgba(220,230,255,0.85) 55%,
    rgba(79,124,255,0.55)  85%,
    rgba(79,124,255,0)     100%);
  filter: drop-shadow(0 0 6px rgba(160,190,255,0.9)) drop-shadow(0 0 18px rgba(79,124,255,0.5));
  animation: pour-flicker 3.4s ease-in-out infinite;
}

/* volumetric cone widening around the core */
.pour-cone {
  position: absolute;
  left: var(--pour-x);
  top: 0;
  height: var(--pour-y);
  width: 240px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
    rgba(160,190,255,0)    0%,
    rgba(160,190,255,0.14) 30%,
    rgba(79,124,255,0.10)  75%,
    rgba(79,124,255,0)     100%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  filter: blur(14px);
  animation: pour-flicker 3.4s ease-in-out infinite reverse;
}

/* glowing pool where the beam lands */
@keyframes pour-impact-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scaleX(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scaleX(1.12); }
}
.pour-impact {
  position: absolute;
  left: var(--pour-x);
  top: var(--pour-y);
  width: 340px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(220,230,255,0.50) 0%,
    rgba(79,124,255,0.30)  35%,
    transparent            70%);
  filter: blur(18px);
  animation: pour-impact-pulse 3.4s ease-in-out infinite;
}

/* smoke plumes billowing up and away from the impact point */
@keyframes smoke-rise {
  0%   { opacity: 0;   transform: translate(-50%, -30%) scale(0.55); }
  20%  { opacity: 0.85; }
  60%  { opacity: 0.4; }
  100% { opacity: 0;   transform: translate(calc(-50% + var(--drift, 0px)), -170%) scale(1.7); }
}
.pour-smoke span {
  position: absolute;
  left: var(--pour-x);
  top: var(--pour-y);
  width: 150px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%,
    rgba(140,170,255,0.16),
    rgba(79,124,255,0.07) 50%,
    transparent 72%);
  filter: blur(22px);
  opacity: 0;
  transform: translate(-50%, -30%);
  animation: smoke-rise 9s linear infinite;
}
.pour-smoke span:nth-child(1) { --drift: -110px; animation-delay: 0s; }
.pour-smoke span:nth-child(2) { --drift:   90px; animation-delay: 1.8s; width: 190px; }
.pour-smoke span:nth-child(3) { --drift:  -40px; animation-delay: 3.6s; animation-duration: 11s; }
.pour-smoke span:nth-child(4) { --drift:  130px; animation-delay: 5.4s; width: 120px; }
.pour-smoke span:nth-child(5) { --drift:  -70px; animation-delay: 7.2s; animation-duration: 10s; width: 170px; }

/* ember particles drifting up out of the pool */
@keyframes particle-float {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--px, 40px), var(--py, -240px)) scale(0.35); }
}
.pour-particles i {
  position: absolute;
  left: var(--pour-x);
  top: var(--pour-y);
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  background: #CFE0FF;
  box-shadow: 0 0 8px 2px rgba(79,124,255,0.8);
  opacity: 0;
  animation: particle-float 7s linear infinite;
}
.pour-particles i:nth-child(1) { --px:  -70px; --py: -220px; animation-delay: 0s; }
.pour-particles i:nth-child(2) { --px:   55px; --py: -280px; animation-delay: 0.9s; animation-duration: 6s; }
.pour-particles i:nth-child(3) { --px: -120px; --py: -180px; animation-delay: 1.7s; animation-duration: 8s; }
.pour-particles i:nth-child(4) { --px:   95px; --py: -240px; animation-delay: 2.6s; }
.pour-particles i:nth-child(5) { --px:  -35px; --py: -300px; animation-delay: 3.4s; animation-duration: 6.5s; }
.pour-particles i:nth-child(6) { --px:  140px; --py: -190px; animation-delay: 4.3s; animation-duration: 7.5s; }
.pour-particles i:nth-child(7) { --px:  -90px; --py: -260px; animation-delay: 5.1s; }
.pour-particles i:nth-child(8) { --px:   25px; --py: -210px; animation-delay: 6s; animation-duration: 6s; }

@media (prefers-reduced-motion: reduce) {
  .pour-beam, .pour-cone, .pour-impact { animation: none; }
  .pour-smoke span, .pour-particles i { animation: none; opacity: 0; }
}

/* =====================================================================
   LITE MODE — TVs / set-top boxes / embedded webviews / very low-memory
   devices (flagged html.vsw-lite by the gate in header.php, before any CSS
   loads). The infinite decorative animations and the blurred light-pour
   layers pin a weak renderer — constant compositing plus per-frame blur of
   the smoke/cone/impact — which is what crashed Google TV. We stop them
   outright here; the page stays fully styled, just static. The WebGL depth
   field / hero shader / scroll-viper are already gated off in JS.
   ===================================================================== */
html.vsw-lite .logo-aura {
  /* the animated 4× drop-shadow blur is the heaviest thing on every page;
     keep a static glow, no per-frame filter recompute */
  animation: none;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.6))
    drop-shadow(0 0 14px rgba(140,170,255,0.4))
    drop-shadow(0 0 28px rgba(79,124,255,0.25));
}
html.vsw-lite .pulse-dot,
html.vsw-lite .divider-snake,
html.vsw-lite .hero-3d,
html.vsw-lite .snake-rise { animation: none; }
/* the whole light-pour is purely decorative and the single costliest layer on
   a weak GPU (blurred cone + impact + 5 blurred smoke plumes + 8 ember loops) */
html.vsw-lite .light-pour,
html.vsw-lite .hero-blueprint { display: none; }

/* WebGL canvas version (hero-pour.js) — the shader outputs premultiplied
   alpha (black = transparent), so no CSS blend mode is needed and normal
   stacking keeps the snake artwork above the light */
.pour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* same reason as #bg3d: pin to one GPU layer so pausing/resuming on scroll
     (IntersectionObserver) can't leave a re-tiled seam. */
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* when the shader is running, the CSS beam/smoke fallback gets out of the way
   (embers stay — the shader doesn't draw them) */
.pour-gl .pour-beam,
.pour-gl .pour-cone,
.pour-gl .pour-impact,
.pour-gl .pour-smoke { display: none; }

/* blueprint layer revealed by the mouse-following spotlight (hero-pour.js) */
.hero-blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background-image:
    linear-gradient(rgba(79,124,255,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,124,255,0.22) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(140,170,255,0.5) 1px, transparent 1.8px);
  background-size: 28px 28px, 28px 28px, 84px 84px;
  -webkit-mask-image: radial-gradient(240px at var(--mx, 50%) var(--my, 50%), black 25%, transparent 72%);
          mask-image: radial-gradient(240px at var(--mx, 50%) var(--my, 50%), black 25%, transparent 72%);
}

/* viper-skin diamond pattern for cards */
.scales { position: relative; }
.scales::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(79,124,255,0.10) 1px, transparent 1.6px);
  background-size: 14px 14px;
  background-position: 0 0;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity .35s ease;
}
.scales:hover::before { opacity: 0.55; }

.scales-chevron::before {
  background-image:
    linear-gradient(135deg, rgba(79,124,255,0.07) 25%, transparent 25%) -1px 0,
    linear-gradient(225deg, rgba(79,124,255,0.07) 25%, transparent 25%) -1px 0;
  background-size: 12px 12px;
  background-color: transparent;
  opacity: 0.55;
}
.scales-chevron:hover::before { opacity: 0.85; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)), #101015;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.card-hover { transition: border-color .3s ease, box-shadow .3s ease; }
.card-hover:hover {
  border-color: rgba(79,124,255,0.35);
  box-shadow: 0 0 0 1px rgba(79,124,255,0.18), 0 10px 40px -10px rgba(79,124,255,0.18);
}

.chip {
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.3rem .6rem;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:9999px;
  font-size:.72rem; letter-spacing:.04em;
  color:#ECECEC; background:rgba(255,255,255,0.02);
}
.chip-dot { width:.4rem; height:.4rem; border-radius:9999px; background:#4F7CFF; box-shadow:0 0 12px rgba(79,124,255,0.7); }

/* sine-wave divider */
@keyframes slither {
  from { background-position-x: 0; }
  to   { background-position-x: 1200px; }
}
.divider-snake {
  height: 40px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 1200px 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'><path d='M0 20 Q 75 4 150 20 T 300 20 T 450 20 T 600 20 T 750 20 T 900 20 T 1050 20 T 1200 20' fill='none' stroke='%234F7CFF' stroke-width='1' opacity='0.45'/></svg>");
  animation: slither 30s linear infinite;
  opacity: .7;
}

/* fang bullet */
.fang::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 10px;
  transform: rotate(45deg) translateY(1px);
  background: linear-gradient(135deg, #4F7CFF 0%, #4F7CFF 50%, transparent 50%);
  border-radius: 1px;
}

.kbd {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: .68rem;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.04);
  color:#ECECEC;
  padding:.05rem .35rem;
  border-radius:6px;
}

/* Mobile nav (hamburger + slide-down dropdown) — header.php; toggled by
   assets/js/site-nav.js. Self-contained (no Tailwind), so the nav needs no rebuild. */
.vsw-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin-right: -.4rem;
  border: 0; border-radius: 10px; background: transparent;
  color: #ECECEC; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.vsw-burger:hover { color: #4F7CFF; background: rgba(255,255,255,0.05); }
.vsw-burger[aria-expanded="true"] { color: #4F7CFF; background: rgba(79,124,255,0.12); }

/* Collapsed by default; animates open. Hidden outright on desktop (>=768px). */
.vsw-mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: rgba(11,11,14,0.98);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.75);
  transition: max-height .28s ease, opacity .2s ease;
}
.vsw-mobile-menu.is-open { max-height: 30rem; opacity: 1; }
.vsw-mobile-menu nav { padding: .5rem .75rem 1rem; }
.vsw-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.vsw-mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .72rem .85rem; margin: .1rem 0;
  border-radius: 10px;
  color: #ECECEC; font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.vsw-mobile-menu a:hover, .vsw-mobile-menu a:focus { background: rgba(79,124,255,0.12); color: #fff; }
.vsw-mobile-menu a .label { display: inline-flex; align-items: center; gap: .7rem; }
.vsw-mobile-menu a .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; flex: 0 0 auto; color: #4F7CFF;
}
.vsw-mobile-menu a .ico svg { width: 1.125rem; height: 1.125rem; }
.vsw-mobile-menu a::after { content: "\203A"; color: #8A8A92; font-size: 1.2rem; line-height: 1; }
@media (min-width: 768px) { .vsw-burger, .vsw-mobile-menu { display: none !important; } }
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

details summary::-webkit-details-marker { display:none; }
details summary { list-style:none; cursor:pointer; }

/* ------------- product (WatchWall) ------------- */
.shot { border-radius: 12px; display: block; width: 100%; }
.glow { position: absolute; border-radius: 9999px; background: rgba(79,124,255,0.18); filter: blur(120px); pointer-events: none; }
.dg { aspect-ratio: 16/10; background:#0d0d12; border:1px solid rgba(255,255,255,0.08); border-radius:10px; padding:7px; display:grid; gap:5px; }
.dg > i { background: rgba(79,124,255,0.18); border:1px solid rgba(79,124,255,0.38); border-radius:4px; display:block; }
.tpl-card { transition: transform .25s, border-color .25s; }
.tpl-card:hover { transform: translateY(-3px); }
.tpl-card:hover .dg { border-color: rgba(79,124,255,0.4); }
.tpl-card:hover .dg > i { background: rgba(79,124,255,0.28); }

/* overlay-preset schematic: a full base view with picture-in-picture insets.
   <div class="ov"> holds the base (::before); each <b> is a floating PiP. */
.ov { position: relative; aspect-ratio: 16/10; background:#0d0d12; border:1px solid rgba(255,255,255,0.08); border-radius:10px; }
.ov::before { content:""; position:absolute; inset:7px; background: rgba(79,124,255,0.10); border:1px solid rgba(79,124,255,0.22); border-radius:4px; }
.ov > b { position:absolute; display:block; background: rgba(79,124,255,0.30); border:1px solid rgba(79,124,255,0.55); border-radius:3px; }
.ov-tl { left:12px;  top:12px; }
.ov-tr { right:12px; top:12px; }
.ov-bl { left:12px;  bottom:12px; }
.ov-br { right:12px; bottom:12px; }
.ov-m  { width:30%; height:34%; }   /* OverlaySize.M */
.ov-l  { width:46%; height:52%; }   /* OverlaySize.L */
.tpl-card:hover .ov::before { border-color: rgba(79,124,255,0.4); }
.tpl-card:hover .ov > b { background: rgba(79,124,255,0.45); }
