.blink_me {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.lg-outer {
  background-color: #000 !important;
  z-index: 999999 !important;
}

.sticky-header {
  z-index: 99 !important;
}

/* the gallery (#lgallery, Masonry): 2 photos a row on phones, 3 on tablets and laptops, 4 on wide screens */
.grid-item {
  width: 50%;
  padding: 1%;
}
.grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .grid-item {
    width: 33.333%;
    padding: 0.5%;
  }
}

@media (min-width: 1500px) {
  .grid-item {
    width: 25%;
  }
}

.watch-vod,
.watch-live {
  display: none;
  font-size: 1.2rem;
  background: yellow;
  color: #000;
  border: none;
  border-radius: 12px;
  margin: 0 5px;
  padding: 0.5rem 1.5rem;
  margin-top: 20px;
}

.watch-live {
  display: none;
  font-size: 1.2rem;
  background: yellow;
  color: #000;
  border: none;
  border-radius: 12px;
  margin: 0 5px;
  padding: 0.5rem 1.5rem;
  margin-top: 20px;
}

#vods {
  height: 90vh !important;
}

#vodsModal {
  height: 100vh !important;
}

#vods,
#player {
  width: 100% !important;
}

.modal {
  z-index: 99999999 !important;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 1000px !important;
    margin: .5rem auto !important;
  }
}

.op-time-display,
.op-message-text,
.op-live-badge-lowlatency {
  display: none !important;
}

.modal-dialog {
  pointer-events: unset !important;
}

.modal-header h4 {
  margin-bottom: 4px;
}

.blink_me {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

#vods,
#player {
  width: 100% !important;
}

.modal-dialog {
  margin: .1rem auto !important;
  pointer-events: unset !important;
}

.modal-content {
  overflow: hidden;
}

@media (min-width: 576px) {
  .modal-dialog {
    margin: .1rem auto !important;
    max-width: calc(100vw - 40px) !important;
    height: calc(100vh - 80px) !important;
  }

  #vods,
  #player,
  .side-container {
    min-height: calc(100vh - 10px) !important;
  }

  .side-container {
    padding-left: 0px !important;
    padding-right: 15px !important;
  }

  .chat-container {
    height: 85% !important;
  }

  .input-container {
    height: 7% !important;
  }
}

.op-time-display,
.op-message-text,
.op-live-badge-lowlatency {
  display: none !important;
}

.player-container {
  padding: 0;
}

.side-container {
  background: #efefef;
  padding: 0 3%;
  /* height: calc(100vh - 105px - 100vw*(9/16)); */
}

.chat-container {
  background-color: #fff;
  height: 87%;
  overflow: auto;
  margin: 0.2rem 0.4rem;
  border-radius: 8px;
  border: 1px solid #287de7;
}

.input-container {
  position: relative;
  background-color: #fff;
  height: 10%;
  margin: 0.3rem;
  border-radius: 8px;
  border: 1px solid #287de7;
}

.modal-header {
  background: #fff;
  padding: 0px 14px;
  border-radius: 8px;
}

.modal-body {
  position: relative;
  background: #fff;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 8px;
}

.clear {
  clear: both;
}

.msg {
  padding: 2% 4% 0 2%
}

.msg .user {
  font-weight: bold;
  font-size: 1.0rem;
  color: #287de7;
  float: left;
}

.msg .time {
  font-size: 0.8rem;
  float: right;
  color: #666;
}

.msg .end {
  padding-bottom: 8px;
  border-bottom: 1px dotted #ddd;
}

.msg .text {
  color: #222;
  line-height: 1.2;
}

.msg .text video {
  width: auto;
  /* max-width: 94vw; */
  /* max-height: 35vh; */
  max-height: 240px;
  border-radius: 12px;
  margin-left: 5%;
}

.msg .text.sticker {
  width: auto;
  height: 140px;
  margin-left: 10%;
  border: none;
}

.actions-container {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
}

.btn.btn-action {
  background: #287de7;
  border: 1px solid #287de7 !important;
  color: #fff !important;
  padding: 0.12rem 0.4rem;
  margin: 0 0.075rem;
}

.btn.btn-action:hover {
  border: 1px solid #287de7;
  background: #287de7;
  color: #287de7;
}

.btn.btn-accent {
  background: #56a2ff;
  border: 1px solid #56a2ff;
  color: #fff;
  padding: 0.12rem 0.4rem;
  margin: 0 0.075rem;
}

.btn.btn-accent.selected,
.btn.btn-accent:hover {
  border: 1px solid #287de7;
  background: #287de7;
}

.btn-pay {
  background: #287de7;
  border: 1px solid #287de7 !important;
  color: #fff !important;
  padding: 0.4rem 1.4rem;
  margin: 0.8rem;
  font-size: 1.4rem;
  text-transform: capitalize;
  border-radius: 12px;
}

.amount-input {
  width: 90px !important;
  text-align: center;
  margin: auto;
  border: 1px solid #287de7 !important;
  border-radius: 12px;
  margin-top: .6rem;
}

.p-02 {
  padding: 0.2rem;
}

.p-05 {
  padding: 0.5rem;
}

.form-control {
  width: 80%;
  border: none;
  height: auto !important;
  line-height: 1.7;
}

.m-auto {
  margin: auto;
}

.w-40 {
  width: 40%;
}

.w-70 {
  width: 70%;
}

.w-100 {
  width: 100%;
}

.btn-success {
  background-color: rgb(69, 222, 69);
}

.btn-danger {
  background-color: rgb(255, 3, 3);
}

.btn-fab {
  color: #fff;
  /* border-radius: 50%; */
  padding: 0 0.4rem !important;
}

.btn-fab i {
  color: #fff;
  /* font-size: 1.2rem; */
}

.fill {
  width: 100%;
  height: 100%;
  position: relative;
}

.recording-btns {
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.sticker {
  width: 31%;
  float: left;
  margin: 1%;
  padding: 1%;
  border: 1px dotted #287de7;
  border-radius: 12px;
}

.modal p {
  font-size: 16px;
  font-weight: normal;
  color: #000;
}

.p-t-1 {
  padding-top: 1rem;
}

.p-t-2 {
  padding-top: 2rem;
}

.p-t-3 {
  padding-top: 3rem;
}

.p-t-5 {
  padding-top: 5rem;
}

.bold {
  font-weight: 600 !important;
}

.text-success {
  color: green !important;
}

.text-error {
  color: red !important;
}

.gift-wrapper {
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(/live/gift-box.png);
  text-align: center;
  line-height: 140px;
  height: 140px;
}

.gift-wrapper .text {
  position: absolute;
  bottom: 30px;
  left: 10%;
  font-size: 1.4rem;
  color: #fff;
  background: #00000077;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  /* rotate: -8deg; */
}

/* a short message over the page — "The live stream has ended" (live/app.js showNotice) */
.wedz-notice {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147483000;
  max-width: calc(100% - 32px);
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  font: 500 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 10px));
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
}
.wedz-notice.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* the live stream's music button (live/music.js, Nov 17): in the Watch Live window's toolbar */
.wedz-lg-music{display:inline-flex;align-items:center;justify-content:center}
.wedz-lg-music svg{width:20px;height:20px}
.wedz-lg-music[hidden]{display:none}

/* (Nov 20) the live window's caption: the session's title the studio typed ("Sangeet"), under the player */
.wedz-live-title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 0.01em; }
.wedz-live-dot { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #d33; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }

/* (Dec 3) the hero's two video buttons (_shared/buttons.php): a reel icon / the YouTube icon before the words */
.wedz-btn-icon { display: inline-block; margin-right: 0.45em; font-size: 1.05em; line-height: 1; vertical-align: -0.1em; }

/*
 * (Dec 3) The video viewer (live/videos.js): the video chosen on top — its cover until it's tapped — every video's cover
 * below. Its own window over any template: every rule under .wedz-vv, its buttons reset (templates style `button`).
 */
html.wedz-vv-open, html.wedz-vv-open body { overflow: hidden !important; }
.wedz-vv { position: fixed; inset: 0; z-index: 2147483000; display: none; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #0b0b0d; color: #fff; font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left; letter-spacing: 0; text-transform: none; }
.wedz-vv.show { display: flex; flex-direction: column; }
.wedz-vv *, .wedz-vv *::before, .wedz-vv *::after { box-sizing: border-box; }
.wedz-vv button { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wedz-vv button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wedz-vv img { max-width: none; border: 0; }
/* (one video sits in the middle of the screen; a list starts at the top) */
.wedz-vv .wedz-vv-panel { flex: none; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }
.wedz-vv.one .wedz-vv-panel { margin: auto; }
.wedz-vv .wedz-vv-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 12px 0;
  background: linear-gradient(#0b0b0d 75%, rgba(11, 11, 13, 0)); }
.wedz-vv .wedz-vv-title { flex: 1; min-width: 0; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 600 19px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #fff; letter-spacing: 0; text-transform: none; }
.wedz-vv .wedz-vv-title i { margin-right: 10px; font-size: 22px; vertical-align: -2px; }
.wedz-vv .wedz-vv-title .wedz-vv-yt { color: #ff0033; }
.wedz-vv .wedz-vv-count { display: inline-block; margin-left: 10px; padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.14);
  font-size: 13px; font-weight: 600; vertical-align: 2px; }
.wedz-vv .wedz-vv-btn { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff; }
.wedz-vv .wedz-vv-btn:hover { background: rgba(255, 255, 255, 0.22); }
.wedz-vv .wedz-vv-btn svg { width: 22px; height: 22px; }
.wedz-vv .wedz-vv-stage { position: relative; width: 100%; max-height: 68vh; aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden; border-radius: 12px; background: #000; }
.wedz-vv .wedz-vv-stage.tall { width: auto; height: min(68vh, 760px); max-width: 100%; aspect-ratio: 9 / 16; }
.wedz-vv .wedz-vv-stage iframe, .wedz-vv .wedz-vv-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.wedz-vv .wedz-vv-cover { position: absolute; inset: 0; display: block; background: #000; }
.wedz-vv .wedz-vv-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.wedz-vv .wedz-vv-cover:hover img { opacity: 0.85; }
/* the play buttons: YouTube's own red for its videos */
.wedz-vv .wedz-vv-big, .wedz-vv .wedz-vv-play { position: absolute; left: 50%; top: 50%; display: block; border-radius: 14px; background: rgba(0, 0, 0, 0.62);
  transform: translate(-50%, -50%); transition: background 0.2s; }
.wedz-vv .wedz-vv-big { width: 76px; height: 54px; }
.wedz-vv .wedz-vv-cover:hover .wedz-vv-big:not(.yt) { background: rgba(0, 0, 0, 0.85); }
.wedz-vv .wedz-vv-big.yt { background: #ff0033; }
.wedz-vv .wedz-vv-play { width: 46px; height: 32px; border-radius: 9px; }
.wedz-vv .wedz-vv-big::after, .wedz-vv .wedz-vv-play::after { content: ""; position: absolute; left: 50%; top: 50%; border-style: solid; border-color: transparent transparent transparent #fff; }
.wedz-vv .wedz-vv-big::after { border-width: 11px 0 11px 19px; margin: -11px 0 0 -7px; }
.wedz-vv .wedz-vv-play::after { border-width: 7px 0 7px 12px; margin: -7px 0 0 -4px; }
.wedz-vv .wedz-vv-caption { display: flex; align-items: baseline; gap: 12px; margin: 12px 2px 22px; }
.wedz-vv .wedz-vv-name-big { font-size: 17px; font-weight: 600; }
.wedz-vv .wedz-vv-len { font-size: 14px; opacity: 0.7; font-variant-numeric: tabular-nums; }
.wedz-vv .wedz-vv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wedz-vv .wedz-vv-grid.tall { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wedz-vv .wedz-vv-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: #fff; }
.wedz-vv .wedz-vv-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #222;
  outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.15s; }
.wedz-vv .wedz-vv-grid.tall .wedz-vv-thumb { aspect-ratio: 9 / 16; }
.wedz-vv .wedz-vv-card.on .wedz-vv-thumb { outline-color: #fff; }
.wedz-vv .wedz-vv-card:hover .wedz-vv-play { background: rgba(0, 0, 0, 0.85); }
.wedz-vv .wedz-vv-grid.yt .wedz-vv-card:hover .wedz-vv-play { background: #ff0033; }
.wedz-vv .wedz-vv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wedz-vv .wedz-vv-dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.78);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wedz-vv .wedz-vv-name { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.35; opacity: 0.9; }
@media (max-width: 600px) {
  .wedz-vv .wedz-vv-panel { padding: 0 12px 40px; }
  .wedz-vv .wedz-vv-stage { border-radius: 8px; }
  .wedz-vv .wedz-vv-stage.tall { height: min(62vh, 640px); }
  .wedz-vv .wedz-vv-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wedz-vv .wedz-vv-grid.tall { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
}
