.twc-public-body { min-height: 100vh; }
.twc-public-shell { max-width: 720px; margin: 0 auto; padding: 16px; }
.twc-channel-header { background: linear-gradient(135deg, var(--twc-primary), var(--twc-primary-dark)); color: #fff; border-radius: 0 0 28px 28px; padding: 28px 18px 22px; box-shadow: var(--twc-shadow-soft); position: sticky; top: 0; z-index: 10; }
.twc-channel-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.twc-channel-logo { width: 58px; height: 58px; border-radius: 20px; background: rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; font-size: 24px; font-weight: 800; border:1px solid rgba(255,255,255,.25); overflow:hidden; }
.twc-channel-logo img { width:100%; height:100%; object-fit:cover; }
.twc-channel-title { margin: 0 0 6px; font-size: 20px; }
.twc-channel-desc { margin: 0; opacity: .9; font-size: 13px; line-height: 1.8; }
.twc-feed { padding: 18px 0 32px; display: grid; gap: 14px; }
.twc-post { background: var(--twc-surface); border:1px solid var(--twc-border); border-radius: var(--twc-radius-lg); box-shadow: var(--twc-shadow-soft); overflow: hidden; }
.twc-post-body { padding: 14px 15px 10px; }
.twc-post-content { line-height: 2; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.twc-post-media { width: 100%; display: block; background: #eef2f7; }
.twc-post img.twc-post-media { max-height: 620px; object-fit: cover; }
.twc-post video { width: 100%; max-height: 620px; }
.twc-post audio { width: 100%; margin: 14px 0 4px; }
.twc-post-meta { border-top: 1px solid var(--twc-border); padding: 9px 13px; display:flex; align-items:center; justify-content:space-between; gap: 8px; color: var(--twc-text-muted); font-size: 12px; }
.twc-actions { display:flex; align-items:center; gap: 8px; }
.twc-action { border: 0; background: var(--twc-surface-soft); color: var(--twc-text-muted); border-radius: 999px; padding: 7px 10px; cursor:pointer; display:inline-flex; gap:5px; align-items:center; font-size: 12px; transition:.2s; }
.twc-action:hover, .twc-action.active { background: var(--twc-primary-soft); color: var(--twc-primary); }
.twc-empty { text-align:center; padding: 32px 16px; background:#fff; border-radius:var(--twc-radius-lg); border:1px dashed var(--twc-border); color:var(--twc-text-muted); }
.twc-load-more { width:100%; border:1px solid var(--twc-border); background:#fff; color:var(--twc-primary); border-radius: 16px; padding: 12px; cursor:pointer; font-weight:700; }
@media (max-width: 640px) { .twc-public-shell { padding: 12px; } .twc-channel-header { border-radius: 0 0 22px 22px; } }

.twc-date-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 2px;
  position: sticky;
  top: 104px;
  z-index: 4;
  pointer-events: none;
}

.twc-date-separator span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.38);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.twc-post-time {
  direction: rtl;
  unicode-bidi: plaintext;
  white-space: nowrap;
  font-size: 12px;
}
