
/* Global comment theming (opt-in) */
.ivy-theme .comments-area,
.ivy-theme #respond,
.ivy-theme .comment-respond,
.ivy-theme .comment-list .comment-body {
  position: relative;
  background: rgba(22, 12, 8, .45);
  border-radius: 16px;
  padding: 14px 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: #f8f7f6;
}

.ivy-theme .comments-area::before,
.ivy-theme #respond::before,
.ivy-theme .comment-respond::before,
.ivy-theme .comment-list .comment-body::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/ivy-arch.jpg") center/cover no-repeat;
  opacity: .28;
  z-index: -2;
  filter: grayscale(18%) contrast(105%) brightness(.95);
}
.ivy-theme .comments-area::after,
.ivy-theme #respond::after,
.ivy-theme .comment-respond::after,
.ivy-theme .comment-list .comment-body::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 120px rgba(0,0,0,.6);
  border-radius: 18px;
  z-index: -1;
}

.ivy-theme .comments-title,
.ivy-theme #reply-title {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);
  border-left: 4px solid var(--ivy-accent, #FFE7A8);
  padding-left: 10px;
  margin-bottom: 10px;
}

/* Inputs */
.ivy-theme .comment-respond input[type="text"],
.ivy-theme .comment-respond input[type="email"],
.ivy-theme .comment-respond input[type="url"],
.ivy-theme .comment-respond textarea {
  background: rgba(0,0,0,.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 10px 12px;
}
.ivy-theme .comment-respond textarea::placeholder,
.ivy-theme .comment-respond input::placeholder { color: rgba(255,255,255,.6); }

/* Submit button */
.ivy-theme .form-submit input[type="submit"],
.ivy-theme .comment-respond .submit {
  background: var(--ivy-primary, #652A0E);
  color: #fff;
  border: none; border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease;
}
.ivy-theme .form-submit input[type="submit"]:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Comment items */
.ivy-theme .comment-list .comment-body { margin-bottom: 14px; }
.ivy-theme .comment-author .fn a,
.ivy-theme .comment-metadata a { color: var(--ivy-accent, #FFE7A8); }

/* Rules box helper */
.ivy-theme .ms-rules, .ivy-theme .manga-discussion-rules {
  background: rgba(22,12,8,.55);
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  position: relative; overflow: hidden;
}
.ivy-theme .ms-rules::before {
  content:""; position:absolute; inset:0;
  background: url("../img/ivy-arch.jpg") center/cover no-repeat; opacity:.2; z-index:-2;
}
.ivy-theme .ms-rules::after {
  content:""; position:absolute; inset:0; box-shadow: inset 0 0 120px rgba(0,0,0,.6); z-index:-1; border-radius: 16px;
}
