/* BFLIX native comments v1 */
#film_comments.m2w-comments-shell {
  --m2w-comment-blue: #a79fff;
  --m2w-comment-blue-deep: #6964a6;
  --m2w-comment-navy: #393465;
  --m2w-comment-ink: #2b2850;
  --m2w-comment-muted: #817b9c;
  --m2w-comment-line: #e7e4f5;
  --m2w-comment-soft: #f7faff;
  --m2w-comment-soft-blue: #f2f0ff;
  --m2w-comment-white: #ffffff;
  position: relative;
  margin: 34px 0 42px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--m2w-comment-line);
  border-radius: 20px;
  background: var(--m2w-comment-white);
  box-shadow: 0 18px 50px -34px rgba(20, 65, 132, .42);
  color: var(--m2w-comment-ink);
}

#film_comments.m2w-comments-shell * {
  box-sizing: border-box;
}

#film_comments .m2w-comments-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--m2w-comment-line);
  background:
    radial-gradient(circle at 0 0, rgba(167, 159, 255, .12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

#film_comments .m2w-comments-heading-wrap {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 15px;
}

#film_comments .m2w-comments-heading-icon {
  display: inline-flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--m2w-comment-blue), #69a6ff);
  box-shadow: 0 10px 24px -12px rgba(167, 159, 255, .9);
  color: #fff;
  font-size: 19px;
}

#film_comments .m2w-comments-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#film_comments .m2w-comments-title {
  margin: 0;
  color: var(--m2w-comment-ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

#film_comments .m2w-comments-count-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid #e3e0f1;
  border-radius: 999px;
  background: #fff;
  color: var(--m2w-comment-muted);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
}

#film_comments .m2w-comments-count-badge strong {
  color: var(--m2w-comment-blue-deep);
}

#film_comments .m2w-comments-subtitle {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--m2w-comment-muted);
  font-size: .9rem;
  line-height: 1.55;
}

#film_comments .m2w-comments-sort-label {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--m2w-comment-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#film_comments .m2w-comments-sort {
  min-width: 145px;
  height: 40px;
  padding: 0 34px 0 13px;
  border: 1px solid #e1def0;
  border-radius: 10px;
  outline: none;
  background-color: #fff;
  color: var(--m2w-comment-ink);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 12px -10px rgba(20, 65, 132, .65);
  cursor: pointer;
}

#film_comments .m2w-comments-sort:focus {
  border-color: var(--m2w-comment-blue);
  box-shadow: 0 0 0 3px rgba(167, 159, 255, .14);
}

#film_comments .m2w-comments-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--m2w-comment-line);
  background: #f8fafd;
  scrollbar-width: thin;
}

#film_comments .m2w-comments-tab {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #746e90;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: .18s ease;
}

#film_comments .m2w-comments-tab:hover {
  border-color: #e3e0f1;
  background: #fff;
  color: var(--m2w-comment-ink);
}

#film_comments .m2w-comments-tab.active {
  border-color: rgba(167, 159, 255, .32);
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue-deep);
  box-shadow: 0 5px 16px -13px rgba(105, 100, 166, .8);
}

#film_comments .m2w-comments-tab > span {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(108, 125, 153, .12);
  color: inherit;
  font-size: .7rem;
  font-weight: 800;
}

#film_comments .m2w-comments-tab.active > span {
  background: var(--m2w-comment-blue);
  color: #fff;
}

#film_comments .m2w-comments-compose-area {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--m2w-comment-line);
  background: #fff;
}

#film_comments .m2w-comments-current-avatar,
#film_comments .m2w-comment-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #153567, #a79fff);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -12px rgba(20, 65, 132, .9);
  user-select: none;
}

#film_comments .m2w-comments-current-avatar {
  width: 46px;
  height: 46px;
  font-size: .88rem;
}

#film_comments .m2w-comments-form {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1def0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px -25px rgba(20, 65, 132, .65);
}

#film_comments .m2w-comments-form:focus-within {
  border-color: rgba(167, 159, 255, .65);
  box-shadow: 0 0 0 4px rgba(167, 159, 255, .09), 0 14px 30px -25px rgba(20, 65, 132, .65);
}

#film_comments .m2w-comments-form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: var(--m2w-comment-muted);
  font-size: .78rem;
  line-height: 1.4;
}

#film_comments .m2w-comments-form-topline strong {
  color: var(--m2w-comment-ink);
}

#film_comments .m2w-comments-safety {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: #777293;
  font-weight: 700;
}

#film_comments .m2w-comments-safety i {
  color: var(--m2w-comment-blue);
}

#film_comments .m2w-comments-scope-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

#film_comments .m2w-comments-scope-picker legend {
  width: auto;
  margin: 0 3px 0 0;
  color: var(--m2w-comment-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#film_comments .m2w-comments-scope-picker label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

#film_comments .m2w-comments-scope-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#film_comments .m2w-comments-scope-picker span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #e1def0;
  border-radius: 9px;
  background: #f8fafd;
  color: #777293;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1;
  transition: .18s ease;
}

#film_comments .m2w-comments-scope-picker input:checked + span {
  border-color: rgba(167, 159, 255, .46);
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue-deep);
}

#film_comments .m2w-comments-scope-picker input:focus-visible + span {
  outline: 3px solid rgba(167, 159, 255, .18);
  outline-offset: 2px;
}

#film_comments .m2w-comments-textarea,
#film_comments .m2w-comment-reply-textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px 13px;
  border: 0;
  border-radius: 10px;
  outline: none;
  background: var(--m2w-comment-soft);
  color: var(--m2w-comment-ink);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px #e6edf6;
}

#film_comments .m2w-comments-textarea::placeholder,
#film_comments .m2w-comment-reply-textarea::placeholder {
  color: #9690a8;
}

#film_comments .m2w-comments-textarea:focus,
#film_comments .m2w-comment-reply-textarea:focus {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--m2w-comment-blue), 0 0 0 3px rgba(167, 159, 255, .1);
}

#film_comments .m2w-comments-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

#film_comments .m2w-comments-guideline {
  color: #7f90a7;
  font-size: .72rem;
  line-height: 1.4;
}

#film_comments .m2w-comments-submit-wrap {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

#film_comments .m2w-comments-char-count {
  color: #8392a6;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}

#film_comments .m2w-comments-submit,
#film_comments .m2w-comments-login-button,
#film_comments .m2w-comments-load-more,
#film_comments .m2w-comment-reply-submit {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--m2w-comment-blue);
  border-radius: 10px;
  background: linear-gradient(145deg, #b62b3d, #8d1524);
  color: #fff !important;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 9px 20px -13px rgba(105, 100, 166, .9);
  cursor: pointer;
  transition: .18s ease;
}

#film_comments .m2w-comments-submit:hover,
#film_comments .m2w-comments-login-button:hover,
#film_comments .m2w-comments-load-more:hover,
#film_comments .m2w-comment-reply-submit:hover {
  border-color: var(--m2w-comment-blue-deep);
  background: var(--m2w-comment-blue-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

#film_comments .m2w-comments-submit:disabled,
#film_comments .m2w-comment-reply-submit:disabled {
  border-color: #cbd9eb;
  background: #cbd9eb;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

#film_comments .m2w-comments-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#film_comments .m2w-comments-login-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border: 1px solid #e7e4f5;
  border-radius: 14px;
  background: linear-gradient(145deg, #fbfaff, #fff);
}

#film_comments .m2w-comments-login-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue);
  font-size: 18px;
}

#film_comments .m2w-comments-login-card h3 {
  margin: 0 0 4px;
  color: var(--m2w-comment-ink);
  font-size: 1rem;
  font-weight: 800;
}

#film_comments .m2w-comments-login-card p {
  margin: 0;
  color: var(--m2w-comment-muted);
  font-size: .82rem;
  line-height: 1.45;
}

#film_comments .m2w-comments-alert {
  margin: 18px 28px 0;
  padding: 11px 13px;
  border: 1px solid #e3e0f1;
  border-radius: 10px;
  background: #fbfaff;
  color: #7d1b28;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.45;
}

#film_comments .m2w-comments-alert.is-error {
  border-color: #d7e2ef;
  background: #fff4f4;
  color: #a83842;
}

#film_comments .m2w-comments-alert.is-success {
  border-color: #c8e6d3;
  background: #f0fbf5;
  color: #2b744b;
}

#film_comments .m2w-comments-list {
  padding: 4px 28px 8px;
}

#film_comments .m2w-comment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 22px 0;
  border-bottom: 1px solid #e7edf5;
}

#film_comments .m2w-comment:last-child {
  border-bottom: 0;
}

#film_comments .m2w-comment-avatar {
  width: 42px;
  height: 42px;
  font-size: .78rem;
}

#film_comments .m2w-comment-main {
  min-width: 0;
}

#film_comments .m2w-comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 23px;
}

#film_comments .m2w-comment-author {
  color: var(--m2w-comment-ink);
  font-size: .87rem;
  font-weight: 800;
  line-height: 1.25;
}

#film_comments .m2w-comment-admin-badge,
#film_comments .m2w-comment-context {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
}

#film_comments .m2w-comment-admin-badge {
  background: #fff0d7;
  color: #a96200;
}

#film_comments .m2w-comment-context {
  border: 1px solid #d6e3f3;
  background: #f4f8fd;
  color: #5c7191;
}

#film_comments .m2w-comment-context.is-episode {
  border-color: rgba(167, 159, 255, .28);
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue-deep);
}

#film_comments .m2w-comment-time {
  color: #8b99ad;
  font-size: .7rem;
  line-height: 1;
}

#film_comments .m2w-comment-body {
  margin-top: 8px;
  color: #283a57;
  font-size: .88rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

#film_comments .m2w-comment-body.is-deleted {
  color: #8c98aa;
  font-style: italic;
}

#film_comments .m2w-comment-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}

#film_comments .m2w-comment-action {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #71829d;
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
  transition: .16s ease;
}

#film_comments .m2w-comment-action:hover {
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue-deep);
}

#film_comments .m2w-comment-action.is-delete:hover {
  background: #f5f9ff;
  color: #b83b46;
}

#film_comments .m2w-comment-replies {
  margin-top: 12px;
  padding-left: 17px;
  border-left: 2px solid #e7e4f4;
}

#film_comments .m2w-comment-replies .m2w-comment {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px dashed #e7e4f5;
}

#film_comments .m2w-comment-replies .m2w-comment:last-child {
  border-bottom: 0;
}

#film_comments .m2w-comment-replies .m2w-comment-avatar {
  width: 34px;
  height: 34px;
  font-size: .67rem;
}

#film_comments .m2w-comment-reply-form {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e1def0;
  border-radius: 11px;
  background: #f9fbfe;
}

#film_comments .m2w-comment-reply-note {
  margin: 0 0 8px;
  color: #817b9c;
  font-size: .72rem;
  line-height: 1.4;
}

#film_comments .m2w-comment-reply-textarea {
  min-height: 72px;
  background: #fff;
  font-size: .82rem;
}

#film_comments .m2w-comment-reply-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 9px;
}

#film_comments .m2w-comment-reply-cancel {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #dfdced;
  border-radius: 9px;
  background: #fff;
  color: #777293;
  font-size: .75rem;
  font-weight: 750;
  cursor: pointer;
}

#film_comments .m2w-comment-reply-submit {
  min-height: 36px;
  padding: 7px 12px;
  font-size: .75rem;
}

#film_comments .m2w-comments-empty {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  padding: 34px 20px;
  text-align: center;
}

#film_comments .m2w-comments-empty-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue);
  font-size: 21px;
}

#film_comments .m2w-comments-empty h3 {
  margin: 0;
  color: var(--m2w-comment-ink);
  font-size: 1rem;
  font-weight: 800;
}

#film_comments .m2w-comments-empty p {
  max-width: 430px;
  margin: 0;
  color: var(--m2w-comment-muted);
  font-size: .8rem;
  line-height: 1.5;
}

#film_comments .m2w-comments-loading {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 35px;
  color: var(--m2w-comment-muted);
  text-align: center;
}

#film_comments .m2w-comments-loading > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m2w-comment-blue);
  animation: m2w-comments-pulse .95s infinite ease-in-out;
}

#film_comments .m2w-comments-loading > span:nth-child(2) {
  animation-delay: .12s;
}

#film_comments .m2w-comments-loading > span:nth-child(3) {
  animation-delay: .24s;
}

#film_comments .m2w-comments-loading p {
  flex-basis: 100%;
  margin: 7px 0 0;
  font-size: .78rem;
}

@keyframes m2w-comments-pulse {
  0%, 80%, 100% { opacity: .35; transform: scale(.75); }
  40% { opacity: 1; transform: scale(1); }
}

#film_comments .m2w-comments-load-more-wrap {
  padding: 4px 28px 26px;
  text-align: center;
}

#film_comments .m2w-comments-load-more {
  min-width: 190px;
  border-color: #cbd9eb;
  background: #fff;
  color: var(--m2w-comment-blue-deep) !important;
  box-shadow: none;
}

#film_comments .m2w-comments-load-more:hover {
  border-color: var(--m2w-comment-blue);
  background: var(--m2w-comment-soft-blue);
  color: var(--m2w-comment-blue-deep) !important;
}

#film_comments button:focus-visible,
#film_comments a:focus-visible,
#film_comments select:focus-visible,
#film_comments textarea:focus-visible {
  outline: 3px solid rgba(167, 159, 255, .22);
  outline-offset: 2px;
}

.goto-comments .m2w-comment-button-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(167, 159, 255, .14);
  color: #6964a6;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  #film_comments.m2w-comments-shell {
    margin: 24px 0 32px;
    border-radius: 16px;
  }

  #film_comments .m2w-comments-header {
    flex-direction: column;
    gap: 17px;
    padding: 21px 18px 18px;
  }

  #film_comments .m2w-comments-heading-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  #film_comments .m2w-comments-title {
    font-size: 1.22rem;
  }

  #film_comments .m2w-comments-sort-label {
    width: 100%;
    justify-content: space-between;
  }

  #film_comments .m2w-comments-sort {
    flex: 1 1 auto;
    max-width: 190px;
  }

  #film_comments .m2w-comments-tabs {
    padding: 12px 18px;
  }

  #film_comments .m2w-comments-compose-area {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 18px;
  }

  #film_comments .m2w-comments-current-avatar {
    width: 38px;
    height: 38px;
    font-size: .75rem;
  }

  #film_comments .m2w-comments-form {
    padding: 13px;
  }

  #film_comments .m2w-comments-form-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #film_comments .m2w-comments-form-footer {
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
  }

  #film_comments .m2w-comments-submit-wrap {
    width: 100%;
    justify-content: space-between;
  }

  #film_comments .m2w-comments-login-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 15px;
  }

  #film_comments .m2w-comments-login-icon {
    width: 44px;
    height: 44px;
  }

  #film_comments .m2w-comments-login-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  #film_comments .m2w-comments-alert {
    margin: 15px 18px 0;
  }

  #film_comments .m2w-comments-list {
    padding: 2px 18px 6px;
  }

  #film_comments .m2w-comment {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 19px 0;
  }

  #film_comments .m2w-comment-avatar {
    width: 36px;
    height: 36px;
    font-size: .7rem;
  }

  #film_comments .m2w-comment-replies {
    margin-left: -23px;
    padding-left: 13px;
  }

  #film_comments .m2w-comments-load-more-wrap {
    padding: 4px 18px 22px;
  }
}

@media (max-width: 420px) {
  #film_comments .m2w-comments-heading-wrap {
    gap: 11px;
  }

  #film_comments .m2w-comments-count-badge {
    width: fit-content;
  }

  #film_comments .m2w-comments-tab {
    padding: 8px 10px;
    font-size: .76rem;
  }

  #film_comments .m2w-comments-compose-area {
    grid-template-columns: 1fr;
  }

  #film_comments .m2w-comments-current-avatar {
    display: none;
  }

  #film_comments .m2w-comments-scope-picker {
    align-items: stretch;
  }

  #film_comments .m2w-comments-scope-picker legend {
    flex-basis: 100%;
  }

  #film_comments .m2w-comments-scope-picker label {
    flex: 1 1 0;
  }

  #film_comments .m2w-comments-scope-picker span {
    justify-content: center;
  }

  #film_comments .m2w-comments-submit {
    min-width: 142px;
  }

  #film_comments .m2w-comment-replies {
    margin-left: -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #film_comments *,
  #film_comments *::before,
  #film_comments *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* BFLIX v1 visual integration: clean blue/white community card. */
#film_comments.m2w-comments-shell {
  --m2w-comment-blue: #a79fff;
  --m2w-comment-blue-deep: #6964a6;
  --m2w-comment-navy: #393465;
  --m2w-comment-ink: #2b2850;
  --m2w-comment-muted: #817b9c;
  --m2w-comment-line: #e7e4f5;
  --m2w-comment-soft: #f7faff;
  --m2w-comment-soft-blue: #f2f0ff;
  border-color: #e7e4f4;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20,65,132,.07);
}
#film_comments .m2w-comments-header {
  padding: 21px 22px 18px;
  border-color: #e7e4f5;
  background: linear-gradient(180deg,#fff 0%,#fbfaff 100%);
}
#film_comments .m2w-comments-heading-icon {
  background: linear-gradient(145deg,#a79fff,#6964a6);
  box-shadow: 0 8px 20px -12px rgba(105,100,166,.75);
}
#film_comments .m2w-comments-count-badge,
#film_comments .m2w-comments-sort,
#film_comments .m2w-comments-form {
  border-color: #e1def0;
}
#film_comments .m2w-comments-tabs { background:#f7faff; border-color:#e7e4f5; }
#film_comments .m2w-comments-tab { color:#746e90; }
#film_comments .m2w-comments-tab:hover { border-color:#dfdced; color:#2b2850; }
#film_comments .m2w-comments-tab.active { border-color:#cbd9eb; background:#f2f0ff; color:#6964a6; }
#film_comments .m2w-comments-compose-area { padding:20px 22px; border-color:#e7e4f5; }
#film_comments .m2w-comments-form { box-shadow:0 8px 24px -22px rgba(20,65,132,.45); }
#film_comments .m2w-comments-safety { color:#777293; }
#film_comments .m2w-comments-scope-picker span { border-color:#e1def0; background:#f7faff; color:#777293; }
#film_comments .m2w-comments-scope-picker input:checked + span { border-color:#b8cff0; background:#f2f0ff; color:#6964a6; }
#film_comments textarea { border-color:#e1def0 !important; background:#fbfdff !important; color:#2b2850 !important; }
#film_comments textarea:focus { border-color:#a79fff !important; box-shadow:0 0 0 3px rgba(167,159,255,.10) !important; }
#film_comments .m2w-comments-list { background:#fff; }
#film_comments .m2w-comment { border-color:#e6edf6; }
#film_comments .m2w-comment-author { color:#342f5c; }
#film_comments .m2w-comment-body { color:#40536d; }
#film_comments .m2w-comments-login-card { border-color:#dbe6f3; background:#fbfaff; }
#film_comments .m2w-comments-login-icon { background:#eeecff; color:#6964a6; }
#film_comments .m2w-comments-login-button { background:#a79fff; border-color:#a79fff; color:#fff; }
#film_comments .m2w-comments-login-button:hover { background:#6964a6; border-color:#6964a6; color:#fff; }
.m2w-community-block { margin-top: 8px; }
@media (max-width: 767px) {
  #film_comments.m2w-comments-shell { margin:24px 0 30px; border-radius:12px; }
  #film_comments .m2w-comments-header { padding:18px 16px; }
  #film_comments .m2w-comments-tabs { padding-left:16px; padding-right:16px; }
  #film_comments .m2w-comments-compose-area { padding:18px 16px; }
}


/* BFLIX comments layout v2: keep discussion fully below the related-title grid. */
.film_related .block_area.block_area_category::after {
  content: "";
  display: block;
  clear: both;
}
.film_related .m2w-community-block {
  clear: both;
  display: block;
  width: 100%;
  margin-top: 30px;
  padding-top: 4px;
  position: relative;
  z-index: 1;
}
.film_related .m2w-community-block #film_comments.m2w-comments-shell {
  margin-top: 0;
}
@media (max-width: 767px) {
  .film_related .m2w-community-block {
    margin-top: 22px;
    padding-top: 2px;
  }
}


/* BFLIX v1 dark integration. Keeps the mature comments UX while matching the purple site. */
#film_comments.m2w-comments-shell {
  --m2w-comment-blue:#a79fff;
  --m2w-comment-blue-deep:#d0ccff;
  --m2w-comment-ink:#f6f4ff;
  --m2w-comment-muted:#aaa4c3;
  --m2w-comment-line:rgba(255,255,255,.09);
  --m2w-comment-soft:#1b1933;
  --m2w-comment-soft-blue:#2a2650;
  --m2w-comment-white:#211e42;
  border-color:rgba(255,255,255,.09);
  background:#211e42;
  box-shadow:0 22px 55px -35px rgba(0,0,0,.8);
  color:#f6f4ff;
}
#film_comments .m2w-comments-header {
  border-color:rgba(255,255,255,.09);
  background:radial-gradient(circle at 0 0,rgba(167,159,255,.18),transparent 36%),linear-gradient(180deg,#27234a 0%,#211e42 100%);
}
#film_comments .m2w-comments-heading-icon { background:linear-gradient(145deg,#a79fff,#6964a6); box-shadow:0 10px 24px -12px rgba(167,159,255,.72); }
#film_comments .m2w-comments-title,
#film_comments .m2w-comments-form-topline strong,
#film_comments .m2w-comments-login-card h3,
#film_comments .m2w-comments-empty h3,
#film_comments .m2w-comment-author { color:#fff; }
#film_comments .m2w-comments-subtitle,
#film_comments .m2w-comments-sort-label,
#film_comments .m2w-comments-form-topline,
#film_comments .m2w-comments-guideline,
#film_comments .m2w-comments-login-card p,
#film_comments .m2w-comments-empty p,
#film_comments .m2w-comment-meta,
#film_comments .m2w-comment-time,
#film_comments .m2w-comment-action,
#film_comments .m2w-comments-char-count { color:#aaa4c3; }
#film_comments .m2w-comments-count-badge,
#film_comments .m2w-comments-sort,
#film_comments .m2w-comments-form,
#film_comments .m2w-comments-compose-area,
#film_comments .m2w-comments-login-card,
#film_comments .m2w-comment-reply-form { border-color:rgba(255,255,255,.10); background:#1b1933; color:#f5f3ff; }
#film_comments .m2w-comments-sort option { background:#1b1933; color:#fff; }
#film_comments .m2w-comments-tabs { border-color:rgba(255,255,255,.09); background:#18162d; }
#film_comments .m2w-comments-tab { color:#aaa4c3; }
#film_comments .m2w-comments-tab:hover { border-color:rgba(255,255,255,.10); background:#262248; color:#fff; }
#film_comments .m2w-comments-tab.active { border-color:rgba(167,159,255,.42); background:#302b59; color:#dedaff; }
#film_comments .m2w-comments-compose-area,
#film_comments .m2w-comments-list { background:#211e42; }
#film_comments .m2w-comments-textarea,
#film_comments .m2w-comment-reply-textarea { border-color:rgba(255,255,255,.10); background:#151328; color:#fff; }
#film_comments .m2w-comments-textarea::placeholder,
#film_comments .m2w-comment-reply-textarea::placeholder { color:#716b8b; }
#film_comments .m2w-comments-textarea:focus,
#film_comments .m2w-comment-reply-textarea:focus,
#film_comments .m2w-comments-sort:focus { border-color:#a79fff; box-shadow:0 0 0 3px rgba(167,159,255,.13); }
#film_comments .m2w-comments-scope-picker span { border-color:rgba(255,255,255,.09); background:#18162d; color:#aaa4c3; }
#film_comments .m2w-comments-scope-picker input:checked + span { border-color:#a79fff; background:#302b59; color:#fff; }
#film_comments .m2w-comments-submit,
#film_comments .m2w-comments-login-button,
#film_comments .m2w-comment-reply-submit { background:linear-gradient(135deg,#b8b2ff,#8d83ff); color:#211e42!important; box-shadow:0 10px 24px -14px rgba(167,159,255,.72); }
#film_comments .m2w-comments-submit:hover,
#film_comments .m2w-comments-login-button:hover,
#film_comments .m2w-comment-reply-submit:hover { background:#c5c0ff; color:#211e42!important; }
#film_comments .m2w-comments-login-icon,
#film_comments .m2w-comments-empty-icon { background:#302b59; color:#c7c2ff; }
#film_comments .m2w-comment { border-color:rgba(255,255,255,.08); }
#film_comments .m2w-comment-body { color:#dedbea; }
#film_comments .m2w-comment-replies { border-left-color:rgba(167,159,255,.32); }
#film_comments .m2w-comment-context { background:#2a2650; color:#c7c2ff; }
#film_comments .m2w-comments-load-more { border-color:rgba(167,159,255,.35); background:#29254c; color:#d9d5ff; }
#film_comments .m2w-comments-load-more:hover { border-color:#a79fff; background:#302b59; color:#fff; }
#film_comments .m2w-comments-alert { border-color:rgba(255,255,255,.10); background:#19172e; color:#d8d5e8; }
#film_comments .m2w-comments-alert.is-success { border-color:rgba(95,203,132,.28); background:rgba(61,158,94,.12); color:#a6e4b9; }
#film_comments .m2w-comments-alert.is-error { border-color:rgba(255,112,124,.28); background:rgba(196,64,77,.12); color:#ffadb4; }
.m2w-community-block { clear:both; padding-top:18px; }
/* BFLIX comments dark theme v2 - keeps the existing comment behavior, only blends it into the site. */
.m2w-community-layout {
  align-items: flex-start;
  margin-top: 3rem !important;
}

.m2w-community-layout .m2w-community-main {
  min-width: 0;
}

.m2w-community-layout .m2w-community-sidebar {
  padding-top: 0;
}

.m2w-community-layout .m2w-community-sidebar > section,
.m2w-community-layout .m2w-community-sidebar > section > .head {
  margin-top: 0;
}

.m2w-community-wrap {
  width: 100%;
  margin: 0 !important;
  clear: both;
}

#film_comments.m2w-comments-shell {
  --m2w-comment-blue: #db0e52;
  --m2w-comment-blue-deep: #b20b42;
  --m2w-comment-navy: #111111;
  --m2w-comment-ink: #f2f2f2;
  --m2w-comment-muted: #8f8f8f;
  --m2w-comment-line: #2a2a2a;
  --m2w-comment-soft: #111111;
  --m2w-comment-soft-blue: rgba(219, 14, 82, .10);
  --m2w-comment-white: #181818;
  margin: 0;
  overflow: hidden;
  border: 1px solid #262626;
  border-radius: .55rem;
  background: #181818;
  box-shadow: none;
  color: #e8e8e8;
}

#film_comments .m2w-comments-header {
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #272727;
  background: #151515;
}

#film_comments .m2w-comments-heading-wrap {
  align-items: center;
  gap: 11px;
}

#film_comments .m2w-comments-heading-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border-radius: .4rem;
  background: #db0e52;
  box-shadow: none;
  font-size: 14px;
}

#film_comments .m2w-comments-title {
  color: #f3f3f3;
  font-size: 1.16rem;
  letter-spacing: 0;
}

#film_comments .m2w-comments-count-badge {
  min-height: 22px;
  padding: 3px 7px;
  border-color: #353535;
  background: #101010;
  color: #929292;
  font-size: .67rem;
}

#film_comments .m2w-comments-count-badge strong {
  color: #ee0f59;
}

#film_comments .m2w-comments-subtitle {
  margin-top: 4px;
  color: #858585;
  font-size: .78rem;
}

#film_comments .m2w-comments-sort-label {
  color: #777;
  font-size: .68rem;
}

#film_comments .m2w-comments-sort {
  min-width: 126px;
  height: 34px;
  padding-left: 10px;
  border-color: #363636;
  border-radius: .4rem;
  background: #0f0f0f;
  color: #e7e7e7;
  box-shadow: none;
  font-size: .75rem;
}

#film_comments .m2w-comments-sort option {
  background: #111;
  color: #f1f1f1;
}

#film_comments .m2w-comments-sort:focus {
  border-color: #db0e52;
  box-shadow: 0 0 0 2px rgba(219, 14, 82, .14);
}

#film_comments .m2w-comments-tabs {
  gap: 6px;
  padding: 10px 16px;
  border-bottom-color: #262626;
  background: #121212;
}

#film_comments .m2w-comments-tab {
  min-height: 32px;
  padding: 6px 9px;
  border-radius: .4rem;
  color: #8d8d8d;
  font-size: .72rem;
}

#film_comments .m2w-comments-tab:hover {
  border-color: #343434;
  background: #1e1e1e;
  color: #eee;
}

#film_comments .m2w-comments-tab.active {
  border-color: rgba(219, 14, 82, .42);
  background: rgba(219, 14, 82, .11);
  color: #f06a95;
  box-shadow: none;
}

#film_comments .m2w-comments-tab > span {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background: #262626;
  font-size: .62rem;
}

#film_comments .m2w-comments-tab.active > span {
  background: #db0e52;
  color: #fff;
}

#film_comments .m2w-comments-compose-area {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 16px;
  border-bottom-color: #262626;
  background: #181818;
}

#film_comments .m2w-comments-current-avatar,
#film_comments .m2w-comment-avatar {
  background: #db0e52;
  box-shadow: none;
}

#film_comments .m2w-comments-current-avatar {
  width: 38px;
  height: 38px;
  font-size: .74rem;
}

#film_comments .m2w-comments-form {
  padding: 12px;
  border-color: #303030;
  border-radius: .45rem;
  background: #121212;
  box-shadow: none;
}

#film_comments .m2w-comments-form:focus-within {
  border-color: rgba(219, 14, 82, .65);
  box-shadow: 0 0 0 2px rgba(219, 14, 82, .10);
}

#film_comments .m2w-comments-form-topline {
  margin-bottom: 8px;
  color: #808080;
  font-size: .71rem;
}

#film_comments .m2w-comments-form-topline strong {
  color: #ededed;
}

#film_comments .m2w-comments-safety {
  color: #777;
}

#film_comments .m2w-comments-safety i {
  color: #db0e52;
}

#film_comments .m2w-comments-scope-picker {
  gap: 6px;
  margin-bottom: 9px;
}

#film_comments .m2w-comments-scope-picker legend {
  color: #747474;
  font-size: .64rem;
}

#film_comments .m2w-comments-scope-picker span {
  min-height: 29px;
  padding: 5px 8px;
  border-color: #303030;
  border-radius: .35rem;
  background: #0e0e0e;
  color: #8d8d8d;
  font-size: .68rem;
}

#film_comments .m2w-comments-scope-picker input:checked + span {
  border-color: rgba(219, 14, 82, .48);
  background: rgba(219, 14, 82, .10);
  color: #f06a95;
}

#film_comments .m2w-comments-textarea,
#film_comments .m2w-comment-reply-textarea {
  min-height: 82px;
  padding: 10px 11px;
  border-radius: .4rem;
  background: #0d0d0d;
  color: #e8e8e8;
  font-size: .8rem;
  box-shadow: inset 0 0 0 1px #292929;
}

#film_comments .m2w-comments-textarea::placeholder,
#film_comments .m2w-comment-reply-textarea::placeholder {
  color: #656565;
}

#film_comments .m2w-comments-textarea:focus,
#film_comments .m2w-comment-reply-textarea:focus {
  background: #0b0b0b;
  box-shadow: inset 0 0 0 1px #db0e52, 0 0 0 2px rgba(219, 14, 82, .08);
}

#film_comments .m2w-comments-form-footer {
  margin-top: 9px;
}

#film_comments .m2w-comments-guideline,
#film_comments .m2w-comments-char-count {
  color: #6f6f6f;
}

#film_comments .m2w-comments-submit,
#film_comments .m2w-comments-login-button,
#film_comments .m2w-comments-load-more,
#film_comments .m2w-comment-reply-submit {
  min-height: 35px;
  padding: 7px 12px;
  border-color: #db0e52;
  border-radius: .4rem;
  background: #db0e52;
  box-shadow: none;
  font-size: .72rem;
}

#film_comments .m2w-comments-submit:hover,
#film_comments .m2w-comments-login-button:hover,
#film_comments .m2w-comments-load-more:hover,
#film_comments .m2w-comment-reply-submit:hover {
  border-color: #b20b42;
  background: #b20b42;
  transform: none;
}

#film_comments .m2w-comments-login-card {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 13px 14px;
  border-color: #303030;
  border-radius: .45rem;
  background: #111;
}

#film_comments .m2w-comments-login-icon {
  width: 40px;
  height: 40px;
  border-radius: .4rem;
  background: rgba(219, 14, 82, .10);
  color: #db0e52;
  font-size: 15px;
}

#film_comments .m2w-comments-login-card h3 {
  color: #eee;
  font-size: .87rem;
}

#film_comments .m2w-comments-login-card p {
  color: #777;
  font-size: .72rem;
}

#film_comments .m2w-comments-alert {
  margin: 13px 16px 0;
  border-color: rgba(219, 14, 82, .32);
  border-radius: .4rem;
  background: rgba(219, 14, 82, .08);
  color: #e78b8b;
  font-size: .72rem;
}

#film_comments .m2w-comments-alert.is-success {
  border-color: rgba(63, 156, 96, .34);
  background: rgba(63, 156, 96, .08);
  color: #8ed0a6;
}

#film_comments .m2w-comments-list {
  padding: 2px 16px 6px;
  background: #181818;
}

#film_comments .m2w-comment {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 16px 0;
  border-bottom-color: #292929;
}

#film_comments .m2w-comment-avatar {
  width: 36px;
  height: 36px;
  font-size: .68rem;
}

#film_comments .m2w-comment-author {
  color: #ededed;
  font-size: .78rem;
}

#film_comments .m2w-comment-admin-badge {
  background: rgba(219, 14, 82, .12);
  color: #f17b7b;
}

#film_comments .m2w-comment-context {
  border-color: #353535;
  background: #101010;
  color: #8d8d8d;
}

#film_comments .m2w-comment-context.is-episode {
  border-color: rgba(219, 14, 82, .34);
  background: rgba(219, 14, 82, .09);
  color: #ef7777;
}

#film_comments .m2w-comment-time {
  color: #686868;
}

#film_comments .m2w-comment-body {
  margin-top: 6px;
  color: #cfcfcf;
  font-size: .79rem;
  line-height: 1.58;
}

#film_comments .m2w-comment-body.is-deleted {
  color: #737373;
}

#film_comments .m2w-comment-actions {
  margin-top: 7px;
}

#film_comments .m2w-comment-action {
  min-height: 27px;
  color: #747474;
  font-size: .66rem;
}

#film_comments .m2w-comment-action:hover {
  background: #222;
  color: #ef7070;
}

#film_comments .m2w-comment-action.is-delete:hover {
  background: rgba(219, 14, 82, .10);
  color: #f07171;
}

#film_comments .m2w-comment-replies {
  border-left-color: #303030;
}

#film_comments .m2w-comment-replies .m2w-comment {
  border-bottom-color: #292929;
}

#film_comments .m2w-comment-reply-form {
  border-color: #303030;
  border-radius: .4rem;
  background: #111;
}

#film_comments .m2w-comment-reply-note {
  color: #777;
}

#film_comments .m2w-comment-reply-cancel {
  border-color: #353535;
  border-radius: .4rem;
  background: #181818;
  color: #aaa;
}

#film_comments .m2w-comments-empty,
#film_comments .m2w-comments-loading {
  min-height: 150px;
  background: #181818;
  color: #777;
}

#film_comments .m2w-comments-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: .45rem;
  background: rgba(219, 14, 82, .10);
  color: #db0e52;
  font-size: 17px;
}

#film_comments .m2w-comments-empty h3 {
  color: #e8e8e8;
  font-size: .86rem;
}

#film_comments .m2w-comments-empty p,
#film_comments .m2w-comments-loading p {
  color: #747474;
  font-size: .72rem;
}

#film_comments .m2w-comments-load-more {
  border-color: #343434;
  background: #111;
  color: #ddd !important;
}

#film_comments .m2w-comments-load-more:hover {
  border-color: #db0e52;
  background: #db0e52;
  color: #fff !important;
}

@media (min-width: 1200px) {
  .m2w-community-layout .m2w-community-main {
    margin-right: 1.5rem;
  }

  .m2w-community-layout .m2w-community-sidebar {
    width: 320px;
    flex: 0 0 320px;
  }
}

@media (max-width: 1199.98px) {
  .m2w-community-layout .m2w-community-main {
    margin-right: 0;
  }

  .m2w-community-layout .m2w-community-sidebar {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  #film_comments.m2w-comments-shell {
    border-radius: .45rem;
  }

  #film_comments .m2w-comments-header {
    align-items: flex-start;
    padding: 14px;
  }

  #film_comments .m2w-comments-tabs,
  #film_comments .m2w-comments-compose-area,
  #film_comments .m2w-comments-list {
    padding-left: 14px;
    padding-right: 14px;
  }

  #film_comments .m2w-comments-compose-area {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  #film_comments .m2w-comments-current-avatar {
    width: 34px;
    height: 34px;
  }

  #film_comments .m2w-comments-login-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}
