/* PhiskVideos - monochrome, responsive UI designed to sit comfortably inside BuddyBoss */
.phisk-feed-wrap,.phisk-single-shell{color:var(--bb-body-text-color,#171717);font-family:inherit}
.phisk-feed-heading{font-size:clamp(1.25rem,2.4vw,1.8rem);font-weight:750;letter-spacing:-.035em;margin:0 0 16px;color:inherit}
.phisk-feed{display:grid;gap:16px}
.phisk-feed.phisk-carousel{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-auto-columns:clamp(145px,19vw,230px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:2px 2px 14px;scrollbar-width:thin}
.phisk-feed.phisk-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}
.phisk-card{display:block;min-width:0;color:inherit!important;text-decoration:none!important;border-radius:13px;overflow:hidden;scroll-snap-align:start;background:var(--bb-content-background-color,#fff);transition:transform .2s ease,box-shadow .2s ease}
.phisk-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.phisk-card-image{position:relative;aspect-ratio:2/3;overflow:hidden;background:#dedede;border-radius:12px}
.phisk-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.phisk-post-feed .phisk-post-card .phisk-post-card-image{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;overflow:hidden!important;}
.phisk-post-feed .phisk-post-card .phisk-post-card-image:before{content:"";display:block;padding-top:56.25%;}
.phisk-post-feed .phisk-post-card .phisk-post-card-image img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;}
.phisk-card:hover .phisk-card-image img{transform:scale(1.035)}
.phisk-card-shade{position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.28));pointer-events:none}
.phisk-card-info{padding:10px 2px 2px}
.phisk-card-info h3{font-size:14px;line-height:1.35;font-weight:700;margin:0 0 5px;color:inherit;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}\n.phisk-post-feed .phisk-post-card .phisk-card-info h3{display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere}
.phisk-card-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;opacity:.68}
.phisk-poster-placeholder{height:100%;min-height:100px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#ededed,#bdbdbd);color:#555;font-size:12px;font-weight:800;letter-spacing:.08em;text-align:center}
.phisk-rating{display:inline-flex;align-items:center;gap:4px;border-radius:5px;background:#111;color:#fff;padding:5px 7px;font-size:12px;font-weight:750;line-height:1;white-space:nowrap}
.phisk-rating span{color:#fff}
.phisk-rating-on-image{position:absolute;z-index:2;left:8px;bottom:8px}
.phisk-post-rating-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.phisk-empty{opacity:.7;padding:12px 0}
.phisk-single-shell{max-width:1000px;margin:0 auto;padding:clamp(18px,4vw,44px) 18px}
.phisk-single{background:var(--bb-content-background-color,#fff);border-radius:18px}
.phisk-single-header{margin-bottom:22px}
.phisk-kicker{font-size:11px;letter-spacing:.15em;font-weight:800;opacity:.6;margin:0 0 8px}
.phisk-single-header h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.05;letter-spacing:-.045em;font-weight:850;margin:0;color:inherit}
.phisk-single-overview{display:grid;grid-template-columns:minmax(180px,290px) minmax(0,1fr);gap:clamp(20px,4vw,40px);align-items:start}
.phisk-single-poster{aspect-ratio:2/3;overflow:hidden;border-radius:12px;background:#ddd}
.phisk-single-poster img{width:100%;height:100%;object-fit:cover;display:block}
.phisk-single-details{display:flex;flex-direction:column;gap:0}
.phisk-detail{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid rgba(128,128,128,.22)}
.phisk-detail span{font-size:12px;opacity:.65}
.phisk-detail strong{font-size:16px;font-weight:700}
.phisk-watch-button{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;padding:14px 18px;border-radius:9px;background:#111;color:#fff!important;text-decoration:none!important;font-weight:750;transition:opacity .2s ease}
.phisk-watch-button:hover{opacity:.82}
.phisk-plot{margin-top:36px;padding-top:24px;border-top:1px solid rgba(128,128,128,.25)}
.phisk-plot h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;letter-spacing:-.03em;margin:0 0 12px;color:inherit}
.phisk-plot-content{font-size:16px;line-height:1.8}
.phisk-plot-content>:first-child{margin-top:0}
@media(max-width:767px){.phisk-single-overview{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;width:100%!important}.phisk-single-poster{display:block!important;width:100px!important;max-width:100px!important;min-width:100px!important;height:150px!important;aspect-ratio:2/3!important;margin:0!important;overflow:hidden!important;border-radius:10px!important}.phisk-single-poster img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}.phisk-single-details{display:flex!important;width:auto!important;min-width:0!important;max-width:none!important;overflow:visible!important}.phisk-detail{min-width:0!important;padding:8px 0!important}.phisk-detail strong{font-size:14px!important;overflow-wrap:anywhere!important;word-break:break-word!important}.phisk-watch-button{width:100%!important;box-sizing:border-box!important}.phisk-feed.phisk-carousel{grid-auto-columns:clamp(135px,42vw,190px)}.phisk-feed.phisk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-color-scheme:dark){.phisk-poster-placeholder{background:linear-gradient(145deg,#383838,#191919);color:#ddd}.phisk-card-image{background:#242424}.phisk-watch-button{background:#f5f5f5;color:#111!important}.phisk-rating{background:#f5f5f5;color:#111}.phisk-rating span{color:#111}}

/* v1.0.4: ensure the movie/TV single template loads as a compact two-column layout on mobile. */
@media (max-width: 767px){
  .phisk-single-shell .phisk-single-overview{
    display:grid!important;
    grid-template-columns:100px minmax(0,1fr)!important;
    gap:14px!important;
    align-items:start!important;
  }
  .phisk-single-shell .phisk-single-poster{
    width:100px!important;
    min-width:100px!important;
    max-width:100px!important;
    height:150px!important;
    min-height:150px!important;
    max-height:150px!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
  }
  .phisk-single-shell .phisk-single-poster img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  .phisk-single-shell .phisk-single-details{
    min-width:0!important;
    width:100%!important;
  }
  .phisk-single-shell .phisk-detail{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
}

/* v1.0.5: compact mobile movie/TV metadata spacing. */
@media (max-width: 767px){
  .phisk-single-shell .phisk-single-overview{gap:10px!important;}
  .phisk-single-shell .phisk-detail{
    gap:1px!important;
    padding:3px 0!important;
    margin:0!important;
    line-height:1.15!important;
  }
  .phisk-single-shell .phisk-detail span{
    font-size:11px!important;
    line-height:1.15!important;
    margin:0!important;
  }
  .phisk-single-shell .phisk-detail strong{
    font-size:13px!important;
    line-height:1.2!important;
    margin:0!important;
  }
}
