/* JOGA V31.8.3.38 — Galera Final Surface Authority
   Loaded after every legacy/product stylesheet. Only current Galera geometry
   belongs here; older shape generations cannot square the live Stories rail. */
.ax-player [data-player-view="community"] #axPulseSection.ax-galera-v30621{
  --joga-galera-top-radius-v318338:24px 24px 0 0;
  border-radius:var(--joga-galera-top-radius-v318338)!important;
  overflow:visible!important;
}
.ax-player [data-player-view="community"] #axPulseSection.ax-galera-v30621::before{
  border-radius:var(--joga-galera-top-radius-v318338,24px 24px 0 0)!important;
}
.ax-player [data-player-view="community"] #axPulseSection.ax-galera-v30621>.j46-story-rail{
  border-radius:var(--joga-galera-top-radius-v318338,24px 24px 0 0)!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-inline:contain!important;
  scrollbar-width:none!important;
}
.ax-player [data-player-view="community"] #axPulseSection.ax-galera-v30621>.j46-story-rail::-webkit-scrollbar{display:none!important}
@media(min-width:900px){
  .ax-player [data-player-view="community"] #axPulseSection.ax-galera-v30621,
  .ax-player [data-player-view="community"] #axPulseSection.ax-galera-v30621>.j46-story-rail{--joga-galera-top-radius-v318338:28px 28px 0 0;border-radius:var(--joga-galera-top-radius-v318338)!important}
}

/* V31.8.3.43 candidate — explicit new-publication affordance.
   Discovery may update this capsule, but the feed itself changes only after tap. */
.ax-player [data-player-view="community"] .joga-new-publications-v318343{
  position:sticky;
  top:calc(102px + env(safe-area-inset-top,0px));
  z-index:27;
  display:flex;
  justify-content:center;
  width:100%;
  min-height:0;
  margin:0;
  padding:8px 12px 7px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(4,8,5,.90),rgba(4,8,5,0));
}
.ax-player [data-player-view="community"] .joga-new-publications-v318343[hidden]{display:none!important}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button{
  pointer-events:auto;
  display:grid;
  grid-template-columns:8px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:42px;
  max-width:min(92vw,430px);
  padding:7px 12px 7px 13px;
  border:1px solid rgba(215,255,47,.18);
  border-radius:999px;
  background:rgba(12,18,13,.94);
  color:#f5f8f2;
  box-shadow:0 10px 32px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(22px) saturate(125%);
  -webkit-backdrop-filter:blur(22px) saturate(125%);
  font-family:var(--joga-font,Inter,system-ui,sans-serif);
  text-align:left;
  transition:transform .16s ease,border-color .16s ease,opacity .16s ease;
}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button:active{transform:scale(.985)}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button>i{
  width:8px;height:8px;border-radius:50%;background:#d7ff2f;box-shadow:0 0 0 5px rgba(215,255,47,.08),0 0 18px rgba(215,255,47,.34);
}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button>span{display:grid;gap:2px;min-width:0}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.05;font-weight:900;letter-spacing:-.01em}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button small{font-size:7px;line-height:1;font-weight:850;letter-spacing:.09em;color:rgba(234,241,233,.48)}
.ax-player [data-player-view="community"] .joga-new-publications-v318343>button em{font-style:normal;color:#d7ff2f;font-size:14px;font-weight:900}
.ax-player [data-player-view="community"] .joga-new-publications-v318343.is-loading>button{opacity:.6;pointer-events:none}
/* V31.8.3.44 — bottom navigation stays visually clean.
   New-publication count lives only in the in-feed capsule; no Galera dot/badge. */
@media(min-width:900px){
  .ax-player [data-player-view="community"] .joga-new-publications-v318343{top:calc(106px + env(safe-area-inset-top,0px));padding-inline:18px}
}

/* V31.8.3.45 — feed media contract: common posts expose photo only; video lives exclusively in Lance/Replay Studio. */
.ax-galera-create-actions-v3055{grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* V31.8.3.45 — optimistic photo publishing keeps the selected image visible while the canonical asset is confirmed. */
.joga-feed-photo-pending-v318345{position:relative!important;cursor:default!important}
.joga-feed-photo-pending-v318345 .joga-social-media-v1.is-photo{position:relative!important}
.joga-feed-photo-pending-state-v318345{position:absolute!important;left:12px!important;bottom:12px!important;z-index:3!important;display:inline-flex!important;align-items:center!important;min-height:27px!important;padding:0 10px!important;border-radius:999px!important;background:rgba(7,11,8,.82)!important;border:1px solid rgba(255,255,255,.11)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;color:#eef4ed!important;font:800 9px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:.08em!important;box-shadow:0 8px 28px rgba(0,0,0,.22)!important}
.joga-feed-photo-pending-v318345:not(.is-failed) .joga-feed-photo-pending-state-v318345::before{content:"";width:7px;height:7px;margin-right:7px;border-radius:50%;background:#d8ff35;box-shadow:0 0 0 4px rgba(216,255,53,.08);animation:jogaPhotoPendingPulseV318345 1.2s ease-in-out infinite}
.joga-feed-photo-pending-v318345.is-failed{cursor:pointer!important}
.joga-feed-photo-pending-v318345.is-failed .joga-feed-photo-pending-state-v318345{background:rgba(62,14,27,.88)!important;border-color:rgba(255,92,135,.28)!important;color:#ffdce6!important}
@keyframes jogaPhotoPendingPulseV318345{0%,100%{opacity:.55;transform:scale(.86)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.joga-feed-photo-pending-v318345:not(.is-failed) .joga-feed-photo-pending-state-v318345::before{animation:none!important}}

/* V31.8.3.47 — superadmin-only PWA audit projection. */
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347{
  margin:10px 14px 6px;padding:11px 12px;display:flex;align-items:center;gap:10px;
  border:1px solid rgba(215,255,47,.16);border-radius:17px;background:rgba(13,17,16,.82);
  backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);
}
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347>i{
  width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:#d7ff2f;box-shadow:0 0 0 5px rgba(215,255,47,.07),0 0 18px rgba(215,255,47,.25)
}
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347>span{display:grid;gap:1px;min-width:0;flex:1}
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347 small{font-size:7px;line-height:1;font-weight:900;letter-spacing:.12em;color:#d7ff2f}
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347 b{font-size:11px;line-height:1.2;font-weight:900;letter-spacing:-.01em;color:#fff}
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347 em{font-style:normal;font-size:8px;line-height:1.25;color:rgba(255,255,255,.5);font-weight:650}
.ax-player [data-player-view="community"] .joga-community-audit-strip-v318347>strong{font-size:7px;letter-spacing:.12em;color:#d7ff2f;border:1px solid rgba(215,255,47,.16);border-radius:999px;padding:5px 7px;background:rgba(215,255,47,.05)}

/* V31.8.3.123 — Galera historical pagination has a dedicated compact visual owner. */
.ax-player-v31527 .joga-community-history-more-v318360{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  padding:10px 18px calc(18px + env(safe-area-inset-bottom,0px))!important;
  margin:0!important;
  background:transparent!important;
}
.ax-player-v31527 .joga-community-history-more-v318360[hidden]{display:none!important}
.ax-player-v31527 .joga-community-history-more-v318360>button{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:999px!important;
  background:rgba(10,14,11,.78)!important;
  color:#aab1aa!important;
  box-shadow:none!important;
  font:800 9px/1 var(--ax-font,Inter,sans-serif)!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
.ax-player-v31527 .joga-community-history-more-v318360>button:active{
  transform:scale(.98)!important;
  border-color:rgba(207,255,34,.22)!important;
  color:#d9ff55!important;
}
.ax-player-v31527 .joga-community-history-more-v318360>button:disabled{
  opacity:.48!important;
  pointer-events:none!important;
}
