/* VictoryLap session share. Dark shell, lime accent, same tokens as the hub. */

.vl-share-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 11, 12, 0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; overflow-y: auto;
}
.vl-share-sheet {
  position: relative; width: 100%; max-width: 520px;
  background: var(--black-2, #131315);
  border: 1px solid var(--line, rgba(242, 237, 225, 0.14));
  border-radius: 16px; padding: 20px;
}
.vl-share-close {
  position: absolute; top: 10px; right: 12px; z-index: 10;
  /* A real tap target, not a bare glyph: after capture the X sits on top
     of the photo/video, and a ~12px glyph next to media is unhittable.
     44px circle, visible over bright media, above every sheet layer. */
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0;
  background: rgba(11, 11, 12, 0.55); border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%; color: var(--bone, #f2ede1);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.vl-share-body { color: var(--bone, #f2ede1); font-family: var(--font-body, Inter, system-ui, sans-serif); }
.vl-share-note { color: var(--bone-dim, #cfc8b8); font-size: 14px; line-height: 1.5; }
.vl-share-status { color: var(--lime, #d6ff38); font-size: 13px; min-height: 18px; }

.vl-share-prompt h2 {
  font-family: var(--font-display, "Anton", "Arial Narrow", sans-serif);
  text-transform: uppercase; color: var(--lime, #d6ff38);
  font-size: 30px; margin: 8px 0 10px; padding-right: 32px;
}
/* Prompt buttons stack full-width so the two pickers read as two clear
   choices; scoped to the prompt so share-action rows elsewhere are untouched. */
.vl-share-prompt .vl-share-btn { display: block; width: 100%; box-sizing: border-box; }
.vl-share-prompt p { color: var(--bone-dim, #cfc8b8); font-size: 14px; line-height: 1.5; }

.vl-share-cardwrap { display: flex; justify-content: center; margin-bottom: 14px; }
.vl-share-cardimg {
  width: 100%; max-width: 360px; aspect-ratio: 9 / 16;
  object-fit: cover; border-radius: 12px; background: #000;
}
.vl-share-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vl-share-btn {
  display: inline-block; background: var(--lime, #d6ff38); color: var(--black, #0b0b0c);
  font-weight: 800; font-size: 14px; border: none; border-radius: 999px;
  padding: 10px 18px; cursor: pointer; text-align: center;
}
.vl-share-btn-ghost {
  background: transparent; color: var(--bone, #f2ede1);
  border: 1px solid var(--line, rgba(242, 237, 225, 0.14));
}
.vl-share-btn-sm { padding: 6px 12px; font-size: 12px; }
.vl-share-btn:disabled { opacity: 0.5; cursor: default; }

/* My Media gallery */
.vl-share-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.vl-share-thumb {
  background: none; border: none; padding: 0; cursor: pointer; text-align: left;
}
.vl-share-thumb img, .vl-share-thumb video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 10px; background: #000; display: block;
}
.vl-share-thumb span {
  display: block; color: var(--bone-dim, #cfc8b8);
  font-size: 11px; margin-top: 4px; line-height: 1.3;
}
.vl-share-item { display: flex; flex-direction: column; }
.vl-share-del {
  background: none; border: none; padding: 6px 0 0; cursor: pointer;
  color: var(--bone-dim, #cfc8b8); font-size: 11px; text-align: left;
  text-decoration: underline;
}
.vl-share-del:disabled { opacity: 0.5; cursor: default; }

/* Feed */
.vl-share-feed { display: grid; gap: 16px; }
.vl-share-feedcard {
  background: var(--black-2, #131315);
  border: 1px solid var(--line, rgba(242, 237, 225, 0.14));
  border-radius: 14px; padding: 14px;
  color: var(--bone, #f2ede1);
}
.vl-share-feedauthor { font-weight: 800; font-size: 14px; margin: 0 0 10px; }
.vl-share-feedcard img, .vl-share-feedcard video {
  width: 100%; border-radius: 10px; background: #000; display: block;
}
.vl-share-feed-stats, .vl-share-feedtitle { font-size: 14px; margin: 10px 0 0; }
.vl-share-feedtitle { font-weight: 700; }
.vl-share-feedmeta {
  display: flex; align-items: center; gap: 10px;
  color: var(--bone-dim, #cfc8b8); font-size: 12px; margin: 10px 0 0;
}
.vl-share-feedmeta .vl-share-btn { margin-left: auto; }

/* Full-screen vertical Story player */
.vl-share-storymode .vl-share-sheet { max-width: 480px; padding: 0; overflow: hidden; }
.vl-share-story { position: relative; aspect-ratio: 9 / 16; background: #000; }
.vl-share-story img, .vl-share-story video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.vl-share-storyblank { width: 100%; height: 100%; background: linear-gradient(180deg, #131315, #0b0b0c); }
.vl-share-storycap {
  position: absolute; left: 0; right: 0; bottom: 56px; padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 12, 0.55));
  touch-action: none; cursor: grab;
}
.vl-share-storyauthor { font-weight: 800; font-size: 14px; margin: 0 0 4px; color: #f2ede1; }
.vl-share-storytitle, .vl-share-story-stats { font-size: 14px; margin: 0; color: #f2ede1; }
.vl-share-story-stats { color: var(--lime, #d6ff38); font-weight: 700; }
.vl-share-storynav {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; color: var(--bone-dim, #cfc8b8); font-size: 12px;
}

/* Full-bleed card view: the preview fills the sheet like a story, so
   the card no longer reads tiny inside a padded box. Top-aligned, so
   a sheet taller than the viewport stays fully scrollable instead of
   getting its top cut off by vertical centering. */
.vl-share-overlay.vl-share-cardmode { padding: 0; align-items: flex-start; }
.vl-share-overlay.vl-share-storymode { align-items: flex-start; }
.vl-share-cardmode .vl-share-sheet { max-width: 480px; padding: 0; overflow: hidden; }
.vl-share-cardmode .vl-share-close { z-index: 10; text-shadow: 0 1px 6px #000; }
.vl-share-cardmedia { position: relative; aspect-ratio: 9 / 16; background: #000; }
.vl-share-cardmedia img, .vl-share-cardmedia video {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; display: block;
}
.vl-share-cardblank { display: flex; align-items: center; justify-content: center; padding: 24px; }
.vl-share-cardactions { padding: 16px; }

/* Glass stats panel over media: truly clear glass, not frosted. The
   photo or video shows through almost untouched (light blur, whisper
   of tint); the sheet reads as glass from its bright edge and top
   sheen. The brand stays loud on top: VICTORYLAP wordmark and big
   number in solid brand lime. Draggable and pinchable (touch-action
   none lets gestures reach the panel). */
.vl-share-glass {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 18px; border-radius: 20px;
  background-color: rgba(20, 20, 22, 0.10);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 45%);
  -webkit-backdrop-filter: blur(10px) saturate(160%) brightness(1.05);
  backdrop-filter: blur(10px) saturate(160%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.18);
  color: #f2ede1; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  touch-action: none; cursor: grab;
}
.vl-share-glass-kicker {
  font-family: var(--font-display, "Anton", "Arial Narrow", sans-serif);
  font-size: 22px; letter-spacing: 0.06em;
  color: #d6ff38; margin: 0 0 8px;
}
.vl-share-glass-date {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px; letter-spacing: 0.08em; font-weight: 800;
  color: #cfc8b8; margin-left: 8px;
}
.vl-share-glass h3 {
  font-family: var(--font-display, "Anton", "Arial Narrow", sans-serif);
  text-transform: uppercase; font-size: 30px; line-height: 1.05;
  margin: 0 0 12px; color: #f2ede1;
}
.vl-share-glass-big {
  font-family: var(--font-display, "Anton", "Arial Narrow", sans-serif);
  font-size: 64px; line-height: 1; font-weight: 900;
  color: #d6ff38; margin: 0;
}
.vl-share-glass-label { font-size: 12px; font-weight: 700; color: #cfc8b8; margin: 4px 0 12px; }
.vl-share-glass-cell { font-size: 14px; margin: 6px 0 0; color: #cfc8b8; }
.vl-share-glass-cell span { color: #f2ede1; font-weight: 800; }
.vl-share-glass-live { font-size: 11px; font-weight: 700; color: #d6ff38; margin: 12px 0 0; }
.vl-share-glass-author { font-size: 13px; font-weight: 700; color: #f2ede1; margin: 0 0 4px; }
/* Story player panel sits above the Back/Next nav instead of over it. */
.vl-share-story .vl-share-glass { bottom: 70px; }

/* Sound toggle on video previews and the story player. */
.vl-share-sound {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(11, 11, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: 20px; cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Story player caption gets the same glass treatment. */
.vl-share-storycap {
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

/* In-app camera: live viewfinder, record bar, review. The viewfinder
   carries the same branded glass panel as the card, so the story is
   framed branded from the first frame. */
.vl-share-camview-wrap { position: relative; }
.vl-share-camview {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  background: #000; display: block;
}
.vl-share-camnote { font-size: 14px; color: #cfc8b8; margin: 12px 0 0; }
.vl-share-cambar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding: 14px 0 4px;
}
.vl-share-camrec {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e5484d; color: #fff; font-weight: 800; font-size: 13px;
  border: 3px solid rgba(255, 255, 255, 0.35); cursor: pointer;
}
.vl-share-camrec-on { background: #a92a2e; }

/* Story bubbles (Game Center): one per author, latest post preview. */
.vl-share-circles {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 4px 2px 10px;
}
.vl-share-circles::-webkit-scrollbar { display: none; }
.vl-share-circle {
  flex: 0 0 auto; width: 64px; background: none; border: none;
  padding: 0; cursor: pointer; color: inherit; text-align: center;
}
.vl-share-circle img,
.vl-share-circle video {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--lime, #d6ff38);
  display: block; margin: 0 auto 4px;
}
.vl-share-circle-initial {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--lime, #d6ff38);
  font-size: 20px; font-weight: 800; margin: 0 auto 4px;
}
.vl-share-circle span:last-child { font-size: 11px; }
