.social {
  margin: 18px 0;
  padding: 16px;
  color: #eee;
  background: #1b1522;
  border: 1px solid #49345c;
  border-radius: 12px;
}
.social h2 {
  color: #e2c4ff;
  margin: 0 0 10px;
}
.social label {
  display: block;
  margin: 8px 0;
  color: #d9b5f5;
}
.social input,
.social textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 5px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid #76528b;
  border-radius: 7px;
  background: #100d15;
  color: #fff;
  font: inherit;
}
.social textarea {
  min-height: 45px;
  resize: vertical;
}
.social button {
  cursor: pointer;
  border: 1px solid #76528b;
  border-radius: 7px;
  padding: 7px 11px;
  background: #76528b;
  color: white;
  font: inherit;
  transition: background .2s, border-color .2s, transform .2s;
}
.social button:hover:not(:disabled) {
  background: #9065aa;
  border-color: #b58bd0;
}
.social button:disabled {
  opacity: .55;
  cursor: wait;
}
.social [data-comment-list] {
  margin-top: 12px;
}
.social-comment {
  margin: 9px 0;
  padding: 10px;
  border: 1px solid #49345c;
  border-radius: 9px;
  background: #211a2a;
}
.social-comment-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.social-nickname {
  color: #e2c4ff;
}
.social-date,
.social-muted {
  color: #b9a9c5;
  font-size: .85em;
}
.social-comment-body {
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.social-comment-actions,
.social-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.social .social-like,
.social .social-reply-button,
.social .social-cancel {
  background: #30243c;
  border-color: #5a426d;
  color: #e8d8f5;
  font-size: .88em;
}
.social .social-like.is-liked {
  color: #ff9acb;
  border-color: #a75d8b;
  background: #40243a;
}
.social-replies {
  margin: 10px 0 0 14px;
  padding-left: 10px;
  border-left: 2px solid #76528b;
}
.social-reply {
  background: #191321;
  border-color: #3d2d4c;
}
.social-reply-form {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #5a426d;
  border-radius: 9px;
  background: #17111f;
}
.social-form-message,
[data-rating-message],
[data-form-message] {
  min-height: 1.3em;
  color: #d9b5f5;
}
.social-error {
  color: #ffaaaa;
}
.rating-stars {
  display: flex;
  gap: 5px;
}
.rating-stars button {
  padding: 2px;
  background: transparent;
  border: 0;
  color: #d9b5f5;
  font-size: 23px;
}
.rating-stars button:hover:not(:disabled) {
  background: transparent;
  color: #ffd36b;
}
@media (max-width: 560px) {
  .social {
    padding: 12px;
  }
  .social-replies {
    margin-left: 5px;
    padding-left: 8px;
  }
  .social-comment {
    padding: 9px;
  }
}

/* VELVET MOON — REDISEÑO DE FICHAS */
body:has(.ficha) {
  background: #100d15;
  color: #eee;
  font-family: "DM Sans", Arial, sans-serif;
}

body:has(.ficha) > header {
  background: #191321;
  border-bottom: 1px solid #49345c;
  padding: 22px;
  text-align: center;
}

body:has(.ficha) > header a {
  color: #e2c4ff;
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 3px;
  font-weight: 600;
}

body:has(.ficha) main {
  max-width: 1100px;
  margin: 38px auto;
  padding: 20px;
}

body:has(.ficha) .ficha {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 30px;
  background: #191521;
  border: 1px solid #392b48;
  border-radius: 12px;
}

body:has(.ficha) .portada {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 250 / 350;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 12px 30px #0008;
}

body:has(.ficha) .info h1 {
  margin: 0 0 14px;
  color: #ead8ff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

body:has(.ficha) .generos {
  color: #c5a4dc;
  font-size: 13px;
  line-height: 1.7;
}

body:has(.ficha) .sinopsis {
  color: #d4cedb;
  font-size: 14px;
  line-height: 1.85;
}

body:has(.ficha) .boton {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  background: #76528b;
  color: #fff;
  border: 1px solid #9871ad;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background .2s, transform .2s;
}

body:has(.ficha) .boton:hover {
  background: #9065aa;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  body:has(.ficha) main {
    margin: 18px auto;
    padding: 12px;
  }

  body:has(.ficha) .ficha {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  body:has(.ficha) .portada {
    width: min(65%, 220px);
    margin: 0 auto;
  }

  body:has(.ficha) .info h1 {
    font-size: 27px;
  }
}

