/* post-composer.css — small additions on top of shared-nav.css xp- styles */
.pc-counter {
  font-size: 13px;
  color: #71767b;
  min-width: 26px;
  text-align: right;
}
.pc-counter.danger { color: #f4212e; font-weight: 700; }

.xp-modal .image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.xp-modal .image-preview-grid img {
  width: 100%; height: 140px; object-fit: cover; border-radius: 12px;
}
.xp-modal .preview-video { width: 100%; max-height: 320px; border-radius: 14px; }
.xp-modal .spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(15,20,25,.25);
  border-top: 2px solid #0f1419;
  border-radius: 50%;
  animation: pcSpin .7s linear infinite;
  display: inline-block; vertical-align: middle; margin-left: 6px;
}
@keyframes pcSpin { to { transform: rotate(360deg); } }
body.dark .pc-counter { color: #9CA3AF; }
