/* Grid */
.lmp-wall { max-width: 1200px; margin: 0 auto; padding: 16px; }
.lmp-wall-grid { display:grid; gap:20px; grid-template-columns:1fr; }
@media(min-width:760px){ .lmp-wall-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1100px){ .lmp-wall-grid{ grid-template-columns:repeat(3,1fr); } }

.lmp-card{ background:#0c2a4a; color:#e9f1ff; border-radius:16px; padding:18px; box-shadow:0 8px 24px rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.06); }
.lmp-title{ font-weight:700; margin-bottom:6px; }
.lmp-by{ opacity:.75; font-size:.9rem; margin-bottom:10px; }
.lmp-body p{ margin:.5em 0; }

.lmp-actions{ display:flex; gap:10px; margin-top:14px; }
.lmp-chip{ border:1px solid rgba(255,255,255,.15); background:transparent; color:#e9f1ff; border-radius:12px; padding:8px 12px; cursor:pointer; }
.lmp-chip:hover{ background:rgba(255,255,255,.06); }

.lmp-btn{ background: linear-gradient(90deg,#00f0a8,#47a4ff); border:none; color:#00162a; font-weight:700; padding:10px 16px; border-radius:12px; cursor:pointer; }
.lmp-btn:hover{ filter:brightness(1.05); }

/* Read-more collapse */
.lmp-body.collapsed{
  max-height: 140px;           /* ~6-7 lines depending on text size */
  overflow: hidden;
  position: relative;
}
.lmp-body.collapsed::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0; height:40px;
  background: linear-gradient(to bottom, rgba(12,42,74,0), rgba(12,42,74,1));
}
.lmp-readmore{
  margin-top:8px;
  background:transparent;
  border:1px dashed rgba(255,255,255,.25);
  color:#e9f1ff;
  border-radius:10px;
  padding:6px 10px;
  cursor:pointer;
}

/* Unified form styling (request + replies) */
.lmp-input, .lmp-textarea{
  width:100%;
  background:#062243;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  caret-color:#ffffff;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  padding:10px 12px;
  outline:none;
}
.lmp-input:focus, .lmp-textarea:focus{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
}
.lmp-input::placeholder, .lmp-textarea::placeholder{
  color: rgba(255,255,255,.85) !important;
}
.lmp-input:-webkit-autofill,
.lmp-textarea:-webkit-autofill{
  -webkit-text-fill-color:#ffffff !important;
  caret-color:#ffffff;
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

/* Replies box */
.lmp-replies{ margin-top:14px; border-top:1px dashed rgba(255,255,255,.12); padding-top:14px; }
.lmp-reply{ background:#081f38; border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:10px 12px; margin:8px 0; color:#e9f1ff; }
.lmp-reply-author{ font-weight:600; margin-bottom:6px; color:#e9f1ff; }
.lmp-empty{ opacity:.85; margin-bottom:8px; }

/* Submit block */
.lmp-form{ max-width:640px; margin: 0 auto 24px; }
.lmp-login-hint{ display:flex; align-items:center; gap:8px; margin-bottom:8px; font-size:.95rem; color:#e9f1ff; }
.lmp-inline{ display:flex; align-items:center; gap:8px; }
.lmp-login-link{ color:#b9d7ff; text-decoration:underline; }
.lmp-sep{ opacity:.6; }
.lmp-note{ opacity:.75; margin-top:8px; font-size:.9rem; }
