/* ═══════════════════════════════════════════════════════════════
   VOOOMIE SOCIALS — Public CSS v2.0
   Premium social display — 15 layouts, full mobile-first.
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Design tokens ── */
:root {
  --vsm-accent:       #6d28d9;
  --vsm-accent-light: #8b5cf6;
  --vsm-radius-none:  0px;
  --vsm-radius-sm:    6px;
  --vsm-radius-md:    10px;
  --vsm-radius-lg:    16px;
  --vsm-radius-xl:    22px;
  --vsm-radius:       var(--vsm-radius-lg);
  --vsm-gap-sm:       8px;
  --vsm-gap-md:       14px;
  --vsm-gap-lg:       20px;
  --vsm-gap-xl:       28px;
  --vsm-gap:          var(--vsm-gap-md);
  --vsm-shadow:       0 2px 16px rgba(0,0,0,.1);
  --vsm-shadow-hover: 0 10px 36px rgba(0,0,0,.18);
  --vsm-duration:     .28s;
  --vsm-font:         'Inter', system-ui, -apple-system, sans-serif;
  --vsm-insta-grad:   linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  --vsm-fb:           #1877F2;
  --vsm-yt:           #FF0000;
}

/* Gap modifiers */
.vsm-gap--sm { --vsm-gap: var(--vsm-gap-sm); }
.vsm-gap--md { --vsm-gap: var(--vsm-gap-md); }
.vsm-gap--lg { --vsm-gap: var(--vsm-gap-lg); }
.vsm-gap--xl { --vsm-gap: var(--vsm-gap-xl); }

/* ── Base reset ── */
.vsm-wrap, .vsm-wrap * { box-sizing: border-box; }
.vsm-wrap { font-family: var(--vsm-font); line-height: 1; }
.vsm-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vsm-wrap a { text-decoration: none; color: inherit; }

/* ── Utility ── */
.vsm-icon { display: inline-flex; align-items: center; }
.vsm-icon svg { width: 1em; height: 1em; vertical-align: -0.1em; }

/* Image fill wrapper */
.vsm-img-wrap {
  position: relative; overflow: hidden;
  border-radius: inherit;
}
.vsm-img-wrap img {
  position: absolute; inset: 0;
  transition: transform var(--vsm-duration) ease;
}

/* ── Demo banner ── */
.vsm-demo-banner {
  background: linear-gradient(135deg, rgba(109,40,217,.08), rgba(139,92,246,.12));
  border: 1px solid rgba(109,40,217,.2); border-radius: 9px;
  padding: .6rem 1rem; font-size: .75rem; color: rgba(109,40,217,.9);
  margin-bottom: 1rem; width: 100%;
}
.vsm-demo-banner a { color: var(--vsm-accent); font-weight: 600; }

/* ── Empty state ── */
.vsm-empty {
  padding: 2.5rem; text-align: center; color: #888; font-size: .88rem;
  border: 1px dashed #ddd; border-radius: var(--vsm-radius);
}
.vsm-empty a { color: var(--vsm-accent); }

/* ── Duration badge ── */
.vsm-duration {
  position: absolute; bottom: .5rem; right: .5rem;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: .65rem; font-weight: 700; letter-spacing: .02em;
  padding: .18em .45em; border-radius: 4px; z-index: 2;
}

/* ── Type badge (video/carousel on IG) ── */
.vsm-type-badge {
  position: absolute; top: .5rem; right: .5rem;
  background: rgba(0,0,0,.55); color: #fff;
  border-radius: 5px; padding: .2em .4em; font-size: .7rem; z-index: 2;
}

/* ── Load more ── */
.vsm-load-more-wrap { text-align: center; margin-top: 1.75rem; }
.vsm-load-more-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 2rem; border-radius: 50px; border: 2px solid var(--vsm-accent);
  background: transparent; color: var(--vsm-accent);
  font-size: .85rem; font-weight: 600; font-family: var(--vsm-font);
  cursor: pointer; transition: all var(--vsm-duration);
}
.vsm-load-more-btn:hover { background: var(--vsm-accent); color: #fff; }
.vsm-load-more-btn.loading .vsm-lm-text { opacity: 0; }
.vsm-lm-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(109,40,217,.3); border-top-color: var(--vsm-accent);
  animation: vsm-spin .7s linear infinite; position: absolute;
}
.vsm-load-more-btn.loading .vsm-lm-spinner { display: block; }
@keyframes vsm-spin { to { transform: rotate(360deg); } }

/* ── Overlay ── */
.vsm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 50%, transparent 70%);
  opacity: 0; transition: opacity var(--vsm-duration);
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: inherit;
}
.vsm-item:hover .vsm-overlay,
.vsm-item:focus-within .vsm-overlay { opacity: 1; }
.vsm-overlay-stats {
  display: flex; gap: .75rem; padding: .75rem;
  color: #fff; font-size: .78rem; font-weight: 600;
}
.vsm-overlay-stats span { display: flex; align-items: center; gap: .3rem; }
.vsm-overlay-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.vsm-overlay-play .vsm-icon svg { width: 44px; height: 44px; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }

/* ── Play trigger ── */
.vsm-play-trigger {
  position: absolute; inset: 0; width: 100%; border: none;
  background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ── Buttons ── */
.vsm-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.25rem; border-radius: 8px;
  background: var(--vsm-accent); color: #fff;
  font-size: .82rem; font-weight: 600; border: none; cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.vsm-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ── Lightbox ── */
.vsm-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.vsm-lightbox[aria-hidden="false"] { opacity: 1; pointer-events: all; }
.vsm-lb-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.9);
  backdrop-filter: blur(12px);
}
.vsm-lb-content {
  position: relative; z-index: 1;
  max-width: min(90vw, 900px); width: 100%;
  background: #111; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(.95) translateY(10px);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.vsm-lightbox[aria-hidden="false"] .vsm-lb-content { transform: scale(1) translateY(0); }
.vsm-lb-media img { width: 100%; max-height: 75vh; object-fit: contain; background: #000; }
.vsm-lb-info { padding: 1rem 1.25rem; }
.vsm-lb-caption { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.5; margin: 0; }
.vsm-lb-close, .vsm-lb-prev, .vsm-lb-next {
  position: absolute; z-index: 2; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.vsm-lb-close:hover, .vsm-lb-prev:hover, .vsm-lb-next:hover { background: rgba(255,255,255,.25); }
.vsm-lb-close { top: 1rem; right: 1rem; width: 36px; height: 36px; font-size: 1.2rem; }
.vsm-lb-prev  { left:  1rem; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 1.5rem; }
.vsm-lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 1.5rem; }

/* ══════════════════════════════════════════════════
   INSTAGRAM — GRID
══════════════════════════════════════════════════ */
.vsm-instagram.vsm-style--grid .vsm-feed {
  display: grid;
  grid-template-columns: repeat(var(--vsm-cols, 3), 1fr);
  gap: var(--vsm-gap);
}
.vsm-instagram.vsm-style--grid .vsm-item--grid {
  border-radius: var(--vsm-radius); overflow: hidden;
  position: relative;
}
.vsm-instagram.vsm-style--grid .vsm-item--grid:hover .vsm-img-wrap img { transform: scale(1.06); }

/* ══════════════════════════════════════════════════
   INSTAGRAM — MASONRY
══════════════════════════════════════════════════ */
.vsm-instagram.vsm-style--masonry .vsm-feed {
  columns: 3; column-gap: var(--vsm-gap);
}
.vsm-instagram.vsm-style--masonry .vsm-item--masonry {
  break-inside: avoid; display: block;
  border-radius: var(--vsm-radius); overflow: hidden;
  margin-bottom: var(--vsm-gap); position: relative;
}
.vsm-instagram.vsm-style--masonry .vsm-img-wrap {
  padding-top: 0 !important;
}
.vsm-instagram.vsm-style--masonry .vsm-img-wrap img {
  position: static; width: 100%; height: auto;
  transition: transform var(--vsm-duration);
}
.vsm-instagram.vsm-style--masonry .vsm-item--masonry:hover .vsm-img-wrap img { transform: scale(1.04); }
.vsm-instagram.vsm-style--masonry .vsm-overlay-cap {
  color: #fff; font-size: .75rem; line-height: 1.4;
  padding: .5rem .75rem 1rem; margin: 0;
}

/* ══════════════════════════════════════════════════
   INSTAGRAM — CAROUSEL
══════════════════════════════════════════════════ */
.vsm-instagram.vsm-style--carousel { position: relative; }
.vsm-instagram.vsm-style--carousel .vsm-feed {
  display: flex; overflow: hidden; border-radius: var(--vsm-radius);
  transition: none;
}
.vsm-instagram.vsm-style--carousel .vsm-carousel-track {
  display: flex; width: 100%;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.vsm-instagram.vsm-style--carousel .vsm-item--slide {
  min-width: 33.333%; padding: 0 calc(var(--vsm-gap)/2);
  flex-shrink: 0;
}
.vsm-instagram.vsm-style--carousel .vsm-img-wrap { border-radius: var(--vsm-radius); overflow: hidden; }
.vsm-slide-info { padding: .65rem 0; }
.vsm-slide-cap { font-size: .78rem; color: #555; margin: 0 0 .35rem; line-height: 1.4; }
.vsm-slide-stats { display: flex; gap: 1rem; font-size: .72rem; color: #888; align-items: center; }
.vsm-slide-stats a { margin-left: auto; color: var(--vsm-accent); font-weight: 600; }

.vsm-carousel-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .75rem;
}
.vsm-carousel-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #333; transition: all .2s;
}
.vsm-carousel-btn:hover { background: var(--vsm-accent); color: #fff; border-color: var(--vsm-accent); }
.vsm-carousel-dots { display: flex; gap: 5px; }
.vsm-dot { width: 7px; height: 7px; border-radius: 50%; background: #ddd; cursor: pointer; transition: background .2s; }
.vsm-dot.active { background: var(--vsm-accent); }

/* ══════════════════════════════════════════════════
   INSTAGRAM — STORY RING
══════════════════════════════════════════════════ */
.vsm-instagram.vsm-style--story-ring .vsm-feed {
  display: flex; gap: 1.1rem; overflow-x: auto; padding: .5rem;
  scrollbar-width: none;
}
.vsm-instagram.vsm-style--story-ring .vsm-feed::-webkit-scrollbar { display: none; }
.vsm-item--story { display: flex; flex-direction: column; align-items: center; gap: .45rem; flex-shrink: 0; cursor: pointer; }
.vsm-story-ring {
  width: 74px; height: 74px; border-radius: 50%; padding: 2.5px;
  background: var(--vsm-insta-grad);
  transition: transform .2s;
}
.vsm-item--story:hover .vsm-story-ring { transform: scale(1.07); }
.vsm-story-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 2.5px solid #fff;
}
.vsm-story-inner img { object-fit: cover; }
.vsm-story-label { font-size: .68rem; color: #666; text-align: center; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══════════════════════════════════════════════════
   INSTAGRAM — HIGHLIGHT REEL
══════════════════════════════════════════════════ */
.vsm-instagram.vsm-style--highlight .vsm-feed {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--vsm-gap);
}
.vsm-item--hero {
  grid-row: 1 / 3; border-radius: var(--vsm-radius); overflow: hidden; position: relative;
}
.vsm-item--hero .vsm-img-wrap { height: 100%; padding-top: 0 !important; }
.vsm-item--hero .vsm-img-wrap img { position: absolute; inset: 0; }
.vsm-hero-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 70%);
  padding: 1.75rem 1.25rem 1.25rem;
}
.vsm-hero-stats { color: rgba(255,255,255,.7); font-size: .75rem; margin-bottom: .5rem; display: flex; gap: .75rem; }
.vsm-hero-info p { color: #fff; font-size: .85rem; line-height: 1.45; margin: 0 0 .75rem; }

.vsm-item--thumb { border-radius: var(--vsm-radius); overflow: hidden; position: relative; display: block; }
.vsm-item--thumb:hover .vsm-img-wrap img { transform: scale(1.08); }

/* ══════════════════════════════════════════════════
   INSTAGRAM — MINIMAL LIST
══════════════════════════════════════════════════ */
.vsm-instagram.vsm-style--minimal-list .vsm-feed { display: flex; flex-direction: column; gap: .85rem; }
.vsm-item--list {
  display: flex; gap: .9rem; align-items: center;
  padding: .75rem; border-radius: var(--vsm-radius);
  border: 1px solid #f0f0f0; background: #fafafa;
  transition: all var(--vsm-duration);
}
.vsm-item--list:hover { background: #fff; box-shadow: var(--vsm-shadow); transform: translateX(4px); }
.vsm-list-thumb { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.vsm-list-body { flex: 1; min-width: 0; }
.vsm-list-cap { margin: 0 0 .3rem; font-size: .83rem; color: #333; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsm-list-meta { display: flex; gap: .75rem; font-size: .7rem; color: #999; }

/* ══════════════════════════════════════════════════
   FACEBOOK — FEED
══════════════════════════════════════════════════ */
.vsm-facebook.vsm-style--feed .vsm-feed {
  display: flex; flex-direction: column; gap: 1.1rem; max-width: 560px; margin: 0 auto;
}
.vsm-item--feed {
  background: #fff; border-radius: var(--vsm-radius);
  border: 1px solid #e8eaed; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow var(--vsm-duration);
}
.vsm-item--feed:hover { box-shadow: var(--vsm-shadow-hover); }
.vsm-feed-header { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem .5rem; }
.vsm-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.vsm-avatar--fb { background: #e7f0fd; }
.vsm-avatar--fb svg { width: 20px; height: 20px; }
.vsm-feed-meta strong { display: block; font-size: .88rem; font-weight: 700; color: #1c1e21; }
.vsm-feed-meta span { font-size: .73rem; color: #65676b; }
.vsm-follow-badge {
  margin-left: auto; display: flex; align-items: center; gap: .35rem;
  padding: .35rem .9rem; border-radius: 6px;
  background: #e7f0fd; color: var(--vsm-fb);
  font-size: .75rem; font-weight: 700; border: 1px solid rgba(24,119,242,.2);
  transition: background .2s;
}
.vsm-follow-badge:hover { background: #dde7f7; }
.vsm-follow-badge .vsm-icon svg { width: 13px; height: 13px; }
.vsm-feed-text { padding: .4rem 1rem .65rem; font-size: .9rem; color: #1c1e21; line-height: 1.55; margin: 0; }
.vsm-feed-img img { height: 280px; object-fit: cover; display: block; border-radius: 0; }
.vsm-feed-actions {
  display: flex; border-top: 1px solid #e8eaed; padding: .4rem .5rem;
}
.vsm-react-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .5rem; border-radius: 6px; border: none; background: transparent;
  color: #65676b; font-size: .82rem; font-weight: 600; cursor: pointer;
  font-family: var(--vsm-font); transition: background .18s;
}
.vsm-react-btn:hover { background: #f0f2f5; }
.vsm-react-btn .vsm-icon svg { width: 16px; height: 16px; }
.vsm-react-share { color: #65676b; text-decoration: none; }

/* ══════════════════════════════════════════════════
   FACEBOOK — CARDS
══════════════════════════════════════════════════ */
.vsm-facebook.vsm-style--cards .vsm-feed {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--vsm-gap);
}
.vsm-item--card {
  background: #fff; border-radius: var(--vsm-radius); overflow: hidden;
  box-shadow: var(--vsm-shadow); transition: all var(--vsm-duration);
  border: 1px solid #efefef;
}
.vsm-item--card:hover { transform: translateY(-4px); box-shadow: var(--vsm-shadow-hover); }
.vsm-card-img img { height: 195px; object-fit: cover; display: block; }
.vsm-card-body { padding: 1rem; }
.vsm-card-author { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.vsm-card-author strong { font-size: .83rem; color: #111; display: block; }
.vsm-card-author span { font-size: .7rem; color: #888; }
.vsm-card-text { font-size: .84rem; line-height: 1.5; color: #333; margin: 0 0 .85rem; }
.vsm-card-actions { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: #999; }
.vsm-card-link { margin-left: auto; color: var(--vsm-fb); font-weight: 600; }

/* ══════════════════════════════════════════════════
   FACEBOOK — TIMELINE
══════════════════════════════════════════════════ */
.vsm-facebook.vsm-style--timeline .vsm-feed {
  position: relative; padding: 0 1.5rem;
}
.vsm-facebook.vsm-style--timeline .vsm-feed::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, #dbeafe, #ede9fe);
  transform: translateX(-50%);
}
.vsm-item--timeline { display: flex; margin-bottom: 2.5rem; position: relative; }
.vsm-item--timeline.vsm-tl--left  { justify-content: flex-start;  padding-right: calc(50% + 28px); }
.vsm-item--timeline.vsm-tl--right { justify-content: flex-end;    padding-left:  calc(50% + 28px); }
.vsm-tl-dot {
  position: absolute; left: 50%; top: 1.25rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--vsm-fb); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--vsm-fb);
  transform: translateX(-50%); z-index: 1;
}
.vsm-tl-card {
  background: #fff; border-radius: var(--vsm-radius);
  box-shadow: var(--vsm-shadow); overflow: hidden; width: 100%;
  border: 1px solid #efefef;
}
.vsm-tl-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.vsm-tl-body { padding: .9rem 1rem; }
.vsm-tl-time { display: block; font-size: .7rem; color: #999; margin-bottom: .35rem; }
.vsm-tl-body p { font-size: .83rem; color: #333; line-height: 1.5; margin: 0 0 .5rem; }
.vsm-tl-stats { display: flex; gap: .75rem; font-size: .72rem; color: #bbb; margin-bottom: .5rem; }
.vsm-tl-body a { font-size: .75rem; color: var(--vsm-fb); font-weight: 600; }

/* ══════════════════════════════════════════════════
   FACEBOOK — MAGAZINE
══════════════════════════════════════════════════ */
.vsm-facebook.vsm-style--magazine .vsm-feed {
  display: grid; gap: var(--vsm-gap);
}
.vsm-item--mag-lead {
  display: grid; grid-template-columns: 1.6fr 1fr; border-radius: var(--vsm-radius);
  overflow: hidden; box-shadow: var(--vsm-shadow); background: #fff;
  border: 1px solid #efefef;
}
.vsm-item--mag-sm {
  display: grid; grid-template-columns: 130px 1fr; border-radius: var(--vsm-radius);
  overflow: hidden; box-shadow: var(--vsm-shadow); background: #fff;
  border: 1px solid #efefef;
}
.vsm-mag-img img { height: 100%; min-height: 140px; object-fit: cover; display: block; }
.vsm-item--mag-lead .vsm-mag-img img { min-height: 260px; }
.vsm-mag-body { padding: 1.1rem; display: flex; flex-direction: column; justify-content: center; }
.vsm-mag-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; font-weight: 700; color: var(--vsm-fb);
  background: #e7f0fd; padding: .2rem .6rem; border-radius: 5px;
  margin-bottom: .6rem; width: fit-content;
}
.vsm-mag-badge .vsm-icon svg { width: 11px; height: 11px; }
.vsm-mag-text { font-size: .83rem; line-height: 1.5; color: #333; margin: 0 0 .5rem; flex: 1; }
.vsm-mag-foot { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; }
.vsm-mag-foot time { color: #aaa; }
.vsm-mag-foot a { color: var(--vsm-fb); font-weight: 600; }

/* ══════════════════════════════════════════════════
   YOUTUBE — GRID
══════════════════════════════════════════════════ */
.vsm-youtube.vsm-style--grid .vsm-feed {
  display: grid; grid-template-columns: repeat(var(--vsm-cols, 3), 1fr); gap: var(--vsm-gap);
}
.vsm-item--grid {
  border-radius: var(--vsm-radius); overflow: hidden; background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  transition: all var(--vsm-duration);
}
.vsm-item--grid:hover { transform: translateY(-3px); box-shadow: var(--vsm-shadow-hover); }
.vsm-item--grid:hover .vsm-img-wrap img { transform: scale(1.04); }
.vsm-yt-info { padding: .75rem .85rem .85rem; }
.vsm-yt-title { display: block; font-size: .85rem; font-weight: 600; color: #111; line-height: 1.35; margin-bottom: .3rem; }
.vsm-yt-title:hover { color: var(--vsm-yt); }
.vsm-yt-meta { display: flex; gap: .75rem; font-size: .7rem; color: #888; }
.vsm-yt-meta .vsm-icon svg { width: 12px; height: 12px; }

.vsm-yt-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 700; color: var(--vsm-yt);
  background: rgba(255,0,0,.07); padding: .2rem .6rem; border-radius: 5px;
  margin-bottom: .6rem; width: fit-content;
}

/* ══════════════════════════════════════════════════
   YOUTUBE — FEATURED
══════════════════════════════════════════════════ */
.vsm-youtube.vsm-style--featured .vsm-feed {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--vsm-gap);
}
.vsm-item--featured-player { grid-column: 1; grid-row: 1 / 3; }
.vsm-embed-wrap {
  position: relative; padding-top: 56.25%; border-radius: var(--vsm-radius); overflow: hidden; background: #000;
}
.vsm-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.vsm-embed-poster { position: absolute; inset: 0; object-fit: cover; }
.vsm-play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,0,0,.9); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,0,0,.4); transition: transform .2s;
}
.vsm-play-trigger:hover .vsm-play-btn { transform: scale(1.1); }
.vsm-play-btn .vsm-icon svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.vsm-featured-info { padding: .75rem 0; }
.vsm-featured-title { font-size: 1rem; font-weight: 700; color: #111; margin: 0 0 .5rem; line-height: 1.35; }
.vsm-featured-desc { font-size: .8rem; color: #666; line-height: 1.5; margin: 0 0 .75rem; }
.vsm-featured-stats { display: flex; gap: 1rem; font-size: .75rem; color: #888; flex-wrap: wrap; }
.vsm-featured-stats .vsm-icon svg { width: 13px; height: 13px; }

.vsm-item--sidebar-vid {
  display: flex; gap: .65rem; cursor: pointer;
  padding: .5rem; border-radius: 10px; transition: background .2s;
}
.vsm-item--sidebar-vid:hover { background: #f8f8f8; }
.vsm-sv-thumb { width: 110px; height: 62px; border-radius: 7px; overflow: hidden; flex-shrink: 0; position: relative; background: #111; }
.vsm-sv-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); opacity: 0; transition: opacity .2s;
}
.vsm-item--sidebar-vid:hover .vsm-sv-play { opacity: 1; }
.vsm-sv-play .vsm-icon svg { width: 18px; height: 18px; color: #fff; }
.vsm-sv-info h4 { font-size: .78rem; color: #111; margin: 0 0 .25rem; line-height: 1.3; font-weight: 600; }
.vsm-sv-info span { font-size: .68rem; color: #888; }

/* ══════════════════════════════════════════════════
   YOUTUBE — PLAYLIST
══════════════════════════════════════════════════ */
.vsm-youtube.vsm-style--playlist .vsm-feed {
  display: flex; flex-direction: column;
  border-radius: var(--vsm-radius); overflow: hidden;
  box-shadow: var(--vsm-shadow); background: #fff; border: 1px solid #efefef;
}
.vsm-item--playlist {
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem 1rem; border-bottom: 1px solid #f5f5f5;
  transition: background .18s;
}
.vsm-item--playlist:last-child { border-bottom: none; }
.vsm-item--playlist:hover { background: #f9f7ff; }
.vsm-pl-num { font-size: .78rem; font-weight: 700; color: #ccc; min-width: 26px; }
.vsm-pl-thumb { width: 90px; height: 50px; border-radius: 6px; overflow: hidden; flex-shrink: 0; position: relative; background: #111; }
.vsm-pl-info { flex: 1; }
.vsm-pl-info h4 { font-size: .83rem; color: #111; margin: 0 0 .2rem; font-weight: 600; }
.vsm-pl-info span { font-size: .7rem; color: #888; }
.vsm-pl-play { width: 30px; height: 30px; border-radius: 50%; background: #f0eeff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.vsm-item--playlist:hover .vsm-pl-play { background: var(--vsm-accent); }
.vsm-pl-play .vsm-icon svg { width: 12px; height: 12px; color: var(--vsm-accent); margin-left: 2px; }
.vsm-item--playlist:hover .vsm-pl-play .vsm-icon svg { color: #fff; }

/* ══════════════════════════════════════════════════
   YOUTUBE — CINEMATIC
══════════════════════════════════════════════════ */
.vsm-youtube.vsm-style--cinematic .vsm-feed { display: flex; flex-direction: column; gap: 2px; }
.vsm-item--cinema {
  position: relative; min-height: 180px; overflow: hidden; cursor: pointer;
}
.vsm-item--cinema:first-child { min-height: 340px; border-radius: var(--vsm-radius) var(--vsm-radius) 0 0; }
.vsm-item--cinema:last-child { border-radius: 0 0 var(--vsm-radius) var(--vsm-radius); }
.vsm-cinema-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .55s ease, filter .3s;
  filter: brightness(.6);
}
.vsm-item--cinema:hover .vsm-cinema-bg { transform: scale(1.06); filter: brightness(.4); }
.vsm-cinema-overlay {
  position: relative; z-index: 1; height: 100%; min-height: inherit;
  display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem;
}
.vsm-cinema-play {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  transition: all .22s; backdrop-filter: blur(4px);
}
.vsm-item--cinema:hover .vsm-cinema-play { background: var(--vsm-yt); border-color: var(--vsm-yt); }
.vsm-cinema-play .vsm-icon svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.vsm-cinema-info h3 { color: #fff; font-size: .95rem; margin: 0 0 .4rem; font-weight: 700; }
.vsm-cinema-meta { display: flex; gap: 1rem; font-size: .72rem; color: rgba(255,255,255,.55); }
.vsm-cinema-meta .vsm-icon svg { width: 11px; }

/* ══════════════════════════════════════════════════
   YOUTUBE — MINIMAL
══════════════════════════════════════════════════ */
.vsm-youtube.vsm-style--minimal .vsm-feed {
  display: grid; grid-template-columns: repeat(var(--vsm-cols, 3), 1fr); gap: var(--vsm-gap);
}
.vsm-item--minimal {
  display: flex; flex-direction: column; gap: .65rem;
  border-radius: var(--vsm-radius); overflow: hidden;
  border: 1px solid #efefef; background: #fff;
  transition: all var(--vsm-duration);
}
.vsm-item--minimal:hover { box-shadow: var(--vsm-shadow); border-color: transparent; transform: translateY(-2px); }
.vsm-min-thumb { position: relative; overflow: hidden; border-radius: var(--vsm-radius) var(--vsm-radius) 0 0; }
.vsm-min-thumb img { aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform var(--vsm-duration); }
.vsm-item--minimal:hover .vsm-min-thumb img { transform: scale(1.04); }
.vsm-min-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.28); opacity: 0; transition: opacity .2s;
}
.vsm-item--minimal:hover .vsm-min-play { opacity: 1; }
.vsm-min-play .vsm-icon svg { width: 32px; height: 32px; color: #fff; }
.vsm-min-info { padding: 0 .85rem .85rem; }
.vsm-min-info h4 { font-size: .82rem; font-weight: 600; color: #111; margin: 0 0 .25rem; line-height: 1.35; }
.vsm-min-ch { font-size: .7rem; color: #888; display: block; margin-bottom: .25rem; }
.vsm-min-stats { display: flex; gap: .75rem; font-size: .68rem; color: #aaa; }

/* ══════════════════════════════════════════════════
   YOUTUBE — CHANNEL HERO
══════════════════════════════════════════════════ */
.vsm-ch-hero {
  background: linear-gradient(135deg, #0f0a1e, #1a0f3c);
  border-radius: var(--vsm-radius) var(--vsm-radius) 0 0;
  padding: 2rem; margin-bottom: var(--vsm-gap);
}
.vsm-ch-info { display: flex; align-items: center; gap: 1.25rem; }
.vsm-ch-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--vsm-yt); display: flex; align-items: center; justify-content: center;
}
.vsm-ch-avatar .vsm-icon svg { width: 32px; height: 32px; }
.vsm-ch-text { flex: 1; }
.vsm-ch-text h2 { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 .25rem; }
.vsm-ch-text p  { font-size: .78rem; color: rgba(255,255,255,.5); margin: 0 0 .5rem; }
.vsm-ch-stats   { font-size: .75rem; color: rgba(255,255,255,.45); }
.vsm-ch-stats strong { color: #fff; }
.vsm-subscribe-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .65rem 1.25rem; border-radius: 8px;
  background: var(--vsm-yt); color: #fff;
  font-size: .82rem; font-weight: 700; border: none; cursor: pointer;
  font-family: var(--vsm-font); transition: opacity .2s;
}
.vsm-subscribe-btn:hover { opacity: .88; }
.vsm-subscribe-btn .vsm-icon svg { width: 15px; height: 15px; }

.vsm-youtube.vsm-style--channel-hero .vsm-feed {
  display: grid; grid-template-columns: repeat(var(--vsm-cols, 3), 1fr); gap: var(--vsm-gap);
}

/* ══════════════════════════════════════════════════
   YOUTUBE — VIDEO PLAYER MODAL
══════════════════════════════════════════════════ */
.vsm-video-modal {
  position: fixed; inset: 0; z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.92); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.vsm-video-modal.open { opacity: 1; pointer-events: all; }
.vsm-vm-inner {
  width: min(90vw, 880px); border-radius: 16px; overflow: hidden;
  background: #000; box-shadow: 0 24px 80px rgba(0,0,0,.7);
  transform: scale(.95); transition: transform .3s cubic-bezier(.34,1.3,.64,1);
}
.vsm-video-modal.open .vsm-vm-inner { transform: scale(1); }
.vsm-vm-embed { position: relative; padding-top: 56.25%; }
.vsm-vm-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.vsm-vm-close {
  position: fixed; top: 1.25rem; right: 1.25rem; z-index: 99999;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.vsm-vm-close:hover { background: rgba(255,255,255,.2); }

/* ══════════════════════════════════════════════════
   HOVER EFFECT VARIANTS  (set via appearance)
══════════════════════════════════════════════════ */
.vsm-hover--glow .vsm-item:hover {
  box-shadow: 0 0 0 2px var(--vsm-accent), 0 8px 32px rgba(109,40,217,.25) !important;
  transform: none !important;
}
.vsm-hover--zoom .vsm-item:hover .vsm-img-wrap img { transform: scale(1.12) !important; }
.vsm-hover--fade .vsm-item:hover .vsm-overlay { opacity: 1 !important; }
.vsm-hover--none .vsm-item { transition: none !important; }
.vsm-hover--none .vsm-item:hover { transform: none !important; box-shadow: none !important; }

/* ══════════════════════════════════════════════════
   SCROLL-IN ANIMATION
══════════════════════════════════════════════════ */
.vsm-anim-ready {
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}
.vsm-anim-in { opacity: 1 !important; transform: none !important; }

/* ══════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vsm-instagram.vsm-style--grid .vsm-feed { grid-template-columns: repeat(min(var(--vsm-cols,3), 3), 1fr); }
  .vsm-youtube.vsm-style--grid .vsm-feed   { grid-template-columns: repeat(min(var(--vsm-cols,3), 3), 1fr); }
}

@media (max-width: 768px) {
  .vsm-instagram.vsm-style--grid .vsm-feed        { grid-template-columns: repeat(2, 1fr) !important; }
  .vsm-instagram.vsm-style--masonry .vsm-feed     { columns: 2 !important; }
  .vsm-instagram.vsm-style--carousel .vsm-item--slide { min-width: 70% !important; }
  .vsm-instagram.vsm-style--highlight .vsm-feed {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .vsm-item--hero { grid-column: 1 / -1; grid-row: auto; }

  .vsm-facebook.vsm-style--timeline .vsm-item--timeline.vsm-tl--left,
  .vsm-facebook.vsm-style--timeline .vsm-item--timeline.vsm-tl--right {
    padding: 0 0 0 2.5rem; justify-content: flex-start;
  }
  .vsm-facebook.vsm-style--timeline .vsm-feed::before { left: 14px; }
  .vsm-tl-dot { left: 14px !important; }
  .vsm-tl-card { max-width: 100%; }

  .vsm-item--mag-lead { grid-template-columns: 1fr; }
  .vsm-mag-img img { min-height: 200px !important; }

  .vsm-youtube.vsm-style--featured .vsm-feed { grid-template-columns: 1fr; }
  .vsm-item--featured-player { grid-column: 1; grid-row: 1; }
  .vsm-youtube.vsm-style--grid .vsm-feed   { grid-template-columns: repeat(2, 1fr) !important; }
  .vsm-youtube.vsm-style--minimal .vsm-feed{ grid-template-columns: repeat(2, 1fr) !important; }
  .vsm-youtube.vsm-style--channel-hero .vsm-feed { grid-template-columns: repeat(2, 1fr) !important; }

  .vsm-ch-info { flex-wrap: wrap; }
  .vsm-subscribe-btn { width: 100%; justify-content: center; }

  .vsm-cinema-overlay { padding: 1rem; gap: 1rem; }
  .vsm-cinema-play { width: 44px; height: 44px; }
  .vsm-cinema-info h3 { font-size: .85rem; }

  .vsm-lb-prev { left: .5rem; }
  .vsm-lb-next { right: .5rem; }
}

@media (max-width: 480px) {
  .vsm-instagram.vsm-style--grid .vsm-feed     { grid-template-columns: repeat(2, 1fr) !important; }
  .vsm-instagram.vsm-style--masonry .vsm-feed  { columns: 1 !important; }
  .vsm-facebook.vsm-style--cards .vsm-feed     { grid-template-columns: 1fr !important; }
  .vsm-youtube.vsm-style--grid .vsm-feed       { grid-template-columns: 1fr !important; }
  .vsm-youtube.vsm-style--minimal .vsm-feed    { grid-template-columns: 1fr !important; }
  .vsm-youtube.vsm-style--channel-hero .vsm-feed { grid-template-columns: 1fr !important; }
  .vsm-item--playlist { flex-wrap: wrap; }
  .vsm-pl-thumb { width: 100%; height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .vsm-anim-ready { opacity: 1 !important; transform: none !important; }
  .vsm-wrap *, .vsm-wrap *::before, .vsm-wrap *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
