/* Teaser: circular with border */
.rcv-teaser {
  position: fixed;
  z-index: 2147483000;
  width: 90px;
  height: 90px;
  border-radius: 50% !important;
  border: 3px solid #B21431 !important;
  background: transparent !important;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  backdrop-filter: blur(.5px);
  pointer-events: auto;
}
.rcv-teaser *, .rcv-teaser { pointer-events: auto !important; }
.rcv-teaser .rcv-gif-img { width:100%; height:100%; object-fit:cover; display:block; }
.rcv-teaser .rcv-open { position:absolute; inset:0; background:transparent; border:0; cursor:pointer; z-index:2; }
.rcv-teaser.bottom-left { left: 18px; bottom: 18px; }
.rcv-teaser.bottom-right { right: 18px; bottom: 18px; }
.rcv-teaser.top-left { left: 18px; top: 18px; }
.rcv-teaser.top-right { right: 18px; top: 18px; }

/* Popup modal with smooth animation */
.rcv-modal { position: fixed; inset: 0; z-index: 10000; display: block; visibility: hidden; }
.rcv-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity .22s ease; }
.rcv-modal__panel {
  position: absolute; top:50%; left:50%;
  transform: translate(-50%, -50%) scale(.92);
  opacity: 0;
  background:#000; border-radius:20px; width:min(560px,92vw); max-height:92vh;
  overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,0.5);
  transition: opacity .22s ease, transform .22s ease;
}
.rcv-modal.open { visibility: visible; }
.rcv-modal.open .rcv-modal__backdrop { opacity: 1; }
.rcv-modal.open .rcv-modal__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Video area */
.rcv-player__wrap { position:relative; width:100%; aspect-ratio:9/16; max-height:92vh; background:#000; overflow:hidden; }
.rcv-player { position:absolute; inset:0; width:100%; height:100%; }

/* Loading overlay */
.rcv-loading { position:absolute; inset:0; display:grid; place-items:center; background: var(--rcv-loading-color, #CEE4ED); color:#222; font-weight:600; }
.rcv-player__wrap.ready .rcv-loading { display:none; }

/* Controls */
.rcv-controls {
  position:absolute; left:0; right:0; bottom:0;
  display:flex; align-items:center; gap:10px; flex-wrap:nowrap;
  padding:10px 12px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.8) 100%);
}
.rcv-controls .rcv-btn {
  background: var(--rcv-accent, #B21431); border:0; color:#fff;
  min-width:54px; height:54px; display:grid; place-items:center;
  padding:0 14px; border-radius:12px; font-size:16px; line-height:1; cursor:pointer; white-space:nowrap;
}
.rcv-controls .rcv-btn .rcv-ico { width:22px; height:22px; fill:#fff; display:block; }
.rcv-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,1,1); white-space:nowrap; border:0; }

/* Custom progress */
.rcv-seek-wrap { position: relative; flex: 1 1 auto; display:flex; align-items:center; max-width: 45%; }
.rcv-progress { position: relative; width: 100%; height: 3px; background: rgba(255,255,255,.20); border-radius: 999px; overflow: hidden; }
.rcv-progress__bar { position:absolute; left:0; top:0; bottom:0; width:0%; background: var(--rcv-accent, #B21431); }
.rcv-controls .rcv-seek { position:absolute; left:0; right:0; width: 100%; height: 18px; opacity: 0; background: transparent !important; border:none !important; }

/* Time */
.rcv-time { color:#fff; font-size:12px; opacity:.9; }
.rcv-time-sep { color:#fff; opacity:.6; font-size:12px; }
