/*
 * BlogdePelis Rojo Dinamico — wpDiscuz skin v6 (amigable y adaptable)
 * Loaded after wpDiscuz so its generated white backgrounds cannot override
 * the cinema palette. Visual rules only: comments and plugin behaviour remain
 * untouched.
 */

/* Regla de seguridad: si al copiar se cuela el nombre del archivo antes del
 * CSS, esa línea dañará solo esta regla inocua y no el diseño principal. */
:root { --bdp-wpdiscuz-skin: 1; }

/* Comment area */
body.single-post #comments.comments-area,
body.single-post #comments.bdp-comments {
  width: calc(100% - 32px) !important;
  max-width: 1100px !important;
  box-sizing: border-box !important;
  margin: 40px auto 0 !important;
  padding: clamp(18px, 3vw, 30px) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0, rgba(229, 27, 43, 0.12), transparent 26rem),
    linear-gradient(145deg, #15171d, #0c0e12 72%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top-color: rgba(255, 255, 255, 0.13) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34) !important;
  color: #f7f7f4 !important;
}

body.single-post #comments.comments-area::before {
  content: "Comentarios";
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 18px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #f3f3f1;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 750;
  letter-spacing: -0.25px;
  line-height: 1.2;
}

/* #respond es solo un marcador técnico vacío colocado por WordPress. */
body.single-post #comments.comments-area > #respond {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-post #comments.comments-area > #respond::before,
body.single-post #comments.comments-area > #respond::after {
  display: none !important;
  content: none !important;
}

body.single-post #wpdcom {
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: #d9dadd !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* wpDiscuz leaves this wrapper in the markup even when no social provider is
 * configured. Some inherited styles turn it into a visible empty square. */
#comments.comments-area #wpdcom > .wc_social_plugin_wrapper {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#comments.comments-area #wpdcom > .wc_social_plugin_wrapper::before,
#comments.comments-area #wpdcom > .wc_social_plugin_wrapper::after {
  display: none !important;
  content: none !important;
}

body.single-post #wpdcom a {
  color: #ff5966;
  transition: color 0.18s ease, opacity 0.18s ease;
}

body.single-post #wpdcom a:hover { color: #fff; }

/* The site already displays its own movie score and reactions. */
body.single-post #wpd-post-rating {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Subscription and account bar */
body.single-post #wpdcom .wpd-form-wrap,
body.single-post #wpdcom .wpd-form,
body.single-post #wpdcom form {
  background: transparent !important;
}

body.single-post #wpdcom .wpd-form-head {
  margin: 0 0 16px !important;
  padding: 0 2px 13px !important;
  align-items: center;
  gap: 10px 18px;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
}

body.single-post #wpdcom .wpd-sbs-toggle,
body.single-post #wpdcom .wpd-sbs-toggle .wpd-sbs-title,
body.single-post #wpdcom .wpd-sbs-toggle i,
body.single-post #wpdcom .wpd-auth,
body.single-post #wpdcom .wpd-login {
  color: #a9abb2 !important;
}

body.single-post #wpdcom .wpd-sbs-toggle:hover,
body.single-post #wpdcom .wpd-sbs-toggle:hover i { color: #fff !important; }

body.single-post #wpdcom .wpd-auth .wpd-sep {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.single-post #wpdcom .wpdiscuz-social-login-agreement,
body.single-post #wpdcom .wpdiscuz-subscribe-bar {
  background: #11141a !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  color: #c6c8ce !important;
}

/* Main editor card */
body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap {
  margin: 0 !important;
  padding: 18px !important;
  align-items: center !important;
  background:
    linear-gradient(135deg, rgba(229, 27, 43, 0.11), rgba(229, 27, 43, 0.025) 55%),
    #171a20 !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 11px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
}

body.single-post #wpdcom .wpd-form .wpd-avatar {
  margin-right: 16px !important;
}

body.single-post #wpdcom .wpd-form .wpd-avatar img,
body.single-post #wpdcom .wpd-form .wpd-avatar img.avatar,
body.single-post #wpdcom .wpd-comment .wpd-avatar img,
body.single-post #wpdcom .wpd-comment .wpd-avatar img.avatar {
  background: #0b0d10 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea,
body.single-post #wpdcom .wpd-form-row .wpdiscuz-item input[type="text"],
body.single-post #wpdcom .wpd-form-row .wpdiscuz-item input[type="email"],
body.single-post #wpdcom .wpd-form-row .wpdiscuz-item input[type="url"],
body.single-post #wpdcom .wpd-form-row .wpdiscuz-item input[type="number"],
body.single-post #wpdcom .wpd-form-row .wpdiscuz-item textarea,
body.single-post #wpdcom .wpd-form-row .wpd-field,
body.single-post #wpdcom select,
body.single-post #wpdcom .wpdiscuz_select {
  background-color: #0b0d11 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #f5f5f3 !important;
}

body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea {
  min-height: 58px !important;
  padding: 15px 17px !important;
  line-height: 1.55 !important;
  overflow-y: hidden !important;
  resize: none !important;
  scrollbar-width: none !important;
}

body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea:focus,
body.single-post #wpdcom .wpd-form-row .wpd-field:focus,
body.single-post #wpdcom select:focus {
  outline: 0 !important;
  border-color: #aeb1b8 !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06) !important;
}

body.single-post #wpdcom input::placeholder,
body.single-post #wpdcom textarea::placeholder,
body.single-post #wpdcom .ql-editor::before {
  color: #777b85 !important;
  opacity: 1 !important;
}

/* Rich editor */
body.single-post #wpdcom .ql-container {
  background: #0b0d11 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px 8px 0 0 !important;
}

body.single-post #wpdcom .ql-editor,
body.single-post #wpdcom .ql-editor > * { color: #f5f5f3 !important; }

body.single-post #wpdcom .ql-toolbar {
  background: #12151a !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 0 8px 8px !important;
}

body.single-post #wpdcom .ql-toolbar .ql-stroke { stroke: #a9abb2 !important; }
body.single-post #wpdcom .ql-toolbar .ql-fill { fill: #a9abb2 !important; }
body.single-post #wpdcom .ql-toolbar button:hover .ql-stroke,
body.single-post #wpdcom .ql-toolbar button.ql-active .ql-stroke { stroke: #ff3445 !important; }
body.single-post #wpdcom .ql-toolbar button:hover .ql-fill,
body.single-post #wpdcom .ql-toolbar button.ql-active .ql-fill { fill: #ff3445 !important; }

body.single-post #wpdcom .wpd-form-foot {
  margin-top: 12px !important;
}

body.single-post #wpdcom .wpd-form-row .wpdiscuz-item .wpd-field-icon,
body.single-post #wpdcom .wpd-form-row .wpdiscuz-item .wpd-field-desc,
body.single-post #wpdcom .wpd-field-label,
body.single-post #wpdcom .wpdiscuz-subscribe-agreement {
  color: #92959e !important;
}

body.single-post #wpdcom .wpd-prim-button,
body.single-post #wpdcom input.wpd-prim-button,
body.single-post #wpdcom button.wpd-prim-button {
  min-height: 40px !important;
  padding: 8px 22px !important;
  background: linear-gradient(135deg, #e62133, #b80e1d) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.26) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

body.single-post #wpdcom .wpd-prim-button:hover {
  opacity: 1 !important;
  background: linear-gradient(135deg, #f12b3c, #c61121) !important;
  transform: translateY(-1px);
}

body.single-post #wpdcom .wpd-second-button {
  background: #20232a !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  color: #c9cbd0 !important;
  box-shadow: none !important;
}

/* Comment count, filters and pagination */
body.single-post #wpdcom #wpd-threads {
  margin-top: 24px !important;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.single-post #wpdcom .wpd-thread-head {
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}

body.single-post #wpdcom .wpd-thread-head .wpd-thread-info {
  margin-bottom: -1px !important;
  padding: 10px 14px 9px 2px !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22) !important;
  color: #f3f3f1 !important;
  font-family: "Barlow Condensed", Impact, sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
}

body.single-post #wpdcom .wpd-thread-filter .wpd-filter,
body.single-post #wpdcom .wpd-thread-filter .wpdf-sorting,
body.single-post #wpdcom .wpdiscuz-user-settings {
  color: #8f929b !important;
  border-bottom-color: transparent !important;
}

body.single-post #wpdcom .wpd-thread-filter .wpd-filter:hover,
body.single-post #wpdcom .wpd-thread-filter .wpdf-active,
body.single-post #wpdcom .wpdiscuz-user-settings:hover {
  color: #f2f2f0 !important;
  border-bottom-color: rgba(255, 255, 255, 0.28) !important;
}

body.single-post #wpdcom .wpdiscuz-sort-buttons,
body.single-post #wpdcom .wpd-tools-actions {
  background: #171a20 !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
  color: #c6c8ce !important;
}

body.single-post #wpdcom .wpdiscuz-sort-buttons .wpdiscuz-sort-button:hover,
body.single-post #wpdcom .wpd-tools-actions .wpd-cta-button:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}

body.single-post #wpdcom .page-numbers {
  background: #15181e !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 6px;
  color: #c6c8ce !important;
}

body.single-post #wpdcom .page-numbers.current,
body.single-post #wpdcom span.current {
  background: #e51b2b !important;
  border-color: #e51b2b !important;
  color: #fff !important;
}

/* Existing comments — compatible with layouts 1, 2 and 3 */
body.single-post #wpdcom .wpd-thread-list { padding: 24px 0 0 !important; }

body.single-post #wpdcom .wpd-comment > .wpd-comment-wrap {
  margin-bottom: 14px !important;
  padding: 16px !important;
  background: #12151a !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
}

body.single-post #wpdcom .wpd-comment.wpd-reply > .wpd-comment-wrap,
body.single-post #wpdcom.wpd-layout-2 .wpd-comment.wpd-reply > .wpd-comment-wrap {
  background: #171a20 !important;
  border-left: 3px solid rgba(255, 255, 255, 0.18) !important;
}

body.single-post #wpdcom .wpd-comment .wpd-comment-header,
body.single-post #wpdcom .wpd-comment .wpd-comment-subheader,
body.single-post #wpdcom .wpd-comment .wpd-reply-to {
  background: transparent !important;
  color: #90939c !important;
}

body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-right {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-header {
  border-radius: 8px 8px 0 0;
}

body.single-post #wpdcom .wpd-comment-header .wpd-comment-author,
body.single-post #wpdcom .wpd-comment-header .wpd-comment-author a {
  color: #fff !important;
  font-weight: 800 !important;
}

body.single-post #wpdcom .wpd-comment-text,
body.single-post #wpdcom .wpd-comment-text p,
body.single-post #wpdcom .wpd-comment-text li {
  color: #d9dadd !important;
  line-height: 1.65 !important;
}

body.single-post #wpdcom .wpd-comment-date,
body.single-post #wpdcom .wpd-comment-status,
body.single-post #wpdcom .wpd-comment-link,
body.single-post #wpdcom .wpd-follow-link,
body.single-post #wpdcom .wpd-comment-footer .wpd-reply-button,
body.single-post #wpdcom .wpd-comment-footer .wpd-vote-result,
body.single-post #wpdcom .wpd-comment-footer .wpd-toggle,
body.single-post #wpdcom .wpd-comment-footer .wpd-tools i {
  color: #898c95 !important;
}

body.single-post #wpdcom .wpd-comment-footer .wpd-reply-button:hover,
body.single-post #wpdcom .wpd-comment-footer .wpd-toggle:hover,
body.single-post #wpdcom .wpd-comment-footer .wpd-tools i:hover {
  color: #f1f1ef !important;
}

body.single-post #wpdcom .wpd-comment-footer svg { fill: #898c95 !important; }
body.single-post #wpdcom .wpd-comment-footer [class*="vote"]:hover svg,
body.single-post #wpdcom .wpd-comment-footer .wpd-reply-button:hover svg { fill: #f1f1ef !important; }

body.single-post #wpdcom .wpd-comment-footer .wpd-sep,
body.single-post #wpdcom .wpd-vote-result-sep {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
}

body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-footer .wpd-vote-up,
body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-footer .wpd-vote-down,
body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-footer .wpd-vote-result,
body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-footer .wpd-reply-button,
body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-footer .wpd-tool-wrap,
body.single-post #wpdcom.wpd-layout-3 .wpd-comment .wpd-comment-footer .wpd-tool-wrap i {
  background: #0e1014 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.single-post #wpdcom .wpd-comment-text blockquote,
body.single-post #wpdcom .wpd-comment-text .wpd-inline-feedback-wrapper {
  background: rgba(255, 255, 255, 0.045) !important;
  border-left: 3px solid rgba(255, 255, 255, 0.18) !important;
  color: #cfd0d4 !important;
}

body.single-post #wpdcom .wpd-load-more-submit-wrap .wpd-prim-button { min-width: 190px !important; }

/* Notices and the floating comment bubble */
body.single-post .wpdiscuz-message-error,
body.single-post .wpd-ajax-error {
  background: #3a0d12 !important;
  border-color: #7b1b24 !important;
  color: #ffbdc3 !important;
}

#wpd-bubble-wrapper > div {
  background: #cc1424 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34) !important;
}

/* Mobile */
@media (max-width: 700px) {
  body.single-post #comments.comments-area,
  body.single-post #comments.bdp-comments {
    width: calc(100% - 20px) !important;
    margin: 28px auto 0 !important;
    padding: 15px !important;
    border-radius: 12px !important;
  }

  body.single-post #comments.comments-area::before {
    margin-bottom: 15px;
    font-size: 23px;
  }

  body.single-post #wpdcom .wpd-form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.single-post #wpdcom .wpd-auth { justify-content: flex-start !important; }

  body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap {
    padding: 13px !important;
    border-radius: 10px !important;
  }

  body.single-post #wpdcom .wpd-form .wpd-avatar {
    width: 44px !important;
    margin-right: 11px !important;
  }

  body.single-post #wpdcom .wpd-form .wpd-avatar img,
  body.single-post #wpdcom .wpd-form .wpd-avatar img.avatar {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
  }

  body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea {
    min-height: 52px !important;
    padding: 12px !important;
    font-size: 16px !important;
  }

  body.single-post #wpdcom .wpd-form-foot,
  body.single-post #wpdcom.wpd-layout-2 .wpd-form .wpd-form-foot,
  body.single-post #wpdcom.wpd-layout-3 .wpd-form .wpd-form-foot {
    margin-left: 0 !important;
  }

  body.single-post #wpdcom .wpd-thread-head { gap: 8px; }
  body.single-post #wpdcom .wpd-thread-filter { width: 100%; }

  body.single-post #wpdcom .wpd-comment > .wpd-comment-wrap {
    padding: 13px !important;
  }

  body.single-post #wpdcom .wpd-reply,
  body.single-post #wpdcom .wpd-reply.wpd_comment_level-2,
  body.single-post #wpdcom.wpd-layout-2 .wpd-reply,
  body.single-post #wpdcom.wpd-layout-2 .wpd-reply.wpd_comment_level-2,
  body.single-post #wpdcom.wpd-layout-3 .wpd-reply,
  body.single-post #wpdcom.wpd-layout-3 .wpd-reply.wpd_comment_level-2 {
    margin-left: 10px !important;
  }
}

@media (max-width: 460px) {
  body.single-post #wpdcom .wpd-form .wpdiscuz-textarea-wrap {
    align-items: flex-start !important;
  }

  body.single-post #wpdcom .wpd-form .wpd-avatar {
    width: 38px !important;
    margin-right: 9px !important;
  }

  body.single-post #wpdcom .wpd-form .wpd-avatar img,
  body.single-post #wpdcom .wpd-form .wpd-avatar img.avatar {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
  }

  body.single-post #wpdcom .wpd-comment .wpd-comment-left {
    width: 42px !important;
    margin-right: 10px !important;
  }

  body.single-post #wpdcom .wpd-comment .wpd-comment-right {
    width: calc(100% - 52px) !important;
  }

  body.single-post #wpdcom .wpd-comment .wpd-avatar img,
  body.single-post #wpdcom .wpd-comment .wpd-avatar img.avatar {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
  }

  body.single-post #wpdcom .wpd-comment-text { font-size: 14px !important; }
}
