/* Historias / comentarios — paleta crema / guinda */

.lc-story {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.15rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #fff 0%, var(--crema-light, #FFF8EE) 100%);
  border: 1px solid var(--line, #e8dcc8);
  box-shadow: 0 10px 28px rgba(92, 10, 31, .06);
}
.lc-story__head { margin-bottom: .85rem; }
.lc-story__title {
  margin: 0 0 .35rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--guinda-dark, #5C0A1F);
  line-height: 1.25;
}
.lc-story__question {
  margin: 0;
  color: var(--muted, #6b5a4e);
  font-size: .98rem;
  line-height: 1.45;
}

.lc-story__prompts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .95rem;
}
.lc-story__prompt {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line, #e8dcc8);
  background: #fff;
  color: var(--guinda-dark, #5C0A1F);
  border-radius: 999px;
  padding: .45rem .9rem .45rem .65rem;
  font-size: .86rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.lc-story__prompt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--crema, #F5E6C8);
  color: var(--guinda, #7B1E3A);
  flex-shrink: 0;
}
.lc-story__prompt-icon .icon {
  width: .95rem;
  height: .95rem;
}
.lc-story__prompt:hover,
.lc-story__prompt:focus-visible,
.lc-story__prompt.is-active {
  border-color: rgba(123, 30, 58, .45);
  color: var(--guinda, #7B1E3A);
  background: rgba(123, 30, 58, .06);
  box-shadow: 0 2px 8px rgba(92, 10, 31, .08);
  outline: none;
}
.lc-story__prompt.is-active .lc-story__prompt-icon,
.lc-story__prompt:hover .lc-story__prompt-icon {
  background: var(--guinda, #7B1E3A);
  color: var(--crema-light, #FFF8EE);
}

.lc-story__form {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line, #e8dcc8);
}
.lc-story__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.lc-story__label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--guinda-dark, #5C0A1F);
}
.lc-story__input,
.lc-story__textarea {
  width: 100%;
  border: 1px solid var(--line, #e8dcc8);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  color: var(--ink, #2a1a14);
  background: #fff;
}
.lc-story__textarea { resize: vertical; min-height: 6rem; }
.lc-story__input:focus,
.lc-story__textarea:focus {
  outline: 2px solid rgba(196, 163, 90, .35);
  border-color: var(--gold, #C4A35A);
}
.lc-story__check {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--muted, #6b5a4e);
}
.lc-story__check input { margin-top: .2rem; }
.lc-story__hint {
  margin: .15rem 0 0;
  font-size: .8rem;
  color: var(--muted, #6b5a4e);
}
.lc-story__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}
.lc-story__status {
  margin: 0;
  font-size: .88rem;
  color: var(--muted, #6b5a4e);
}
.lc-story__status.is-error { color: #b42318; }
.lc-story__status.is-ok { color: #027a48; }
.lc-story__reply-banner {
  font-size: .9rem;
  color: var(--muted, #6b5a4e);
  background: var(--crema, #F5E6C8);
  border-radius: 10px;
  padding: .55rem .75rem;
}
.lc-story__linkish {
  border: 0;
  background: none;
  color: var(--guinda, #7B1E3A);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  margin-left: .35rem;
  padding: 0;
}

.lc-story__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  margin-bottom: .75rem;
}
.lc-story__sort { display: inline-flex; gap: .3rem; }
.lc-story__sort-btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: .35rem .75rem;
  font: inherit;
  font-size: .86rem;
  font-weight: 650;
  color: var(--muted, #6b5a4e);
  cursor: pointer;
}
.lc-story__sort-btn.is-active {
  background: rgba(123, 30, 58, .08);
  color: var(--guinda, #7B1E3A);
  border-color: rgba(123, 30, 58, .2);
}
.lc-story__count {
  margin: 0;
  font-size: .85rem;
  color: var(--muted, #6b5a4e);
}

.lc-story__list { display: grid; gap: .85rem; }
.lc-story__loading,
.lc-story__empty {
  margin: 0;
  color: var(--muted, #6b5a4e);
  font-size: .95rem;
}

.lc-story-item {
  border: 1px solid var(--line, #e8dcc8);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: #fff;
}
.lc-story-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  margin-bottom: .35rem;
}
.lc-story-item__name {
  font-weight: 800;
  color: var(--guinda-dark, #5C0A1F);
}
.lc-story-item__meta {
  font-size: .8rem;
  color: var(--muted, #6b5a4e);
}
.lc-story-item__body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
  color: #2a1a14;
  font-size: .96rem;
}
.lc-story-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  margin-top: .65rem;
}
.lc-story-item__btn {
  border: 1px solid var(--line, #e8dcc8);
  background: #fff;
  border-radius: 999px;
  padding: .28rem .7rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  color: var(--guinda-dark, #5C0A1F);
  cursor: pointer;
}
.lc-story-item__btn.is-on {
  border-color: rgba(196, 163, 90, .55);
  color: var(--guinda, #7B1E3A);
  background: rgba(196, 163, 90, .12);
}
.lc-story-item__replies {
  margin-top: .75rem;
  padding-left: .75rem;
  border-left: 2px solid var(--gold, #C4A35A);
  display: grid;
  gap: .65rem;
}

.lc-story__more-wrap { margin-top: .9rem; }

@media (max-width: 575.98px) {
  .lc-story { padding: 1rem .9rem 1.15rem; border-radius: 14px; }
}
