
/* Override theme styles here */
.button-9 {
    appearance: button;
    backface-visibility: hidden;
    background-color: #405cf5;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset,rgba(50, 50, 93, .1) 0 2px 5px 0,rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif;
    font-size: 100%;
    height: 44px;
    line-height: 1.15;
    margin: 12px 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s,box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-9:disabled {
    cursor: default;
  }
  
  .button-9:focus {
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
  }

  .button-load-comments {
    appearance: button;
    backface-visibility: hidden;
    background-color: #ccc;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset,rgba(50, 50, 93, .1) 0 2px 5px 0,rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif;
    font-size: 100%;
    height: 25px;
    line-height: 1.15;
    margin: 12px 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s,box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }

  
  .join-mastodon-link {
      border-bottom: 1px dashed rgba(0, 171, 107, .5);
      color: #00ab6b;
      opacity: 1;
  }
  
  .mastodon-url-input {
      padding: 12px 20px;
      margin: 8px 0;
      box-sizing: border-box;
      border-radius: 4px;
      border: 1px solid #ccc;
  }

.mastodon-comments-container .comment .author .instance {
    background-color: rgba(0, 0, 0, 0.12);
    border-radius: 9999px;
    color: var(--neutral);
    font-size: smaller;
    font-weight: 400;
    padding: .25em .75em;
}

.mastodon-comments-container .comment .avatar-link {
  grid-area: avatar;
  height: 2rem;
  position: relative;
  width: 2rem;
}

.mastodon-comments-container .comment {
  display: grid;
  column-gap: 1rem;
  grid-template-areas:
      "avatar name"
      "avatar time"
      "avatar post"
      "...... interactions";
  grid-template-columns: min-content;
  justify-items: start;
  margin: 0 auto 0 -1em;
  padding: .5em;
}

.mastodon-comments-container .comment .author {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: .5em;
    grid-area: name;
}

.mastodon-comments-container .comment time {
  font-size: smaller;
  opacity: 0.7;
}

.mastodon-comments-container .comment .avatar-link .avatar-mastodon {
  height: 100%;
  width: 100%;
  transition: all ease-out .5s;
  border-radius: 50%;
  border: 4px solid #fff;
}

.mastodon-comments-container .comment footer .faves{
  color:inherit
}

.mastodon-comments-container .comment footer .faves:hover{
  opacity:.8;
  text-decoration:none
}
  
.mastodon-comments-container .comment footer .faves::before{
  color:red;
  content: "❤️";
  font-size: 1rem;
  margin-inline-end: .25em
}

.mastodon-comments-container .comment footer {
  grid-area: interactions;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.modal-content .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-content .close:hover,
.modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
