/* =========================================================
   CENTERGY — QUICKVIEW
   Shared overlay for internal pages, video, audio, PDFs,
   images, and external embeds.
   ========================================================= */

.qv-backdrop{
  position:fixed;
  inset:0;
  background:rgba(17,24,39,.5);
  display:none;
  z-index:10050;
  pointer-events:none;
}

.qv-backdrop[data-open="1"]{
  display:block;
  pointer-events:auto;
}

.qv-panel{
  position:fixed;
  right:0;
  top:0;
  height:100%;
  width:100%;
  max-width:480px;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
  display:flex;
  flex-direction:column;
}

.qv-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.6rem .8rem;
  border-bottom:1px solid #e5e7eb;
}

.qv-title{
  font-weight:800;
  font-size:1rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  flex:1;
  min-width:0;
}

.qv-btn{
  border:1px solid #e5e7eb;
  background:#f9fafb;
  border-radius:.5rem;
  padding:.35rem .6rem;
  font-size:.85rem;
  cursor:pointer;
}

.qv-body{
  position:relative;
  flex:1;
  min-height:0;
  background:#000;
}

.qv-body iframe,
.qv-body video,
.qv-body audio,
.qv-body img{
  display:block;
  width:100%;
  height:100%;
}

.qv-tap{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  font-weight:800;
  cursor:pointer;
}

.qv-tap[data-show="1"]{
  display:flex;
}