@font-face {
	font-family: "TwitterChirp";
  font-weight: 400;
	src: url("../fonts/chirp-regular.woff") format("woff");
}

@font-face {
	font-family: "TwitterChirp";
  font-weight: 700;
	src: url("../fonts/chirp-bold.woff") format("woff");
}


.tweet-container {
  display: flex;
  flex-direction: column;

  background: white;
  color: #0f1419;

  font-family: "TwitterChirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;

  max-width: min(100%, 598px);

  padding: 12px 16px;

  --resize-handle-width: 16px;
}

.dark-mode > .tweet-container {
  background: #15202b;
  color: #f7f9f9;
}


.tweet-container .tweet-header {
  display: flex;

  margin-bottom: 4px;
}

.tweet-container .tweet-header .avatar {
  display: block;

  width: 48px;
  height: 48px;

  margin-right: 12px;

  object-fit: cover;
}

.tweet-container .avatar.circle {
  clip-path: circle(49% at center);
}

.tweet-container .avatar.square {
  clip-path: inset(0 round 8%);
}

.tweet-container .tweet-header .tweet-user-info {
  display: flex;
  justify-content: center;
  flex-direction: column;

  flex: 1 1 auto;

  overflow: hidden;
}

.tweet-container .tweet-header .tweet-user-name-info {
  display: flex;

  white-space: nowrap;
  word-wrap: break-word;
}

.tweet-container .tweet-header .tweet-user-name {
  flex-shrink: 1;

  color: #0f140f;

  font-size: 15px;
  font-weight: bold;

  min-width: 0;

  overflow: hidden;
  text-overflow: ellipsis;
}

.dark-mode > .tweet-container .tweet-header .tweet-user-name {
  color: #f7f9f9;
}

.tweet-container .tweet-verified-icon {
  display: inline-flex;

  margin-left: 2px;

  vertical-align: text-bottom;
}

.tweet-container .tweet-header .tweet-user-handle {
  color: #536471;

  font-size: 15px;

  overflow: hidden;
  white-space: nowrap;
  word-wrap: break-word;
  text-overflow: ellipsis;
  /*LINK ../themes/tweet.js#ffs*/
  font-feature-settings: "ss01";
}

.dark-mode > .tweet-container .tweet-header .tweet-user-handle {
  color: #8b98a5;
}

.tweet-container .tweet-header .tweet-logo {
  display: block;

  width: 48px;
  height: 48px;

  margin-left: 20px;

  object-fit: cover;
}

.tweet-container[max-width~="425px"] .tweet-header .tweet-logo {
  display: none;
}


.tweet-container .tweet-replying-to {
  color: #536471;

  font-size: 15px;

  margin-top: 12px;
}

.dark-mode > .tweet-container .tweet-header .tweet-replying-to {
  color: #8b98a5;
}


.tweet-container .tweet-content {
  font-size: 17px;

  margin-top: 12px;

  white-space: pre-wrap;
  word-wrap: break-word;
}

.tweet-container a {
  color: #1d9bf0;
}


.tweet-container .tweet-media-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-gap: 2px;

  margin-top: 12px;

  border: 1px solid #cfd9de;
  border-radius: 16px;

  overflow: hidden;
  aspect-ratio: 16/9;
}

.dark-mode > .tweet-container .tweet-media-container {
  border-color: #38444d;
}

/* has exactly 1 child */
.tweet-container .tweet-media-container.has-exactly-one-child {
  aspect-ratio: clamp(1/1, var(--aspect, 16/9), 2/1);
}
/*LINK ../scripts/themes.js#firefox-has*/

.tweet-container .tweet-media-container.one-video {
  background-color: black;
}

.hide-media > .tweet-container .tweet-media-container {
  display: none;
}

.tweet-container .tweet-media-container .tweet-media {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.tweet-container .tweet-media-container.one-video .tweet-media {
  object-fit: contain;
}

/*LINK ../themes/toot.css#media-collage*/

/* 1st of 1 child */
.tweet-container .tweet-media-container .tweet-media:nth-child(1):nth-last-child(1) {
  grid-row: 1 / 3;
  grid-column: 1 / 3;
}

/* 1st of 2 children */
.tweet-container .tweet-media-container .tweet-media:nth-child(1):nth-last-child(2),
/* 2nd of 2 children */
.tweet-container .tweet-media-container .tweet-media:nth-child(2):nth-last-child(1),
/* 1st of 3 children */
.tweet-container .tweet-media-container .tweet-media:nth-child(1):nth-last-child(3) {
  grid-row: 1 / 3;
}

/* the 5th (or more) child */
.tweet-container .tweet-media-container .tweet-media:nth-child(n + 5) {
  display: none;
}


.tweet-container .tweet-quote-container {
  min-height: 64px;

  margin-top: 12px;

  border: 1px solid #cfd9de;
  border-radius: 16px;

  overflow: hidden;
}

.dark-mode > .tweet-container .tweet-quote-container {
  border-color: #38444d;
}

.tweet-container .tweet-quote-container :where(a:not(.tweet-birdwatch a)),
.tweet-container .tweet-quote-container .tweet-replying-to .blue-text {
  color: inherit;

  word-wrap: break-word;
}

.tweet-container .tweet-quote-header {
  font-size: 15px;

  margin-top: 12px;
  margin-left: 12px;
  margin-right: 12px;
}

.tweet-container .tweet-quote-header-info {
  display: flex;
  align-items: center;

  min-width: 0;
}

.tweet-container .tweet-quote-header .avatar {
  display: block;

  width: 20px;
  height: 20px;

  margin-right: 4px;

  object-fit: cover;
}

.tweet-container .tweet-quote-header .tweet-quote-user-info {
  display: flex;
  align-items: center;

  flex-shrink: 1;

  min-width: 0;
}

.tweet-container .tweet-quote-header .tweet-quote-user-name {
  font-weight: bold;

  min-width: 0;

  white-space: nowrap;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tweet-container .tweet-quote-header .tweet-quote-post-info {
  display: flex;
  align-items: center;

  flex-shrink: 1;

  color: #536471;

  min-width: 0;

  margin-left: 4px;
}

.dark-mode > .tweet-container .tweet-quote-header .tweet-quote-post-info {
  color: #8b98a5;
}

.tweet-container .tweet-quote-header .tweet-quote-user-handle {
  flex-shrink: 1;

  min-width: 0;

  white-space: nowrap;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  /*LINK ../themes/tweet.js#ffs*/
  font-feature-settings: "ss01";
}

.tweet-container .tweet-quote-header .tweet-quote-date {
  flex-shrink: 0;

  white-space: nowrap;
}

.tweet-container .tweet-quote-header .separator {
  padding-left: 4px;
  padding-right: 4px;
}

.tweet-container .tweet-quote-container .tweet-replying-to {
  margin-top: 4px;
  margin-left: 12px;
  margin-right: 12px;
}

.tweet-container .tweet-quote-content {
  font-size: 15px;

  margin: 4px 12px 12px;

  white-space: pre-wrap;
  word-wrap: break-word;
}

.tweet-container .tweet-quote-container .tweet-media-container {
  margin-top: 4px;

  border: none;
  border-radius: 0;
}

/*LINK ../scripts/themes.js#firefox-has*/
.tweet-container .tweet-quote-container .tweet-media-container.has-exactly-one-child {
  aspect-ratio: auto;
}

.tweet-container .tweet-quote-container .tweet-media-container.one-video {
  aspect-ratio: 16/9;
}


.tweet-container .tweet-footer {
  color: #536471;

  font-size: 15px;

  margin-top: 16px;
  margin-bottom: 16px;

  word-wrap: break-word;
}

.dark-mode > .tweet-container .tweet-footer {
  color: #8b98a5;
}


.tweet-container .tweet-birdwatch {
  font-size: 15px;

  margin-top: 12px;

  border: 1px solid #cfd9de;
  border-radius: 16px;

  overflow: hidden;
}

.dark-mode > .tweet-container .tweet-birdwatch {
  border-color: #38444d;
}

.tweet-container .tweet-birdwatch-icon svg {
  display: inline-block;
  flex: 0 0 auto;

  height: 1.25em;

  margin-right: 4px;
  padding: 2px;

  vertical-align: text-bottom;
  box-sizing: content-box; /* HACK Yuck */
}

.tweet-container .tweet-birdwatch-header {
  display: flex;
  align-items: stretch;

  background-color: rgba(0, 0, 0, 0.03);

  font-size: 14px;
  font-weight: 700;
  line-height: 16px;

  padding: 12px;

  white-space: pre-wrap;
  word-wrap: break-word;
}

.dark-mode > .tweet-container .tweet-birdwatch-header {
  background-color: rgba(255, 255, 255, 0.3);
}

.tweet-container .tweet-birdwatch-title {
  display: flex;
  align-items: center;
}

.tweet-container .tweet-birdwatch-content {
  padding: 12px;

  white-space: pre-wrap;
  word-wrap: break-word;
}

.tweet-container .tweet-birdwatch-footer {
  color: #536471;

  font-size: 13px;
  line-height: 16px;

  padding: 12px 0;

  white-space: pre-wrap;
  word-wrap: break-word;
}

.dark-mode > .tweet-container .tweet-birdwatch-footer {
  color: #8b98a5;
}


.tweet-container .tweet-quote-container .tweet-birdwatch {
  background-color: #f7f9f9;

  margin-top: 0;

  border-width: 0;
  border-top-width: 1px;
  border-radius: 0;
}

.dark-mode > .tweet-container .tweet-quote-container .tweet-birdwatch {
  background-color: #1e2732;
}

.tweet-container .tweet-quote-container .tweet-birdwatch-header {
  background-color: transparent;
}

.tweet-container .tweet-quote-container .tweet-birdwatch-content {
  padding-top: 0;
}


.tweet-container img.emoji {
  display: inline-block;

	width: 1.2em;
	height: 1.2em;

  margin-left: 0.075em;
  margin-right: 0.075em;

  vertical-align: -20%;
}

.tweet-container .blue-text {
  color: #1d9bf0;
}

.tweet-container .richtext-bold {
  font-weight: bold;
}

.tweet-container .richtext-italic {
  font-style: italic;
}


/* "Faint" letters in post */
.preview.faint-letters > .tweet-container .pelican-letter.hidden {
  opacity: 0.1;
}

.preview.faint-letters.dark-mode > .tweet-container .pelican-letter.hidden {
  opacity: 0.075;
}