.tw-container {
  width: 100%;
  max-width: 520px;
  border: solid 1px rgb(207, 217, 222);
  border-radius: 12px;
  background-color: rgb(255, 255, 255);
  padding: 1rem;
  font-size: 14px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

.tw-quoted {
  border: solid 1px rgb(207, 217, 222);
  border-radius: 12px;
  padding: 0.8em;
  margin-top: 6px;
}

.tw-quoted > a {
  color: initial;
}

.tw-quoted:hover {
  background-color: rgb(0, 0, 0, 0.03);
}

.tw-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.tw-user a {
  text-decoration: none;
  display: flex;
}

.tw-user-info {
  align-self: center;
  margin-left: 4px;
  font-size: 14px;
}

.tw-quoted .tw-user-info {
  display: flex;
}

.tw-quoted .tw-user-info .screen-name {
  margin-left: 4px;
}

.tw-user-info .name {
  color: rgb(15, 20, 25);
  font-weight: 600;
}

.tw-user-info .name:hover {
  text-decoration: underline;
}

.tw-user-info .name svg {
  height: 18px;
  vertical-align: text-bottom;
  margin-left: 2px;
}

.tw-user-info .screen-name {
  color: rgb(83, 100, 113);
}

.tw-logo svg {
  width: 1.4em;
  height: 1.4em;
}

.tw-body {
  margin-top: 1em;
  white-space: pre-line;
  cursor: pointer;
  word-break: break-word;
}

.tw-quoted .tw-body {
  margin-top: 0.5em;
}

.tw-footer {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  margin-top: 1.6rem;
  cursor: pointer;
}

.tw-container a {
  text-decoration: none;
}

.tw-container > a {
  word-break: break-all;
}

.tw-intents a {
  display: inline-block;
  height: 20px;
  margin-right: 1.2em;
  color: rgb(83, 100, 113) !important;
  border-bottom: none !important;
}

.tw-intents a span {
  /* vertical-align: super; */
  margin-left: 6px;
}

.tw-intents a svg {
  width: 1.4em;
  height: 1.4em;
}

.tw-retweet span,
.tw-like span {
  position: relative;
  bottom: 30%;
  color: #657786;
  margin-left: 3px;
}

.tw-timestamp a,
.tw-header a {
  color: rgb(83, 100, 113) !important;
  border-bottom: none !important;
}

img.tw-profile {
  width: 2.875em;
  height: 2.875em;
  border: solid 1px rgb(0, 0, 0, 0.1);
  border-radius: 9999px;
}

.tw-quoted img.tw-profile {
  width: 1.5em;
  height: 1.5em;
}

.tw-media-img {
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 6px;
  height: 300px;
  max-height: 300px;
  border: solid 1px rgb(207, 217, 222);
  border-radius: 12px;
}

.tw-link {
  color: rgb(27, 149, 224);
}

.tw-link:hover {
  border-bottom: solid 1px;
}

.tw-container video {
  display: block;
  width: 100%;
  border: solid 1px rgb(207, 217, 222);
  border-radius: 12px;
  margin-top: 0.5em;
}

.tw-images-container {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  border: solid 1px rgb(207, 217, 222);
  padding: 1px;
}

.tw-images-container.no-br {
  padding: 2px;
}

.tw-images-container li.tw-multi-image {
  height: 200px;
  flex-grow: 1;
  padding: 2px;
}

.tw-images-container li.tw-image {
  width: 100%;
}

.tw-images-container li.tw-image img,
.tw-images-container li.tw-multi-image img {
  max-width: 470px;
}

.tw-images-container img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.tw-outer-link {
  color: initial;
  cursor: initial;
}

.tw-outer-link:hover {
  color: initial;
}

@media screen and (max-width: 650px) {
  .tw-images-container li.tw-multi-image {
    height: 120px;
  }

  .tw-images-container li.tw-image img {
    width: 100%;
  }

  .tw-images-container li.tw-multi-image img {
    max-width: 240px;
  }
}
