/* src/scripts/bsky-comments/index.css */
.commentsContainer {
  max-width: 740px;
  margin: 0 auto;
}
.statsBar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.statsBar:hover {
  text-decoration: underline;
}
.statItem {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
}
.errorText,
.loadingText {
  text-align: center;
}
.commentsTitleContainer {
  border-bottom: 1px solid var(--border-color);
}
.commentsTitle {
  font-size: 1.25rem;
  font-weight: bold;
}
.replyText {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.commentsList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.showMoreButton {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #3b82f6;
  text-decoration: underline;
}
.commentContainer {
  margin: 1rem 0;
  font-size: 0.875rem;
}
.commentContent {
  display: flex;
  max-width: 36rem;
  flex-direction: column;
  gap: 0.5rem;
}
.authorLink {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}
.authorLink:hover {
  text-decoration: underline;
}
.avatar {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: #d1d5db;
}
.authorName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.commentContent .handle {
  color: #6b7280;
}
.repliesContainer {
  border-left: 2px solid var(--border-color);
  padding-left: 1rem;
}
.actionsContainer {
  margin-top: 0.5rem;
  display: flex;
  width: 100%;
  max-width: 150px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  opacity: 0.6;
}
.actionsRow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* src/styles/index.css */
:root {
  --white: #ffffff;
  --black: #1e1e1e;
  --light-gray: #aaaaaa;
  --primary-bg: var(--white);
  --inverted-bg: var(--black);
  --primary-text: #333333;
  --secondary-bg: #f7f7f7;
  --secondary-text: #777777;
  --blockquote-bg: #f5f5f5;
  --blockquote-border: #e0e0e0;
  --link-color: #007bff;
  --border-color: #e0e0e0;
}
[data-theme=dark] {
  --primary-bg: var(--black);
  --inverted-bg: var(--white);
  --primary-text: #ececec;
  --secondary-bg: #2a2a2a;
  --secondary-text: var(--light-gray);
  --blockquote-bg: #2c2c2c;
  --blockquote-border: #3a3a3a;
  --link-color: #1e90ff;
  --border-color: #3a3a3a;
}
body {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 400;
  height: 100vh;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s;
}
footer {
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--secondary-bg);
}
.container {
  margin: auto;
  padding: 2em 2em 2em 2em;
}
.post-container {
  max-width: 800px;
}
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
a.plain-link {
  text-decoration: none;
  color: inherit;
  transition: none;
}
a.plain-link:hover {
  text-decoration: none;
}
article {
  margin: 20px 0;
}
button {
  background-color: var(--link-color);
  color: var(--primary-bg);
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
button:hover {
  background-color: darken(var(--link-color), 10%);
}
h1,
h2,
h3,
h4,
p,
code,
blockquote,
pre,
a,
span,
label {
  transition: color 0.3s;
}
h1,
h2,
h3,
h4 {
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.75em;
  color: var(--primary-text);
}
h2 {
  font-size: 2.25em;
  color: var(--primary-text);
}
h3 {
  font-size: 1.875em;
  color: var(--primary-text);
}
h4 {
  font-size: 1.5625em;
  color: var(--secondary-text);
}
p {
  margin-bottom: 1em;
  color: var(--primary-text);
}
code {
  font-size: 92%;
  color: var(--secondary-text);
  font-family: "Space Mono", monospace;
  margin-bottom: 1em;
}
blockquote {
  background-color: var(--blockquote-bg);
  border-left: 4px solid var(--blockquote-border);
  padding: 0.5em 1em;
  font-style: italic;
  color: var(--secondary-text);
}
pre {
  background-color: var(--blockquote-bg);
  padding: 1em;
  overflow-x: auto;
  font-family: "Space Mono", monospace;
}
.posts-list {
  list-style: none;
  margin: 0;
  padding: 2em 0 0 0;
}
.image-container {
  display: block;
  max-width: 97%;
  margin: auto;
  @media (min-width: 768px) {
    max-width: 80%;
  }
  img {
    display: block;
    max-width: 100%;
    margin: auto;
  }
  p {
    display: block;
    font-size: 0.85em;
    width: 100%;
    text-align: left;
    color: var(--secondary-text);
  }
}
.footnotes {
  border-top: 1px solid var(--border-color);
  p {
    color: var(--secondary-text);
    font-size: 0.85em;
  }
  code {
    color: var(--primary-text);
  }
}
.footnotes-sep {
  display: none;
}
.no-transition {
  transition: none !important;
}
#comments-container {
  border-top: 1px solid var(--border-color);
}
