/* Shared ZionSpeaks shell styles */

.menu ul li a.menu-item{
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* main.css 816-1762 */
.sub-menu-wrap,
.Zs-sub-menu-wrap{
  position:absolute;
  top:100%;
  right: var(--zs-open-bias-x);
  width:min(320px, 92vw);
  visibility:hidden;
  opacity:0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  z-index: 999;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.35));
}

#zsProfileOverlay { z-index: 9000; }

.sub-menu-wrap.open-menu,
.Zs-sub-menu-wrap.open-menu{
  visibility:visible;
  z-index: 999;
  opacity:1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

/* your search overlay and modals use big z-index; raise the profile card too */
.sub-menu-wrap.open-menu { z-index: 10050; }

.sub-menu,
.Zs-sub-menu{
  background: var(--zs-panel);
  color: var(--zs-text);
  border: 1px solid var(--zs-bd);
  border-radius: 16px;
  padding: 16px;
  margin: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sub-menu hr{ border:0; height:1px; background: rgba(255,255,255,.12); margin: 14px 0; }

/* Sub-menu row */
.sub-menu-link{
  display:flex; align-items:center; gap:12px;
  text-decoration:none; color:var(--zs-text);
  border:1px solid transparent; border-radius:12px;
  padding:10px 12px;
  transition: background .18s ease, border-color .18s ease, transform .14s ease, color .18s ease;
}
.sub-menu-link i{ font-size:18px; width:22px; text-align:center; color:#cfe9f0; }
.sub-menu-link p{ margin:0; font-size:14px; line-height:1.3; flex:1; }
.sub-menu-link span{ font-size:18px; color:var(--zs-text-dim); }

.sub-menu-link:hover{
  background: rgba(255,255,255,.05);
  border-color: var(--zs-bd);
  transform: translateY(-1px);
}
.sub-menu-link:active{ transform: translateY(0); opacity:.95; }
.sub-menu a:focus-visible{ outline:2px solid var(--zs-ac-1); outline-offset:3px; border-radius:12px; }

/* Compact on phones – center under navbar */
@media (max-width:560px){
  .sub-menu-wrap,
  .Zs-sub-menu-wrap{
    position:fixed; top:64px; left:5%; right:auto; transform:translate(-50%, 6px);
    width:min(92vw, 460px);
  }
  .sub-menu,
  .Zs-sub-menu{ margin:0; padding:14px; border-radius:14px; }
  .sub-menu-link{
    gap:14px;
    padding:12px 14px;
  }
  .sub-menu-link i{
    font-size:22px;
    width:28px;
  }
  .sub-menu-link p{
    font-size:15px;
  }
  .sub-menu-link span{
    font-size:20px;
  }
}

/* ---------- USER INFO (inside sub-menu header) ---------- */
.user-info{ display:flex; align-items:center; gap:12px; }
.user-info img{ width:56px; height:56px; border-radius:50%; object-fit:cover; border:2px solid var(--zs-bd-strong); }
.user-info h3{
  font-size:18px; margin:0; color:#d9f1f4; font-weight:700;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#editProfilePicBtn{ cursor:pointer; color:#bfe; font-size:13px; margin-right:6px; transition: transform .08s ease; }
#editProfilePicBtn:active{ transform: scale(.92); }

/* =========================================================
   PROFILE OVERLAY (Full-screen account)
   ========================================================= */
.zs-prof{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  color:#fff;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  overflow:hidden; /* root stays fixed, main scrolls */
}


.zs-prof.show{ opacity:1; pointer-events:auto; }
.zs-prof.is-hidden{ display:none; }

.zs-prof__side{
  display:block; width:280px; background:#000000;
  border-right:1px solid #000000;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1;
}
/* Main can shrink without pushing under the sidebar */
/* Main column should scroll, sidebar stays sticky on the left */
.zs-prof__main{
  min-width: 0;
  max-height: 100vh;
  background: #000000;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px; /* small breathing room below cards */
}


/* ============================================
   PROFILE OVERLAY – Custom scrollbars
   (sidebar + main content)
   ============================================ */

/* Firefox */
.zs-prof__side,
.zs-prof__main{
  scrollbar-width: thin;                    /* thin / auto */
  scrollbar-color: #00000000 #050b1000;         /* thumb  track */
}

@media (max-width: 505px){
.zs-prof__side,
.zs-prof__main{
  scrollbar-width: thin;                    /* thin / auto */
  scrollbar-color: #00000000 #00000000;         /* thumb  track */
}
}

/* WebKit (Chrome, Edge, Safari, Opera) */
.zs-prof__side::-webkit-scrollbar,
.zs-prof__main::-webkit-scrollbar{
  width: 8px;                               /* thickness */
}

.zs-prof__side::-webkit-scrollbar-track,
.zs-prof__main::-webkit-scrollbar-track{
  background: #050b10;
  border-radius: 999px;
}

.zs-prof__side::-webkit-scrollbar-thumb,
.zs-prof__main::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: var(--zs-accent-grad);
  border: 1px solid #000;
}

.zs-prof__side::-webkit-scrollbar-thumb:hover,
.zs-prof__main::-webkit-scrollbar-thumb:hover{
  background: var(--zs-accent-grad-rev);
}



/* --- Brand / logo word --- */

.zs-side__brand{
  display:flex;
  align-items:center;
  gap:5px;
  padding:12px 14px 14px;
  margin: 0px 5px 15px 0;
  border-radius:18px;
  background:#000000;
}

.zs-side__brand-mark{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.zs-side__brand-mark svg{
  width:100%;
  height:100%;
  display:block;
}
.zs-side__icon .zs-icon-short{
  width:20px;
  height:20px;
  display:block;
  fill:none;
  stroke: currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.zs-side__icon .zs-icon-short .zs-icon-short__play{
  fill: currentColor;
  stroke: none;
}
.zs-side__brand-mark stop:nth-of-type(1){
  stop-color: var(--zs-accent-start);
}
.zs-side__brand-mark stop:nth-of-type(2){
  stop-color: var(--zs-accent-mid);
}
.zs-side__brand-mark stop:nth-of-type(3){
  stop-color: var(--zs-accent-end);
}


.zs-side__brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.zs-side__brand-name{
  font-size:28px;
  font-family: "Anton", sans-serif;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  background: var(--zs-accent-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.zs-side__brand-tagline{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--zs-text-dim);
}




.zs-side{ padding: 20px 0 20px 0px; }
.zs-side__link{
  width: 80%;
  display:flex; 
  align-items:center; 
  gap:10px;
  font-size: 20px;
  font-family: "Anton", sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding:12px 16px; 
  margin-bottom: 10px;
  color:#e8e8e8; 
  text-decoration:none;
  border-bottom:1px solid #000000; 
  border-radius:10px;
  transition: background .18s ease, color .18s ease;
}
.zs-side__link:hover{ 
  background:#0f172a; 
  color:#fff; 
}
.zs-side__link--button{
  appearance: none;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.zs-side__link--button:focus-visible{
  background:#0f172a;
  color:#fff;
  outline: none;
}
.zs-side__install{
  width: 100%;
}
.zs-side__hint{
  width: 80%;
  margin: -4px 0 10px;
  padding: 0 6px 0 16px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(159,184,192,.92);
}
.zs-side__hint[hidden]{
  display: none !important;
}

.zs-side__link i{
  display: inline-block; /* important so the gradient can clip properly */
  background: var(--zs-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* the icon takes the gradient */
  font-size: 20px;
}

.zs-side__link i:hover{
  display: inline-block; /* important so the gradient can clip properly */
  background: var(--zs-accent-grad-rev);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* the icon takes the gradient */
}

.zs-prof__bar{ 
  display:flex; 
  justify-content:flex-end; 
  padding:10px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}
.iconbtn{ background:transparent; border:0; color:#bbb; font-size:20px; cursor:pointer; }
.iconbtn:hover{ color:#fff; }

.zs-prof__hdr{
  display:grid; grid-template-columns:88px 1fr auto; gap:16px; align-items:center;
  padding:10px 20px 18px; border-bottom:1px solid #151515;
}
.zs-ava{ width:72px; height:72px; border-radius:999px; border:2px solid #333; object-fit:cover; box-shadow:0 6px 18px rgba(0,0,0,.35); }
.zs-name-row{ 
  position: relative;
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 10px;
  text-align: center;
  width: 100%;
}

@media (max-width: 900px) {
.zs-name-row {
    justify-content: center;
}
}


/* NOTIFICATION BELL */

.zs-prof__bar{ 
  display:flex; 
  justify-content:flex-end; 
  align-items:center;
  gap:8px;
  padding:10px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}

/* Top bar icon buttons (bell, logout, close) */
.zs-prof__icon,
.zs-prof__close{
  background:transparent;
  border:0;
  color:#bfcad0;
  font-size:18px;
  width:auto;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:999px;
  cursor:pointer;
  transition: background .18s ease, color .18s ease, transform .12s ease;
}

.zs-prof__icon i,
.zs-prof__close i{
  font-size:16px;
}

.zs-prof__icon:hover,
.zs-prof__close:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
  transform:translateY(-1px);
}

/* Bell + badge */
.zs-prof__bell{
  position:relative;
}

.zs-prof__badge{
  position:absolute;
  top:3px;
  right:1px;
  min-width:13px;
  height:13px;
  padding:0 0px;
  border-radius:999px;
  background: var(--zs-accent-grad);
  color:#000;
  font-size:10px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 0 1px #000;
}

#zsProfileNotifyBadge[hidden],
#zsNotifyBadge[hidden]{
  display: none !important;
}

@media (max-width: 505px){
.zs-prof__badge{
  padding: 0px 0px 0px 1px;
}
}

.zs-prof__badge--menu{
  top:-2px;
  right:-8px;
  box-shadow:0 0 0 1px #000, 0 0 12px rgba(255,255,255,.12);
}

.zs-prof__bell.is-notify,
#profileToggleBtn.is-notify{
  color:#fff;
}

.zs-prof__bell.is-notify::after,
#profileToggleBtn.is-notify::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 0 14px rgba(255,255,255,.2), 0 0 26px rgba(255,255,255,.12);
  animation: zs-notify-pulse 1.8s ease-out infinite;
  pointer-events:none;
}

.zs-prof__bell.is-notify .zs-prof__badge,
#profileToggleBtn.is-notify .zs-prof__badge{
  animation: zs-notify-bounce 1.6s ease-in-out infinite;
}

@keyframes zs-notify-pulse{
  0%{ transform:scale(.9); opacity:.7; }
  70%{ transform:scale(1.2); opacity:0; }
  100%{ transform:scale(1.2); opacity:0; }
}

@keyframes zs-notify-bounce{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-2px); }
}

.iconbtn .fa-bell{
  font-size:22px;
}


/* Logout colour respects your warn palette */
.zs-prof__logout{
  color:#f8b4b4;
}

.zs-prof__logout:hover{
  background:var(--zs-warn-bg);
  color:#fff;
}

/* Optional small text label for logout */
.zs-prof__icon-label{
  font-size:12px;
  margin-left:6px;
}

@media (max-width:480px){
  .zs-prof__icon-label{
    display:none;
  }
}



/* Mobile tweaks – MAIN PAGE */
@media (max-width: 505px){
.zs-name-row{ 
  position: relative;
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 10px;
  text-align: center;
  width: 100%;
  flex-direction: row;
}
}

.zs-bio{ 
  position: relative;
  font-size: 13px;
}

@media (max-width: 505px){
.zs-bio{ 
  margin-top: 3px;
}
}

.zs-progress-text{ 
  position: relative;
  font-size: 12px;
}
.zs-badge{ background:#222; border:1px solid #444; padding:2px 8px; border-radius:999px; font-size:12px; }
.zs-verifiedBadgeImg{
  width:16px;
  height:16px;
  display:inline-block;
  vertical-align:middle;
  margin-left:0px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.zs-verifiedBadgeImg--name{
  width:30px;
  height:28px;
}
.zs-verifiedBadgeImg--inline{
  width:14px;
  height:14px;
  margin-left:6px;
}
.zs-verifiedBadgeImg[hidden]{
  display:none !important;
}
.zs-muted{ color:var(--zs-text-dim); }

.zs-kpis{ display:flex; gap:16px; flex-wrap:wrap; margin:6px 0 10px; font-size:14px; }
.zs-progress-wrap{ max-width:100%; width:100%; }
.zs-progress{
  height:8px; background:#141414; border:1px solid #232323; border-radius:999px; overflow:hidden;
}
.zs-progress > span{ display:block; height:100%; background: linear-gradient(90deg, var(--zs-ac-1), var(--zs-ac-2)); }

.zs-tabs2{
  display:flex; gap:18px; padding:10px 20px; border-bottom:1px solid #15151500; overflow-x:auto; overflow-y:hidden;
  max-width: 1100px;
  width: 80%;
  margin: 10px auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  justify-content:flex-start;
  scrollbar-width: none;
}
.zs-tabs2::-webkit-scrollbar{ display:none; }
.zs-tab2{
  background:transparent; border:0; color:#bbb; padding:10px 0; font-weight:700; cursor:pointer;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.zs-tab2[aria-selected="true"]{ color:#fff; border-bottom:2px solid #ff9100; }

.zs-panels{ 
  position: relative;
  width: 100%;
  padding:16px 0px;
  max-width:100%; 
  margin:0 auto
 }

 /* hide all panels by default */
.zs-panel {
  display: none;
}

/* only the active panel is shown */
.zs-panel.zs-panel--active {
  display: block;
}

.zs-card-media{
  background:#0e0e10; border:1px solid #1f1f1f; border-radius:14px; overflow:hidden; min-height:160px;
}
.zs-card-media img{ width:100%; height:140px; object-fit:cover; display:block; }
.zs-card-media .cap{ padding:8px 10px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.zs-card-media .cap p{ margin:0; color:#fff; font-size:14px; line-height:1.3; }

.zs-btn{ border:0; border-radius:999px; padding:9px 16px; font-weight:800; cursor:pointer; }
.zs-btn--primary{ background:#ff9100; color:#000; transition:filter .15s ease, transform .14s ease; }
.zs-btn--primary:hover{ filter:brightness(1.06); transform: translateY(-1px); }
.zs-btn--follow{ background:#111; color:#fff; border:1px solid #2a2a2a; }
.zs-btn--follow.is-following{ background:#222; }

@media (max-width:1024px){
  .zs-prof{ grid-template-columns: 1fr; }
  .zs-prof__side{ display:none; }
  .zs-prof__hdr{ grid-template-columns:72px 1fr; }
}


/* ========= EDIT PROFILE MODAL – ALWAYS ABOVE DASHBOARD ========= */
.zs-modal{
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.65); /* dark backdrop */
  z-index: 12000;              /* higher than #zsProfileOverlay (9000) */
}

/* When JS adds .is-open, show it */
.zs-modal.is-open{
  display: flex;
  background: #000000;
}

/* The white/teal panel inside */
.zs-modal__panel{
  position: relative;
  max-width: 100%;
  width: min(760px, 96vw);
  max-height: min(90vh, 720px);
  overflow-y: auto;   /* vertical scroll only */
  overflow-x: hidden; /* avoid sideways scrollbars */
  scrollbar-width: thin;                     /* thin / auto */
  scrollbar-color: var(--zs-accent-scrollbar, #f1b7096e) #050b10;         /* thumb  track */
  background: #000000;
  color: var(--zs-text);
  border-radius: 18px;
  border: 1px solid rgb(0, 0, 0);
  box-shadow: 0 22px 60px rgba(0,0,0,.85);
  padding: 18px 20px 22px;
}

@media (max-width:560px){ 
.zs-modal__panel{ 
  scrollbar-color: #00000000 #050b1000;         /* thumb  track */
  } 
}

/* WebKit (Chrome, Edge, Opera, Safari) */
.zs-modal__panel::-webkit-scrollbar{
  width: 8px;             /* scrollbar thickness */
}

.zs-modal__panel::-webkit-scrollbar-track{
  background: #050b10;    /* dark track to match dashboard */
  border-radius: 999px;
}

.zs-modal__panel::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: var(--zs-accent-scrollbar, #f1b7096e); /* matches your buttons */
  border: 1px solid #000;  /* gives a crisp edge on dark bg */
}

.zs-modal__panel::-webkit-scrollbar-thumb:hover{
  background: var(--zs-accent-scrollbar-hover, #f1b7099a);
}




.zs-modal__hdr{ display:flex; justify-content:space-between; align-items:center; gap:10px; }

/* ===== WRITE POST MODAL (extras) ===== */
/* ZS POSTS FEED */
.zs-postsBar{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  max-width: 1120px;
  margin:10px auto 14px;
  padding: 0 32px 0 5px;
  box-sizing: border-box;
}
.zs-postsBar__left{display:flex; align-items:center; gap:10px; font-size: 12px;}
.zs-postsBar__title{font-weight:800; letter-spacing:.2px}
.zs-postsBar .zs-btn{white-space:nowrap;}
.zs-postsMount{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
.zs-postsFeed{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 45px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 12px 20px;
  box-sizing: border-box;
  align-items: flex-start;
  justify-items: center;
}
.zs-postsMount .zs-postsFeed,
.zs-panel .zs-postsMount > .zs-postsFeed{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box;
  overflow-x: hidden;
}
.zs-panel[data-tab="posts"] .zs-postsFeed{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px 12px 20px !important;
  box-sizing: border-box !important;
}
.zs-panel .zs-postsMount{
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}
.zs-postsMount .zs-postsFeed,
.zs-panel .zs-postsMount > .zs-postsFeed{
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}
.zs-panel .zs-postsMount > .zs-postsFeed{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 12px 20px;
}
.zs-panel .zs-postsBar{
  max-width: 100%;
  padding: 0 20px 0 20px;
}

@media (max-width: 992px){
  .zs-postsFeed{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
@media (max-width: 560px){
  .zs-postsBar{
    padding: 0 5px 0 5px;
  }
  .zs-postsFeed{
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px 10px 5px;
    max-width: 100%;
    width: 90%;
    margin: 0px 20px;
  }
}

/* Mobile guard to prevent feed margin changes after create/edit */
@media (max-width: 640px){
  .zs-panel .zs-postsMount{
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .zs-panel .zs-postsMount > .zs-postsFeed{
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px 12px 12px !important;
  }
  .zs-panel .zs-postsBar{
    max-width: 100% !important;
    padding: 0 12px 0 5px !important;
  }
}
/* extra mobile guard (uploads/edits) */
@media (max-width: 640px){
  .zs-postsMount,
  .zs-panel .zs-postsMount{
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .zs-postsMount .zs-postsFeed,
  .zs-panel .zs-postsMount > .zs-postsFeed{
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px 12px 20px !important;
  }
  .zs-postsMount .zs-postsBar,
  .zs-panel .zs-postsBar{
    max-width: 100% !important;
    padding: 0 20px 0 20px !important;
  }
}

@media (max-width: 640px){
  .zs-postTextWrap{
    --zs-post-text-area: 44em;
  }
  .zs-postTextWrap.is-media{
    --zs-post-text-area: 48em;
  }
  .zs-postText.is-collapsed{
    -webkit-line-clamp: 4;
    max-height: calc(var(--zs-post-text-line) * 4);
  }
  .zs-postCard__actions{
    justify-content: flex-start;
  }
}
.zs-postCard{
  display:grid;
  grid-template-columns: auto 1fr;
  gap:12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 38px rgba(0,0,0,.35);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.zs-postCard--focus{
  outline: 2px solid var(--zs-ac-1);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(25, 187, 160, 0.2), 0 16px 38px rgba(0,0,0,.35);
}
.zs-postCard--wide{
  grid-column: 1 / -1;
}
.zs-postCard.is-skel{opacity:.85}
.zs-postCard__avatar{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  flex-shrink:0;
}
.zs-postCard__avatar[data-user-open],
.zs-postCard__user[data-user-open]{
  cursor:pointer;
}
.zs-postCard__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.zs-postCard__body{min-width:0;}
.zs-postCard__row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.zs-postCard__row > div{ min-width:0; }
.zs-postCard__user{
  display:flex; align-items:center; gap:8px;
  font-weight:800;
}
.zs-postCard__name{font-size:clamp(14px, 1.9vw, 15px);}
.zs-postCard__verified{
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
  vertical-align: middle;
}
.zs-postCard__handle{color:rgba(255,255,255,.55); font-size:clamp(12px, 1.7vw, 13px);}
.zs-postCard__handle:empty{display:none;}
.zs-postCard__meta{
  display:flex; align-items:center; gap:8px;
  color: rgba(255,255,255,.65);
  font-size:clamp(11px, 1.6vw, 12px);
}
.zs-postCard__meta .dot{color:rgba(255,255,255,.35);}
.zs-postCard__delete{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #f8b4b4;
  border-radius: 12px;
  padding: 6px 10px;
  font-weight:700;
  cursor:pointer;
}
.zs-postCard__actions{
  display:flex;
  gap: clamp(6px, 1.8vw, 10px);
  align-items:center;
  justify-content:flex-end;
  flex-basis: 100%;
  margin-top: 4px;
}
.zs-postCard__edit{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  border-radius: 12px;
  padding: 6px 10px;
  font-weight:700;
  cursor:pointer;
}
.zs-postCard__edit,
.zs-postCard__delete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  width: clamp(28px, 4vw, 34px);
  height: clamp(28px, 4vw, 34px);
  padding: 0;
  min-height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9);
}
.zs-postCard__edit:hover{
  background: rgba(255,255,255,.12);
}
.zs-postCard__delete:hover{
  background: rgba(255,255,255,.12);
}
.zs-postBoostBtn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: clamp(28px, 4vw, 34px);
  height: clamp(28px, 4vw, 34px);
  padding: 0;
  min-height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffd36a;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.zs-postBoostBtn:hover{
  transform: translateY(-1px);
  background: rgba(14,10,4,.88);
  border-color: rgba(255,205,106,.42);
}
.zs-postBoostBtn.is-active{
  color: #120d03;
  border-color: transparent;
  background: linear-gradient(135deg,#ff8a43,#ffd166);
  box-shadow: 0 12px 24px rgba(255,145,67,.26);
}
.zs-postBoostBtn__icon{
  display:inline-flex;
  width: 16px;
  height: 16px;
}
.zs-postBoostBtn__icon .zs-ic{
  width: 16px;
  height: 16px;
}
.zs-postBoostBtn__label{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff7a59,#ffd166);
  color:#140b02;
  font-size:9px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
}

/* main.css 3486-4024 */
.zs-modal__card{
  width: 50%;
  border: 2px solid #565656;
  border-radius: 10px;
  padding: 10px;
  background: #219a9e24;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width:560px){
.zs-modal__card{
  width: 95%;
  border: 2px solid #000000;
  border-radius: 10px;
  padding: 10px;
  background: #219a9e24;
  max-height: 90vh;
  overflow-y: auto;
}
}

.zs-modal__title{
  font-size: 11px;
  margin: 5px 0;
}

/* ===== FILM WIZARD ===== */
.zs-filmWizard{ display:flex; flex-direction:column; gap:20px; }
.zs-filmSteps{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap:10px;
}
.zs-filmStepBtn{
  background: rgba(255,255,255,.04);
  color:#eaf6f8;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:10px 12px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  min-height:54px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.zs-filmStepBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
}
.zs-filmStepBtn.is-active{
  background: var(--zs-accent-grad, #ff9100);
  color:#000;
  border-color: transparent;
}
.zs-filmStepNum{
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.12);
  color:#eaf6f8;
  font-size:12px;
  font-weight:900;
}
.zs-filmStepBtn.is-active .zs-filmStepNum{
  background: rgba(255,255,255,.7);
  color:#000;
}
.zs-filmStepText{ display:flex; flex-direction:column; gap:2px; }
.zs-filmStepLabel{ font-size:12px; font-weight:900; }
.zs-filmStepSub{ font-size:11px; font-weight:600; opacity:.7; }
.zs-filmStatus{ font-size:12px; color: rgba(255,255,255,.7); }
.zs-filmStep{
  display:none;
  flex-direction:column;
  gap:18px;
}
.zs-filmStep.is-active{ display:flex; }
.zs-filmActions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
}
.zs-filmActions__left,
.zs-filmActions__right{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.zs-filmSaveState{ font-size:12px; color: rgba(255,255,255,.6); }
.zs-filmUploadRow{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.zs-filmFileName{ font-size:12px; color: rgba(255,255,255,.7); }
.zs-filmPreview{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:8px; }
.zs-filmProofList{
  display:grid;
  gap:8px;
  margin-top:8px;
}
.zs-filmProofItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
}
.zs-filmProofItem__meta{
  min-width:0;
  display:grid;
  gap:2px;
}
.zs-filmProofItem__name{
  font-size:12px;
  color:rgba(255,255,255,.9);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.zs-filmProofItem__time{
  font-size:11px;
  color:rgba(255,255,255,.58);
}
.zs-filmPreview img{
  width:120px;
  height:68px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.15);
}
.zs-filmProgress{
  position: relative;
  margin-top:8px;
}
.zs-filmProgress__bar{
  position: relative;
  height:14px;
  border-radius:999px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.18));
  overflow:hidden;
  line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.zs-filmProgress__bar span{
  position: absolute;
  top: 0;
  left: 0;
  display:block;
  width:0%;
  min-width: 0;
  height: 100%;
  line-height: 0;
  margin: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--zs-progress-fill, rgba(120,200,255,.55)), rgba(255,255,255,.2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: width .2s ease;
}
.zs-filmProgress__bar span::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0));
  opacity: .6;
}
.zs-filmProgress__bar span::after{
  content:"";
  position:absolute;
  right:2px;
  top:50%;
  width:14px;
  height:14px;
  border-radius:50%;
  background: var(--zs-progress-head, #cfe8ff);
  box-shadow: 0 0 10px var(--zs-progress-glow, rgba(150,210,255,.8));
  transform: translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 11px;
}
.zs-filmProgress[data-net="fast"] .zs-filmProgress__bar span{
  --zs-progress-fill: rgba(255,190,90,.6);
  --zs-progress-head: #ffd28a;
  --zs-progress-glow: rgba(255,190,90,.9);
}
.zs-filmProgress[data-net="fast"] .zs-filmProgress__bar span::after{
  font-size: 0;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,200,120,.5);
}
.zs-filmProgress[data-net="fast"]::after{
  content:"??";
  position:absolute;
  left: calc(var(--zs-progress, 0%) - 10px);
  top:-18px;
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
  text-shadow: 0 2px 8px rgba(255,180,80,.6);
  pointer-events: none;
  z-index: 3;
}
.zs-filmProgress[data-net="slow"] .zs-filmProgress__bar span{
  --zs-progress-fill: rgba(130,210,255,.5);
  --zs-progress-head: #b7e5ff;
  --zs-progress-glow: rgba(130,210,255,.8);
}
.zs-filmProgress[data-net="poor"] .zs-filmProgress__bar span{
  --zs-progress-fill: rgba(255,140,140,.55);
  --zs-progress-head: #ffd0d0;
  --zs-progress-glow: rgba(255,140,140,.9);
}
.zs-filmProgress[data-net="checking"] .zs-filmProgress__bar span{
  --zs-progress-fill: rgba(220,230,235,.45);
  --zs-progress-head: #eef4f7;
  --zs-progress-glow: rgba(220,230,235,.7);
}

@keyframes zs-upload-wave{
  0% { background-position: 0 0; }
  100% { background-position: 24px 0; }
}
.zs-filmHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  background: linear-gradient(135deg, rgba(4,27,29,.9), rgba(2,16,18,.9));
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.zs-filmHead__meta{ display:flex; flex-direction:column; gap:6px; min-width:220px; }
.zs-filmHead__title{ font-size:16px; font-weight:900; }
.zs-filmHead__sub{ font-size:12px; color: rgba(255,255,255,.7); }
.zs-filmHead__status{ display:flex; flex-direction:column; gap:4px; }
.zs-filmSection{
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.zs-filmStep .zs-filmSection + .zs-filmSection{ margin-top: 12px; }
.zs-filmSection__head{ display:flex; flex-direction:column; gap:4px; position:relative; padding-right:40px; z-index:2; }
.zs-filmSection__title{ font-size:14px; font-weight:900; }
.zs-filmSection__hint{ font-size:12px; color: rgba(255,255,255,.65); }
.zs-filmSection__help{
  position:absolute;
  top:0;
  right:0;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:rgba(210,245,255,.92);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.zs-filmSection__help:hover,
.zs-filmSection__help:focus-visible,
.zs-filmSection__help[aria-expanded="true"]{
  transform: translateY(-1px);
  border-color: rgba(125,245,232,.42);
  background: rgba(120,255,230,.12);
  color:#f3fffe;
}
.zs-filmSection__help i{ pointer-events:none; }
.zs-filmSection__helpTip{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:min(300px, calc(100vw - 96px));
  max-width:300px;
  padding:12px 13px;
  border-radius:14px;
  border:1px solid rgba(125,245,232,.24);
  background:linear-gradient(180deg, rgba(7,26,34,.97), rgba(5,16,23,.98));
  box-shadow:0 18px 34px rgba(0,0,0,.35);
  display:grid;
  gap:6px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events:none;
  text-align:left;
  z-index:6;
}
.zs-filmSection__helpTip strong{
  display:block;
  font-size:12px;
  font-weight:900;
  color:#f2fbfd;
}
.zs-filmSection__helpTip span{
  display:block;
  font-size:12px;
  line-height:1.5;
  color:rgba(223,240,245,.82);
}
.zs-filmSection__help:hover .zs-filmSection__helpTip,
.zs-filmSection__help:focus-visible .zs-filmSection__helpTip,
.zs-filmSection__help[aria-expanded="true"] .zs-filmSection__helpTip{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.zs-filmReq{
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:2px 6px;
  border-radius:999px;
  background: rgb(19 47 44 / 89%);
  color:#eaf6f8;
  margin-left:6px;
  display:inline-flex;
  align-items:center;
}
.zs-filmUploadCard{
  border:1px dashed rgba(255,255,255,.22);
  border-radius:14px;
  padding:12px;
  background: rgba(255,255,255,.03);
}
.zs-filmAssetGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:12px;
}
.zs-filmGenreGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap:10px;
}
.zs-filmGenreRail{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:6px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
.zs-filmGenreRail .zs-chipCheck{
  min-width:170px;
  flex:0 0 auto;
  scroll-snap-align:start;
}
.zs-filmGenreRail::-webkit-scrollbar{
  height:6px;
}
.zs-filmGenreRail::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.2);
  border-radius:999px;
}
.zs-filmGenreRail::-webkit-scrollbar-track{
  background: rgba(255,255,255,.06);
  border-radius:999px;
}
.zs-filmGenreGrid .zs-chipCheck{
  position:relative;
  display:block;
  padding:6px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.zs-filmGenreGrid .zs-chipCheck input{
  position:absolute;
  opacity:0;
  pointer-events:none;
  width:1px;
  height:1px;
}
.zs-filmGenreGrid .zs-chipCheck span{
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  padding:8px 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  background: rgba(255, 255, 255, 0);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.zs-filmGenreGrid .zs-chipCheck span::before{
  content:"";
  width:16px;
  height:16px;
  border-radius:4px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  flex:0 0 auto;
}
.zs-filmGenreGrid .zs-chipCheck input:checked + span{
  background: rgba(83, 243, 224, 0);
  color:#eafffb;
}
.zs-filmGenreGrid .zs-chipCheck input:checked + span::before{
  background: #7bf3e1;
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(0,0,0,.25) inset;
}
.zs-filmGenreGrid .zs-chipCheck:hover{
  transform:none;
  box-shadow:none;
}
.zs-filmGenreGrid .zs-chipCheck:hover span{
  background: rgba(255,255,255,.06);
}
.zs-filmOptionGrid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.zs-filmOptionGrid{
  align-items:center;
}

/* --- Filmmaker upload form: glass + 3D + spline feel --- */
#zsFilmModal .zs-modal__card--wide{
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 1200px;
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(86, 255, 219, .12), transparent 55%),
    radial-gradient(900px 500px at 110% -10%, rgba(83, 153, 255, .12), transparent 55%),
    linear-gradient(140deg, rgba(8, 18, 22, .92), rgba(6, 12, 16, .94));
  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
}
#zsFilmModal .zs-modal__card--wide::before,
#zsFilmModal .zs-modal__card--wide::after{
  content:"";
  position:absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: .45;
  pointer-events:none;
}
#zsFilmModal .zs-modal__card--wide::before{
  width: 320px;
  height: 320px;
  left: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(104,255,230,.45), transparent 65%);
}
#zsFilmModal .zs-modal__card--wide::after{
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(120,170,255,.38), transparent 68%);
}
#zsFilmModal .zs-filmWizard{
  position: relative;
  isolation: isolate;
}
#zsFilmModal .zs-filmWizard::after{
  content:"";
  position:absolute;
  inset:-120px -80px;
  background:
    radial-gradient(420px 140px at 10% 10%, rgba(86,255,219,.18), transparent 70%),
    radial-gradient(520px 160px at 90% 0%, rgba(120,170,255,.16), transparent 70%);
  opacity:.6;
  filter: blur(22px);
  z-index:0;
  pointer-events:none;
  animation: zs-film-spline 12s linear infinite;
}
#zsFilmModal .zs-filmWizard > *{
  position: relative;
  z-index: 1;
}

#zsFilmModal .zs-modal__top{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  margin-bottom: 10px;
}
#zsFilmModal .zs-modal__titleBlock{
  display:flex;
  flex-direction:column;
  gap:4px;
  position:relative;
  padding-left:12px;
}
#zsFilmModal .zs-modal__titleBlock::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:4px;
  border-radius:999px;
  background: linear-gradient(180deg, #6cf5dd, #6ab2ff);
  box-shadow: 0 0 12px rgba(108,245,221,.6);
}
#zsFilmModal .zs-modal__title{
  font-size:18px;
  font-weight:800;
  letter-spacing:.02em;
  margin:0;
}
#zsFilmModal .zs-modal__subtitle{
  font-size:12px;
  color: rgba(255,255,255,.7);
}

/* main.css 5029-5393 */
.zs-field.is-error input,
.zs-field.is-error select,
.zs-field.is-error textarea{
  border-color: rgba(255,120,120,.7);
  box-shadow: 0 0 0 1px rgba(255,120,120,.35);
}
.zs-field__error{
  color: rgba(255,120,120,.9);
  font-size:12px;
  margin-top:6px;
}

.zs-iconBtn{
width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0px solid rgba(255, 255, 255, 0);
  background: var(--zs-accent-grad);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  float: right;
}
.zs-iconBtn:hover{
  background: var(--zs-accent-grad-rev);
}

.zs-field__label{display:block; font-weight:800; margin: 2px 0 8px; font-size: 14px; color: rgba(255,255,255,.9)}
@media (max-width: 640px) {
  .zs-field__label{
    font-size: 13px;
  }
}
.zs-field__meta{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:6px}
.zs-field__hint{color: rgba(255,255,255,.60); font-size: 13px}
.zs-field__count{color: rgba(255,255,255,.70); font-size: 13px; font-weight:800}
.zs-post__mediaRow{display:flex; flex-direction:column; gap:10px; flex-wrap:wrap; margin-top: 12px}
.zs-post__mediaBtns{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.zs-post__fileMeta{display:flex; gap:12px; flex-wrap:wrap; color: rgba(255,255,255,.70); font-size: 13px}
.zs-post__fileName{color: rgba(255,255,255,.72); font-size: 13px}
.zs-post__preview{
  margin-top: 12px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  min-height: 120px;
  display:block;
  padding: 10px;
}
.zs-post__previewList{display:flex; gap:10px; flex-wrap:wrap; overflow:auto; max-height: 340px; padding:4px}
.zs-postPreviewItem{border:1px solid rgba(255,255,255,.14); border-radius:12px; overflow:hidden; background: rgba(255,255,255,.03); min-width:160px; max-width:260px; flex:1 1 180px; display:flex; flex-direction:column; position:relative;}
.zs-postPreviewItem img, .zs-postPreviewItem video{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:220px;
  object-fit:contain;
  display:block;
  margin: 0 auto;
}
.zs-shortPreviewItem video{
  width:100%;
  height:220px;
  object-fit:cover;
}
.zs-shortPreviewPoster{
  position:absolute;
  inset:0;
  width:100%;
  height:220px;
  object-fit:cover;
  z-index:2;
  pointer-events:none;
  transition: opacity .2s ease;
}
.zs-shortPreviewItem.is-playing .zs-shortPreviewPoster{
  opacity:0;
}
.zs-postPreviewItem__name{padding:8px 10px; font-size:12px; color: rgba(255,255,255,.75); border-top:1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.35);}
.zs-post__preview img, .zs-post__preview video{
  width:auto;
  height:auto;
  max-width:100%;
  max-height: 320px;
  object-fit:contain;
  display:block;
  margin: 0 auto;
}
.zs-postPreviewItem__thumb{
  margin: 8px 10px 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(135deg, rgba(255,161,96,.25), rgba(255,88,200,.25));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 160ms ease;
}
.zs-postPreviewItem__thumb:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  background: linear-gradient(135deg, rgba(255,161,96,.35), rgba(255,88,200,.35));
}
.zs-postPreviewItem__thumb:active{
  transform: translateY(0);
  box-shadow: none;
}
.zs-postPreviewItem__thumb:focus-visible{
  outline: 2px solid #ff9f6a;
  outline-offset: 2px;
}
.zs-postPreviewItem__remove{
  position:absolute;
  top:8px;
  right:8px;
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:16px;
  font-weight:700;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.zs-postPreviewItem__remove:hover{
  transform: translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,.3);
  background:rgba(255,87,120,.22);
}
.zs-post__categories{
  margin: 14px 0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.zs-post__catList{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.zs-chipCheck{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
  font-size: 14px;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

@media (max-width: 640px) {
  .zs-chipCheck{
    font-size: 14px;
  }
}

.zs-chipCheck input{
  accent-color:#ff9f6a;
  width:16px;
  height:16px;
}
.zs-chipCheck:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(0,0,0,.28);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.28);
}
.zs-chipCheck:active{
  transform:translateY(0);
  box-shadow:none;
}
.zs-post__actions{display:flex; gap:10px; margin-top: 14px}
.zs-post__actions .zs-btn{flex:1}
.zs-post__note{margin-top: 10px; color: rgba(255,255,255,.60); font-size: 13px}

/* Posts skeleton (wireframe) */
.skel-circle{
  width:46px; height:46px; border-radius:50%;
  background: rgba(255,255,255,.08);
}
.skel-line{
  height: 12px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  margin-bottom: 8px;
}
.skel-line.short{width: 30%;}
.skel-line.medium{width: 70%;}
.skel-line.long{width: 90%;}
.skel-media{
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px dashed rgba(255,255,255,.08);
}





.zs-x{ background: var(--zs-accent-grad); 
  color:#000000; border:1px solid rgba(0, 0, 0, 0); 
  border-radius:18px; padding:6px 10px; cursor:pointer; 
  font-weight: 900;
}
.zs-x:hover{ background: var(--zs-accent-grad-rev); }
.zs-x:focus-visible{ outline:2px solid var(--zs-ac-2); outline-offset:2px; }

.zs-tabs{ display:flex; gap:8px; margin:10px 0 6px; flex-wrap:wrap; }
.zs-tab{
  background:#14323a00; color:#c7f7ee; border:1px solid var(--zs-bd);
  border-radius:10px; padding:8px 12px; font-weight:800;
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
}
.zs-tab:hover{background: #00000000;}
.zs-tab:hover{ transform: translateY(-1px); }
.zs-tab.is-active{ background: var(--zs-accent-grad); 
  border-color: var(--zs-bd-strong); color: #000000;}
.zs-tab.is-active:hover{
  background: var(--zs-accent-grad-rev);
}
.zs-tab:focus-visible{ outline:2px solid var(--zs-ac-1); outline-offset:2px; }

.zs-tabpanel{ display:none; margin-top:8px; }
.zs-tabpanel.is-active{ display:block; }

.zs-form{ display:block; }
.zs-field{ display:block; margin:10px 0; }
.zs-field span{ display:block; font-weight:800; margin-top: 6px; margin-bottom:6px; color:#eaf6f8; font-size:12px; width: fit-content; }
.zs-field input, .zs-field select, .zs-field textarea{
  width: 98%; min-height:46px;
  background: rgba(255,255,255,.06);
  color: var(--zs-text);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px; padding:10px 0px 10px 5px; font-weight:700;
}
.zs-field textarea{ min-height:100px; resize:vertical; }
.zs-themePicker{
  display:flex;
  gap:12px;
  align-items:flex-end;
  flex-wrap:wrap;
}
.zs-themePicker .zs-field{
  flex:1;
  min-width:200px;
}
.zs-themeShuffle{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.zs-themeShuffle .zs-btn{
  min-height:46px;
  border-radius:12px;
}

.zs-badgePicker{
  margin-top: 6px;
}
.zs-badgePicker.is-hidden{
  display:none;
}
.zs-badgePicker__list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.zs-badgePicker__item{
  width:48px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px;
  cursor:pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.zs-badgePicker__item img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.zs-badgePicker__item:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.3);
}
.zs-badgePicker__item.is-selected{
  border-color: var(--zs-ac-2);
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 10px 18px rgba(0,0,0,.35);
}

.zs-modal select{
  background:rgba(255,255,255,.06); color:#e9f3f6; border:1px solid var(--zs-bd);
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  padding-right:34px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c7f7ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat; background-position:right 12px center; background-size:12px 12px;
}
.zs-modal select option{ background:#191919; color:#e9f3f6; }
.zs-modal select option:hover, .zs-modal select option:checked{ background:rgba(255,255,255,.06); }

.zs-primary{
  width:100%; margin-top:12px; height:48px;
  background: var(--zs-accent-grad); 
  color:#000000; border:0; border-radius:12px; font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.3);
  transition: transform .14s ease, box-shadow .2s ease;
}
.zs-primary:hover{ transform: translateY(-1px); 
  box-shadow:0 16px 28px rgba(0,0,0,.35); 
  background: var(--zs-accent-grad-rev);
}
.zs-primary:focus-visible{ outline:2px solid var(--zs-ac-2); outline-offset:2px; }

.zs-help{ color:#b9d2da; margin:6px 0; font-size: 13px; }
.zs-chip{ 
  background: rgba(15, 23, 42, 1);
  border: 1px solid #000;
  border-radius: 10px;
  padding: 5px 10px;
 }
.zs-danger{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1);
  border-radius:12px; padding:12px; font-size:12px;
}
.zs-danger-btn{
  width:100%; height:46px; border-radius:12px;
  background:#3b1111; border:1px solid #aa5b5b; color:#ffd6bf; font-weight:900;
}

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:560px){ .grid-2{ grid-template-columns:1fr; gap:10px; } }

.zs-checklist{
  margin-top:12px; padding:12px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
}

/* main.css 5457-7946 */
.zs-search{
  position:fixed; 
  inset:0; 
  z-index:9000;
  display:none;
  padding: max(10vh,40px) 0vw 6vw;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.zs-search.is-open{
  display:block;
}

.zs-search__x{
  position:absolute; top:16px; right:16px; width:40px; height:40px;
  display:grid; place-items:center; cursor:pointer;
  border-radius:12px; color:#fff; background:#141414; border:1px solid #2a2a2a;
}

.zs-search__bar{
  display:grid; grid-template-columns:1fr auto; gap:10px;
  max-width:1000px; margin:0 auto 18px;
}
.zs-search__bar input{
  background:#0e0e10; color:#fff; border:1px solid #242424;
  border-radius:12px; padding:14px 16px; font-size:16px;
}
.zs-search__bar .zs-btn{ border-radius:12px; padding:0 16px; height:48px; }


/* Base cursor inside overlays */
.zs-search, .zs-prof { cursor: default; }

/* Tabs and most text shouldn't look clickable */
.zs-search .zs-tab2,
.zs-prof  .zs-tab2 { cursor: pointer; }   /* tabs = buttons, keep pointer */
.zs-prof .zs-tabs2{
  max-width: 1100px;
  width: 80%;
  margin: 10px auto;
}
@media (max-width: 768px){
  .zs-tabs2,
  .zs-prof .zs-tabs2{
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    padding-left: 12px;
    padding-right: 12px;
    gap: 12px;
    justify-content: flex-start;
  }
}

/* keep neutral styles but do NOT block clicks */
.zs-search a,
.zs-prof  a { color: inherit; text-decoration: none; }

/* if you only wanted tiles to be “non-links”, style them explicitly: */
.zs-tile__title { pointer-events: none; } /* optional */

/* Avoid “active” color flicker from global link styles */
.zs-search a:active, .zs-prof a:active,
.zs-search a:focus,  .zs-prof a:focus { color: inherit; outline: none; }

/* The whole overlay header/containers must not show pointer by default */
.zs-search__bar, #zsProfTabs, .zs-prof__hdr { cursor: default; }


.zs-tabs2{ display:flex; gap:20px; justify-content:center; margin:8px 0 18px; }
.zs-tab2[aria-selected="true"]{ background:#1f1f1f; border:1px solid #2b2b2b; }


/* =========================
   SEARCH CATEGORY TABS (Movies / Users / Projects / etc.)
   ========================= */

/* Container inside the search overlay */
.zs-search #zsSearchTabs{
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 4px auto 18px;
  padding: 10px 20px 10px 20px;
}

/* Individual tab pills */
.zs-search #zsSearchTabs .zs-tab2{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  background: rgba(3,10,16,.85);
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--zs-text-dim);
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}
.zs-search #zsSearchTabs .zs-tab2 .zs-tab2__icon{
  font-size: 13px;
  width: 14px;
  text-align: center;
}
.zs-search #zsSearchTabs .zs-tab2 .zs-tab2__label{
  line-height: 1;
}

/* Hover state */
.zs-search #zsSearchTabs .zs-tab2:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(148,163,184,.7);
  color: var(--zs-text);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0);
}

/* Active tab – teal/blue to match your search theme */
.zs-search #zsSearchTabs .zs-tab2[aria-selected="true"]{
  background: var(--zs-accent-grad);
  color: #050b10;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0);
}

.zs-search #zsSearchTabs .zs-tab2[aria-selected="true"]:hover{
  background: var(--zs-accent-grad-rev);
}

/* Small glow line under the active tab */
.zs-search #zsSearchTabs .zs-tab2[aria-selected="true"]::after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 42%;
  height: 2px;
  border-radius: 999px;
}

/* ---------- Tablet tweaks ---------- */
@media (max-width: 900px){
  .zs-search #zsSearchTabs{
    max-width: 100%;
    padding-inline: 16px;
    gap: 8px;
  }
  .zs-search #zsSearchTabs .zs-tab2{
    font-size: 12px;
    padding: 7px 12px;
  }
  .zs-search #zsSearchTabs .zs-tab2 .zs-tab2__icon{
    font-size: 12px;
  }
}

/* ---------- Mobile tweaks (horizontal scroll row) ---------- */
@media (max-width: 640px){
  .zs-search #zsSearchTabs{
    display: flex;
    flex-wrap: nowrap !important;   /* ?? keep everything in ONE row */
    justify-content: left;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-inline: 0px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .zs-search #zsSearchTabs::-webkit-scrollbar{
    display: none; /* cleaner on phones */
  }

  .zs-search #zsSearchTabs .zs-tab2{
    flex: 0 0 auto;    /* pills sit side-by-side */
    font-size: 11px;
    padding: 6px 12px;
  }
}




/* =========================
   PROFILE TABS (Shorts / Posts / Collections / Saved)
   ========================= */

/* Container inside the profile overlay */
.zs-prof #zsProfTabs{
  display:flex;
  flex-wrap:nowrap;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:10px 20px 8px;
  border-bottom:1px solid rgb(255 255 255 / 0%);
  margin-bottom:8px;
  justify-content:flex-start;
  white-space:nowrap;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
.zs-prof #zsProfTabs::-webkit-scrollbar{
  display:none;
}

/* Individual tab pills */
.zs-prof #zsProfTabs .zs-tab2{
  display:inline-flex;
  align-items:center;
  gap:7px;
  position:relative;
  background:rgba(3,10,16,.85);
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--zs-text-dim);
  cursor:pointer;
  flex: 0 0 auto;                 /* each pill keeps its width */
  font-size: 12px;
  padding: 7px 12px;              /* same padding you already use */
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

/* Hover state */
.zs-prof #zsProfTabs .zs-tab2:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.18);
  color:var(--zs-text);
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(0,0,0,.55);
}

/* Active tab – matches your gold CTA vibe */
.zs-prof #zsProfTabs .zs-tab2[aria-selected="true"]{
  background: var(--zs-accent-grad);
  color:#111;
  border-color:transparent;
  box-shadow:0 12px 30px rgba(0,0,0,.75);
}

.zs-prof #zsProfTabs .zs-tab2[aria-selected="true"]:hover{
  background: var(--zs-accent-grad-rev);
}

/* Little underline glow under the active pill */
.zs-prof #zsProfTabs .zs-tab2[aria-selected="true"]::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:-5px;
  transform:translateX(-50%);
  width:40%;
  height:2px;
  border-radius:999px;
}
.zs-prof #zsProfTabs .zs-tab2 .zs-tab2__icon{
  font-size: 13px;
  width: 14px;
  text-align: center;
}
.zs-prof #zsProfTabs .zs-tab2 .zs-tab2__label{
  line-height: 1;
}

/* Mobile tweaks */
@media (max-width:640px){
  .zs-prof #zsProfTabs{
    /* justify-content:center; */
    display: flex;
    flex-wrap: nowrap !important;   /* keep everything in ONE row */
    justify-content: flex-start;    /* start from the left, allow scrolling */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-inline: 0px;           /* keep your current padding */
    gap: 8px;
    margin-bottom: 8px;
  }

  .zs-prof #zsProfTabs::-webkit-scrollbar{
    display: none;                  /* hide scroll bar on phones */
  }

  .zs-prof #zsProfTabs .zs-tab2{
    font-size:12px;
    padding:7px 12px;
  }
  .zs-prof #zsProfTabs .zs-tab2 .zs-tab2__icon{
    font-size:12px;
  }
}





/* Netflix-style grid for search results */
.zs-grid{
  display:grid;
  gap:16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: start;
}

.zs-grid, .zs-tiles    { position: relative; overflow: visible; will-change: auto; }

/* Skeletons for async states (optional use) */
.zs-skel-list{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.zs-skel-card{
  height:150px; background: linear-gradient(90deg,#0e0e0e 25%,#171717 50%,#0e0e0e 75%);
  background-size:200% 100%; animation: sk 1.2s linear infinite;
}
@keyframes sk{ 0%{ background-position:200% 0 } 100%{ background-position:-200% 0 } }




/* === PROFILE HEADER POLISH === */
.zs-prof__hdr{
  background: #000000;
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 22px 60px rgba(0,0,0,.75);
}

.zs-ava-wrap{
  position: relative;
  padding: 4px;
  border-radius: 999px;
  background: #0b0b0b;
  isolation: isolate;
  box-shadow: 0 0 18px rgba(0,0,0,.55);
}
.zs-ava-wrap.is-editable{
  cursor: pointer;
}
.zs-ava-wrap::before{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius: 58% 42% 60% 40% / 55% 60% 40% 45%;
  background: conic-gradient(
    from 0deg,
    var(--zs-accent-start),
    var(--zs-accent-mid),
    var(--zs-accent-end),
    var(--zs-accent-start)
  );
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  filter: blur(1.6px);
  opacity:.9;
  z-index:0;
  transform-origin: center;
  animation: zs-ava-ring 8.5s ease-in-out infinite;
}
.zs-ava-wrap::after{
  content:"";
  position:absolute;
  inset:-14px;
  border-radius: 60% 40% 52% 48% / 46% 54% 44% 56%;
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    var(--zs-accent-start) 80deg,
    transparent 140deg,
    var(--zs-accent-end) 220deg,
    transparent 360deg
  );
  filter: blur(10px);
  opacity:.55;
  z-index:0;
  mix-blend-mode: screen;
  transform-origin: center;
  animation: zs-ava-halo 12s ease-in-out infinite;
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 66%);
  mask: radial-gradient(circle, transparent 62%, #000 66%);
}
.zs-ava{
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
  cursor: inherit;
}

@keyframes zs-ava-ring{
  0%{
    transform: translate(0, 0) rotate(0deg) scale(1);
    border-radius: 58% 42% 60% 40% / 55% 60% 40% 45%;
  }
  30%{
    transform: translate(6px, -4px) rotate(35deg) scale(1.03);
    border-radius: 52% 48% 66% 34% / 60% 40% 58% 42%;
  }
  60%{
    transform: translate(-7px, 6px) rotate(-30deg) scale(0.98);
    border-radius: 64% 36% 44% 56% / 52% 70% 30% 48%;
  }
  100%{
    transform: translate(0, 0) rotate(0deg) scale(1);
    border-radius: 58% 42% 60% 40% / 55% 60% 40% 45%;
  }
}
@keyframes zs-ava-halo{
  0%{
    transform: translate(-2px, 2px) rotate(0deg) scale(1.02);
    opacity: .45;
  }
  25%{
    transform: translate(5px, 6px) rotate(90deg) scale(1.06);
    opacity: .65;
  }
  50%{
    transform: translate(-7px, -3px) rotate(190deg) scale(0.98);
    opacity: .55;
  }
  75%{
    transform: translate(4px, -6px) rotate(280deg) scale(1.04);
    opacity: .7;
  }
  100%{
    transform: translate(-2px, 2px) rotate(360deg) scale(1.02);
    opacity: .45;
  }
}

/* === GENERIC ZS BUTTONS === */
.zs-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  color: var(--zs-text);
  transition:
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}
.zs-btn:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,.65);
}
.zs-btn:disabled{
  opacity: .55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.zs-btn--primary{
  background: var(--zs-accent-grad);
  color: #111 !important;
}
.zs-btn--primary:hover{
  background: var(--zs-accent-grad-rev);
}

.zs-btn--outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
}

.zs-btn--ghost{
  background: rgba(3,10,16,.8);
  border: 1px solid rgba(255,255,255,.18);
}

/* === GUEST EMPTY STATE (NOT LOGGED IN) === */
.zs-empty-state{
  max-width: 640px;
  margin: 24px auto 0;
  padding: 24px 24px 20px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(25,187,160,.20), transparent 55%),
    linear-gradient(145deg, rgba(8,18,25,.98), rgba(6,14,20,.98));
  border: 1px solid rgba(134,255,231,.28);
  box-shadow: 0 20px 55px rgba(0,0,0,.78);
}
.zs-empty-state h3{
  margin: 0 0 8px;
  font-size: 22px;
}
.zs-empty-state p{
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--zs-text-dim);
}
.zs-empty-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Small helper for the guest text used in JS */
.zs-muted{
  color: var(--zs-text-dim);
  font-size: 14px;
}

/* Empty grid message for guest mode */
.zs-empty-grid{
  max-width: 900px;
  margin: 26px auto 0;
  padding: 32px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(134,255,231,.32);
  background:
    radial-gradient(circle at top, rgba(25,187,160,.18), transparent 55%),
    linear-gradient(160deg, rgba(7,15,21,.98), rgba(6,12,18,.98));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* === PROFILE TAB EMPTY STATES (logged-in, no content) === */
.zs-prof-empty{
  max-width: 640px;
  margin: 72px auto 64px;
  padding: 28px 24px 24px;
  border-radius: 22px;
  text-align: center;
  background: #000000;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 22px 60px rgba(0,0,0,.78);
}

.zs-prof-empty__icon{
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(0,0,0,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.7);
}
.zs-prof-empty__icon i{
  font-size: 30px;
  line-height: 1;
}
.zs-prof-empty__icon .fa{
  font-size: 30px !important;
  line-height: 1 !important;
  display: inline-block;
  color: #fff;
}

.zs-prof-empty__title{
  margin: 0 0 8px;
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.25;
}

.zs-prof-empty__text{
  margin: 0 0 16px;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.65;
  color: var(--zs-text-dim);
}

.zs-prof-empty__list{
  max-width: 480px;
  margin: 0 auto 20px;
  padding-left: 18px;
  text-align: left;
  font-size: clamp(15px, .95vw, 16px);
  line-height: 1.6;
  color: var(--zs-text-dim);
}

.zs-prof-empty__list li{
  margin-bottom: 6px;
}

.zs-prof-empty__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* slightly tighter on phones */
@media (max-width: 640px){
  .zs-prof-empty{
    margin: 40px 12px 32px;
    padding: 22px 18px 20px;
  }
  .zs-prof-empty__list{
    padding-left: 16px;
  }
}



/* === STATS CHIPS (Following / Followers / Likes) === */
.zs-kpis{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 6px;
}

@media (max-width: 900px) {
.zs-kpis{
    justify-content: center;
}
}

.zs-kpi{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,15,22,.55);  /* subtle glass over your header */
  box-shadow: 0 6px 18px rgba(0,0,0,.55);
  cursor: default;
  color: #ffffff;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    background .18s ease;
}


@media (max-width: 480px){
  .zs-kpi{
    padding: 5px 10px;
  }
}


.zs-kpi:hover{
  border-color: rgba(255,255,255,.36);
  background: rgba(10,22,32,.72);
  box-shadow: 0 10px 26px rgba(0,0,0,.7);
  transform: translateY(-1px);
}

.zs-kpi__num{
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.zs-kpi__label{
  font-size: 12px;
  line-height: 1.1;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Center chips a bit nicer on small screens */
@media (max-width: 640px){
  .zs-kpis{
    justify-content: flex-start;
  }
}

/* === PROFILE TOP BAR + CLOSE BUTTON === */
.zs-prof__bar{
  display: flex;
  justify-content: flex-end;
  padding: 6px 10px 4px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.75),
    rgba(0,0,0,.15)
  ); /* light veil, doesn’t touch header gradient */
  backdrop-filter: blur(10px);
}

.zs-prof__close{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0px solid rgba(255, 255, 255, 0);
  background: var(--zs-accent-grad);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0);
  transition:
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.zs-prof__close:hover{
  background: var(--zs-accent-grad-rev);
  border-color: rgba(255, 255, 255, 0);
  box-shadow: 0 16px 34px rgba(0,0,0,.9);
  color: #000000;
}

.zs-prof__close:focus-visible{
  outline: 2px solid var(--zs-ac-1);
  outline-offset: 2px;
}


/* Desktop layout: avatar | text + stats | buttons */
.zs-prof__hdr{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
}

.zs-hdr-left{ }
.zs-hdr-mid{ min-width: 0; }
.zs-hdr-right{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}


/* Tablet: stack but keep left-aligned */
@media (max-width: 900px){
  .zs-prof__hdr{
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
    padding: 16px 16px;
  }

  .zs-hdr-left,
  .zs-hdr-mid,
  .zs-hdr-right{
    width: 100%;
  }

  .zs-hdr-left{
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
  }

  .zs-hdr-mid{
    text-align: center;
  }

  .zs-hdr-right{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
  }
}

/* Mobile: center avatar + text, buttons under, chips centered */
@media (max-width: 640px){
  .zs-prof__hdr{
    padding: 14px 14px;
    row-gap: 12px;
  }

  .zs-hdr-left{
    justify-content: center;
    margin-bottom: 6px;
  }

  .zs-hdr-mid{
    text-align: center;
  }

  .zs-kpis{
    justify-content: center;
  }

  .zs-hdr-right{
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
  }

  .zs-btn{
    min-height: 34px;
    padding-inline: 16px;
  }

  .zs-ava{
    width: 76px;
    height: 76px;
  }
}







/* --- Search overlay scroll container --- */
.zs-search .zs-panels{
  max-height: 80%;            /* lets you scroll results */
  overflow-y: auto;
  overflow-x: visible;
  padding-bottom: 8px;
  scroll-padding-top: 120px;
  -webkit-overflow-scrolling: touch;
}

/* --- User search + follow lists --- */
.zs-user-results{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px 12px;
}
.zs-user-results-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 6px 0 10px;
}
.zs-user-results-title{
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
}
.zs-user-results-count{
  font-size: 12px;
  color: var(--zs-text-dim);
}
.zs-user-filterbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.zs-user-filter{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.35);
  background: rgba(3,10,16,.85);
  color: var(--zs-text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding:6px 12px;
  cursor:pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.zs-user-filter i{
  font-size: 12px;
  width: 14px;
  text-align: center;
}
.zs-user-filter:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(148,163,184,.7);
  color: var(--zs-text);
  transform: translateY(-1px);
}
.zs-user-filter.is-active{
  background: var(--zs-accent-grad);
  color: #050b10;
  border-color: transparent;
}

.zs-user-list-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 6px 0 12px;
}
.zs-user-list-title{
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
}

.zs-projects-soon{
  width: min(900px, calc(100% - 8px));
  max-width: 100%;
  box-sizing: border-box;
  margin: 8px auto 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(3,10,16,.92), rgba(3,10,16,.82));
  padding: 18px;
  overflow: hidden;
}
.zs-projects-soon__head{
  margin-bottom: 14px;
}
.zs-projects-soon__titleRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.zs-projects-soon__title{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #f7fbff;
}
.zs-projects-soon__noteBtn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.28);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.zs-projects-soon__noteBtn.is-open{
  border-color: rgba(0,208,132,.6);
  color: #b9ffe6;
}
.zs-projects-soon__text{
  margin: 0;
  font-size: 14px;
  color: rgba(232,240,247,.9);
  line-height: 1.5;
}
.zs-projects-soon__hint{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(232,240,247,.65);
}
.zs-projects-soon__note{
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(0,0,0,.34);
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.zs-projects-soon__note h4,
.zs-projects-soon__note h5{
  margin: 0 0 7px;
  color: #fff;
}
.zs-projects-soon__note h4{
  font-size: 15px;
  font-weight: 800;
}
.zs-projects-soon__note h5{
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #d3ffe9;
}
.zs-projects-soon__note p{
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(235,243,250,.92);
}
.zs-projects-soon__note p + p{
  margin-top: 8px;
}
.zs-projects-soon__note a{
  color: #8ee9ff;
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.zs-projects-soon__videoCard{
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  overflow: hidden;
}
.zs-projects-soon__videoWrap{
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.zs-projects-soon__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zs-projects-soon__play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(3, 8, 14, 0.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: opacity .18s ease, transform .2s ease;
}
.zs-projects-soon__play i{
  font-size: 24px;
  margin-left: 2px;
}
.zs-projects-soon__videoWrap.is-playing .zs-projects-soon__play{
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.95);
}
.zs-projects-soon__controls{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72));
  box-sizing: border-box;
}
.zs-projects-soon__toggle{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.zs-projects-soon__toggle i{
  font-size: 13px;
}
.zs-projects-soon__progress{
  flex: 1 1 auto;
  min-width: 0;
  accent-color: #00d084;
}
.zs-projects-soon__time{
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}
.zs-projects-soon__videoMeta{
  padding: 12px 14px 14px;
}
.zs-projects-soon__videoMeta h4{
  margin: 0 0 6px;
  font-size: 15px;
  color: #fff;
}
.zs-projects-soon__videoMeta p{
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(232,240,247,.8);
}
@media (max-width: 640px){
  .zs-projects-soon{
    width: calc(100% - 4px);
    margin: 6px auto 0;
    border-radius: 12px;
    padding: 12px;
  }
  .zs-projects-soon__title{
    font-size: 18px;
  }
  .zs-projects-soon__titleRow{
    align-items: flex-start;
    gap: 8px;
  }
  .zs-projects-soon__noteBtn{
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  .zs-projects-soon__text{
    font-size: 13px;
  }
  .zs-projects-soon__note{
    padding: 10px;
  }
  .zs-projects-soon__note p{
    font-size: 12px;
  }
  .zs-projects-soon__controls{
    gap: 8px;
    padding: 8px 8px 9px;
  }
  .zs-projects-soon__time{
    font-size: 11px;
  }
  .zs-projects-soon__play{
    width: 58px;
    height: 58px;
  }
}

.zs-user-list{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

/* ===== Amplify dashboard ===== */
.zs-amp-shell{
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 18px 28px;
  display: grid;
  gap: 18px;
}
.zs-amp-summary,
.zs-amp-card,
.zs-amp-emptyMini{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top right, rgba(241,183,9,.12), transparent 38%),
    linear-gradient(160deg, rgba(6,10,14,.98), rgba(12,18,24,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.zs-amp-summary{
  padding: 24px;
  display: grid;
  gap: 18px;
}
.zs-amp-eyebrow{
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  color: rgba(255,255,255,.54);
}
.zs-amp-summary h2,
.zs-amp-section__head h3,
.zs-amp-card__title{
  margin: 0;
}
.zs-amp-summary__text,
.zs-amp-note,
.zs-amp-card__meta{
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}
.zs-amp-summary__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.zs-amp-summary__tile,
.zs-amp-metric{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  padding: 14px 15px;
  display: grid;
  gap: 6px;
}
.zs-amp-summary__tile span,
.zs-amp-metric span,
.zs-amp-block__title{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.zs-amp-summary__tile strong,
.zs-amp-metric strong{
  font-size: 20px;
  line-height: 1.2;
}
.zs-amp-section{
  display: grid;
  gap: 12px;
}
.zs-amp-section__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
}
.zs-amp-section__head span{
  color: rgba(255,255,255,.58);
  font-size: 13px;
}
.zs-amp-list{
  display: grid;
  gap: 14px;
}
.zs-amp-card{
  padding: 18px;
  display: grid;
  gap: 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.zs-amp-card.is-focused{
  border-color: rgba(241,183,9,.48);
  box-shadow: 0 0 0 1px rgba(241,183,9,.18), 0 28px 80px rgba(0,0,0,.5);
}
.zs-amp-card:hover{
  transform: translateY(-2px);
}
.zs-amp-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.zs-amp-chipRow{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.zs-amp-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.zs-amp-chip.is-live{
  background: rgba(53,190,112,.14);
  border-color: rgba(53,190,112,.34);
  color: #beffd5;
}
.zs-amp-chip.is-complete{
  background: rgba(63,140,255,.16);
  border-color: rgba(63,140,255,.3);
  color: #d8e7ff;
}
.zs-amp-chip.is-warn{
  background: rgba(255,154,60,.14);
  border-color: rgba(255,154,60,.32);
  color: #ffe1ba;
}
.zs-amp-chip.is-bad{
  background: rgba(255,92,92,.14);
  border-color: rgba(255,92,92,.3);
  color: #ffd5d5;
}
.zs-amp-chip.is-pending,
.zs-amp-chip.is-soft{
  color: rgba(255,255,255,.72);
}
.zs-amp-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #131313;
  font-weight: 800;
  background: var(--zs-accent-grad, linear-gradient(135deg, #f1b709, #ffdf75));
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.zs-amp-link:hover{
  background: var(--zs-accent-grad-rev, linear-gradient(135deg, #ffdf75, #f1b709));
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0,0,0,.4);
}
.zs-amp-metrics{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.zs-amp-card__body{
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 14px;
}
.zs-amp-block{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  padding: 14px;
  display: grid;
  gap: 12px;
}
.zs-amp-stats{
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}
.zs-amp-countries{
  display: grid;
  gap: 12px;
}
.zs-amp-country{
  display: grid;
  gap: 7px;
}
.zs-amp-country__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.zs-amp-country__head span{
  color: rgba(255,255,255,.78);
}
.zs-amp-country__head strong{
  color: rgba(255,255,255,.6);
  font-weight: 700;
}
.zs-amp-country__track{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.zs-amp-country__track > span{
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f1b709, #ff8f00);
}
.zs-amp-emptyMini{
  padding: 18px;
  color: rgba(255,255,255,.64);
  text-align: center;
}

@media (max-width: 980px){
  .zs-amp-summary__grid,
  .zs-amp-metrics{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zs-amp-card__body{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .zs-amp-shell{
    padding: 4px 10px 24px;
  }
  .zs-amp-summary,
  .zs-amp-card{
    padding: 16px;
    border-radius: 20px;
  }
  .zs-amp-summary h2{
    font-size: 24px;
    line-height: 1.2;
  }
  .zs-amp-card__title{
    font-size: 20px;
    line-height: 1.3;
  }
  .zs-amp-summary__text,
  .zs-amp-note,
  .zs-amp-card__meta{
    font-size: 15px;
    line-height: 1.68;
  }
  .zs-amp-summary__grid,
  .zs-amp-metrics{
    grid-template-columns: 1fr;
  }
  .zs-amp-summary__tile span,
  .zs-amp-metric span,
  .zs-amp-block__title{
    font-size: 12px;
  }
  .zs-amp-summary__tile strong,
  .zs-amp-metric strong{
    font-size: 21px;
  }
  .zs-amp-card__top{
    flex-direction: column;
  }
  .zs-amp-chip{
    font-size: 13px;
    padding: 8px 12px;
  }
  .zs-amp-stats{
    font-size: 15px;
    line-height: 1.65;
  }
  .zs-amp-country__head{
    font-size: 14px;
  }
  .zs-amp-country__head strong{
    font-size: 13px;
  }
  .zs-amp-link{
    width: 100%;
    min-height: 46px;
    font-size: 15px;
  }
}
.zs-panel .zs-user-list,
.zs-panel .zs-user-list-head{
  width: min(860px, 95%);
  margin-left: auto;
  margin-right: auto;
  padding-inline: 8px;
  box-sizing: border-box;
}
.zs-user-empty{
  color: var(--zs-text-dim);
  font-size: 13px;
  padding: 18px 10px;
}
.zs-user-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(12,12,14,.85);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 26px rgba(0,0,0,.45);
}
.zs-user-card__main{
  display:flex;
  align-items:center;
  gap: 12px;
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.zs-user-card__avatar{
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  flex: 0 0 48px;
}
.zs-user-card__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.zs-user-card__nameRow{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.zs-user-card__verified{
  position:static;
  width:16px;
  height:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  border: none;
  flex: 0 0 16px;
}
.zs-user-card__verified img{
  width:100%;
  height:100%;
  display:block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.zs-user-card__meta{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 0;
}
.zs-user-card__name{
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.zs-user-card__bio{
  font-size: 12px;
  color: var(--zs-text-dim);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zs-user-follow{
  white-space: nowrap;
  font-size: 12px;
  padding: 7px 14px;
  margin-left: auto;
  flex: 0 0 auto;
}
.zs-btn--outline.is-following{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.65);
  color: #fff;
}
.zs-user-card--skel{
  min-height: 78px;
  background: linear-gradient(90deg,#0e0e0e 25%,#171717 50%,#0e0e0e 75%);
  background-size:200% 100%;
  animation: sk 1.2s linear infinite;
  border: 0;
  box-shadow: none;
}

@media (max-width: 640px){
  .zs-user-results{
    padding-inline: 4px;
  }
  .zs-panel .zs-user-list,
  .zs-panel .zs-user-list-head{
    width: 100%;
    padding-inline: 8px;
  }
  .zs-user-list{
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .zs-user-card{
    flex-wrap: nowrap;
    padding: 10px 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: transparent;
    box-shadow: none;
  }
  .zs-user-card__main{
    gap: 10px;
  }
  .zs-user-card__avatar{
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .zs-user-card__name{
    font-size: 14px;
  }
  .zs-user-card__bio{
    font-size: 12px;
    white-space: nowrap;
  }
  .zs-user-follow{
    margin-left: 10px;
    font-size: 12px;
    padding: 6px 12px;
  }
}
@media (max-width: 560px){
  .zs-user-card{
    align-items: center;
  }
  .zs-user-follow{
    width: auto;
  }
}

#zsSearchResults .zs-col-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

#zsSearchResults .zs-col-actions .zs-col-open{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.72);
  color:#ffe08a;
  box-shadow:0 8px 18px rgba(0,0,0,.42);
  backdrop-filter:blur(10px);
}

#zsSearchResults .zs-col-actions .zs-col-open:hover{
  background:rgba(9,13,17,.92);
  color:#fff1b8;
  border-color:rgba(255,255,255,.24);
  box-shadow:0 10px 24px rgba(0,0,0,.5);
}


/* --- Netflix-style tiles for search --- */
.zs-tiles{ 
  gap: 16px; 
  position: relative;
  overflow: visible;     /* was default; ensure not hidden */
  padding-bottom: 260px;
}
.zs-tile{
  position: relative;     /* creates stacking context for z-index */
  isolation: isolate;     /* prevents blending with neighbors */
  display: block;
  height: 100%;
  z-index: 1;
  transform-origin: center center;
  backface-visibility: hidden;
  background:#0e0e10;
  border-radius:14px;
  overflow: visible;
  outline: none;
  transform: translateZ(0);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change: transform;
  --shift-x: 0px; 
  --shift-y: 0px;
}

#zsSearchResults .zs-tile,
.zs-portal .zs-tile{
  height: auto;
}

#zsSearchResults .zs-tile__img,
.zs-portal .zs-tile__img{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 150px;
  overflow: hidden;
  display: block;
  background: #0e0e10;
  border-radius: 14px;
}

#zsSearchResults .zs-tile.is-open .zs-tile__img,
.zs-portal .zs-tile.is-open .zs-tile__img{
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
}

/* Keep search posters pinned to a stable box in closed and open states */
#zsSearchResults .zs-tile__img img,
.zs-portal .zs-tile__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}




/* Details panel sits BELOW the image (no overlay) */
.zs-tile__hover{
  position: absolute;   /* <— key */
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--zs-tile-footer);
  background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 36%, rgb(0, 0, 0) 100%);
  padding: 10px 12px 14px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  max-height: none;

  transition:
    opacity .16s ease,
    transform .16s ease,
    visibility 0s .16s;
}



/* When a tile is open, reveal the panel smoothly */
.zs-tile.is-open .zs-tile__hover{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity .16s ease,
    transform .16s ease,
    visibility 0s
}

.zs-tile.is-open .zs-tile__title{
  font-size:15px;
  font-weight:900;
  letter-spacing:.2px;
  margin-top:6px;
  color:#fff;
  /* no line-clamp here on purpose */
}


.zs-tile.is-open{
  border-color:#2a2a2a;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  z-index: 100000;                               /* above everything in the overlay */
  transform: translate(var(--shift-x), var(--shift-y)) scale(1.25);
  will-change: transform;
}

@media (max-width: 900px){
.zs-tile.is-open{
  transform: translate(var(--shift-x), var(--shift-y)) scale(1.2);
}
}
@media (max-width: 640px){
.zs-tile.is-open{
  transform: translate(var(--shift-x), var(--shift-y)) scale(0.9);
}
}
@media (max-width: 390px){
.zs-tile.is-open{
  transform: translate(var(--shift-x), var(--shift-y)) scale(0.8);
}
}

.zs-tile__top{
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
}

.zs-like{
  position: relative;
  margin-left: 67px;
}

.zs-tile__btn{
  width:40px; 
  height:40px; 
  display:grid; 
  place-items:center;
  border-radius:999px;
  border: 1px solid rgba(148,163,184,.35);
  background: radial-gradient(circle at 30% 0,
rgba(148,163,184,.12) 0,
rgba(15,23,42,0.98) 55%,
rgba(15,23,42,1) 100%);
  color:#cbd5f5; 
}
.zs-tile__btn:hover{ 
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.7);
  box-shadow: 0 0 0 1px rgba(148,163,184,.45);
  color: #00ffa3; 
}
.zs-tile__btn:active{ 
  transform: scale(0.9); 
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.7);
  box-shadow: 0 0 0 1px rgba(148,163,184,.45);
  color: #00ffa3; 
}
.zs-tile__btn .zs-like:hover{ color: #00ffa3; }
.zs-tile__info:hover{ color: #00ffa3; }
.zs-tile__play{ 
  border: 1px solid rgba(148,163,184,.35);
  background: radial-gradient(circle at 30% 0,
rgba(148,163,184,.12) 0,
rgba(15,23,42,0.98) 55%,
rgba(15,23,42,1) 100%);
  color:#cbd5f5; 
 }
.zs-tile__play:hover{ 
  color: #00ffa3; 
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.7);
  box-shadow: 0 0 0 1px rgba(148,163,184,.45);
}
.zs-tile__play:active{ 
  transform: scale(0.9); 
  color: #00ffa3; 
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.7);
  box-shadow: 0 0 0 1px rgba(148,163,184,.45);
}
.zs-tile__title{
  margin:4px 0 6px;
  font-size:15px;
  line-height:1.25;
  color:#fff;
  font-weight:800;

  display:block;
  max-width:100%;
  white-space:nowrap;        /* ? no wrapping */
  overflow:hidden;           /* hide overflow */
  text-overflow:ellipsis;    /* show "..." when too long */
}
.zs-tile__meta{
  display:contents; gap:10px; font-size:10px; color:#cfd6da; align-items:center;
}
.zs-tile__meta .zs-views,.zs-likes{
  margin-left: 5px;
}
.hd-badge{
  background:#1a1a1a; border:1px solid #2a2a2a; padding:2px 6px; border-radius:6px; font-weight:800;
}


/* Optional polish */
.zs-tile__meta .maturity { border-left: 1px solid #2a2a2a; padding-left: 8px; margin-left: 8px; }


/* Shared animation for both tooltips */
@keyframes votePromptBounce {
  0%   { transform: translate(-50%, 4px) scale(0.85); opacity: 0; }
  50%  { transform: translate(-50%, -2px) scale(1.05); opacity: 1; }
  100% { transform: translate(-50%, -4px) scale(1);   opacity: 1; }
}



/* ========================================
   MAIN PAGE – zoom like button tooltip
   ======================================== */

/* containers around the like button on MAIN PAGE */
.smallTitleCard #likebtn,
.smallTitleCard #likebtn-R{
  position: relative; /* anchor for the bubble */
}

/* base bubble – MAIN PAGE ONLY */
.smallTitleCard #likebtn .vote-prompt,
.smallTitleCard #likebtn-R .vote-prompt{
  position: absolute;
  bottom: 130%;
  left: 70%;
  transform: translate(-70%, 4px) scale(0.9);
  max-width: min(220px, 70vw);
  width: 100px;
  padding: 6px 4px 6px 4px;
  margin-bottom: 5px;
  border-radius: 999px;

  background: rgba(7,16,26,.96);
  border: 1px solid rgba(148,163,184,.8);
  color: #e5e7eb;

  font-size: 8px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;

  box-shadow: 0 12px 28px rgba(0,0,0,.85);
  opacity: 0;
  pointer-events: none;
  z-index: 5000;

  transition: opacity .18s ease, transform .18s ease;
}

/* small arrow under the bubble – MAIN PAGE ONLY */
.smallTitleCard #likebtn .vote-prompt::after,
.smallTitleCard #likebtn-R .vote-prompt::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-70%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(7,16,26,.96) transparent transparent transparent;
}

/* visible state – JS adds .show – MAIN PAGE ONLY */
.smallTitleCard #likebtn .vote-prompt.show,
.smallTitleCard #likebtn-R .vote-prompt.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -4px) scale(1);
  animation: votePromptBounce .4s ease-out;
}

/* Tablet / small laptop tweaks – MAIN PAGE */
@media (max-width: 900px){
  .smallTitleCard #likebtn .vote-prompt,
  .smallTitleCard #likebtn-R .vote-prompt{
  font-size: 5px;
  max-width: 75vw;
  width: 65px;
  padding: 3px 4px;
  margin-left: -6px;
  }
}

/* Mobile tweaks – MAIN PAGE */
@media (max-width: 505px){
  .smallTitleCard #likebtn .vote-prompt,
  .smallTitleCard #likebtn-R .vote-prompt{
  bottom: 125%;
  max-width: 80vw;
  width: 51px;
  padding: 3px 4px;
  font-size: 4px;
  white-space: normal;
  margin-left: -8px;
  border: 0px;
  }
}




/* ========================================
   SEARCH OVERLAY – zoom like button tooltip
   ======================================== */

/* Like button in SEARCH tiles (anchor) */
.zs-like{
  position: relative; /* anchor for search bubble */
}

/* Desktop / tablet: dark pill bubble – SEARCH */
.zs-like .vote-prompt{
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translate(-50%, 4px) scale(0.9);

  max-width: min(220px, 80vw);
  width: 170px;
  padding: 6px 10px;
  margin-left: -15px;
  border-radius: 999px;

  background: rgba(7,16,26,.96);
  border: 1px solid rgba(148,163,184,.8);
  color: #e5e7eb;

  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;

  box-shadow: 0 12px 28px rgba(0,0,0,.85);
  opacity: 0;
  pointer-events: none;
  z-index: 5000;

  transition: opacity .18s ease, transform .18s ease;
}

/* arrow for SEARCH bubble */
.zs-like .vote-prompt::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(7,16,26,.96) transparent transparent transparent;
}

/* visible when JS adds .show – SEARCH ONLY */
.zs-like .vote-prompt.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -4px) scale(1);
  animation: votePromptBounce .4s ease-out;
}


/* Mobile: keep it big and readable in the search overlay */
@media (max-width: 505px){
  .zs-like .vote-prompt{
  bottom: 125%;
  left: 50%;
  transform: translate(-50%, 4px) scale(0.9);
  max-width: 85vw;
  width: 220px;
  padding: 4px 8px;
  font-size: 18px;
  white-space: normal;
  margin-left: -20px;
  }
}







/* =========================
   SEARCH LIKE BUTTON EFFECT – NEON TEAL / BLUE
   ========================= */

/* Base like button inside search tiles – .zs-like IS the button */
.zs-like{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.35);
  background: radial-gradient(circle at 30% 0,
              rgba(148,163,184,.12) 0,
              rgba(15,23,42,0.98) 55%,
              rgba(15,23,42,1) 100%);
    transition: transform .18s ease;   /* ?? smooth bump */
}

/* When liked: keep same color, just a tiny bump */
.zs-like.is-liked{
  transform: scale(1.06);
}


.zs-like i{
  transition: transform .18s ease, color .18s ease;
}

/* When liked: tiny bump + neon green */
.zs-like.is-liked i{
  transform: scale(1.12);
  color: #00ffa3;
}


/* =========================
   LIKE BUBBLE BURST
   ========================= */

.zs-like-burst{
  position:absolute;
  inset: 0;
  pointer-events:none;
  overflow:visible;
}

/* single bubble */
.zs-like-bubble{
  position:absolute;
  width:24px;                      /* was 16px */
  height:24px;                     /* was 16px */
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;                  /* was 9px – icon slightly bigger */
  color:#00ffa3;                   /* ?? neon thumb color */
  background: radial-gradient(circle at 30% 0,
              rgba(0,255,163,.26),
              rgba(15,23,42,.95));
  box-shadow:0 0 10px rgba(0,255,163,.85);  /* a touch stronger */
  opacity:0;
  transform:translate3d(0,0,0) scale(.8);   /* was .6 */
  animation: zs-like-bubble 0.6s ease-out forwards;
}

/* simple up+fade motion */
@keyframes zs-like-bubble{
  0%{
    transform: translate3d(0,0,0) scale(.8);
    opacity:0;
  }
  20%{
    opacity:1;
  }
  100%{
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1);
    opacity:0;
  }
}



/* Mobile: keep it neat, no crazy glow */
@media (max-width: 505px){
  .zs-like{
    box-shadow: none;
  }
}






.zs-tile { will-change: transform; }
.zs-tile__top .zs-tile__btn { pointer-events: auto; }
.zs-tile .zs-tile__btn { outline: none; font-size: 12px; }


.zs-tile .zs-tile__hover{ 
  pointer-events: none; 
  width: auto; 
  bottom: auto; 
  height: auto; 
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px; 
  }

/* Final search-tile layout guard: closed cards must stay poster-only */
#zsSearchResults .zs-grid.zs-tiles{
  align-items: start !important;
  grid-auto-rows: max-content;
}
#zsSearchResults .zs-grid.zs-tiles > .zs-tile{
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}
#zsSearchResults .zs-tile:not(.is-open):not(.is-floating){
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
#zsSearchResults .zs-tile:not(.is-open):not(.is-floating) .zs-tile__img{
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 14px !important;
}
#zsSearchResults .zs-tile:not(.is-open):not(.is-floating) .zs-tile__img img{
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}
#zsSearchResults .zs-tile:not(.is-open):not(.is-floating) .zs-tile__hover{
  display: none !important;
}


/* a top layer that sits over the search overlay but still lets you scroll */
.zs-portal{
  position: fixed;
  inset: 0;
  z-index: 200000;      /* above everything in the overlay */
  pointer-events: none; /* only the tile itself will take events */
}

/* when a tile is floating in the portal, it becomes fixed-positioned */
.zs-tile.is-floating{
  position: fixed;
  margin: 0;
  pointer-events: auto;   /* <- allow interaction on the open card */
  will-change: transform, left, top, width, height;
}

.zs-tile.is-floating .zs-tile__hover,
.zs-tile.is-floating .zs-tile__btn,
.zs-tile.is-floating a,
.zs-tile.is-floating button{
  pointer-events: auto;
}


/* allow vertical panning on touch */
.zs-tiles, .zs-tile { touch-action: pan-y; }



.zs-spacer{
  border-radius:14px;
  visibility:hidden;
  pointer-events:none;
}

/* If you don’t want the dashed pin indicator, remove it */
.zs-tile.is-pinned { outline: none !important; }

/* Kill any borders/outlines on tiles (closed or open) */
.zs-tile,
.zs-tile.is-open,
.zs-card-media {
  border: none !important;
  outline: none !important;
  box-shadow: none; /* keep or remove; delete this line if you like the shadow */
}


/* Kill the blue tap flash anywhere in the search overlay + portal */
.zs-search,
.zs-search *,
.zs-portal,
.zs-portal * {
  -webkit-tap-highlight-color: transparent;
}

/* Remove blue focus ring from search tiles */
#zsSearchResults .zs-tile:focus,
#zsSearchResults .zs-tile:focus-visible {
  outline: none;
}


/* Extra shield: kill tap highlight specifically on search tiles (open + closed) */
#zsSearchResults .zs-tile,
#zsSearchResults .zs-tile *,
.zs-portal .zs-tile,
.zs-portal .zs-tile * {
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  -webkit-focus-ring-color: rgba(0,0,0,0) !important;
  outline: none !important;
}




/* ===== COMPACT SEARCH GRID (phones + small tablets/laptops) ===== */
@media (max-width: 900px){

  /* 2-up grid in compact mode */
  #zsSearchResults .zs-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px;
  }

  /* Make tiles self-contained and clip anything inside */
  #zsSearchResults .zs-tile{
    overflow: hidden;
    transform: none !important;         /* kill big zoom/shift */
    box-shadow: 0 10px 20px rgba(0,0,0,.35);
  }

  /* Posters: consistent shape + fill the box */
  #zsSearchResults .zs-tile__img{
    aspect-ratio: 16 / 9;               /* use 2/3 if posters are tall */
    background: #0e0e10;
  }
  #zsSearchResults .zs-tile__img img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover !important;
    object-position: center;
  }
  #zsSearchResults .zs-tile__img.is-broken{
    position: relative;
    background:
      radial-gradient(circle at top, rgba(82, 231, 214, .18), transparent 46%),
      linear-gradient(180deg, #111318 0%, #090909 100%);
  }
  #zsSearchResults .zs-tile__img.is-broken img{
    opacity: 0;
  }
  #zsSearchResults .zs-tile__img.is-broken::after{
    content: "Poster unavailable";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 14px;
    text-align: center;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
  }

  /* iOS Safari: prevent floating search cards from stretching tall */
  @supports (-webkit-touch-callout: none) {
    .zs-portal .zs-tile__img{
      aspect-ratio: 16 / 9;
      background: #0e0e10;
    }
    .zs-portal .zs-tile__img img{
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover !important;
      object-position: center;
    }
  }

  /* Keep the details panel INSIDE the card, under the image */
  #zsSearchResults .zs-tile__hover{
    position: static !important;        /* part of the tile flow */
    display: none;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    pointer-events: auto !important;
    background: linear-gradient(180deg,#000 0%,#000 100%);
    margin-top: 8px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  /* When open, just reveal the footer, no floating portal tricks */
  #zsSearchResults .zs-tile.is-open .zs-tile__hover{
    display: block;
  }

  /* Make the “floating in portal” mode harmless on these screens */
  .zs-portal { pointer-events: none; }
  #zsSearchResults .zs-tile.is-floating{
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
  }

  /* Controls a bit tighter */
  #zsSearchResults .zs-tile__btn{ 
    width:36px; 
    height:36px; 
    font-size: 14px;
  }
  #zsSearchResults .zs-tile__title{ 
    font-size:14px; 
  }
  #zsSearchResults .zs-tile__meta{ 
    font-size:11px; 
  }

  /* Meta line fit better under the title */
  .zs-tile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
  }

  .zs-panels {
    padding: 0px 0px 12px;
  }

  /* Like button position for compact layout */
  .zs-like{
    position: relative;
    margin-left: 0; /* don’t push it too far right on small screens */
  }
}




/* Force the Edit Profile modal above everything */
#zsEditModal{
  position: fixed;
  inset: 0;
  z-index: 300000 !important;
  background: #000000;
}




/* ===== Saved tab - static cards + in-card save icon (no zoom) ===== */

.zs-savedSection{
  margin-bottom: 18px;
}
.zs-savedSection__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 4px;
  flex-wrap: wrap;
}
.zs-savedSection__title{
  font-size: 16px;
  font-weight: 700;
}
.zs-savedSection__empty{
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.zs-filmDraftEmpty{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.zs-filmDraftEmpty__title{
  font-size:15px;
  font-weight:800;
  color:#eaf7f5;
}
.zs-filmDraftEmpty__text{
  color: rgba(255,255,255,.72);
  line-height:1.5;
}
.zs-filmDraftEmpty__note{
  color: rgba(125,245,232,.8);
  font-weight:700;
  font-size:12px;
}
.zs-filmDraftTools{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  flex-wrap:wrap;
}
.zs-filmDraftSelectAll{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.zs-filmDraftSelectAll input{
  accent-color: #5bf0d8;
}
.zs-filmDraftSelectAll:hover{
  border-color: rgba(125,245,232,.5);
  transform: translateY(-1px);
}
.zs-filmDraftSelected{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(88,255,229,.12);
  color:#dffcf4;
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(88,255,229,.25);
}
.zs-filmDraftBulkDelete{
  min-height:32px;
}
@media (max-width: 520px){
  .zs-filmDraftCheck{
    width:20px;
    height:20px;
  }
  .zs-filmDraftSelect{
    top:8px;
    left:8px;
  }
  .zs-filmDraftDelete{
    top:8px;
    right:42px;
  }
}
.zs-savedToggle,
.zs-filmToggle{
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  margin: 0 0 14px;
}
.zs-savedToggle__btn,
.zs-filmToggle__btn{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.zs-savedToggle__btn:hover,
.zs-filmToggle__btn:hover{
  color: #fff;
}
.zs-savedToggle__btn.is-active,
.zs-filmToggle__btn.is-active{
  background: var(--zs-accent-grad, linear-gradient(135deg, #4ef4d1, #5bc7ff));
  color: #0a171b;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
@media (max-width: 640px){
  .zs-savedToggle{
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .zs-savedToggle::-webkit-scrollbar{
    display: none;
  }
  .zs-savedToggle__btn{
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.zs-savedPane,
.zs-filmPane{
  display: none;
}
.zs-savedPane.is-active,
.zs-filmPane.is-active{
  display: block;
}
.zs-savedShorts{
  margin-top: 4px;
}
.zs-shortCard--saved{
  cursor: pointer;
}
.zs-shortSaveBadge{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.6);
  color: #ffd27a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,.45);
  z-index: 3;
}
.zs-shortSaveBadge:hover{
  background: rgba(0,0,0,.8);
}
.zs-shortCard__savedMeta{
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75));
  color: rgba(255,255,255,.9);
  font-size: 12px;
  z-index: 2;
}
.zs-shortCard__savedUser{
  font-weight: 700;
}
.zs-shortCard__savedCaption{
  opacity: 0.85;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.zs-tiles--saved {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
  gap: 1.4rem;
  align-items: flex-start;
  justify-content: flex-start;
}

/* If there’s only 1 saved item, still allow centering via data-mode */
.zs-tiles--saved[data-mode="single"] {
  justify-content: center;
}
.zs-tiles--saved[data-mode="single"] .zs-tile {
  max-width: min(260px, 100%);
}

/* Saved movie card – Netflix-size, NO zoom */
.zs-tiles--saved .zs-tile {
  position: relative;
  max-width: 210px;          /* ?? approximate Netflix poster width */
  width: 100%;
  height: 120px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #0e0e10;
  transform: none !important;
  top: auto !important;
  z-index: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.65);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

/* Even if some JS accidentally adds .is-open, force it to be normal */
.zs-tiles--saved .zs-tile.is-open {
  transform: none !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.65);
}

/* Poster area */
.zs-tiles--saved .zs-tile__img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;      /* change to 16/9 if your posters are wide */
  overflow: hidden;
}

.zs-tiles--saved .zs-tile__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* We don’t use the zoom footer content in Saved tab */
.zs-tiles--saved .zs-tile__hover {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  background: none;
  opacity: 1;
  visibility: visible;
  pointer-events: none;   /* nothing here is clickable except what we override */
  transform: none;
  height: auto;
}

/* Hide title + meta for Saved tab (poster-only look) */
.zs-tiles--saved .zs-tile__title,
.zs-tiles--saved .zs-tile__meta {
  display: none !important;
}

/* Top row inside hover – Saved tiles only keep collection + save actions */
.zs-tiles--saved .zs-tile__top {
  position: static;
}

/* Hide the generic tile action row first */
.zs-tiles--saved .zs-tile__top .zs-tile__btn {
  display: none;
}

/* Re-enable the saved-state button as a corner action */
.zs-tiles--saved .zs-tile__top .zs-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 8px;
  right: 4px;

  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;

  pointer-events: auto;      /* clickable even though hover block is pointer-events:none */
  background: rgba(0,0,0,.78);
  color: #ffcc33;
  box-shadow: 0 8px 18px rgba(0,0,0,.9);
}

.zs-tiles--saved .zs-col-add:hover {
  background: rgba(0,0,0,.95);
  box-shadow: 0 10px 24px rgba(0,0,0,.9);
}

/* Save icon size */
.zs-tiles--saved .zs-save i {
  font-size: 14px;
}

/* Hover effects */
.zs-tiles--saved .zs-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.9);
}

.zs-tiles--saved .zs-tile:hover .zs-save {
  background: rgba(0,0,0,.95);
}


/* --- Saved grid – responsive columns like your JS slider --- */

/* Desktop / large screens: 4 cards per row (slider ~6) */
.zs-tiles--saved{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem 1.25rem;
  align-items: flex-start;
  justify-items: stretch;
  margin-top: 20px;
  padding: 0 32px 12px 5px;
  box-sizing: border-box;
}

@media (max-width: 505px){
.zs-tiles--saved{
  padding: 0 5px 10px 5px;
}
}

/* Saved movie tile: same as before */
.zs-tiles--saved .zs-tile{
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #0e0e10;
  transform: none !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.65);
}

/* Poster 16:9, same as before */
.zs-tiles--saved .zs-tile__img{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.zs-tiles--saved .zs-tile__img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.zs-tiles--saved .zs-tile__img.is-broken{
  background:
    radial-gradient(circle at top, rgba(255, 182, 72, 0.18), transparent 46%),
    rgba(10, 14, 22, 0.96);
  border: 1px solid rgba(255,255,255,0.06);
}

.zs-tiles--saved .zs-tile__img.is-broken img{
  opacity: 0;
}

.zs-tiles--saved .zs-tile__img.is-broken::after{
  content: "Poster unavailable";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Keep the save icon in the corner */
.zs-tiles--saved .zs-tile__hover{
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  background: none;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}
.zs-tiles--saved .zs-tile__top .zs-save{
  position: absolute;
  top: 8px;
  right: 8px;
  pointer-events: auto;
}

/* ====== breakpoints mirroring your JS slider ====== */

/* ~ Tablets / small laptops (JS: 4 slides) ? 3 cards per row */
@media (max-width: 1200px){
  .zs-tiles--saved{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Keep 3 per row across 992px and 900px just like JS 4/3 slides */
@media (max-width: 992px){
  .zs-tiles--saved{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Phones (JS: 3 ? 2 slides at 768/505/390) ? 2 cards per row */
@media (max-width: 768px){
  .zs-tiles--saved{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Still 2 per row on smaller phones (505, 390) */
@media (max-width: 505px){
  .zs-tiles--saved{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 390px){
  .zs-tiles--saved{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Add-to-collection stays visible as the matching left-side action */
.zs-tiles--saved .zs-col-add{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  pointer-events: auto;
  background: rgba(0, 0, 0, .78);
  color: #ffcc33;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .9);
}

/* main.css 14742-14749 */
.zs-shortsFeed{
  display:grid;
  gap:16px;
  justify-items: stretch;
  justify-content: flex-start;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.zs-shortsFeed--loading{
  opacity: .85;
}

/* main.css 17182-17794 */
@media (max-width: 640px){
  .zs-shortsFeed{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    justify-items: stretch;
  }
  .zs-shortsFeed .zs-shortCard{
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
  }
  #zsProfileOverlay .zs-shortsFeed .zs-shortCard__overlay,
  #zsProfileOverlay .zs-shortsFeed .zs-shortCard__actions,
  #zsProfileOverlay .zs-shortsFeed .zs-shortCard__controls,
  #zsProfileOverlay .zs-shortsFeed .zs-shortCard__user,
  #zsProfileOverlay .zs-shortsFeed .zs-shortCard__status,
  #zsProfileOverlay .zs-shortsFeed .zs-shortNote{
    display: none !important;
  }
  #zsProfileOverlay .zs-shortsFeed .zs-shortCard__views{
    display: inline-flex;
  }
}

@media (min-width: 641px){
  .zs-shortViewer__close .zs-shortViewer__icon--back{
    display: none !important;
  }
  .zs-shortViewer__close .zs-shortViewer__icon--close{
    display: inline-block !important;
  }
}

@media (min-width: 900px){
  .zs-shortCard--viewer .zs-shortCard__user{
    font-size: 12px;
    gap: 10px;
  }
  .zs-shortCard--viewer .zs-shortCard__user > img{
    width: 40px;
    height: 40px;
  }
  .zs-shortCard--viewer .zs-shortCard__actions{
    gap: 8px;
  }
}

@media (max-width: 640px){
  .zs-shortCard{
    width: 100%;
  }
  .zs-shortCard__actions{
    gap:8px;
  }
}

.zs-shortBoostBtn{
  position:absolute;
  top:12px;
  left:12px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.62);
  color:#ffd36a;
  box-shadow:0 12px 24px rgba(0,0,0,.32);
  backdrop-filter:blur(12px);
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.zs-shortBoostBtn:hover{
  transform:translateY(-1px);
  background:rgba(14,10,4,.88);
  border-color:rgba(255,205,106,.42);
}

.zs-shortBoostBtn.is-active{
  color:#120d03;
  border-color:transparent;
  background:linear-gradient(135deg,#ff8a43,#ffd166);
  box-shadow:0 14px 28px rgba(255,145,67,.3);
}

.zs-shortBoostBtn__icon{
  display:inline-flex;
  width:18px;
  height:18px;
}

.zs-shortBoostBtn__icon .zs-ic{
  width:18px;
  height:18px;
}

.zs-shortBoostBtn__label{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff7a59,#ffd166);
  color:#140b02;
  font-size:10px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
}

.zs-shortCard__metaBoost{
  display:flex;
  align-items:center;
  margin:10px 0 8px;
}

.zs-shortBoostBtn--inline{
  position:relative;
  top:auto;
  left:auto;
  z-index:1;
  justify-content:flex-start;
  width:auto;
  min-width:42px;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  gap:8px;
}

.zs-shortBoostBtn--inline .zs-shortBoostBtn__icon,
.zs-shortBoostBtn--inline .zs-shortBoostBtn__icon .zs-ic{
  width:16px;
  height:16px;
}

.zs-shortBoostBtn--inline .zs-shortBoostBtn__label{
  position:static;
  min-width:0;
  height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:12px;
  font-weight:800;
  line-height:1;
  color:inherit;
}

.zs-shortsHub .zs-shortBoostBtn__label{
  top:-6px;
  right:-6px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  font-size:9px;
}

.zs-badge--boost{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:6px;
  background:rgba(255,164,64,.16);
  border-color:rgba(255,192,110,.36);
  color:#ffd88b;
}

.zs-badge--boost.is-active{
  background:linear-gradient(135deg,rgba(255,138,67,.92),rgba(255,209,102,.92));
  border-color:transparent;
  color:#1a1205;
}

.zs-shortBoostDialog{
  gap:14px !important;
}

.zs-shortBoostDialog__status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.zs-shortBoostDialog__status.is-active{
  background:linear-gradient(135deg,rgba(255,138,67,.18),rgba(255,209,102,.14));
  border-color:rgba(255,209,102,.24);
}

.zs-shortBoostDialog__chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff8a43,#ffd166);
  color:#140b02;
  font-size:13px;
  font-weight:900;
}

.zs-shortBoostDialog__hint{
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.45;
  text-align:right;
}

.zs-shortBoostDialog__range{
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  gap:12px;
  align-items:center;
}

.zs-shortBoostDialog__slider{
  width:100%;
  accent-color:#ff9a4a;
}

.zs-shortBoostDialog__number{
  text-align:center;
  font-weight:800;
}

.zs-shortBoostDialog__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.5;
}

@media (max-width: 640px){
  .zs-shortBoostBtn:not(.zs-shortBoostBtn--inline){
    top:10px;
    left:10px;
    width:36px;
    height:36px;
    border-radius:13px;
  }

  .zs-shortBoostDialog__status,
  .zs-shortBoostDialog__meta,
  .zs-shortBoostDialog__range{
    grid-template-columns:1fr;
    display:grid;
  }

  .zs-shortBoostDialog__hint,
  .zs-shortBoostDialog__meta{
    text-align:left;
  }
}

.zs-shareSheet__actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) !important;
  gap:14px;
  min-width:0;
}

.zs-shareSheet__actionsTitle{
  color:rgba(255,255,255,.74);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin:0;
}

.zs-shareSheet__actionsGrid{
  display:grid;
  width:100%;
  grid-template-columns:repeat(auto-fit,minmax(156px,1fr));
  gap:14px;
  align-items:stretch;
}

.zs-shareAction{
  min-height:88px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  grid-template-areas:
    "icon label"
    "icon sub";
  align-items:start !important;
  align-content:center;
  justify-content:stretch !important;
  justify-items:start;
  gap:3px 12px;
  padding:14px 14px !important;
  text-align:left;
}

.zs-shareAction__icon{
  grid-area:icon;
  width:48px !important;
  height:48px !important;
  border-radius:16px;
  display:grid !important;
  place-items:center;
}

.zs-shareAction__label{
  grid-area:label;
  display:block;
  font-weight:800;
  font-size:16px;
  line-height:1.2;
  margin:0;
}

.zs-shareAction__sub{
  grid-area:sub;
  display:block;
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.3;
}

.zs-shareAction__emoji{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  font-size:18px;
  line-height:1;
}

.zs-shareAction--boost{
  border-color:rgba(255,173,79,.46) !important;
  background:
    radial-gradient(circle at top left, rgba(255,180,80,.26), transparent 46%),
    linear-gradient(180deg, rgba(28,14,5,.94), rgba(10,8,18,.98)) !important;
  box-shadow:0 14px 30px rgba(255,133,52,.16);
}

.zs-shareAction--boost .zs-shareAction__icon{
  color:#ffcc73;
}

.zs-shareAction--owner{
  border-color:rgba(255,111,97,.42) !important;
  background:
    radial-gradient(circle at top left, rgba(255,122,92,.22), transparent 42%),
    linear-gradient(180deg, rgba(20,11,6,.96), rgba(11,8,15,.98)) !important;
}

.zs-shareAction--owner .zs-shareAction__icon{
  color:#ffb14a;
}

.zs-shareSheet{
  align-items:center;
}

.zs-shareSheet__panel{
  width:min(100%, 1040px);
  max-height:min(82vh, 760px);
  align-self:center;
  display:grid;
  gap:14px;
  padding:16px 18px 14px;
  overflow:auto;
}

.zs-shareSheet__header,
.zs-shareSheet__friends{
  margin:0;
}

.zs-shareSheet__title{
  color:#fff;
  font-size:22px;
  font-weight:900;
  line-height:1.1;
}

.zs-shareSheet__rowTitle{
  color:rgba(255,255,255,.84);
  font-size:15px;
  font-weight:800;
  line-height:1.3;
}

.zs-shareSheet__friendsEmpty{
  color:rgba(255,255,255,.72);
  font-size:14px;
  line-height:1.55;
}

.zs-shareSheet__friends{
  display:grid;
  gap:12px;
}

.zs-shareSheet__friendsRow{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(92px, 110px);
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
}

.zs-boostComposer{
  width:min(720px, calc(100vw - 24px));
  max-height:min(88vh, 820px);
  display:flex;
  flex-direction:column;
  gap:18px !important;
  padding:0 !important;
  overflow:auto;
  overscroll-behavior:contain;
  scroll-padding-bottom:24px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
  border-radius:26px !important;
  border:1px solid rgba(255,186,116,.16) !important;
  background:
    radial-gradient(circle at top right, rgba(255,138,67,.22), transparent 34%),
    radial-gradient(circle at top left, rgba(83,229,204,.12), transparent 32%),
    linear-gradient(180deg, rgba(10,10,18,.98), rgba(6,8,15,.98)) !important;
  box-shadow:0 26px 70px rgba(0,0,0,.55);
}

.zs-boostComposer__hero{
  padding:24px 24px 0;
  display:grid;
  gap:10px;
}

.zs-boostComposer__eyebrow{
  color:#ffb35f;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.zs-boostComposer__title{
  color:#fff;
  font-size:30px;
  font-weight:900;
  line-height:1.08;
}

.zs-boostComposer__copy{
  color:rgba(255,255,255,.76);
  font-size:14px;
  line-height:1.7;
}

.zs-boostComposer__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:flex-start;
}

.zs-boostComposer__metaChip{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:34px;
  padding:6px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.05);
  color:#eaf4ff;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  overflow:hidden;
  overflow-wrap:anywhere;
}

.zs-boostComposer__metaChip--title{
  display:block;
  flex:1 1 100%;
  width:100%;
  max-height:88px;
  padding:10px 12px;
  border-radius:16px;
  white-space:normal;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
  word-break:break-word;
}

.zs-boostComposer::-webkit-scrollbar,
.zs-boostComposer__metaChip--title::-webkit-scrollbar,
.zs-boostComposer__body::-webkit-scrollbar{
  width:8px;
  height:8px;
}

.zs-boostComposer::-webkit-scrollbar-track,
.zs-boostComposer__metaChip--title::-webkit-scrollbar-track,
.zs-boostComposer__body::-webkit-scrollbar-track{
  background:transparent;
}

.zs-boostComposer::-webkit-scrollbar-thumb,
.zs-boostComposer__metaChip--title::-webkit-scrollbar-thumb,
.zs-boostComposer__body::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:2px solid transparent;
  background-clip:padding-box;
}

.zs-boostComposer::-webkit-scrollbar-thumb:hover,
.zs-boostComposer__metaChip--title::-webkit-scrollbar-thumb:hover,
.zs-boostComposer__body::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.28);
  border:2px solid transparent;
  background-clip:padding-box;
}

.zs-boostComposer__metaChip.is-live{
  border-color:rgba(255,170,79,.4);
  background:rgba(255,170,79,.12);
  color:#ffd799;
}

.zs-boostComposer__body{
  padding:0 24px 6px;
  display:grid;
  gap:18px;
  overflow:visible;
}

@media (min-width: 769px){
  .zs-boostComposer{
    max-height:min(92vh, 920px);
  }

  .zs-boostComposer__body{
    padding-bottom:24px;
  }

  .zs-boostComposer__actions{
    display:grid;
    grid-template-columns:max-content minmax(0, 1fr);
    align-items:center;
    justify-content:stretch;
    column-gap:14px;
    row-gap:14px;
    box-sizing:border-box;
    width:100%;
    margin:24px 0 0;
    padding:0;
    border-top:0;
    background:transparent;
    backdrop-filter:none;
    box-shadow:none;
  }

  .zs-boostComposer__actions [data-boost-compose-close],
  .zs-boostComposer__actions [data-boost-pay]{
    min-height:52px;
    border-radius:16px;
    padding:0 24px;
    font-size:16px !important;
    font-weight:800;
    white-space:nowrap;
  }

  .zs-boostComposer__actions [data-boost-compose-close]{
    min-width:136px;
    width:auto;
    justify-self:end;
  }

  .zs-boostComposer__actions [data-boost-pay]{
    min-width:0;
    width:100%;
  }

  .zs-boostComposer__ownerBtn{
    grid-column:1 / -1;
    width:100%;
    margin-right:0;
    justify-content:flex-start;
  }
}

/* Legacy movie cards: keep controls clickable once the hover panel is visible. */
.smallTitleCard .boxart-size-16x9:hover .team-info,
.smallTitleCard .boxart-size-16x9:active .team-info,
.smallTitleCard .boxart-size-16x9:focus-within .team-info{
  pointer-events:auto;
  z-index:8;
}

.smallTitleCard .boxart-size-16x9:hover .team-info a,
.smallTitleCard .boxart-size-16x9:hover .team-info button,
.smallTitleCard .boxart-size-16x9:hover .team-info .thumb-up,
.smallTitleCard .boxart-size-16x9:hover .team-info .Save-Movie,
.smallTitleCard .boxart-size-16x9:active .team-info a,
.smallTitleCard .boxart-size-16x9:active .team-info button,
.smallTitleCard .boxart-size-16x9:active .team-info .thumb-up,
.smallTitleCard .boxart-size-16x9:active .team-info .Save-Movie,
.smallTitleCard .boxart-size-16x9:focus-within .team-info a,
.smallTitleCard .boxart-size-16x9:focus-within .team-info button,
.smallTitleCard .boxart-size-16x9:focus-within .team-info .thumb-up,
.smallTitleCard .boxart-size-16x9:focus-within .team-info .Save-Movie{
  pointer-events:auto;
}

.zs-boostComposer__field{
  display:grid;
  gap:12px;
}

.zs-boostComposer__labelRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.zs-boostComposer__liveLevel{
  color:#ffcf83;
  font-size:14px;
  font-weight:800;
}

.zs-boostComposer__slider{
  width:100%;
  accent-color:#ff9f54;
}

.zs-boostComposer__meter{
  position:relative;
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}

.zs-boostComposer__meterFill{
  display:block;
  height:100%;
  width:0;
  border-radius:inherit;
  background:linear-gradient(90deg,#53e5cc,#ffb85f,#ff7d59);
  box-shadow:0 0 24px rgba(255,141,79,.35);
  transition:width .2s ease;
}

.zs-boostComposer__scale{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:8px;
  color:rgba(255,255,255,.52);
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.zs-boostComposer__categories{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}

.zs-boostComposer__cat{
  display:grid;
  gap:4px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#eef5ff;
  text-align:left;
  transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.zs-boostComposer__cat:hover{
  transform:translateY(-1px);
  border-color:rgba(255,188,102,.38);
  box-shadow:0 14px 26px rgba(0,0,0,.2);
}

.zs-boostComposer__cat.is-active{
  border-color:rgba(255,188,102,.55);
  background:
    radial-gradient(circle at top left, rgba(255,179,83,.18), transparent 48%),
    rgba(255,255,255,.07);
  box-shadow:0 16px 30px rgba(255,151,68,.14);
}

.zs-boostComposer__cat.is-disabled{
  opacity:.48;
  filter:saturate(.7);
  cursor:not-allowed;
}

.zs-boostComposer__catLabel{
  font-size:14px;
  font-weight:800;
}

.zs-boostComposer__catMeta{
  color:rgba(255,255,255,.58);
  font-size:11px;
  line-height:1.35;
}

.zs-boostComposer__hint{
  color:rgba(255,255,255,.66);
  font-size:13px;
  line-height:1.6;
}

.zs-boostComposer__summary{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.zs-boostComposer__summaryCard{
  display:grid;
  gap:6px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.zs-boostComposer__summaryCard span{
  color:rgba(255,255,255,.62);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.zs-boostComposer__summaryCard strong{
  color:#fff;
  font-size:18px;
  font-weight:900;
  line-height:1.25;
}

.zs-boostComposer__liveNote{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(83,229,204,.16);
  background:rgba(83,229,204,.08);
  color:rgba(236,252,248,.82);
  font-size:13px;
  line-height:1.65;
}

.zs-boostComposer__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  width:100%;
  box-sizing:border-box;
  padding:0 17px 24px;
  margin-top:24px;
  flex-wrap:nowrap;
}

.zs-boostComposer__ownerBtn{
  margin-right:auto;
}

@media (min-width: 769px){
  .zs-boostComposer__actions{
    display:grid;
    grid-template-columns:minmax(0, .72fr) minmax(0, 1.28fr);
    align-items:stretch;
    justify-content:stretch;
    gap:12px;
    width:100%;
    margin-top:28px;
    padding:0;
  }

  .zs-boostComposer__actions--owner{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }

  .zs-boostComposer__actions .zs-btnGhost,
  .zs-boostComposer__actions .zs-btnPrimary{
    width:100%;
    min-width:0;
    min-height:46px;
    padding:10px 14px;
    border-radius:15px;
    font-size:14px !important;
    line-height:1.15;
    font-weight:800;
    text-align:center;
    justify-content:center;
    white-space:nowrap;
    overflow:hidden;
  }

  .zs-boostComposer__actions .zs-btnPrimary{
    font-size:14px !important;
    padding-inline:16px;
  }

  .zs-boostComposer__actions--owner .zs-btnGhost,
  .zs-boostComposer__actions--owner .zs-btnPrimary{
    min-height:42px;
    padding:8px 10px;
    font-size:12px !important;
    letter-spacing:-0.015em;
  }

  .zs-boostComposer__actions--owner .zs-btnPrimary{
    font-size:13px !important;
    padding-inline:12px;
  }

  .zs-boostComposer__actions--owner .zs-boostComposer__ownerBtn{
    grid-column:auto !important;
    white-space:nowrap;
    line-height:1.15;
    gap:6px;
    padding-inline:9px;
    justify-content:center;
  }

  .zs-boostComposer__actions--owner [data-boost-pay]{
    grid-column:1 / -1;
  }

  .zs-boostComposer__ownerBtn{
    margin-right:0;
  }
}

@media (max-width: 640px){
  .zs-shareSheet__panel{
    width:100%;
    max-height:84vh;
    gap:12px;
    padding:14px 14px 12px;
  }

  .zs-shareSheet__friendsRow{
    grid-auto-columns:minmax(86px, 96px);
    gap:10px;
  }

  .zs-shareSheet__actionsGrid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }

  .zs-shareAction{
    min-height:78px;
    grid-template-columns:42px minmax(0,1fr);
    gap:2px 10px;
    padding:12px 12px !important;
  }

  .zs-shareAction__icon{
    width:42px !important;
    height:42px !important;
    border-radius:14px;
  }

  .zs-shareAction__label{
    font-size:15px;
  }

  .zs-shareAction__sub{
    font-size:12px;
  }

  .zs-shareSheet__title{
    font-size:20px;
  }

  .zs-shareSheet__rowTitle{
    font-size:14px;
  }

  .zs-shareSheet__friendsEmpty{
    font-size:13px;
  }

  .zs-boostComposer{
    width:calc(100vw - 12px);
    max-height:92vh;
    border-radius:22px !important;
  }

  .zs-boostComposer__hero{
    padding:20px 18px 0;
  }

  .zs-boostComposer__title{
    font-size:24px;
  }

  .zs-boostComposer__body{
    padding:0 18px 4px;
  }

  .zs-boostComposer__labelRow{
    display:grid;
    gap:6px;
  }

  .zs-boostComposer__categories,
  .zs-boostComposer__summary{
    grid-template-columns:1fr;
  }

  .zs-boostComposer__scale{
    grid-template-columns:repeat(3, minmax(0,1fr));
    row-gap:6px;
  }

  .zs-boostComposer__actions{
    flex-wrap:wrap;
    padding:0 18px 18px;
  }

  .zs-boostComposer__ownerBtn{
    width:100%;
    margin-right:0;
  }
}

/* ===== FILM WIZARD REFINEMENTS ===== */
#zsFilmModal .zs-filmStep{
  gap:22px;
}
#zsFilmModal .zs-filmSection{
  padding:18px;
}
#zsFilmModal .zs-filmSection + .zs-filmSection{
  margin-top:18px;
}

/* ===== ZION SHORTS HUB (Global feed overlay) ===== */
.zs-shortsHub{
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}
.zs-shortsHub.is-open{
  display: block;
}
.zs-shortsHub__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(10px);
}
.zs-shortsHub__panel{
  position: relative;
  margin: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  border-radius: 0;
  border: 0;
  background: #000000;
  box-shadow: none;
  overflow: hidden;
}
.zs-shortsHub__header{
  grid-column: 1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: #000000;
}
.zs-shortsHub__brand{
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #fff;
}
.zs-shortsHub__tag{
  display:block;
  font-size: 13px;
  color: rgba(255,255,255,.66);
  margin-top: 5px;
}
.zs-shortsHub__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}
.zs-shortsHub__filterToggle{
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.zs-shortsHub__modes{
  grid-column: 1 / -1;
  display:flex;
  gap:10px;
  padding: 12px 26px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.zs-shortsHub__mode{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,14,17,.8);
  color: #c9d1d9;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 14px;
  cursor: pointer;
  transition: transform .15s ease, border .2s ease, color .2s ease;
}
.zs-shortsHub__mode.is-active{
  color: #0a0a0a;
  border-color: transparent;
  background: var(--zs-accent-grad, linear-gradient(120deg,#ff7a59,#ffd166));
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.zs-shortsHub__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.zs-shortsHub__closeIcon{
  line-height: 1;
}
.zs-shortsHub__closeIcon--back{
  display: none;
}
.zs-shortsHub__close .zs-shortsHub__closeIcon--close{
  display: inline-block !important;
  font-size: 22px;
}
.zs-shortsHub__close .zs-shortsHub__closeIcon--back{
  display: none !important;
}
.zs-shortsHub__filters{
  grid-column: 1 / 2;
  grid-row: 3;
  display:flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 14px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: #000000;
  overflow: auto;
}
.zs-shortsHub__chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,14,17,.8);
  color: #c9d1d9;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform .15s ease, border .2s ease, color .2s ease, background .2s ease;
}
.zs-shortsHub__chip i{
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  flex: 0 0 18px;
}
.zs-shortsHub__chip.is-active{
  color: #0a0a0a;
  border-color: transparent;
  background: var(--zs-accent-grad, linear-gradient(120deg,#ff7a59,#ffd166));
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.zs-shortsHub__body{
  grid-column: 2 / 3;
  grid-row: 3;
  overflow: auto;
  padding: 16px 24px 24px;
  min-height: 0;
}
.zs-shortsHub__body::-webkit-scrollbar,
.zs-shortsHub__filters::-webkit-scrollbar{
  width: 0;
  height: 0;
}
.zs-shortsHub__body,
.zs-shortsHub__filters,
.zs-shortsHub__modes{
  scrollbar-width: none;
}
.zs-shortsHub__postsFeed{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: min(860px, 100%);
  margin: 0 auto;
}
.zs-shortsHub__feed .zs-shortsFeed{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.zs-shortsHub__empty{
  color: rgba(255,255,255,.7);
  padding: 40px;
  text-align: center;
}

@media (min-width: 701px){
  .zs-shortsHub__feed .zs-shortCard__meta{
    position: absolute;
    left: 0px;
    right: 40px;
    width: auto;
    bottom: 36px;
    max-width: none;
    z-index: 3;
  }
}

@media (max-width: 700px){
  .zs-shortCard__overlay .zs-shortCard__actions{
    right: 0px;
    bottom: clamp(88px, 24%, 152px);
    gap: 14px;
  }
  .zs-shortCard__overlay .zs-shortAction{
    width: 58px;
    height: 58px;
    font-size: 15px;
  }
  .zs-shortCard__overlay .zs-shortAction i{
    font-size: 24px;
  }
  .zs-shortCard__overlay .zs-shortAction .zs-ic{
    width: 24px;
    height: 24px;
  }
  .zs-shortCard__overlay .zs-shortAction--engage{
    width: 64px;
    height: auto;
    padding: 10px 0;
    padding-left: 40px;
    gap: 6px;
  }
  .zs-shortCard__overlay .zs-shortAction--engage .zs-shortAction__icon{
    width: 24px;
    height: 24px;
  }
  .zs-shortCard__overlay .zs-shortAction--engage .zs-shortAction__count{
    font-size: 13px;
  }

  .zs-shortsHub__panel{
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
    grid-template-columns: none;
    grid-template-rows: none;
    background: #000000;
    position: relative;
  }
  .zs-shortsHub__header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    min-height: 56px;
    padding: calc(env(safe-area-inset-top) + 8px) 10px 8px;
    border-bottom: 0;
    background: transparent;
    pointer-events: none;
  }
  .zs-shortsHub__title,
  .zs-shortsHub__upload{
    display: none !important;
  }
  .zs-shortsHub__actions{
    position: relative;
    width: 100%;
    height: 32px;
    pointer-events: none;
  }
  .zs-shortsHub__filterToggle{
    display: inline-flex;
    border: 0;
    border-radius: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    box-shadow: none;
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 0;
    pointer-events: auto;
  }
  .zs-shortsHub__close{
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: auto;
  }
  .zs-shortsHub__close .zs-shortsHub__closeIcon--close{
    display: none !important;
  }
  .zs-shortsHub__close .zs-shortsHub__closeIcon--back{
    display: inline-block !important;
    font-size: 20px;
  }
  .zs-shortsHub__modes{
    position: absolute;
    top: calc(env(safe-area-inset-top) + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(8px);
    overflow-x: auto;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    min-height: 0;
    align-items: center;
    gap: 6px;
  }
  .zs-shortsHub__filters{
    position: absolute;
    top: calc(env(safe-area-inset-top) + 52px);
    right: 10px;
    left: auto;
    z-index: 7;
    padding: 10px;
    border-right: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(8px);
    flex-direction: column;
    overflow: auto;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    min-height: 0;
    align-items: stretch;
    gap: 6px;
    max-width: min(72vw, 260px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
  }
  .zs-shortsHub.is-filters-open .zs-shortsHub__filters{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .zs-shortsHub__mode,
  .zs-shortsHub__chip{
    white-space: nowrap;
    width: auto;
    border-radius: 999px;
    font-size: 12px;
    padding: 8px 12px;
    gap: 8px;
    line-height: 1;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.82);
  }
  .zs-shortsHub__mode{
    background: transparent;
  }
  .zs-shortsHub__mode.is-active{
    color: #ffffff;
    border-color: rgba(255,255,255,.9);
    background: transparent;
    box-shadow: none;
  }
  .zs-shortsHub__chip{
    backdrop-filter: blur(8px);
  }
  .zs-shortsHub__chip i{
    font-size: 12px;
    width: 14px;
    flex-basis: 14px;
  }
  .zs-shortsHub__body{
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 100%;
    padding: 0;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
    overscroll-behavior-y: contain;
    background: #000000;
  }
  .zs-shortsHub__feed .zs-shortsFeed{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .zs-shortsHub__feed .zs-shortCard{
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .zs-shortsHub__feed .zs-shortBoostBtn:not(.zs-shortBoostBtn--inline){
    top: calc(env(safe-area-inset-top) + 18px);
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    z-index: 6;
  }
  .zs-shortsHub__feed .zs-shortBoostBtn:not(.zs-shortBoostBtn--inline) .zs-shortBoostBtn__label{
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
  }
  .zs-shortsHub__feed .zs-shortCard__overlay{
    padding-top: calc(env(safe-area-inset-top) + 108px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 78px);
  }
  .zs-shortsHub__feed .zs-shortCard__meta{
    position: absolute;
    left: 12px;
    right: 72px;
    width: min(calc(100% - 84px), 80vw);
    max-width: 320px;
    bottom: 38px;
    min-width: 0;
    z-index: 3;
  }
  .zs-shortsHub__feed .zs-shortCard__metaBoost{
    margin: 8px 0 10px;
  }
  .zs-shortsHub__feed .zs-shortBoostBtn--inline{
    min-width: 44px;
    height: 30px;
    padding: 0 11px;
  }
  .zs-shortsHub__feed .zs-shortBoostBtn--inline .zs-shortBoostBtn__label{
    font-size: 11px;
  }
  .zs-shortsHub__feed .zs-shortCard__actions{
    right: 0px;
    bottom: clamp(88px, 24%, 152px);
    gap: 14px;
  }
  .zs-shortsHub__feed .zs-shortCard .zs-shortAction{
    width: 58px;
    height: 58px;
    font-size: 15px;
  }
  .zs-shortsHub__feed .zs-shortCard .zs-shortAction i{
    font-size: 24px;
  }
  .zs-shortsHub__feed .zs-shortCard .zs-shortAction .zs-ic{
    width: 24px;
    height: 24px;
  }
  .zs-shortsHub__feed .zs-shortCard .zs-shortAction--engage{
    width: 64px;
    height: auto;
    padding: 10px 0;
    padding-left: 25px;
    gap: 6px;
  }
  .zs-shortsHub__feed .zs-shortCard .zs-shortAction--engage .zs-shortAction__icon{
    width: 24px;
    height: 24px;
  }
  .zs-shortsHub__feed .zs-shortCard .zs-shortAction--engage .zs-shortAction__count{
    font-size: 13px;
  }
  .zs-shortsHub.is-mode-posts .zs-shortsHub__body{
    padding-top: calc(env(safe-area-inset-top) + 102px);
    overflow-x: hidden;
    scroll-snap-type: none;
  }
  .zs-shortsHub__postsFeed{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 0 12px 18px;
  }
  .zs-shortsHub__postsFeed > *{
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .zs-shortsHub__postsFeed .zs-postCard,
  .zs-shortsHub__postsFeed .zs-postCard--wide{
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
#zsFilmModal .zs-field{
  margin:0;
}
#zsFilmModal .zs-field input,
#zsFilmModal .zs-field select,
#zsFilmModal .zs-field textarea{
  width:100%;
  box-sizing:border-box;
  min-height:50px;
  background: linear-gradient(180deg, rgba(8,18,22,.7), rgba(4,10,14,.8));
  border:1px solid rgba(255,255,255,.12);
  color:#e8f7f4;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 18px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#zsFilmModal .zs-field input:focus,
#zsFilmModal .zs-field select:focus,
#zsFilmModal .zs-field textarea:focus{
  border-color: rgba(125,245,232,.55);
  box-shadow:
    0 0 0 1px rgba(125,245,232,.3),
    0 16px 28px rgba(0,0,0,.35);
  transform: translateY(-1px);
}
#zsFilmModal .zs-field textarea{
  min-height:140px;
}
#zsFilmModal .grid-2{
  gap:16px;
  align-items:stretch;
}
#zsFilmModal .zs-filmActions{
  gap:12px;
  flex-wrap:wrap;
}
#zsFilmModal .zs-filmActions__right{
  margin-left:auto;
  justify-content:flex-end;
}
#zsFilmModal .zs-filmActions__right .zs-btn{
  min-width:140px;
}
#zsFilmModal .zs-btn{
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(92,255,235,.25), rgba(83,160,255,.22));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 12px 24px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#zsFilmModal .zs-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(125,245,232,.4);
  box-shadow: 0 16px 30px rgba(0,0,0,.4);
}

@media (max-width: 720px){
  #zsFilmModal .zs-filmActions{
    flex-direction:column;
    align-items:stretch;
  }
  #zsFilmModal .zs-filmActions__left,
  #zsFilmModal .zs-filmActions__right{
    width:100%;
    justify-content:space-between;
  }
  #zsFilmModal .zs-filmActions__right .zs-btn{
    flex:1;
  }
}

/* About page dashboard parity guard.
   Keep the shared index dashboard styles in control inside the profile overlay,
   even if About page CSS adds broader page-level rules. */
#zsProfileOverlay,
#zsProfileOverlay *{
  box-sizing:border-box;
}

#zsProfileOverlay .zs-prof,
#zsProfileOverlay .zs-prof *{
  font-family:inherit;
}

#zsProfileOverlay .zs-prof a,
#zsProfileOverlay .zs-prof button,
#zsProfileOverlay .zs-prof input,
#zsProfileOverlay .zs-prof select,
#zsProfileOverlay .zs-prof textarea{
  font:inherit;
}

#zsProfileOverlay .zs-prof a{
  color:inherit;
  text-decoration:none;
}

#zsProfileOverlay .zs-prof button{
  -webkit-appearance:none;
  appearance:none;
}

#zsProfileOverlay .zs-prof img{
  max-width:100%;
}

#zsProfileOverlay #zsProfTabs{
  cursor:default;
}

#zsProfileOverlay #zsProfTabs .zs-tab2,
#zsProfileOverlay .zs-side__link,
#zsProfileOverlay .zs-btn,
#zsProfileOverlay .zs-savedToggle__btn{
  cursor:pointer;
}

#zsProfileOverlay .zs-panel{
  display:none;
}

#zsProfileOverlay .zs-panel.zs-panel--active{
  display:block;
}

/* About page: force exact shared-shell parity for the search form,
   shared tabs, dashboard bar/header main pane, and guest empty state. */
#zsSearchForm.zs-search__bar{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  gap:10px !important;
  max-width:1000px !important;
  margin:0 auto 18px !important;
}

#zsSearchForm.zs-search__bar input{
  background:#0e0e10 !important;
  color:#fff !important;
  border:1px solid #242424 !important;
  border-radius:12px !important;
  padding:14px 16px !important;
  font-size:16px !important;
  min-width:0 !important;
}

#zsSearchForm.zs-search__bar .zs-btn{
  border-radius:12px !important;
  padding:0 16px !important;
  height:48px !important;
}

/* Match index search tab container exactly */
.zs-search #zsSearchTabs{
  display:flex !important;
  flex-wrap:wrap !important;
  overflow:hidden !important;
  justify-content:center !important;
  gap:10px !important;
  max-width:1000px !important;
  margin:4px auto 18px !important;
  padding:10px 20px 10px 20px !important;
}

.zs-search #zsSearchTabs .zs-tab2{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  position:relative !important;
  background:rgba(3,10,16,.85) !important;
  border:1px solid rgba(148,163,184,.35) !important;
  border-radius:999px !important;
  padding:8px 14px !important;
  font-size:13px !important;
  font-weight:700 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  color:var(--zs-text-dim) !important;
  cursor:pointer !important;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

.zs-search #zsSearchTabs .zs-tab2 .zs-tab2__icon{
  font-size:13px !important;
  width:14px !important;
  text-align:center !important;
}

.zs-search #zsSearchTabs .zs-tab2 .zs-tab2__label{
  line-height:1 !important;
}

.zs-search #zsSearchTabs .zs-tab2:hover{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(148,163,184,.7) !important;
  color:var(--zs-text) !important;
  transform:translateY(-1px) !important;
  box-shadow:0 10px 26px rgba(0, 0, 0, 0) !important;
}

.zs-search #zsSearchTabs .zs-tab2[aria-selected="true"]{
  background:var(--zs-accent-grad) !important;
  color:#050b10 !important;
  border-color:transparent !important;
  box-shadow:0 14px 34px rgba(0, 0, 0, 0) !important;
}

.zs-search #zsSearchTabs .zs-tab2[aria-selected="true"]:hover{
  background:var(--zs-accent-grad-rev) !important;
}

.zs-search #zsSearchTabs .zs-tab2[aria-selected="true"]::after{
  content:'' !important;
  position:absolute !important;
  left:50% !important;
  bottom:-5px !important;
  transform:translateX(-50%) !important;
  width:42% !important;
  height:2px !important;
  border-radius:999px !important;
}

/* Match index profile dashboard top bar and header exactly */
#zsProfileOverlay .zs-prof__bar{
  display:flex !important;
  justify-content:flex-end !important;
  padding:6px 10px 4px !important;
  position:sticky !important;
  top:0 !important;
  z-index:10 !important;
  background:linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.15)) !important;
  backdrop-filter:blur(10px) !important;
}

#zsProfileOverlay .zs-prof__hdr{
  display:grid !important;
  grid-template-columns:auto minmax(0, 1fr) auto !important;
  align-items:center !important;
  column-gap:20px !important;
}

/* Match index profile tabs exactly */
#zsProfileOverlay #zsProfTabs{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:12px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  padding:10px 20px 8px !important;
  border-bottom:1px solid rgb(255 255 255 / 0%) !important;
  margin-bottom:8px !important;
  justify-content:flex-start !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
  -webkit-overflow-scrolling:touch !important;
  scroll-snap-type:x proximity !important;
}
#zsProfileOverlay #zsProfTabs::-webkit-scrollbar{
  display:none !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  position:relative !important;
  background:rgba(3,10,16,.85) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:999px !important;
  padding:7px 12px !important;
  font-size:12px !important;
  font-weight:700 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  color:var(--zs-text-dim) !important;
  cursor:pointer !important;
  flex:0 0 auto !important;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2:hover{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:var(--zs-text) !important;
  transform:translateY(-1px) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.55) !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2[aria-selected="true"]{
  background:var(--zs-accent-grad) !important;
  color:#111 !important;
  border-color:transparent !important;
  box-shadow:0 12px 30px rgba(0,0,0,.75) !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2[aria-selected="true"]:hover{
  background:var(--zs-accent-grad-rev) !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2[aria-selected="true"]::after{
  content:'' !important;
  position:absolute !important;
  left:50% !important;
  bottom:-5px !important;
  transform:translateX(-50%) !important;
  width:40% !important;
  height:2px !important;
  border-radius:999px !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2 .zs-tab2__icon{
  font-size:13px !important;
  width:14px !important;
  text-align:center !important;
}

#zsProfileOverlay #zsProfTabs .zs-tab2 .zs-tab2__label{
  line-height:1 !important;
}

#zsProfileOverlay .zs-prof__main{
  min-width:0 !important;
  max-height:100vh !important;
  background:#000000 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  padding-bottom:24px !important;
}

@media (max-width: 900px){
  #zsProfileOverlay .zs-prof__hdr{
    grid-template-columns:minmax(0, 1fr) !important;
    row-gap:10px !important;
    padding:16px 16px !important;
  }

  #zsProfileOverlay .zs-hdr-left,
  #zsProfileOverlay .zs-hdr-mid,
  #zsProfileOverlay .zs-hdr-right{
    width:100% !important;
  }

  #zsProfileOverlay .zs-hdr-left{
    display:flex !important;
    justify-content:center !important;
    margin-bottom:4px !important;
  }

  #zsProfileOverlay .zs-hdr-mid{
    text-align:center !important;
  }

  #zsProfileOverlay .zs-hdr-right{
    flex-direction:row !important;
    justify-content:center !important;
    align-items:center !important;
    gap:10px !important;
    margin-top:4px !important;
  }
}

@media (max-width: 640px){
  .zs-search #zsSearchTabs{
    max-width:100% !important;
    width:100% !important;
    padding-inline-start:12px !important;
    padding-inline-end:max(22px, calc(env(safe-area-inset-right, 0px) + 14px)) !important;
    scroll-padding-inline-start:12px !important;
    scroll-padding-inline-end:max(22px, calc(env(safe-area-inset-right, 0px) + 14px)) !important;
    gap:8px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    -webkit-overflow-scrolling:touch !important;
    white-space:nowrap !important;
    scrollbar-width:none !important;
    box-sizing:border-box !important;
  }

  .zs-search #zsSearchTabs::-webkit-scrollbar{
    display:none !important;
  }

  .zs-search #zsSearchTabs::after{
    content:'' !important;
    flex:0 0 max(12px, calc(env(safe-area-inset-right, 0px) + 8px)) !important;
  }

  .zs-search #zsSearchTabs .zs-tab2{
    flex:0 0 auto !important;
    font-size:12px !important;
    padding:7px 12px !important;
  }

  .zs-search #zsSearchTabs .zs-tab2 .zs-tab2__icon{
    font-size:12px !important;
  }

  #zsProfileOverlay .zs-prof__hdr{
    padding:14px 14px !important;
    row-gap:12px !important;
  }

  #zsProfileOverlay .zs-hdr-left{
    justify-content:center !important;
    margin-bottom:6px !important;
  }

  #zsProfileOverlay .zs-hdr-mid{
    text-align:center !important;
  }

  #zsProfileOverlay .zs-kpis{
    justify-content:center !important;
  }

  #zsProfileOverlay .zs-hdr-right{
    justify-content:center !important;
    gap:8px !important;
    margin-top:8px !important;
  }

  #zsProfileOverlay .zs-btn{
    min-height:34px !important;
    padding-inline:16px !important;
  }

  #zsProfileOverlay .zs-ava{
    width:76px !important;
    height:76px !important;
  }

  #zsProfileOverlay #zsProfTabs{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    white-space:nowrap !important;
    padding-inline:0 !important;
    gap:8px !important;
    margin-bottom:8px !important;
  }

  #zsProfileOverlay #zsProfTabs::-webkit-scrollbar{
    display:none !important;
  }

  #zsProfileOverlay #zsProfTabs .zs-tab2{
    flex:0 0 auto !important;
  }
}

#zsProfileOverlay #zsGuestState.zs-empty-state{
  max-width:640px !important;
  margin:24px auto 0 !important;
  padding:24px 24px 20px !important;
  border-radius:18px !important;
  text-align:center !important;
  background:
    radial-gradient(circle at top, rgba(25,187,160,.20), transparent 55%),
    linear-gradient(145deg, rgba(8,18,25,.98), rgba(6,14,20,.98)) !important;
  border:1px solid rgba(134,255,231,.28) !important;
  box-shadow:0 20px 55px rgba(0,0,0,.78) !important;
}

#zsProfileOverlay #zsGuestState.zs-empty-state h3{
  margin:0 0 8px !important;
  font-size:22px !important;
}

#zsProfileOverlay #zsGuestState.zs-empty-state p{
  margin:0 0 16px !important;
  font-size:15px !important;
  color:var(--zs-text-dim) !important;
}

#zsProfileOverlay #zsGuestState .zs-empty-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  gap:10px !important;
}

/* Shared dashboard button parity:
   keep the mounted dashboard actions consistent across pages. */
#zsProfileOverlay .zs-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-height:36px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:none !important;
  font-size:14px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  background:rgba(255,255,255,.04) !important;
  color:var(--zs-text) !important;
  transition:
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

#zsProfileOverlay .zs-btn[hidden]{
  display:none !important;
}

#zsProfileOverlay .zs-btn:hover{
  background:rgba(255,255,255,.08) !important;
  transform:translateY(-1px) !important;
  box-shadow:0 14px 32px rgba(0,0,0,.65) !important;
}

#zsProfileOverlay .zs-btn:disabled{
  opacity:.55 !important;
  cursor:default !important;
  transform:none !important;
  box-shadow:none !important;
}

#zsProfileOverlay .zs-btn--primary{
  background:var(--zs-accent-grad) !important;
  color:#111 !important;
}

#zsProfileOverlay .zs-btn--primary:hover{
  background:var(--zs-accent-grad-rev) !important;
}

#zsProfileOverlay .zs-btn--outline{
  background:transparent !important;
  border:1px solid rgba(255,255,255,.45) !important;
}

#zsProfileOverlay .zs-btn--ghost{
  background:rgba(3,10,16,.8) !important;
  border:1px solid rgba(255,255,255,.18) !important;
}

#zsProfileOverlay{
  --zs-dash-action-bg: rgba(0,0,0,.78);
  --zs-dash-action-bg-hover: rgba(0,0,0,.95);
  --zs-dash-action-border: rgba(255,255,255,.16);
  --zs-dash-action-color: #ffcc33;
  --zs-dash-action-color-hover: #ffe08a;
  --zs-dash-action-shadow: 0 8px 18px rgba(0,0,0,.9);
}

#zsProfileOverlay .zs-filmStatusBtn,
#zsProfileOverlay .zs-tile__btn,
#zsProfileOverlay .zs-shortSaveBadge{
  border:1px solid var(--zs-dash-action-border) !important;
  background:var(--zs-dash-action-bg) !important;
  color:var(--zs-dash-action-color) !important;
  box-shadow:var(--zs-dash-action-shadow) !important;
  backdrop-filter:blur(10px) !important;
}

#zsProfileOverlay .zs-filmStatusBtn{
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:32px !important;
  height:32px !important;
  border-radius:999px !important;
  cursor:pointer !important;
  z-index:6 !important;
}

#zsProfileOverlay .zs-filmDraftDelete{
  right:56px !important;
}

#zsProfileOverlay .zs-tile__btn{
  width:40px !important;
  height:40px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
}

#zsProfileOverlay .zs-col-actions{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-shrink:0 !important;
}

#zsProfileOverlay .zs-filmStatusBtn:hover,
#zsProfileOverlay .zs-tile__btn:hover,
#zsProfileOverlay .zs-shortSaveBadge:hover,
#zsProfileOverlay .zs-tiles--subs .zs-filmSubTile__badge:hover{
  background:var(--zs-dash-action-bg-hover) !important;
  color:var(--zs-dash-action-color-hover) !important;
  border-color:rgba(255,255,255,.24) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.92) !important;
}

#zsProfileOverlay .zs-filmStatusBtn:active,
#zsProfileOverlay .zs-tile__btn:active,
#zsProfileOverlay .zs-shortSaveBadge:active{
  transform:scale(.98) !important;
  color:var(--zs-dash-action-color-hover) !important;
}

#zsProfileOverlay .zs-tile__btn .zs-like:hover,
#zsProfileOverlay .zs-tile__info:hover,
#zsProfileOverlay .zs-tile__play:hover{
  color:var(--zs-dash-action-color-hover) !important;
}

#zsProfileOverlay .zs-col-actions .zs-tile__btn{
  width:34px !important;
  height:34px !important;
  display:grid !important;
  place-items:center !important;
}

/* Keep guide details inside the guide modal only. */
#zsProfileOverlay .zs-prof-empty > .zs-prof-empty__list{
  display:none !important;
}

#zsShortGuideModal.is-open,
#zsPostGuideModal.is-open,
#zsSavedGuideModal.is-open{
  background:rgba(0,0,0,.78);
}

#zsShortGuideModal .zs-guideModal__card,
#zsPostGuideModal .zs-guideModal__card,
#zsSavedGuideModal .zs-guideModal__card{
  width:min(620px, calc(100vw - 28px));
  max-height:min(88vh, 760px);
  padding:0;
  overflow:hidden;
  border:1px solid rgba(134,255,231,.2);
  border-radius:24px;
  background:
    radial-gradient(circle at top left, rgba(255,185,80,.18), transparent 34%),
    radial-gradient(circle at top right, rgba(255,79,191,.14), transparent 30%),
    linear-gradient(180deg, rgba(9,16,23,.98), rgba(5,9,14,.98));
  box-shadow:
    0 30px 70px rgba(0,0,0,.82),
    inset 0 1px 0 rgba(255,255,255,.06);
}

#zsShortGuideModal .zs-modal__top,
#zsPostGuideModal .zs-modal__top,
#zsSavedGuideModal .zs-modal__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:24px 24px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}

#zsShortGuideModal .zs-modal__title,
#zsPostGuideModal .zs-modal__title,
#zsSavedGuideModal .zs-modal__title{
  margin:0;
  font-size:clamp(22px, 3vw, 28px);
  font-weight:800;
  letter-spacing:-.02em;
  color:#f7fbff;
}

#zsShortGuideModal .zs-guideModal__body,
#zsPostGuideModal .zs-guideModal__body,
#zsSavedGuideModal .zs-guideModal__body{
  display:grid;
  gap:18px;
  padding:22px 24px 10px;
}

#zsShortGuideModal .zs-guideModal__body p,
#zsPostGuideModal .zs-guideModal__body p,
#zsSavedGuideModal .zs-guideModal__body p{
  margin:0;
  font-size:15px;
  line-height:1.72;
  color:rgba(230,237,243,.86);
}

#zsShortGuideModal .zs-guideModal__body ul,
#zsPostGuideModal .zs-guideModal__body ul,
#zsSavedGuideModal .zs-guideModal__body ul{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:zs-guide-step;
  display:grid;
  gap:12px;
}

#zsShortGuideModal .zs-guideModal__body li,
#zsPostGuideModal .zs-guideModal__body li,
#zsSavedGuideModal .zs-guideModal__body li{
  position:relative;
  padding:14px 16px 14px 54px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#f1f6fb;
  font-size:14px;
  line-height:1.6;
}

#zsShortGuideModal .zs-guideModal__body li::before,
#zsPostGuideModal .zs-guideModal__body li::before,
#zsSavedGuideModal .zs-guideModal__body li::before{
  counter-increment:zs-guide-step;
  content:counter(zs-guide-step);
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  color:#0a1117;
  background:var(--zs-accent-grad);
  box-shadow:0 10px 24px rgba(0,0,0,.34);
}

#zsShortGuideModal .zs-shortGuide__note,
#zsPostGuideModal .zs-shortGuide__note,
#zsSavedGuideModal .zs-shortGuide__note{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,205,92,.16);
  background:linear-gradient(180deg, rgba(255,185,80,.12), rgba(255,185,80,.06));
  color:#ffe6b1;
  font-size:14px;
  line-height:1.6;
}

#zsShortGuideModal .zs-guideModal__actions,
#zsPostGuideModal .zs-guideModal__actions,
#zsSavedGuideModal .zs-guideModal__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
  padding:0 24px 24px;
}

#zsShortGuideModal .zs-guideModal__actions .zs-btn,
#zsPostGuideModal .zs-guideModal__actions .zs-btn,
#zsSavedGuideModal .zs-guideModal__actions .zs-btn{
  min-height:42px;
  padding-inline:18px;
  font-size:14px;
  font-weight:700;
}

#zsShortGuideModal .zs-iconBtn,
#zsPostGuideModal .zs-iconBtn,
#zsSavedGuideModal .zs-iconBtn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:#f7fbff;
}

#zsShortGuideModal .zs-iconBtn:hover,
#zsPostGuideModal .zs-iconBtn:hover,
#zsSavedGuideModal .zs-iconBtn:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.24);
}

@media (max-width: 640px){
  #zsShortGuideModal .zs-guideModal__card,
  #zsPostGuideModal .zs-guideModal__card,
  #zsSavedGuideModal .zs-guideModal__card{
    width:calc(100vw - 18px);
    border-radius:20px;
  }

  #zsShortGuideModal .zs-modal__top,
  #zsPostGuideModal .zs-modal__top,
  #zsSavedGuideModal .zs-modal__top{
    padding:18px 16px 14px;
  }

  #zsShortGuideModal .zs-guideModal__body,
  #zsPostGuideModal .zs-guideModal__body,
  #zsSavedGuideModal .zs-guideModal__body{
    padding:18px 16px 8px;
    gap:14px;
  }

  #zsShortGuideModal .zs-guideModal__body li,
  #zsPostGuideModal .zs-guideModal__body li,
  #zsSavedGuideModal .zs-guideModal__body li{
    padding:13px 13px 13px 48px;
    font-size:13px;
  }

  #zsShortGuideModal .zs-guideModal__actions,
  #zsPostGuideModal .zs-guideModal__actions,
  #zsSavedGuideModal .zs-guideModal__actions{
    padding:0 16px 18px;
  }

  #zsShortGuideModal .zs-guideModal__actions .zs-btn,
  #zsPostGuideModal .zs-guideModal__actions .zs-btn,
  #zsSavedGuideModal .zs-guideModal__actions .zs-btn{
    width:100%;
  }
}

#zsInbox .zs-chatDay{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:8px 0 4px;
}

#zsInbox .zs-chatDay span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:rgba(230,237,243,.68);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

#zsInbox .zs-chatMsg__deleted{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:18px;
  color:rgba(230,237,243,.7);
  font-size:12px;
  line-height:1.55;
  font-style:italic;
}

#zsInbox .zs-chatMsg__deleted i{
  flex:0 0 auto;
  color:rgba(255,186,94,.95);
}

#zsInbox .zs-chatMsg__bubble:has(.zs-chatMsg__deleted){
  background:rgba(255,255,255,.05);
}

#zsInbox .zs-chatMsg.is-me .zs-chatMsg__deleted{
  color:rgba(11,17,24,.76);
}

#zsFilmGuideModal.is-open{
  background:rgba(0,0,0,.78);
}

#zsFilmGuideModal .zs-guideModal__card{
  width:min(620px, calc(100vw - 28px));
  max-height:min(88vh, 760px);
  padding:0;
  overflow:hidden;
  border:1px solid rgba(134,255,231,.2);
  border-radius:24px;
  background:
    radial-gradient(circle at top left, rgba(255,185,80,.18), transparent 34%),
    radial-gradient(circle at top right, rgba(255,79,191,.14), transparent 30%),
    linear-gradient(180deg, rgba(9,16,23,.98), rgba(5,9,14,.98));
  box-shadow:
    0 30px 70px rgba(0,0,0,.82),
    inset 0 1px 0 rgba(255,255,255,.06);
}

#zsFilmGuideModal .zs-modal__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:24px 24px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}

#zsFilmGuideModal .zs-modal__title{
  margin:0;
  font-size:clamp(22px, 3vw, 28px);
  font-weight:800;
  letter-spacing:-.02em;
  color:#f7fbff;
}

.zs-guideModal__card,
.zs-guideModal__body,
.zs-guideModal__body p,
.zs-guideModal__body li,
.zs-guideModal__body li strong,
.zs-guideModal__actions .zs-btn,
.zs-guideModal__card .zs-modal__title,
.zs-guideModal__card .zs-shortGuide__note{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
}

.zs-guideModal__body{
  text-align:left;
}

.zs-guideModal__body p{
  font-weight:500 !important;
}

.zs-guideModal__body li{
  display:block;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  font-weight:600 !important;
}

.zs-guideModal__body li::before{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing:0 !important;
}

.zs-guideModal__actions .zs-btn{
  font-weight:700 !important;
}

#zsFilmGuideModal .zs-guideModal__body,
#zsFilmGuideModal .zs-guideModal__actions{
  display:grid;
  gap:18px;
  padding:22px 24px 10px;
}

#zsFilmGuideModal .zs-guideModal__body p{
  margin:0;
  font-size:15px;
  line-height:1.72;
  color:rgba(230,237,243,.86);
}

#zsFilmGuideModal .zs-guideModal__body ul{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:zs-guide-step;
  display:grid;
  gap:12px;
}

#zsFilmGuideModal .zs-guideModal__body li{
  position:relative;
  padding:14px 16px 14px 54px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#f1f6fb;
  font-size:14px;
  line-height:1.6;
}

#zsFilmGuideModal .zs-guideModal__body li::before{
  counter-increment:zs-guide-step;
  content:counter(zs-guide-step);
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  color:#0a1117;
  background:var(--zs-accent-grad);
  box-shadow:0 10px 24px rgba(0,0,0,.34);
}

#zsFilmGuideModal .zs-shortGuide__note{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,205,92,.16);
  background:linear-gradient(180deg, rgba(255,185,80,.12), rgba(255,185,80,.06));
  color:#ffe6b1;
  font-size:14px;
  line-height:1.6;
}

#zsFilmGuideModal .zs-guideModal__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
  padding:0 24px 24px;
}

#zsFilmGuideModal .zs-guideModal__actions .zs-btn{
  min-height:42px;
  padding-inline:18px;
  font-size:14px;
}

#zsFilmGuideModal .zs-iconBtn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:#f7fbff;
}

#zsFilmGuideModal .zs-iconBtn:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.24);
}

.zs-guideModal__card{
  display:flex !important;
  flex-direction:column !important;
}

.zs-guideModal__card > .zs-modal__top,
.zs-guideModal__card > .zs-guideModal__actions{
  flex:0 0 auto;
}

.zs-guideModal__body{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,185,80,.45) rgba(255,255,255,.03);
}

.zs-guideModal__body::-webkit-scrollbar{
  width:8px;
}

.zs-guideModal__body::-webkit-scrollbar-track{
  background:rgba(255,255,255,.03);
  border-radius:999px;
}

.zs-guideModal__body::-webkit-scrollbar-thumb{
  background:rgba(255,185,80,.45);
  border-radius:999px;
}

.zs-guideModal__body::-webkit-scrollbar-thumb:hover{
  background:rgba(255,185,80,.62);
}

.zs-guideModal__actions{
  background:
    linear-gradient(180deg, rgba(7,12,18,0), rgba(7,12,18,.94) 28%, rgba(7,12,18,.98));
  border-top:1px solid rgba(255,255,255,.06);
}

@media (max-width: 640px){
  #zsFilmGuideModal .zs-guideModal__card{
    width:calc(100vw - 18px);
    border-radius:20px;
  }

  #zsFilmGuideModal .zs-modal__top{
    padding:18px 16px 14px;
  }

  #zsFilmGuideModal .zs-guideModal__body{
    padding:18px 16px 8px;
    gap:14px;
  }

  #zsFilmGuideModal .zs-guideModal__body li{
    padding:13px 13px 13px 48px;
    font-size:13px;
  }

  #zsFilmGuideModal .zs-guideModal__actions{
    padding:0 16px 18px;
  }

  #zsFilmGuideModal .zs-guideModal__actions .zs-btn{
    width:100%;
  }

  .zs-guideModal__body{
    scrollbar-width:none;
  }

  .zs-guideModal__body::-webkit-scrollbar{
    width:0;
    height:0;
  }
}

#zsPublicCollectionModal.is-open{
  background:rgba(3,9,13,.86);
  backdrop-filter:blur(10px);
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:transparent transparent;
  align-items:stretch;
  justify-content:stretch;
  padding:
    max(12px, env(safe-area-inset-top) + 8px)
    max(8px, env(safe-area-inset-right) + 4px)
    max(12px, env(safe-area-inset-bottom) + 8px)
    max(8px, env(safe-area-inset-left) + 4px);
  box-sizing:border-box;
}

#zsPublicCollectionModal.is-open::-webkit-scrollbar{
  width:8px;
}

#zsPublicCollectionModal.is-open::-webkit-scrollbar-track{
  background:transparent;
}

#zsPublicCollectionModal.is-open::-webkit-scrollbar-thumb{
  background:transparent;
  border-radius:999px;
  border:2px solid transparent;
}

#zsPublicCollectionModal .zs-modal__panel{
  width:100%;
  max-width:none;
  max-height:calc(100dvh - 24px);
  height:100%;
  padding:0;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top right, rgba(255,185,80,.15), transparent 34%),
    radial-gradient(circle at top left, rgba(83,229,204,.12), transparent 32%),
    linear-gradient(180deg, rgba(7,12,18,.98), rgba(4,8,14,.98));
  box-shadow:
    0 34px 90px rgba(0,0,0,.76),
    inset 0 1px 0 rgba(255,255,255,.06);
  display:flex;
  flex-direction:column;
  min-height:0;
}

.zs-publicCollectionModal{
  display:grid;
  gap:18px;
  padding:
    max(24px, env(safe-area-inset-top) + 12px)
    24px
    max(40px, env(safe-area-inset-bottom) + 28px)
    24px;
  max-height:none;
  height:100%;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:transparent transparent;
  scroll-padding-top:32px;
  scroll-padding-bottom:44px;
  box-sizing:border-box;
  min-height:0;
}

.zs-publicCollectionModal::-webkit-scrollbar{
  width:8px;
}

.zs-publicCollectionModal::-webkit-scrollbar-track{
  background:transparent;
}

.zs-publicCollectionModal::-webkit-scrollbar-thumb{
  background:transparent;
  border-radius:999px;
  border:2px solid transparent;
}

.zs-publicCollectionModal__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.zs-publicCollectionModal__titleBlock{
  min-width:0;
  display:grid;
  gap:10px;
}

.zs-publicCollectionModal__eyebrow{
  color:#ffcf88;
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.zs-publicCollectionModal__title{
  margin:0;
  font-size:clamp(28px, 4vw, 44px);
  font-weight:900;
  line-height:1.02;
  letter-spacing:-.03em;
  color:#f8fcff;
  word-break:break-word;
}

.zs-publicCollectionModal__description{
  margin:0;
  max-width:760px;
  color:rgba(225,235,240,.76);
  font-size:15px;
  line-height:1.75;
}

.zs-publicCollectionModal__close{
  flex:0 0 auto;
}

.zs-publicCollectionModal__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.zs-publicCollectionModal__chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  max-width:100%;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#eef7fb;
  font-size:12px;
  font-weight:800;
  line-height:1.3;
}

.zs-publicCollectionModal__chip i{
  color:#ffcc77;
}

.zs-publicCollectionModal__hero{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, .95fr);
  gap:18px;
}

.zs-publicCollectionModal__curator,
.zs-publicCollectionModal__heroSide,
.zs-publicCollectionModal__body,
.zs-publicCollectionModal__state{
  min-width:0;
}

.zs-publicCollectionModal__curator{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
}

.zs-publicCollectionModal__curatorAvatar{
  width:64px;
  height:64px;
  border-radius:20px;
  object-fit:cover;
  background:#0f1721;
  border:1px solid rgba(255,255,255,.08);
  flex:0 0 auto;
}

.zs-publicCollectionModal__curatorCopy{
  min-width:0;
  display:grid;
  gap:5px;
}

.zs-publicCollectionModal__curatorName{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:18px;
  color:#f7fcff;
}

.zs-publicCollectionModal__curatorName img{
  width:18px;
  height:18px;
  object-fit:contain;
}

.zs-publicCollectionModal__curatorSub{
  margin:0;
  color:rgba(221,232,238,.68);
  font-size:14px;
  line-height:1.6;
  overflow-wrap:anywhere;
}

.zs-publicCollectionModal__heroSide{
  display:grid;
  gap:14px;
}

.zs-publicCollectionModal__mosaic{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}

.zs-publicCollectionModal__mosaicCell{
  position:relative;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(160deg, rgba(13,24,34,.96), rgba(7,12,19,.98));
}

.zs-publicCollectionModal__mosaicCell img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.zs-publicCollectionModal__mosaicCell::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 18%, rgba(0,0,0,.34) 100%);
  pointer-events:none;
}

.zs-publicCollectionModal__mosaicCell--empty{
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.28);
  font-size:28px;
}

.zs-publicCollectionModal__stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.zs-publicCollectionModal__stat{
  display:grid;
  gap:6px;
  padding:15px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.zs-publicCollectionModal__stat span{
  color:rgba(255,255,255,.54);
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.zs-publicCollectionModal__stat strong{
  font-size:22px;
  line-height:1.08;
  color:#fbfdff;
}

.zs-publicCollectionModal__stat small{
  color:rgba(221,232,238,.68);
  font-size:12px;
  line-height:1.55;
}

.zs-publicCollectionModal__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  min-width:0;
}

.zs-publicCollectionModal__actionBtn,
.zs-publicCollectionModal__cardBtn,
.zs-publicCollectionModal__stateBtn{
  min-height:46px;
  border-radius:15px;
  font-weight:800;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}

.zs-publicCollectionModal__actionBtn.zs-btn--primary,
.zs-publicCollectionModal__cardBtn.zs-btn--primary,
.zs-publicCollectionModal__stateBtn.zs-btn--primary{
  background:var(--zs-accent-grad) !important;
  color:#090a0c !important;
}

.zs-publicCollectionModal__actionBtn.zs-btn--primary:hover,
.zs-publicCollectionModal__cardBtn.zs-btn--primary:hover,
.zs-publicCollectionModal__stateBtn.zs-btn--primary:hover{
  background:var(--zs-accent-grad-rev) !important;
}

.zs-publicCollectionModal__actionBtn[aria-disabled="true"],
.zs-publicCollectionModal__cardBtn[aria-disabled="true"]{
  opacity:.45;
  pointer-events:none;
}

.zs-publicCollectionModal__state{
  display:grid;
  gap:12px;
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.zs-publicCollectionModal__state h4{
  margin:0;
  font-size:24px;
  line-height:1.15;
  color:#f8fcff;
}

.zs-publicCollectionModal__state p{
  margin:0;
  max-width:640px;
  color:rgba(221,232,238,.72);
  font-size:14px;
  line-height:1.7;
}

.zs-publicCollectionModal__stateActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  min-width:0;
}

.zs-publicCollectionModal__body{
  display:grid;
  gap:16px;
}

.zs-publicCollectionModal__bodyHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.zs-publicCollectionModal__bodyHead h4{
  margin:0;
  font-size:26px;
  line-height:1.1;
  color:#f7fcff;
}

.zs-publicCollectionModal__bodyHead p{
  margin:0;
  max-width:520px;
  color:rgba(221,232,238,.68);
  font-size:14px;
  line-height:1.65;
}

.zs-publicCollectionModal__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:16px;
}

.zs-publicCollectionModal__card{
  min-width:0;
  cursor:pointer;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top right, rgba(255,185,80,.1), transparent 36%),
    linear-gradient(180deg, rgba(13,23,33,.98), rgba(7,13,20,.98));
  box-shadow:0 18px 48px rgba(0,0,0,.28);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.zs-publicCollectionModal__card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,216,140,.22);
  box-shadow:0 22px 54px rgba(0,0,0,.34);
}

.zs-publicCollectionModal__media{
  position:relative;
  width:100%;
  min-height:0;
  height:auto;
  aspect-ratio:16 / 9 !important;
  background:#0b141d;
  overflow:hidden;
}

.zs-publicCollectionModal__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.zs-publicCollectionModal__media.zs-tile__img.is-broken::before{
  content:"Poster unavailable";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  font-weight:800;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(255,185,80,.14), transparent 42%),
    #0d1620;
}

.zs-publicCollectionModal__rank{
  position:absolute;
  top:12px;
  left:12px;
  z-index:1;
  min-width:38px;
  height:38px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.6);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff7e6;
  font-size:13px;
  font-weight:900;
}

.zs-publicCollectionModal__cardBody{
  display:grid;
  gap:13px;
  padding:18px;
}

.zs-publicCollectionModal__cardMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.zs-publicCollectionModal__pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#eef7fb;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.zs-publicCollectionModal__cardTitle{
  margin:0;
  font-size:20px;
  line-height:1.28;
  color:#f8fcff;
  word-break:break-word;
}

.zs-publicCollectionModal__cardText{
  margin:0;
  color:rgba(221,232,238,.7);
  font-size:13px;
  line-height:1.7;
}

.zs-publicCollectionModal__cardActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  min-width:0;
}

.zs-publicCollectionModal__cardBtn{
  flex:1 1 160px;
  justify-content:center;
}

.zs-publicCollectionModal__card--loading .zs-publicCollectionModal__media,
.zs-publicCollectionModal__line{
  background:rgba(255,255,255,.05);
}

.zs-publicCollectionModal__line{
  height:14px;
  border-radius:999px;
}

.zs-publicCollectionModal__line--sm{ width:34%; }
.zs-publicCollectionModal__line--md{ width:58%; }
.zs-publicCollectionModal__line--lg{ width:82%; }

.zs-publicCollectionModal__skeleton{
  position:relative;
  overflow:hidden;
}

.zs-publicCollectionModal__skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation:zs-public-collection-shimmer 1.2s infinite;
}

@keyframes zs-public-collection-shimmer{
  100%{
    transform:translateX(100%);
  }
}

@media (max-width: 980px){
  .zs-publicCollectionModal__hero{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){
  #zsPublicCollectionModal .zs-modal__panel{
    width:100%;
    max-height:calc(100dvh - 20px);
    border-radius:20px;
  }

  .zs-publicCollectionModal{
    padding:
      max(28px, env(safe-area-inset-top) + 18px)
      16px
      max(34px, env(safe-area-inset-bottom) + 24px)
      16px;
    gap:14px;
    scroll-padding-top:40px;
    scroll-padding-bottom:42px;
  }

  .zs-publicCollectionModal__stats{
    grid-template-columns:1fr;
  }

  .zs-publicCollectionModal__bodyHead{
    align-items:flex-start;
  }

  .zs-publicCollectionModal__grid{
    grid-template-columns:1fr;
  }

  .zs-publicCollectionModal__actions,
  .zs-publicCollectionModal__cardActions,
  .zs-publicCollectionModal__stateActions{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
  }

  .zs-publicCollectionModal__actionBtn,
  .zs-publicCollectionModal__cardBtn,
  .zs-publicCollectionModal__stateBtn{
    width:100%;
  }

  .zs-publicCollectionModal__actionBtn span,
  .zs-publicCollectionModal__cardBtn span,
  .zs-publicCollectionModal__stateBtn span{
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center;
  }
}

@media (max-width: 540px){
  #zsPublicCollectionModal.is-open{
    padding:
      max(18px, env(safe-area-inset-top) + 16px)
      max(4px, env(safe-area-inset-right))
      max(14px, env(safe-area-inset-bottom) + 10px)
      max(4px, env(safe-area-inset-left));
  }

  .zs-publicCollectionModal__top{
    gap:12px;
  }

  .zs-publicCollectionModal__title{
    font-size:30px;
  }

  .zs-publicCollectionModal__curator{
    align-items:flex-start;
    padding:14px;
  }

  .zs-publicCollectionModal__curatorAvatar{
    width:56px;
    height:56px;
    border-radius:18px;
  }

  .zs-publicCollectionModal__chips{
    gap:8px;
  }

  .zs-publicCollectionModal__chip{
    width:100%;
    justify-content:center;
  }
}

/* Shared popup readability overrides */
.zs-dialog{
  width:min(440px, calc(100vw - 28px)) !important;
  padding:18px !important;
  gap:12px !important;
}

.zs-dialog__title{
  font-size:clamp(17px, 2.8vw, 20px) !important;
  line-height:1.24 !important;
}

.zs-dialog__message{
  font-size:clamp(14px, 2.45vw, 16px) !important;
  line-height:1.58 !important;
  color:rgba(255,255,255,.84) !important;
}

.zs-dialog__label{
  font-size:13px !important;
  line-height:1.45 !important;
}

.zs-dialog__input,
.zs-dialog__textarea,
.zs-dialog__select{
  font-size:15px !important;
}

.zs-dialog__actions .zs-btn,
.zs-dialog__actions .zs-btnPrimary,
.zs-dialog__actions .zs-btnGhost{
  font-size:14px !important;
}

.zs-toast .title{
  font-size:1rem !important;
  line-height:1.3 !important;
}

.zs-toast .desc{
  font-size:.95rem !important;
  line-height:1.52 !important;
}

.zs-notify__message{
  font-size:14px !important;
  line-height:1.5 !important;
}

@media (max-width: 640px){
  .zs-toasts,
  .zs-toastContainer{
    font-size:15px !important;
  }

  .zs-toast{
    max-width:min(calc(100vw - 18px), 360px) !important;
    padding:13px 14px !important;
    grid-template-columns:20px minmax(0, 1fr) auto !important;
    gap:11px !important;
  }

  .zs-dialog{
    width:min(100vw - 18px, 420px) !important;
    padding:16px !important;
  }

  .zs-dialog__message{
    font-size:15px !important;
  }

  .zs-toast .title{
    font-size:1.22rem !important;
    line-height:1.34 !important;
    font-weight:800 !important;
  }

  .zs-toast .desc{
    font-size:1.1rem !important;
    line-height:1.6 !important;
    font-weight:700 !important;
  }

  .zs-notify__title{
    font-size:16px !important;
    line-height:1.28 !important;
  }

  .zs-notify__toggleLabel{
    font-size:14px !important;
    line-height:1.3 !important;
  }

  .zs-notify__toggleState{
    font-size:12px !important;
    line-height:1.3 !important;
  }

  .zs-notify__item{
    padding:12px 13px !important;
    gap:8px !important;
  }

  .zs-notify__avatar{
    width:32px !important;
    height:32px !important;
  }

  .zs-notify__item .zs-notify__title{
    font-size:15px !important;
    line-height:1.32 !important;
  }

  .zs-notify__message{
    font-size:14px !important;
    line-height:1.55 !important;
  }

  .zs-notify__meta{
    font-size:12px !important;
    gap:10px !important;
  }

  .zs-notify__time{
    font-size:12px !important;
  }

  .zs-notify__mark{
    font-size:11px !important;
    padding:6px 10px !important;
  }

  .zs-notify__btn{
    font-size:12px !important;
    padding:7px 12px !important;
  }
}

.zs-save-toast{
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom, 0px) + 14px);
  z-index: 12050;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(92vw, 320px);
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.96), rgba(7, 10, 15, 0.98));
  box-shadow: 0 22px 48px rgba(0,0,0,0.55);
  color: #f6fbff;
  transform: translate(-50%, 22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.zs-save-toast.is-visible{
  opacity: 1;
  transform: translate(-50%, 0);
}

.zs-save-toast.is-unsaved .zs-save-toast__icon{
  background: rgba(255,255,255,0.09);
  color: #ffb96f;
}

.zs-save-toast__icon{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(76, 238, 209, 0.16);
  color: #69f0d4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.zs-save-toast__icon i{
  font-size: 18px;
}

.zs-save-toast__copy{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zs-save-toast__title{
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.zs-save-toast__desc{
  display: block;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  line-height: 1.35;
}

@media (min-width: 881px){
  .zs-save-toast{
    left: auto;
    right: 24px;
    bottom: 24px;
    transform: translate(0, 20px);
  }

  .zs-save-toast.is-visible{
    transform: translate(0, 0);
  }
}

@media (max-width: 505px){
  .zs-save-toast{
    min-width: min(94vw, 360px);
    max-width: min(94vw, 360px);
    padding: 11px 14px;
    gap: 10px;
  }

  .zs-save-toast__icon{
    width: 38px;
    height: 38px;
  }

  .zs-save-toast__title{
    font-size: 14px;
  }

  .zs-save-toast__desc{
    font-size: 12px;
  }
}

@media (max-width: 768px){
  #row-Inspiring{
    --zs-r-action-size: clamp(22px, 3.9vw, 34px);
    --zs-r-action-icon: clamp(10px, 1vw + 0.2rem, 14px);
    --zs-r-action-gap: clamp(4px, 1vw, 8px);
  }

  #row-Inspiring .boxart-R-size-16x9 .team-info-R{
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    overflow: hidden !important;
    pointer-events: none;
  }

  #row-Inspiring .team-info-R .down-a1-R{
    display: grid !important;
    grid-template-columns: repeat(4, var(--zs-r-action-size));
    grid-template-areas:
      "play like save info"
      "meta meta meta meta";
    align-items: center;
    justify-content: space-between;
    column-gap: var(--zs-r-action-gap);
    row-gap: clamp(8px, 0.75vw, 12px);
    width: 100%;
  }

  #row-Inspiring .team-info-R .p-circle-R{ grid-area: play; }
  #row-Inspiring .team-info-R .voting-R{ grid-area: like; }
  #row-Inspiring .team-info-R #SaveMovie{ grid-area: save; }
  #row-Inspiring .team-info-R .down-in-R{ grid-area: info; }
  #row-Inspiring .team-info-R .video-details-R{ grid-area: meta; }

  #row-Inspiring .team-info-R .voting-R{
    position: static !important;
    width: auto !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #row-Inspiring .team-info-R .voting-R button,
  #row-Inspiring .team-info-R #SaveMovie{
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: none;
    background: none !important;
    display: grid !important;
    place-items: center;
    flex: 0 0 auto;
    width: var(--zs-r-action-size) !important;
    height: var(--zs-r-action-size) !important;
    min-width: var(--zs-r-action-size) !important;
    min-height: var(--zs-r-action-size) !important;
  }

  #row-Inspiring .team-info-R .p-circle-R,
  #row-Inspiring .team-info-R .p-circle-R:hover,
  #row-Inspiring .team-info-R .p-circle-R:active,
  #row-Inspiring .team-info-R #likebtn-R .thumb-up-R,
  #row-Inspiring .team-info-R #likebtn-R .thumb-up-R:hover,
  #row-Inspiring .team-info-R #likebtn-R .thumb-up-R:active,
  #row-Inspiring .team-info-R #SaveMovie .Save-Movie-R,
  #row-Inspiring .team-info-R #SaveMovie .Save-Movie-R:hover,
  #row-Inspiring .team-info-R #SaveMovie .Save-Movie-R:active,
  #row-Inspiring .team-info-R .down-in-R,
  #row-Inspiring .team-info-R .down-in-R:hover,
  #row-Inspiring .team-info-R .down-in-R:active{
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    display: grid !important;
    place-items: center;
    box-sizing: border-box;
    border-radius: 999px !important;
    line-height: 1;
    font-size: var(--zs-r-action-icon) !important;
    text-decoration: none;
  }

  #row-Inspiring .team-info-R #SaveMovie .Save-Movie-R:active,
  #row-Inspiring .team-info-R #likebtn-R .thumb-up-R:active,
  #row-Inspiring .team-info-R .p-circle-R:active,
  #row-Inspiring .team-info-R .down-in-R:active{
    transform: scale(0.96);
  }

  #row-Inspiring .team-info-R #SaveMovie .Save-Movie-R:hover,
  #row-Inspiring .team-info-R #likebtn-R .thumb-up-R:hover,
  #row-Inspiring .team-info-R .p-circle-R:hover,
  #row-Inspiring .team-info-R .down-in-R:hover{
    transform: translateY(-1px);
  }

  #row-Inspiring .zoom-R .boxart-R-size-16x9:hover .team-info-R,
  #row-Inspiring .zoom-R .boxart-R-size-16x9:active .team-info-R{
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: clamp(7px, 0.65vw, 11px);
    text-align: left !important;
    font-size: clamp(12px, 0.82vw, 15px) !important;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
  }

  #row-Inspiring .zoom-R .boxart-R-size-16x9:hover .fallback-textR,
  #row-Inspiring .zoom-R .boxart-R-size-16x9:active .fallback-textR{
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: nowrap;
    font-size: clamp(10px, 0.45rem + 1.8vw, 20px) !important;
    line-height: 1.08 !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #row-Inspiring .team-info-R .video-details-R{
    position: static !important;
    top: auto !important;
    margin-top: clamp(4px, 0.45vw, 8px) !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(6px, 0.55vw, 10px);
    row-gap: 4px;
    min-width: 0 !important;
    font-size: clamp(8px, 0.35rem + 0.7vw, 12px) !important;
    line-height: 1.28 !important;
    text-align: left !important;
  }

  #row-Inspiring .team-info-R .video-details-R .first--line{
    flex: 0 0 100%;
    display: block;
    margin: 0 0 4px;
  }

  #row-Inspiring .team-info-R .video-details-R .second--line{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    row-gap: 4px;
    min-width: 0;
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 505px){
  #row-Inspiring{
    --zs-r-action-size: clamp(20px, 5.8vw, 30px);
    --zs-r-action-icon: clamp(9px, 2.5vw, 13px);
    --zs-r-action-gap: clamp(4px, 1.2vw, 6px);
  }

  #row-Inspiring .zoom-R .boxart-R-size-16x9:hover .team-info-R,
  #row-Inspiring .zoom-R .boxart-R-size-16x9:active .team-info-R{
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
  }

  #row-Inspiring .zoom-R .boxart-R-size-16x9:hover .fallback-textR,
  #row-Inspiring .zoom-R .boxart-R-size-16x9:active .fallback-textR{
    font-size: clamp(9px, 0.35rem + 2.9vw, 16px) !important;
    line-height: 1.04 !important;
  }

  #row-Inspiring .team-info-R .down-a1-R{
    grid-template-columns: repeat(4, var(--zs-r-action-size));
  }

  #row-Inspiring .team-info-R .video-details-R{
    font-size: clamp(7px, 0.3rem + 1.1vw, 10px) !important;
    line-height: 1.24 !important;
  }

  #row-Inspiring .team-info-R .video-details-R .first--line{
    margin-bottom: 3px;
  }

  #row-Inspiring .team-info-R .video-details-R .second--line{
    gap: 5px;
    row-gap: 3px;
  }
}
