.comment .comment {
  border-bottom: 0;
}

.comment-reply {
  margin: 12px 0 0 min(calc(var(--depth) * 22px), 66px);
  padding: 13px 15px;
  border-left: 3px solid #b9d9c7 !important;
  border-radius: 0 12px 12px 0;
  background: #f5f9f6;
}

.reply-context {
  margin-top: 6px;
  color: #176b4a;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .comment-reply {
    margin-left: min(calc(var(--depth) * 12px), 36px);
  }
}

.post-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.post-images img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  background: #edf2ee;
}

.detail-images img {
  height: 220px;
  cursor: zoom-in;
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.preview-item {
  position: relative;
}

.upload-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  color: #fff;
  background: rgba(15, 33, 24, .58);
  font-size: 13px;
  font-weight: 700;
}

.upload-state.done { inset: auto 6px 6px 6px; padding: 4px; background: rgba(18, 113, 78, .86); }
.upload-state.error { background: rgba(176, 42, 42, .72); }
.mini-spinner, .button-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.preview-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.preview-remove {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 33, 24, .8);
  color: white;
}

.my-post-row {
  padding: 16px 0;
  border-bottom: 1px solid #dce5dd;
}

.my-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef3ef;
  color: #68746c;
  font-size: 12px;
}

.delete-post-button {
  border: 0;
  background: transparent;
  color: #c83535;
  padding: 6px 0;
}

@media (max-width: 520px) {
  .post-images img { height: 88px; }
  .detail-images img { height: 150px; }
}
