.composer {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--input-bg);
  margin: 8px 0 16px;
}

.composer-toolbar {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(95, 37, 159, 0.12);
}

.composer-toolbar button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  min-width: 36px;
  height: 34px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.composer-toolbar button:hover {
  border-color: #5F259F;
  color: #5F259F;
}

.composer-area {
  min-height: 160px;
  padding: 14px;
  outline: none;
}

.composer-area:empty:before {
  content: "Keep it about the Jacks.";
  color: var(--muted);
}

.composer-save { display: flex; gap: 10px; margin-top: 8px; }

.post-body img,
.composer-area img {
  max-width: 100%;
  border-radius: 10px;
  margin: 8px 0;
}

.post-body a { color: var(--accent-soft); }

.og-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
}

.og-card img {
  width: 120px;
  height: 84px;
  object-fit: cover;
  margin: 0;
}

.og-card-copy {
  display: grid;
  gap: 4px;
  align-content: center;
}

.og-card-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.og-card-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.post-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  align-items: center;
}

.post-actions form { margin: 0; }

.post-actions .text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

html[data-theme="light"] .post-actions .text-link { color: #5F259F; }

.slug-preview { margin: 6px 0 14px; font-size: 13px; word-break: break-all; }

@media (max-width: 700px) {
  .og-card { grid-template-columns: 1fr; }
  .og-card img { width: 100%; height: 140px; }
}
