.aihot-like-row {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-block: 16px;
}

.aihot-comment-like-row {
  min-height: 44px;
  margin-block: 8px 0;
}

.aihot-comments {
  margin-block: 32px;
  padding-block: 24px;
  border-top: 1px solid #dae2df;
}

.aihot-comments h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 20px;
  color: #182730;
  font-size: 22px;
  line-height: 1.3;
}

.aihot-comment-total {
  color: #58696f;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.aihot-comments-list .commentlist {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aihot-comments-list .comment-body {
  padding: 16px;
  border: 1px solid #dae2df;
  border-radius: 4px;
  background: #fff;
}

.aihot-comments-list .children {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
  padding-left: 16px;
  list-style: none;
}

.aihot-comments-list .comment-meta {
  color: #58696f;
  font-size: 14px;
}

.aihot-comments-list .comment-content {
  overflow-wrap: anywhere;
}

.aihot-comment-form {
  margin-top: 24px;
}

.aihot-comment-form textarea {
  width: 100%;
  min-height: 128px;
  resize: vertical;
}

.aihot-comment-form input[type="text"],
.aihot-comment-form input[type="email"],
.aihot-comment-form input[type="url"],
.aihot-comment-form textarea {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #a8b5b2;
  border-radius: 4px;
  background: #fff;
  color: #182730;
  font: inherit;
}

.aihot-comment-form input[type="submit"] {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 4px;
  background: #075d57;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.aihot-comment-form :focus-visible {
  outline: 3px solid #087e75;
  outline-offset: 2px;
}

@media (max-width: 40rem) {
  .aihot-comments-list .comment-body {
    padding: 12px;
  }

  .aihot-comments-list .children {
    padding-left: 10px;
  }
}

.aihot-like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.aihot-like-button:hover,
.aihot-like-button[aria-pressed="true"] {
  background: #e5f3f0;
  color: #075d57;
}

.aihot-like-button:focus-visible {
  outline: 3px solid #087e75;
  outline-offset: 2px;
}

.aihot-like-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.aihot-like-count {
  min-width: 1.5ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.aihot-like-button .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .aihot-like-button {
    transition: none;
  }
}
