 /* ============ V3 - FULL SCREEN WIDTH + FITS BETWEEN HEADER & BOTTOM MENU ============ */

/* Break out of PremiumPress boxed container */
#ppr-app{
  position: relative;
  background: #000;
  color: #fff;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  /* FULL WIDTH - fixes tiny width */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  /* HEIGHT - fits above both menus */
  height: calc(100vh - 120px) !important; /* desktop fallback */
  height: calc(100dvh - 120px) !important; /* mobile chrome fix */
  height: calc(100svh - 120px) !important;
  overflow: hidden;
  left: 0;
  right: 0;
}

.ppr-topbar{
  position:absolute;
  top:0;left:0;right:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 14px;
  background:linear-gradient(to bottom,rgba(0,0,0,.7),transparent);
  width: 100%;
  box-sizing: border-box;
}
.ppr-tabs span{margin:0 8px;font-weight:600;opacity:.6;color:#fff}.ppr-tabs span.active{opacity:1;border-bottom:2px solid #fff}
#ppr-open-upload,.ppr-btn{background:#fe2c55;color:#fff;border:none;padding:8px 14px;border-radius:20px;font-weight:700;cursor:pointer;text-decoration:none;font-size:14px}

.ppr-reels-container{
  height:100%;
  width: 100%;
  overflow-y:scroll;
  scroll-snap-type:y mandatory;
  -webkit-overflow-scrolling:touch;
  background:#000;
}
.ppr-reels-container::-webkit-scrollbar{display:none}

.ppr-reel{
  position:relative;
  width:100%;
  height:100%;
  scroll-snap-align:start;
  overflow:hidden;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center
}
.ppr-video{
  width:100%;
  height:100%;
  object-fit: cover; /* change to contain if you want full video visible */
  cursor:pointer;
  background:#000;
}
.ppr-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 30%,rgba(0,0,0,.75) 100%);pointer-events:none}

.ppr-actions{
  position:absolute;
  right:12px;
  bottom: 90px; /* above bottom white menu */
  display:flex;
  flex-direction:column;
  gap:16px;
  z-index:3;
  align-items:center
}
.ppr-avatar-wrap{position:relative;width:48px;height:48px;border-radius:50%;border:2px solid #fff;overflow:visible;display:block}
.ppr-avatar-wrap img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.ppr-plus{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);background:#fe2c55;color:#fff;border-radius:50%;width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:14px}
.ppr-act{background:none;border:none;color:#fff;display:flex;flex-direction:column;align-items:center;cursor:pointer;font-size:11px;font-weight:600}
.ppr-act .icon{font-size:24px;width:44px;height:44px;background:rgba(255,255,255,.18);border-radius:50%;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.ppr-act.liked .icon{color:#fe2c55}
.ppr-bottom{position:absolute;left:12px;bottom:20px;right:85px;z-index:3}
.ppr-username{color:#fff;font-weight:800;text-decoration:none;font-size:15px}
.ppr-caption{margin:6px 0;font-size:13px;line-height:1.3;color:#fff}
.ppr-music{font-size:12px;opacity:.9;color:#fff}
.ppr-play-indicator{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:60px;opacity:0;pointer-events:none;transition:.2s}
.ppr-reel.paused .ppr-play-indicator{opacity:.8}

/* modals */
#ppr-upload-modal{position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:99999;display:flex;align-items:center;justify-content:center}
.ppr-modal-inner{background:#1a1a1a;padding:20px;border-radius:16px;width:90%;max-width:360px}
.ppr-modal-inner input,.ppr-modal-inner textarea{width:100%;margin:8px 0;padding:10px;border-radius:8px;border:none;background:#2a2a2a;color:#fff;box-sizing:border-box}
.ppr-modal-actions{display:flex;gap:10px;margin-top:10px}
.ppr-modal-actions button{flex:1;padding:10px;border-radius:8px;border:none;font-weight:700;cursor:pointer}
#ppr-do-upload{background:#fe2c55;color:#fff}
.ppr-note{font-size:11px;opacity:.6;margin-top:8px}
#ppr-comments-drawer{position:absolute;bottom:0;left:0;right:0;height:60%;background:#121212;border-radius:20px 20px 0 0;z-index:20;transform:translateY(100%);transition:.3s;display:flex;flex-direction:column}
#ppr-comments-drawer.open{transform:translateY(0)}
.ppr-drawer-head{display:flex;justify-content:space-between;padding:14px;border-bottom:1px solid #222;font-weight:700}
#ppr-comments-list{flex:1;overflow-y:auto;padding:12px}
.ppr-comment{display:flex;gap:10px;margin-bottom:12px}
.ppr-comment img{width:32px;height:32px;border-radius:50%}
.ppr-comment-form{display:flex;gap:8px;padding:10px;border-top:1px solid #222}
.ppr-comment-form input{flex:1;background:#2a2a2a;border:none;border-radius:20px;padding:10px 14px;color:#fff}
#ppr-send-comment{background:#fe2c55;color:#fff;border:none;border-radius:20px;padding:0 16px;font-weight:700}
.ppr-empty{height:100%;display:flex;align-items:center;justify-content:center;opacity:.7;padding-top:30px}

/* Hide purple side gutters on mobile */
@media(max-width:768px){
  body .container, body .content-wrapper, body .pp-content, body #content {
    padding-left:0 !important;
    padding-right:0 !important;
  }
}