/* DIR//LISTER — Community Frontend Enhancements v26.0922 */

.ce-donate-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.ce-donate-toolbar .btn {
  font-size: 12px;
  padding: 8px 12px;
}

.ce-forum-reply,
.ce-reply-form {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 12, 18, 0.55);
}
.ce-reply-form textarea {
  width: 100%;
  min-height: 90px;
  margin-bottom: 10px;
  resize: vertical;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
.ce-attach-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ce-attach-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(0, 240, 255, 0.35);
  font-size: 12px;
  color: var(--cyan, #00f0ff);
}
.ce-attach-hint {
  font-size: 11px;
  opacity: 0.65;
}
.ce-attach-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.ce-file-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.ce-post-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ce-post-tree.depth-1,
.ce-post-tree.depth-2,
.ce-post-tree.depth-3 {
  margin-left: 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(0, 240, 255, 0.15);
}
.ce-post {
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.ce-post-hd {
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.9;
}
.ce-post-hd time {
  opacity: 0.55;
  margin-left: 8px;
  font-size: 11px;
}
.ce-class {
  opacity: 0.7;
  font-size: 11px;
}
.ce-post-body {
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}
.ce-post-actions {
  margin-top: 8px;
}
.ce-post-actions .btn {
  font-size: 11px;
  padding: 5px 10px;
}
.ce-atts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ce-att {
  font-size: 11px;
  color: var(--cyan, #00f0ff);
  text-decoration: none;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 6px;
  padding: 3px 8px;
}

.ce-form-msg {
  margin-top: 8px;
  font-size: 12px;
}
.ce-form-msg.ok { color: var(--green, #3dff9a); }
.ce-form-msg.err { color: var(--mag, #ff2a6d); }
.ce-note {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 8px;
}

.ce-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #0c1218;
  background: linear-gradient(90deg, #fcee0a, #00f0ff);
  vertical-align: middle;
}

.ce-tax-modal ul {
  margin: 10px 0;
  padding-left: 18px;
}
.ce-tax-modal li {
  margin: 4px 0;
}

/* Soft-delete indicator */
[data-deleted="1"],
.ce-trashed {
  opacity: 0.45;
  text-decoration: line-through;
}
