/* The Black Faces additions to the LUTCH template. */

/* ---------- Comments (components/Comments.tsx) ---------- */
.post-comments-section { margin-top: 70px; padding-top: 60px; border-top: 1px solid #e7e7ee; }
.comments-list { list-style: none; padding: 0; margin: 0 0 50px; }
.comments-list .comment { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid #efeff4; }
.comments-list .comment:first-child { padding-top: 0; }
.comment-avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #6a3df0; color: #fff; font-weight: 700; font-size: 1.15rem;
}
.comment-txt { flex: 1; min-width: 0; }
.comment-txt p { margin-bottom: 8px; overflow-wrap: anywhere; }
.comment-txt p.comment-meta { margin-bottom: 6px; }
.comment-date { color: #8b8b98; font-size: 0.9rem; margin-left: 6px; }

.comment-form-wrapper { background: #f8f8fb; border-radius: 16px; padding: 34px 30px 26px; }
.comment-form .form-control { margin-bottom: 18px; background: #fff; }
.comment-form .comment-code { font-size: 1.4rem; letter-spacing: 0.35em; text-align: center; }
.comment-small { font-size: 0.9rem; color: #77778a; margin-bottom: 18px; }
.comment-as { margin-bottom: 16px; }
.comment-link { background: none; border: 0; padding: 0; color: #6a3df0; text-decoration: underline; cursor: pointer; }
.comment-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.comment-notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; }
.comment-notice--ok { background: #e6f6ec; color: #17683a; }
.comment-notice--info { background: #eef0ff; color: #3b3a9e; }
.comment-notice--error { background: #fdeaea; color: #a22b2b; }
.comment-dev-code { padding: 10px 14px; border: 1px dashed #c9a43a; border-radius: 10px; background: #fff9e6; color: #6b5400; }
.comment-dev-code strong { letter-spacing: 0.2em; font-size: 1.15rem; }

@media (max-width: 575px) {
  .comment-form-wrapper { padding: 26px 18px 18px; }
  .comments-list .comment { gap: 12px; }
  .comment-avatar { width: 38px; height: 38px; font-size: 1rem; }
}

/* ---------- Sign in / create account (pages/login.tsx) ---------- */
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.link-btn.color--purple { color: #6a3df0; }
.login-section .wrap-input { position: relative; }
.login-section .pass-toggle {
  position: absolute; right: 14px; top: calc(50% - 8px); transform: translateY(-50%); z-index: 2;
  background: none; border: 0; padding: 4px; color: #8b8b98; cursor: pointer; line-height: 1;
}
.login-section .wrap-input .form-control { padding-right: 48px; }
.login-section .form-control { margin-bottom: 16px; }
.login-section .comment-notice, .login-section .comment-dev-code { margin-bottom: 18px; }
.login-section .btn.submit { width: 100%; }
.header-account { white-space: nowrap; }

/* ---------- Quotes in post bodies (lib/body.ts "> ") ---------- */
.single-post-txt blockquote.post-quote {
  margin: 30px 0; padding: 22px 28px; border-left: 4px solid #6a3df0; background: #f6f3ff; border-radius: 0 12px 12px 0;
}
.single-post-txt blockquote.post-quote p { font-size: 1.15rem; font-style: italic; margin-bottom: 8px; }
.single-post-txt blockquote.post-quote cite { display: block; font-style: normal; color: #6b6b80; margin-top: 6px; }
