.conversation,
.edit-history {
  max-width: 600px;
  margin: 0 auto;
  float: none;
  border-radius: 0;
  position: relative;
  width: 100%;
}
.conversation .show-more,
.edit-history .show-more {
  margin-bottom: 10px;
}

.main-thread,
.latest-edit {
  margin-bottom: 20px;
}

.reply {
  margin-bottom: 10px;
}

.reply-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background-color: var(--bg_panel);
  font-size: 14px;
}

.reply-sort-label {
  color: var(--fg_faded);
  margin-right: 2px;
}

.reply-sort-option {
  color: var(--tab);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 0.1rem solid transparent;
}
.reply-sort-option:hover {
  color: var(--fg_color);
  text-decoration: none;
}
.reply-sort-option.active {
  color: var(--tab_selected);
  border-bottom-color: var(--tab_selected);
}

body.fixed-nav .main-tweet,
body.fixed-nav .replies,
body.fixed-nav .edit-history > div {
  padding-top: 50px;
  margin-top: -50px;
}

.edit-history-header {
  padding: 10px;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: bold;
  background-color: var(--bg_panel);
}

.tweet-edit {
  margin-bottom: 5px;
}

.main-tweet .tweet-content {
  font-size: 18px;
}

@media (max-width: 600px) {
  .main-tweet .tweet-content {
    font-size: 16px;
  }
}
.thread-line .timeline-item::before, .thread-line.timeline-item::before {
  background: var(--accent_dark);
  content: "";
  position: relative;
  min-width: 3px;
  width: 3px;
  left: 26px;
  border-radius: 2px;
  margin-left: -3px;
  margin-bottom: 37px;
  top: 56px;
  z-index: 1;
  pointer-events: none;
}
.thread-line .with-header:not(:first-child)::after {
  background: var(--accent_dark);
  content: "";
  position: relative;
  float: left;
  min-width: 3px;
  width: 3px;
  right: calc(100% - 26px);
  border-radius: 2px;
  margin-left: -3px;
  margin-bottom: 37px;
  bottom: 10px;
  height: 30px;
  z-index: 1;
  pointer-events: none;
}
.thread-line .unavailable::before {
  top: 48px;
  margin-bottom: 28px;
}
.thread-line .more-replies::before {
  content: "...";
  background: unset;
  color: var(--more_replies_dots);
  font-weight: bold;
  font-size: 20px;
  line-height: 0.25em;
  left: 1.2em;
  width: 5px;
  top: 2px;
  margin-bottom: 0;
  margin-left: -2.5px;
}
.thread-line .earlier-replies {
  padding-bottom: 0;
  margin-bottom: -5px;
}

.timeline-item.thread-last::before {
  background: unset;
  min-width: unset;
  width: 0;
  margin: 0;
}

.more-replies {
  padding-top: 0.3em !important;
}

.more-replies-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-left: 58px;
  padding: 7px 0;
}

.timeline-item.thread.more-replies-thread {
  padding: 0 0.75em;
}
.timeline-item.thread.more-replies-thread::before {
  top: 40px;
  margin-bottom: 31px;
}
.timeline-item.thread.more-replies-thread .more-replies {
  display: flex;
  padding-top: unset !important;
  margin-top: 8px;
}
.timeline-item.thread.more-replies-thread .more-replies::before {
  display: inline-block;
  position: relative;
  top: -1px;
  line-height: 0.4em;
}
.timeline-item.thread.more-replies-thread .more-replies .more-replies-text {
  display: inline;
}

.related-header {
  padding: 8px 12px;
  margin-top: 10px;
  background-color: var(--bg_panel);
  color: var(--fg_faded);
  font-size: 14px;
  border-bottom: 1px solid var(--border_grey);
}

.gallery-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
  flex-grow: 1;
  max-height: 379.5px;
  max-width: 533px;
  pointer-events: all;
}
.gallery-row.mixed-row .attachment {
  min-width: 0;
  min-height: 0;
  flex: 1 1 0;
  max-height: 379.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #101010;
}
.gallery-row.mixed-row .still-image,
.gallery-row.mixed-row .still-image img,
.gallery-row.mixed-row .attachment > video,
.gallery-row.mixed-row .attachment > img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.gallery-row.mixed-row .still-image {
  display: flex;
  align-self: stretch;
}
.gallery-row.mixed-row .still-image img {
  flex-basis: auto;
  flex-grow: 0;
  object-fit: cover;
}
.gallery-row.mixed-row .attachment > video,
.gallery-row.mixed-row .attachment > img {
  object-fit: cover;
}
.gallery-row.mixed-row .attachment > video {
  object-fit: contain;
}

.attachments {
  margin-top: 0.35em;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-height: 600px;
  border-radius: 7px;
  overflow: hidden;
  flex-flow: column;
  background-color: var(--bg_color);
  align-items: center;
  pointer-events: all;
}

.attachment {
  position: relative;
  line-height: 0;
  overflow: hidden;
  margin: 0 0.25em 0 0;
  flex-grow: 1;
  box-sizing: border-box;
  min-width: 2em;
}
.attachment:last-child {
  margin: 0;
  max-height: 530px;
}

.media-gif {
  display: table;
  background-color: unset;
  width: unset;
  max-height: unset;
}

.media-gif video,
.media-gif img {
  width: 100%;
  height: 100%;
  max-height: 530px;
  background-color: #101010;
}

.still-image {
  max-height: 379.5px;
  max-width: 533px;
}
.still-image img {
  object-fit: cover;
  max-width: 100%;
  max-height: 379.5px;
  flex-basis: 300px;
  flex-grow: 1;
}

.alt-text {
  margin: 0px;
  padding: 11px 7px;
  box-sizing: border-box;
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 2.98em;
  max-height: 25px;
  white-space: pre;
  overflow: hidden;
  border-radius: 10px;
  color: var(--fg_color);
  font-size: 12px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.alt-text:hover {
  padding: 7px;
  width: min(230px, 100% - 20px);
  max-height: calc(100% - 10px);
  line-height: 1.2em;
  white-space: pre-wrap;
  transition-duration: 0.4s;
  transition-property: max-height;
}

.overlay-circle {
  border-radius: 50%;
  background-color: var(--dark_grey);
  width: 40px;
  height: 40px;
  align-items: center;
  display: flex;
  border-width: 5px;
  border-color: var(--play_button);
  border-style: solid;
}

.overlay-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 17px;
  border-color: transparent transparent transparent var(--play_button);
  margin-left: 14px;
}

.media-body {
  flex: 1;
  padding: 0;
  white-space: pre-wrap;
}

video {
  height: 100%;
  width: 100%;
}

.gallery-video {
  display: flex;
  overflow: hidden;
}
.gallery-video.card-container {
  flex-direction: column;
  width: 100%;
}
.gallery-video > .attachment {
  min-height: 80px;
  min-width: 200px;
  max-height: 530px;
  margin: 0;
}
.gallery-video > .attachment img {
  max-height: 100%;
  max-width: 100%;
}

.video-download {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  color: var(--accent);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}
.video-download .icon-container {
  margin: 0;
}
.video-download .icon-download-alt {
  font-size: 18px;
}

.attachment:hover .video-download {
  opacity: 1;
}
.attachment:hover .video-download:hover {
  color: var(--fg_color);
}

@media (hover: none) {
  .video-download {
    opacity: 1;
  }
}
.video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.video-overlay:hover .overlay-circle {
  border-color: var(--play_button_hover);
}
.video-overlay:hover .overlay-triangle {
  border-color: transparent transparent transparent var(--play_button_hover);
}
.video-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}
.video-overlay p {
  position: relative;
  z-index: 0;
  text-align: center;
  top: calc(50% - 20px);
  font-size: 20px;
  line-height: 1.3;
  margin: 0 20px;
}
.video-overlay .overlay-circle {
  position: relative;
  z-index: 0;
  top: calc(50% - 20px);
  margin: 0 auto;
  width: 40px;
  height: 40px;
}
.video-overlay .overlay-duration {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: rgba(0, 0, 0, 0.4784313725);
  line-height: 1em;
  padding: 4px 6px 4px 6px;
  border-radius: 5px;
  font-weight: bold;
}
.video-overlay form {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}
.video-overlay button {
  padding: 5px 8px;
  font-size: 16px;
}

html:has(body > .embed-wrapper),
html:has(body > .embed-video) {
  background: transparent;
  overflow: hidden;
}
html:has(body > .embed-wrapper) body,
html:has(body > .embed-video) body {
  background: transparent;
  overflow: hidden;
}

.embed-wrapper {
  box-sizing: border-box;
  border: 1px solid var(--border_grey);
  border-radius: 12px;
  overflow: hidden;
}
.embed-wrapper .embed-footer {
  display: block;
  padding: 12px 16px;
  border-top: 1px solid var(--border_grey);
  background: var(--bg_panel);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s;
}
.embed-wrapper .embed-footer:hover {
  background: var(--bg_hover);
}

.tweet-embed {
  position: relative;
  background-color: var(--bg_panel);
  transition: background-color 0.15s;
}
.tweet-embed:hover {
  background-color: var(--bg_hover);
}
.tweet-embed .timeline-item {
  pointer-events: none;
  background-color: transparent;
}
.tweet-embed .tweet-link:hover {
  background-color: transparent;
}
.tweet-embed .tweet-content {
  font-size: 18px;
}
.tweet-embed .avatar:not(.mini) {
  position: absolute;
}
.tweet-embed .still-image img,
.tweet-embed .quote-media-container img,
.tweet-embed .quote-media-container video {
  max-height: 600px;
}
.tweet-embed.error-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
}
.tweet-embed.error-embed .error-panel {
  margin: 0;
}

.embed-video {
  position: relative;
  min-height: 300px;
  background-color: black;
  border: 1px solid var(--border_grey);
}
.embed-video .attachments {
  margin: 0;
  border-radius: 0;
  max-height: 560px;
  background-color: unset;
}
.embed-video .card {
  margin: 0;
}
.embed-video .gallery-video {
  width: 100%;
}
.embed-video .gallery-video > .attachment {
  max-height: 560px;
  width: 100%;
}
.embed-video video {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.embed-video .video-download {
  display: none;
}
.embed-video .video-overlay-link {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: background 0.15s, opacity 0.15s;
  z-index: 10;
}
.embed-video .video-overlay-link:hover {
  background: rgba(60, 60, 60, 0.9);
}
.embed-video.video-playing .video-overlay-link {
  opacity: 0;
  pointer-events: none;
}
.embed-video.video-playing:hover .video-overlay-link {
  opacity: 1;
  pointer-events: auto;
}

.card {
  margin: 5px 0;
  pointer-events: all;
  max-height: unset;
}

.card-container {
  border: solid 1px var(--dark_grey);
  border-radius: 10px;
  background-color: var(--bg_elements);
  overflow: hidden;
  color: inherit;
  display: flex;
  flex-direction: row;
  text-decoration: none !important;
}
.card-container:hover {
  border-color: var(--grey);
}
.card-container .attachments {
  margin: 0;
  border-radius: 0;
}

.card-content {
  padding: 0.5em;
}

.card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  white-space: unset;
  font-weight: bold;
  font-size: 1.1em;
}

.card-description {
  margin: 0.3em 0;
  white-space: pre-wrap;
}

.card-destination {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--grey);
  display: block;
}

.card-content-container {
  color: unset;
  overflow: auto;
}
.card-content-container:hover {
  text-decoration: none;
}

.card-image-container {
  width: 98px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.card-image-container:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--bg_overlays);
}
.card-image img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  display: block;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.card-overlay:hover .overlay-circle {
  border-color: var(--play_button_hover);
}
.card-overlay:hover .overlay-triangle {
  border-color: transparent transparent transparent var(--play_button_hover);
}
.card-overlay {
  opacity: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.large .card-container {
  display: block;
}
.large .card-image-container {
  width: unset;
}
.large .card-image-container:before {
  display: none;
}
.large .card-image {
  position: unset;
  border-style: solid;
  border-color: var(--dark_grey);
  border-width: 0;
  border-bottom-width: 1px;
}

.poll-meter {
  overflow: hidden;
  position: relative;
  margin: 6px 0;
  height: 26px;
  background: var(--bg_color);
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.poll-choice-bar {
  height: 100%;
  position: absolute;
  background: var(--dark_grey);
}

.poll-choice-value {
  position: relative;
  font-weight: bold;
  margin-left: 5px;
  margin-right: 6px;
  min-width: 30px;
  text-align: right;
  pointer-events: all;
}

.poll-choice-option {
  position: relative;
  pointer-events: all;
}

.poll-info {
  color: var(--grey);
  pointer-events: all;
}

.leader .poll-choice-bar {
  background: var(--accent_dark);
}

.quote {
  margin-top: 10px;
  border: solid 1px var(--dark_grey);
  border-radius: 10px;
  background-color: var(--bg_elements);
  overflow: hidden;
  pointer-events: all;
  position: relative;
  width: 100%;
}
.quote:hover {
  border-color: var(--grey);
}
.quote.unavailable:hover {
  border-color: var(--dark_grey);
}
.quote .tweet-name-row {
  padding: 8px 10px 6px 10px;
}
.quote .quote-text {
  overflow: hidden;
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 10px;
  padding-top: 0;
}
.quote .show-thread {
  padding: 0px 10px 6px 10px;
  margin-top: -6px;
}
.quote .quote-latest {
  padding: 0px 10px 6px 10px;
  color: var(--grey);
}
.quote .replying-to {
  padding: 0px 10px;
  padding-bottom: 4px;
  margin: unset;
}
.quote .community-note {
  background-color: var(--bg_panel);
  border: unset;
  border-top: solid 1px var(--dark_grey);
  border-radius: unset;
  margin-top: 0;
}
.quote .community-note:hover {
  border-top-color: var(--grey);
}
.quote .community-note .community-note-header {
  background-color: var(--bg_panel);
  padding-bottom: 0;
}

.unavailable-quote {
  padding: 12px;
  display: block;
}

.quote-link {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
}

.quote-media-container {
  max-height: 300px;
  display: flex;
}
.quote-media-container .card {
  margin: unset;
}
.quote-media-container .attachments {
  border-radius: 0;
}
.quote-media-container .media-gif {
  width: 100%;
  display: flex;
  justify-content: center;
}
.quote-media-container .media-gif > .attachment {
  display: flex;
  justify-content: center;
  background-color: var(--bg_color);
}
.quote-media-container .media-gif > .attachment video,
.quote-media-container .media-gif > .attachment img {
  height: unset;
  width: unset;
  max-height: 100%;
  max-width: 100%;
}
.quote-media-container .gallery-row .attachment,
.quote-media-container .gallery-row .attachment > video,
.quote-media-container .gallery-row .attachment > img {
  max-height: 300px;
}
.quote-media-container .still-image img {
  max-height: 250px;
}

.tweet-body {
  flex: 1;
  min-width: 0;
  margin-left: 58px;
  pointer-events: none;
  z-index: 1;
}

.tweet-content {
  line-height: 1.3em;
  pointer-events: all;
  display: inline;
}

.tweet-bidi {
  display: block !important;
}

.tweet-header {
  padding: 0;
  vertical-align: bottom;
  flex-basis: 100%;
  margin-bottom: 0.2em;
}
.tweet-header a {
  display: inline-block;
  word-break: break-all;
  max-width: 100%;
  pointer-events: all;
}

.tweet-name-row {
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.tweet-name-row .verified-icon {
  margin-left: 2px;
}

.fullname-and-username {
  display: flex;
  min-width: 0;
}

.fullname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 2;
  max-width: 80%;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg_color);
}

.username {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 1.6em;
  margin-left: 0.4em;
  word-wrap: normal;
}

.tweet-date {
  display: flex;
  flex-shrink: 0;
  margin-left: 4px;
}

.tweet-date a,
.username,
.show-more a {
  color: var(--fg_dark);
}

.tweet-published {
  margin-top: 6px;
  margin-bottom: 0px;
  color: var(--grey);
}

.tweet-avatar {
  display: contents !important;
}
.tweet-avatar img {
  float: left;
  margin-top: 3px;
  margin-left: -58px;
  width: 48px;
  height: 48px;
}

.avatar.round {
  border-radius: 50%;
  user-select: none;
  -webkit-user-select: none;
}
.avatar.mini {
  position: unset;
  margin-right: 5px;
  margin-top: -1px;
  width: 20px;
  height: 20px;
}

.attribution {
  display: flex;
  pointer-events: all;
  margin: 5px 0;
}
.attribution strong {
  color: var(--fg_color);
}

.media-tag-block {
  padding-top: 5px;
  pointer-events: all;
  color: var(--fg_faded);
}
.media-tag-block .icon-container {
  padding-right: 2px;
}
.media-tag-block .media-tag,
.media-tag-block .icon-container {
  color: var(--fg_faded);
}

.timeline-container .media-tag-block {
  font-size: 13px;
}

.tweet-geo {
  color: var(--fg_faded);
}

.replying-to {
  color: var(--fg_faded);
  margin: -2px 0 4px;
}
.replying-to a {
  pointer-events: all;
}

.retweet-header,
.pinned,
.tweet-stats {
  align-content: center;
  color: var(--grey);
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}
.retweet-header span,
.pinned span,
.tweet-stats span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retweet-header {
  margin-top: -5px !important;
}

.tweet-stats {
  margin-bottom: -3px;
  user-select: none;
  -webkit-user-select: none;
}

.tweet-stat {
  padding-top: 5px;
  min-width: 1em;
  margin-right: 0.8em;
}

.show-thread {
  display: block;
  pointer-events: all;
  padding-top: 2px;
}

.unavailable-box {
  width: 100%;
  height: 100%;
  padding: 12px;
  border: solid 1px var(--dark_grey);
  box-sizing: border-box;
  border-radius: 10px;
  background-color: var(--bg_color);
  z-index: 2;
}

.tweet-link {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
  user-select: none;
  -webkit-user-select: none;
}
.tweet-link:hover {
  background-color: var(--bg_hover);
}

.latest-post-version {
  border-bottom: 1px solid var(--dark_grey);
  border-top: 1px solid var(--dark_grey);
  padding: 1ch 0px;
  margin: 1ch 0px;
  color: var(--grey);
}
.latest-post-version a {
  pointer-events: all;
}

.community-note {
  background-color: var(--bg_elements);
  margin-top: 10px;
  border: solid 1px var(--dark_grey);
  border-radius: 10px;
  overflow: hidden;
  pointer-events: all;
}
.community-note:hover {
  background-color: var(--bg_panel);
  border-color: var(--grey);
}

.community-note-header {
  background-color: var(--bg_hover);
  font-weight: 700;
  padding: 8px 10px;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.community-note-header .icon-container {
  flex-shrink: 0;
  color: var(--accent);
}

.community-note-text {
  white-space: pre-line;
  padding: 10px 10px;
  padding-top: 6px;
}

.disclosures {
  display: flex;
  flex-direction: column;
  color: var(--grey);
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: -2px;
}
.disclosures .icon-attention-circled {
  margin-right: -3px;
}

.profile-card {
  flex-wrap: wrap;
  background: var(--bg_panel);
  padding: 12px;
  display: flex;
}

.profile-card-info {
  overflow: hidden;
  overflow-wrap: break-word;
  width: 100%;
}

.profile-card-tabs-name {
  overflow: hidden;
  overflow-wrap: break-word;
  max-width: 100%;
}

.profile-card-username {
  overflow: hidden;
  overflow-wrap: break-word;
  color: var(--fg_color);
  font-size: 14px;
  display: block;
}

.profile-card-fullname {
  overflow: hidden;
  overflow-wrap: break-word;
  color: var(--fg_color);
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
  max-width: 100%;
}

.profile-card-avatar {
  display: inline-block;
  position: relative;
  width: 100%;
  margin-right: 4px;
  margin-bottom: 6px;
}
.profile-card-avatar:after {
  content: "";
  display: block;
  margin-top: 100%;
}
.profile-card-avatar img {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--darker_grey);
  background: var(--bg_panel);
}

.profile-card-extra {
  display: contents;
  flex: 100%;
  margin-top: 7px;
}
.profile-card-extra .profile-bio {
  overflow: hidden;
  overflow-wrap: break-word;
  width: 100%;
  margin: 4px -6px 6px 0;
  white-space: pre-wrap;
}
.profile-card-extra .profile-bio p {
  margin: 0;
}
.profile-card-extra .profile-joindate, .profile-card-extra .profile-location, .profile-card-extra .profile-website {
  color: var(--fg_faded);
  margin: 1px 0;
  width: 100%;
}

.profile-card-extra-links {
  margin-top: 8px;
  font-size: 14px;
  width: 100%;
}

.profile-statlist {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  width: 100%;
  justify-content: space-between;
}
.profile-statlist li {
  display: table-cell;
  text-align: center;
}

.profile-stat-header {
  font-weight: bold;
  color: var(--profile_stat);
}

.profile-stat-num {
  display: block;
  color: var(--profile_stat);
}

@media (max-width: 700px) {
  .profile-card-info {
    display: flex;
  }
  .profile-card-tabs-name {
    flex-shrink: 100;
  }
  .profile-card-avatar {
    width: 80px;
    height: 80px;
  }
  .profile-card-avatar img {
    border-width: 2px;
    width: unset;
  }
}
.about-account {
  max-width: 500px;
  width: 100%;
  margin: 20px auto 0;
  align-self: flex-start;
  background: var(--bg_panel);
  border-radius: 4px;
  padding: 12px 20px 20px;
}

.about-account-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border_grey);
}

.about-account-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.about-account-name {
  overflow: hidden;
  overflow-wrap: break-word;
  font-weight: bold;
}

.about-account-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-account-at {
  font-size: 18px;
  font-weight: bold;
}

.about-account-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-account-row > span:first-child {
  color: var(--fg_faded);
  flex-shrink: 0;
}
.about-account-row > div {
  display: flex;
  flex-direction: column;
}

.about-account-label {
  color: var(--fg_faded);
  font-size: 13px;
}

@media (max-width: 700px) {
  .about-account {
    max-width: none;
    margin: 10px;
  }
}
.photo-rail-card {
  float: left;
  background: var(--bg_panel);
  border-radius: 0 0 4px 4px;
  width: 100%;
  margin: 5px 0;
}
.photo-rail-header {
  padding: 5px 12px 0;
}
.photo-rail-header-mobile {
  display: none;
  box-sizing: border-box;
  padding: 5px 12px 0;
  width: 100%;
  float: unset;
  color: var(--accent);
  justify-content: space-between;
}
.photo-rail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 3px 3px;
  padding: 5px 12px 12px;
}
.photo-rail-grid a {
  position: relative;
  border-radius: 5px;
  background-color: var(--darker_grey);
}
.photo-rail-grid a:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.photo-rail-grid img {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#photo-rail-grid-toggle {
  display: none;
}
#photo-rail-grid-toggle:checked ~ .photo-rail-grid {
  max-height: 640px;
}
#photo-rail-grid-toggle:checked ~ label .icon-down:before {
  transform: rotate(180deg) translateY(-1px);
}

#photo-rail-grid-toggle:checked ~ .photo-rail-grid {
  padding-bottom: 12px;
}

@media (max-width: 700px) {
  .photo-rail-header {
    display: none;
  }
  .photo-rail-header-mobile {
    display: flex;
  }
  .photo-rail-grid {
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: max-height 0.4s;
  }
  .photo-rail-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  #photo-rail-grid-toggle:checked ~ .photo-rail-grid {
    max-height: 300px;
  }
}
@media (max-width: 450px) {
  .photo-rail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  #photo-rail-grid-toggle:checked ~ .photo-rail-grid {
    max-height: 450px;
  }
}
.community-header {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border_grey);
  background-color: var(--bg_panel);
}
.community-header .community-name {
  font-size: 22px;
  margin-bottom: 6px;
}
.community-header .community-name a {
  color: inherit;
}
.community-header .community-category {
  display: inline-block;
  background-color: var(--bg_elements);
  border: 1px solid var(--border_grey);
  border-radius: 16px;
  padding: 2px 12px;
  font-size: 13px;
  color: var(--fg_faded);
  margin-bottom: 8px;
}
.community-header .community-description {
  color: var(--fg_faded);
  margin-bottom: 8px;
  line-height: 1.4;
}
.community-header .community-member-count {
  font-weight: bold;
  color: inherit;
}
.community-header .community-stats {
  color: var(--grey);
  font-size: 14px;
}

.community-about {
  padding: 16px 15px 15px;
  background-color: var(--bg_panel);
}
.community-about h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.community-about .community-info {
  border-bottom: 1px solid var(--border_grey);
  padding-bottom: 12px;
}
.community-about .community-info-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  align-items: center;
}
.community-about .community-info-item .verified-icon {
  margin-left: 2px;
}
.community-about .community-info-item > .icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--grey);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}
.community-about .community-info-item strong {
  color: var(--fg_color);
}
.community-about .community-info-item a {
  color: var(--accent);
}
.community-about .community-rules {
  border-bottom: 1px solid var(--border_grey);
  padding: 16px 0 12px;
}
.community-about .community-rules-intro {
  color: var(--fg_faded);
  font-size: 14px;
  margin: 0 0 12px;
}
.community-about .community-rule {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  align-items: flex-start;
}
.community-about .community-rule .community-rule-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--fg_color);
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
}
.community-about .community-rule .community-rule-content p {
  margin: 4px 0 0;
  color: var(--fg_faded);
  font-size: 14px;
}
.community-about .community-moderators {
  padding-top: 16px;
}
.community-about .community-moderators h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.community-about .community-moderators .community-mods-link {
  font-size: 14px;
  font-weight: normal;
  color: var(--accent);
}
.community-about .community-moderator {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  align-items: center;
}
.community-about .community-moderator .community-mod-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.community-about .community-moderator .community-mod-info {
  display: flex;
  flex-direction: column;
}
.community-about .community-moderator .community-mod-name {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--fg_color);
}
.community-about .community-moderator .community-mod-name .verified-icon {
  margin-left: 2px;
}
.community-about .community-moderator .community-mod-username {
  color: var(--fg_faded);
  font-size: 14px;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border_grey);
}
.community-tags .community-tag {
  display: inline-block;
  background-color: var(--bg_elements);
  border: 1px solid var(--border_grey);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--accent);
}

.community-hashtag-header {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border_grey);
}
.community-hashtag-header .community-hashtag-title {
  font-size: 20px;
  color: var(--accent);
  margin: 0;
}

.profile-tabs {
  max-width: 900px;
  margin: 0 auto;
  float: none;
  border-radius: 0;
  position: relative;
  width: auto;
}
.profile-tabs .timeline-container {
  float: right;
  width: 68% !important;
  max-width: unset;
}

.profile-banner {
  margin-bottom: 4px;
  background-color: var(--bg_panel);
}
.profile-banner a {
  display: block;
  position: relative;
  padding: 33.34% 0 0 0;
}
.profile-banner img {
  max-width: 100%;
  position: absolute;
  top: 0;
}

.profile-tab {
  padding: 0 4px 0 0;
  box-sizing: border-box;
  display: inline-block;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  max-width: 32%;
  top: 0;
}
body.fixed-nav .profile-tab {
  top: 50px;
}

.profile-result {
  min-height: 54px;
}
.profile-result .username {
  margin: 0 !important;
}
.profile-result .tweet-header {
  margin-bottom: unset;
}

.profile-tabs.media-only {
  max-width: none;
  width: 100%;
}
.profile-tabs.media-only .timeline-container {
  float: none;
  width: 100% !important;
  max-width: none;
  padding: 0 10px;
  box-sizing: border-box;
}
.profile-tabs.media-only .timeline-container > .tab {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .profile-tabs {
    width: 100vw;
    max-width: 600px;
  }
  .profile-tabs .timeline-container {
    width: 100% !important;
  }
  .profile-tabs .timeline-container .tab-item wide {
    flex-grow: 1.4;
  }
  .profile-tabs.media-only {
    width: 100%;
    max-width: none;
  }
  .profile-tabs.media-only .timeline-container {
    width: 100vw !important;
    padding: 0;
  }
  .profile-tab {
    width: 100%;
    max-width: unset;
    position: initial !important;
    padding: 0;
  }
}
@media (min-height: 900px) {
  .profile-tab.sticky {
    position: sticky;
  }
}
.panel-container {
  margin: auto;
  font-size: 130%;
}

.error-panel {
  padding: 12px;
  border-radius: 4px;
  display: flex;
  background: var(--error_red);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: auto;
  margin-top: -50px;
  text-align: center;
}

.search-bar > form {
  padding: 12px;
  border-radius: 4px;
  display: flex;
  background: var(--darkest_grey);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: auto;
  margin-top: -50px;
}
.search-bar > form button {
  background: var(--bg_elements);
  color: var(--fg_color);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  width: 30px;
  height: 30px;
  padding: 0px 5px 1px 8px;
}
.search-bar > form input {
  font-size: 16px;
  width: 100%;
  background: var(--bg_elements);
  color: var(--fg_color);
  border: 0;
  border-radius: 4px;
  padding: 4px;
  margin-right: 8px;
  height: unset;
}

nav {
  display: flex;
  align-items: center;
  background-color: var(--bg_overlays);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  padding: 0;
  width: 100%;
  height: 50px;
  z-index: 1000;
  font-size: 16px;
}
nav a,
nav .icon-button button {
  color: var(--fg_nav);
}
body.fixed-nav nav {
  position: fixed;
}

.inner-nav {
  margin: auto;
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  align-items: center;
  flex-basis: 920px;
  height: 50px;
}

.site-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.site-name:hover {
  color: var(--accent_light);
  text-decoration: unset;
}

.site-logo {
  display: block;
  width: 35px;
  height: 35px;
}

.nav-item {
  display: flex;
  flex: 1;
  line-height: 50px;
  height: 50px;
  overflow: hidden;
  flex-wrap: wrap;
  align-items: center;
}
.nav-item.right {
  text-align: right;
  justify-content: flex-end;
}
.nav-item.right a:hover {
  color: var(--accent_light);
  text-decoration: unset;
}

.lp {
  height: 14px;
  display: inline-block;
  position: relative;
  top: 2px;
  fill: var(--fg_nav);
}
.lp:hover {
  fill: var(--accent_light);
}

.icon-info {
  margin: 0 -3px;
}

.icon-cog {
  font-size: 15px;
  padding-left: 0 !important;
}

button:hover {
  border-color: var(--accent);
}
button:active {
  border-color: var(--accent_light);
}
button {
  background-color: var(--bg_elements);
  color: var(--fg_color);
  border: 1px solid var(--accent_border);
  padding: 3px 6px;
  font-size: 14px;
  cursor: pointer;
  float: right;
}

input[type=text]:hover,
input[type=date]:hover,
input[type=number]:hover,
select:hover {
  border-color: var(--accent);
}
input[type=text]:active,
input[type=date]:active,
input[type=number]:active,
select:active {
  border-color: var(--accent_light);
}
input[type=text],
input[type=date],
input[type=number],
select {
  background-color: var(--bg_elements);
  padding: 1px 4px;
  color: var(--fg_color);
  border: 1px solid var(--accent_border);
  border-radius: 0;
  font-size: 14px;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=text],
input[type=number] {
  height: 16px;
}

select {
  height: 20px;
  padding: 0 2px;
  line-height: 1;
}

input[type=date]::-webkit-inner-spin-button {
  display: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  display: none;
  -webkit-appearance: none;
  margin: 0;
}

input[type=date]::-webkit-clear-button {
  margin-left: 17px;
  filter: grayscale(100%);
  filter: hue-rotate(120deg);
}

input::-webkit-calendar-picker-indicator {
  opacity: 0;
}

input::-webkit-datetime-edit-day-field:focus,
input::-webkit-datetime-edit-month-field:focus,
input::-webkit-datetime-edit-year-field:focus {
  background-color: var(--accent);
  color: var(--fg_color);
  outline: none;
}

.date-range .date-input {
  display: inline-block;
  position: relative;
}
.date-range .icon-container {
  pointer-events: none;
  position: absolute;
  top: 2px;
  right: 5px;
}
.date-range .search-title {
  margin: 0 2px;
}

.icon-button button {
  color: var(--accent);
  text-decoration: none;
  background: none;
  border: none;
  float: none;
  padding: unset;
  padding-left: 4px;
}
.icon-button button:hover {
  color: var(--accent_light);
}

.checkbox {
  position: absolute;
  top: 1px;
  right: 0;
  height: 17px;
  width: 17px;
  background-color: var(--bg_elements);
  border: 1px solid var(--accent_border);
}
.checkbox:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container {
  display: block;
  position: relative;
  margin-bottom: 5px;
  cursor: pointer;
  user-select: none;
  padding-right: 22px;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox-container input:checked ~ .checkbox:after {
  display: block;
}
.checkbox-container:hover input ~ .checkbox {
  border-color: var(--accent);
}
.checkbox-container:active input ~ .checkbox {
  border-color: var(--accent_light);
}
.checkbox-container .checkbox:after {
  left: 2px;
  bottom: 0;
  font-size: 13px;
  font-family: fontello;
  content: "\e811";
}

.pref-group {
  display: inline;
}

.preferences button {
  margin: 6px 0 3px 0;
}
.preferences label {
  padding-right: 150px;
}
.preferences select {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  min-width: 100px;
}
.preferences input[type=text],
.preferences input[type=number] {
  position: absolute;
  right: 0;
  max-width: 140px;
}
.preferences .pref-group {
  display: block;
}
.preferences .pref-input {
  position: relative;
  margin-bottom: 6px;
}
.preferences .pref-reset {
  float: left;
}
.preferences .prefs-code {
  background-color: var(--bg_elements);
  border: 1px solid var(--accent_border);
  color: var(--fg_color);
  font-size: 13px;
  padding: 6px 8px;
  margin: 4px 0;
  word-break: break-all;
  white-space: pre-wrap;
  user-select: all;
}

.timeline-container {
  max-width: 600px;
  margin: 0 auto;
  float: none;
  border-radius: 0;
  position: relative;
  width: 100%;
}

.timeline-container.media-only {
  max-width: none;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}
.timeline-container.media-only > .tab,
.timeline-container.media-only > .timeline-header {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .timeline-container.media-only {
    padding: 0;
  }
}
.timeline > div:not(:first-child) {
  border-top: 1px solid var(--border_grey);
}

.timeline-header {
  width: 100%;
  background-color: var(--bg_panel);
  text-align: center;
  padding: 8px;
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  box-sizing: border-box;
}
.timeline-header button {
  float: unset;
}

.timeline-banner img {
  width: 100%;
}

.timeline-description {
  font-weight: normal;
}

.tab {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 4px 0;
  background-color: var(--bg_panel);
  padding: 0;
}

.tab-item {
  flex: 1 1 0;
  text-align: center;
  margin-top: 0;
}
.tab-item a {
  border-bottom: 0.1rem solid transparent;
  color: var(--tab);
  display: block;
  padding: 8px 0;
  text-decoration: none;
  font-weight: bold;
}
.tab-item a:hover {
  text-decoration: none;
}
.tab-item a.active {
  border-bottom-color: var(--tab_selected);
  color: var(--tab_selected);
}
.tab-item.active a {
  border-bottom-color: var(--tab_selected);
  color: var(--tab_selected);
}
.tab-item.wide {
  flex-grow: 1.2;
  flex-basis: 50px;
}

.timeline-footer {
  background-color: var(--bg_panel);
  padding: 6px 0;
}

.timeline-protected {
  text-align: center;
}
.timeline-protected p {
  margin: 8px 0;
}
.timeline-protected h2 {
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
}

.timeline-none {
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.timeline-end {
  background-color: var(--bg_panel);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.show-more {
  background-color: var(--bg_panel);
  text-align: center;
  padding: 0.75em 0;
  display: block !important;
}
.show-more a {
  background-color: var(--darkest_grey);
  display: inline-block;
  height: 2em;
  padding: 0 2em;
  line-height: 2em;
}
.show-more a:hover {
  background-color: var(--darker_grey);
}

.top-ref {
  background-color: var(--bg_color);
  border-top: none !important;
}
.top-ref .icon-down {
  font-size: 20px;
  display: flex;
  justify-content: center;
  text-decoration: none;
}
.top-ref .icon-down:hover {
  color: var(--accent_light);
}
.top-ref .icon-down::before {
  transform: rotate(180deg) translateY(-1px);
}

.timeline-item {
  overflow-wrap: break-word;
  border-left-width: 0;
  min-width: 0;
  padding: 0.75em;
  display: flex;
  position: relative;
  background-color: var(--bg_panel);
}

.timeline.media-grid-view > div:not(:first-child),
.timeline.media-gallery-view > div:not(:first-child) {
  border-top: none;
}
.timeline.media-grid-view .timeline-item::before,
.timeline.media-gallery-view .timeline-item::before {
  display: none;
}

.timeline.media-grid-view .tweet-header,
.timeline.media-grid-view .replying-to,
.timeline.media-grid-view .retweet-header,
.timeline.media-grid-view .pinned,
.timeline.media-grid-view .tweet-stats,
.timeline.media-grid-view .attribution,
.timeline.media-grid-view .poll,
.timeline.media-grid-view .quote,
.timeline.media-grid-view .community-note,
.timeline.media-grid-view .media-tag-block,
.timeline.media-grid-view .tweet-content,
.timeline.media-grid-view .card-content,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-header,
.timeline.media-gallery-view .gallery-masonry.compact .replying-to,
.timeline.media-gallery-view .gallery-masonry.compact .retweet-header,
.timeline.media-gallery-view .gallery-masonry.compact .pinned,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-stats,
.timeline.media-gallery-view .gallery-masonry.compact .attribution,
.timeline.media-gallery-view .gallery-masonry.compact .poll,
.timeline.media-gallery-view .gallery-masonry.compact .quote,
.timeline.media-gallery-view .gallery-masonry.compact .community-note,
.timeline.media-gallery-view .gallery-masonry.compact .media-tag-block,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-content,
.timeline.media-gallery-view .gallery-masonry.compact .card-content {
  display: none;
}
.timeline.media-grid-view .card,
.timeline.media-gallery-view .gallery-masonry.compact .card {
  margin: unset;
}
.timeline.media-grid-view .card .card-container,
.timeline.media-gallery-view .gallery-masonry.compact .card .card-container {
  border: unset;
  border-radius: unset;
}
.timeline.media-grid-view .card .card-container .card-image-container,
.timeline.media-gallery-view .gallery-masonry.compact .card .card-container .card-image-container {
  width: 100%;
  min-height: 100%;
}
.timeline.media-grid-view .card .card-container .card-content-container,
.timeline.media-gallery-view .gallery-masonry.compact .card .card-container .card-content-container {
  display: none;
}

.timeline.media-grid-view {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.timeline.media-grid-view > div:not(:first-child) {
  margin-top: 0;
}
.timeline.media-grid-view .timeline-item {
  padding: 0;
}
.timeline.media-grid-view .tweet-link {
  z-index: 1000;
}
.timeline.media-grid-view .tweet-link:hover {
  background-color: unset;
}
.timeline.media-grid-view > .show-more,
.timeline.media-grid-view > .top-ref,
.timeline.media-grid-view > .timeline-footer,
.timeline.media-grid-view > .timeline-header {
  grid-column: 1/-1;
}
.timeline.media-grid-view .tweet-body {
  height: 100%;
  margin-left: 0;
  padding: 0;
  position: relative;
  aspect-ratio: 1/1;
}
.timeline.media-grid-view .gallery-row + .gallery-row {
  margin-top: 0.25em !important;
}
.timeline.media-grid-view .attachments {
  background-color: var(--darkest_grey);
  border-radius: 0;
  margin: 0;
  max-height: none;
}
.timeline.media-grid-view .attachments,
.timeline.media-grid-view .gallery-row,
.timeline.media-grid-view .still-image {
  height: 100%;
  width: 100%;
}
.timeline.media-grid-view .still-image img,
.timeline.media-grid-view .attachment > video,
.timeline.media-grid-view .attachment > img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.timeline.media-grid-view .attachment {
  display: flex;
  align-items: center;
}
.timeline.media-grid-view .gallery-video {
  height: 100%;
}
.timeline.media-grid-view .media-gif {
  display: flex;
}
.timeline.media-grid-view .timeline-item:hover {
  opacity: 0.85;
}
.timeline.media-grid-view .alt-text {
  display: none;
}

.timeline.media-gallery-view .gallery-masonry {
  margin: 10px 0;
  column-gap: 10px;
  column-width: clamp(190px, 22vw, 350px);
}
.timeline.media-gallery-view .gallery-masonry[data-col-size=small] {
  column-width: max(130px, 11vw);
}
.timeline.media-gallery-view .gallery-masonry[data-col-size=large] {
  column-width: clamp(350px, 22vw, 480px);
}
.timeline.media-gallery-view .gallery-masonry.masonry-active {
  column-width: unset;
  column-gap: unset;
  position: relative;
}
.timeline.media-gallery-view .gallery-masonry.masonry-active .timeline-item {
  animation: none;
  position: absolute;
  box-sizing: border-box;
  margin-bottom: 0;
}
.timeline.media-gallery-view .gallery-masonry.compact .tweet-body {
  padding: 0;
}
.timeline.media-gallery-view .gallery-masonry.compact .tweet-body > .attachments {
  margin: 0;
}
.timeline.media-gallery-view .gallery-masonry.compact .card-image-container img {
  max-height: unset;
}
@keyframes masonry-init {
  to {
    opacity: 1;
    pointer-events: auto;
  }
}
.timeline.media-gallery-view .gallery-masonry .timeline-item,
.timeline.media-gallery-view > .show-more,
.timeline.media-gallery-view > .top-ref,
.timeline.media-gallery-view > .timeline-footer {
  opacity: 0;
  pointer-events: none;
  animation: masonry-init 0.2s 0.3s forwards;
}
.timeline.media-gallery-view .gallery-masonry.masonry-active .timeline-item.masonry-visible,
.timeline.media-gallery-view > .show-more.masonry-visible,
.timeline.media-gallery-view > .top-ref.masonry-visible,
.timeline.media-gallery-view > .timeline-footer.masonry-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.15s ease;
  animation: none;
}
.timeline.media-gallery-view .timeline-item {
  margin-bottom: 10px;
  break-inside: avoid;
  flex-direction: column;
  padding: 0;
}
.timeline.media-gallery-view > .show-more,
.timeline.media-gallery-view > .top-ref,
.timeline.media-gallery-view > .timeline-footer,
.timeline.media-gallery-view > .timeline-header {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}
.timeline.media-gallery-view > .show-more {
  padding: 0;
  margin-top: 8px;
  background-color: unset;
}
.timeline.media-gallery-view .tweet-content {
  margin: 3px 0;
}
.timeline.media-gallery-view .tweet-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: 0;
  padding: 10px;
}
.timeline.media-gallery-view .tweet-body > .attachments {
  align-self: stretch;
  border-radius: 0;
  margin: -10px -10px 10px;
  max-height: none;
  order: -1;
  width: auto;
  background-color: var(--bg_elements);
}
.timeline.media-gallery-view .tweet-body > .attachments .gallery-row {
  max-height: none;
  max-width: none;
  align-items: center;
}
.timeline.media-gallery-view .tweet-body > .attachments .still-image img,
.timeline.media-gallery-view .tweet-body > .attachments .attachment > video,
.timeline.media-gallery-view .tweet-body > .attachments .attachment > img {
  max-height: none;
  width: 100%;
}
.timeline.media-gallery-view .tweet-body > .attachments .attachment:last-child {
  max-height: none;
}
.timeline.media-gallery-view .tweet-body > .attachments .card-container {
  border: unset;
  border-radius: unset;
}
.timeline.media-gallery-view .tweet-body .tweet-stat {
  padding-top: unset;
}
.timeline.media-gallery-view .tweet-body .quote {
  margin-bottom: 5px;
  margin-top: 5px;
}
.timeline.media-gallery-view .tweet-body .replying-to {
  margin: 0;
}
.timeline.media-gallery-view .tweet-header {
  align-items: flex-start;
  display: flex;
  gap: 0.75em;
  margin-bottom: 0;
}
.timeline.media-gallery-view .tweet-header .tweet-avatar img {
  float: none;
  height: 42px;
  margin: 0;
  width: 42px;
}
.timeline.media-gallery-view .tweet-header .tweet-name-row {
  flex: 1;
}
.timeline.media-gallery-view .tweet-header .fullname-and-username {
  flex-wrap: wrap;
}
.timeline.media-gallery-view .tweet-header .fullname {
  max-width: calc(100% - 18px);
}
.timeline.media-gallery-view .tweet-header .verified-icon {
  margin-left: 4px;
  margin-top: 1px;
}
.timeline.media-gallery-view .tweet-header .username {
  display: block;
  flex-basis: 100%;
  margin-left: 0;
}

@media (max-width: 520px) {
  .timeline.media-gallery-view {
    padding: 8px 0;
  }
}
.search-title {
  font-weight: bold;
  display: inline-block;
  margin-top: 4px;
}

.search-field {
  display: flex;
  flex-wrap: wrap;
}
.search-field button {
  margin: 0 2px 0 0;
  padding: 0px 1px 1px 4px;
  height: 23px;
  display: flex;
  align-items: center;
}
.search-field .pref-input {
  margin: 0 4px 0 0;
  flex-grow: 1;
  height: 23px;
}
.search-field input[type=text],
.search-field input[type=number] {
  height: calc(100% - 4px);
  width: calc(100% - 8px);
}
.search-field > label {
  display: inline;
  background-color: var(--bg_elements);
  color: var(--fg_color);
  border: 1px solid var(--accent_border);
  padding: 1px 1px 2px 4px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 2px;
}
.search-field > label:hover {
  border-color: var(--accent);
}
.search-field > label:active {
  border-color: var(--accent_light);
}
.search-field #search-panel-toggle {
  display: none;
}
.search-field #search-panel-toggle:checked ~ .search-panel {
  max-height: 380px;
}
.search-field #search-panel-toggle:checked ~ label .icon-down:before {
  transform: rotate(180deg) translateY(-1px);
}

.search-panel {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
  flex-grow: 1;
  font-weight: initial;
  text-align: left;
}
.search-panel .checkbox-container {
  display: inline;
  padding-right: unset;
  margin-bottom: 5px;
  margin-left: 23px;
}
.search-panel .checkbox {
  right: unset;
  left: -22px;
  line-height: 1.6em;
}
.search-panel .checkbox-container .checkbox:after {
  top: -4px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  line-height: unset;
}
.search-row > div {
  flex-grow: 1;
  flex-shrink: 1;
}
.search-row input {
  height: 21px;
}
.search-row .pref-input {
  display: block;
  padding-bottom: 5px;
}
.search-row .pref-input input {
  height: 21px;
  margin-top: 1px;
}

.search-toggles {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-column-gap: 10px;
}

.list-result {
  display: flex;
  align-items: flex-start;
}
.list-result .list-result-banner {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin-right: 10px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--darker_grey);
  z-index: 1;
}
.list-result .list-result-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-result .list-result-body {
  min-width: 0;
  pointer-events: none;
  z-index: 1;
}
.list-result .list-result-body a {
  pointer-events: all;
}
.list-result .list-result-title {
  align-items: baseline;
}
.list-result .list-members {
  flex-shrink: 0;
  margin-left: 0.3em;
  color: var(--fg_faded);
}
.list-result .list-result-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2px;
  color: var(--fg_faded);
}
.list-result .list-result-context a {
  color: var(--fg_dark);
}
.list-result .list-result-context a.fullname {
  color: var(--fg_color);
}
.list-result .list-result-context .list-facepile {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 4px;
}
.list-result .list-result-description {
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: all;
}

@media (max-width: 820px) {
  .profile-tabs .search-toggles {
    grid-template-columns: repeat(5, auto);
  }
  .profile-tabs #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
@media (max-width: 715px) {
  .profile-tabs .search-toggles {
    grid-template-columns: repeat(4, auto);
  }
  .profile-tabs #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
@media (max-width: 700px) {
  .profile-tabs .search-toggles {
    grid-template-columns: repeat(5, auto);
  }
  .profile-tabs #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
@media (max-width: 485px) {
  .profile-tabs .search-toggles {
    grid-template-columns: repeat(4, auto);
  }
  .profile-tabs #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
@media (max-width: 410px) {
  .profile-tabs .search-toggles {
    grid-template-columns: repeat(3, auto);
  }
  .profile-tabs #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}

@media (max-width: 700px) {
  .search-toggles {
    grid-template-columns: repeat(5, auto);
  }
  #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
@media (max-width: 485px) {
  .search-toggles {
    grid-template-columns: repeat(4, auto);
  }
  #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
@media (max-width: 410px) {
  .search-toggles {
    grid-template-columns: repeat(3, auto);
  }
  #search-panel-toggle:checked ~ .search-panel {
    max-height: 380px !important;
  }
}
.broadcast-page {
  max-width: 800px;
  width: 100%;
  margin: 20px auto 0;
}

.broadcast-panel {
  background-color: var(--bg_panel);
  border: 1px solid var(--border_grey);
  border-radius: 8px;
  overflow: hidden;
}

.broadcast-player {
  position: relative;
  background: black;
}
.broadcast-player video,
.broadcast-player img {
  display: block;
  width: 100%;
}

.broadcast-info {
  padding: 14px 16px;
}

.broadcast-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 12px;
}

.broadcast-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.broadcast-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg_color);
}
.broadcast-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.broadcast-username {
  color: var(--fg_dark);
}

.broadcast-meta {
  color: var(--fg_faded);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  line-height: 1.5em;
}

.broadcast-live {
  background: #e0245e;
  color: white;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 12px;
}

.space-page {
  max-width: 800px;
  width: 100%;
  margin: 20px auto 0;
}

.space-panel {
  background-color: var(--bg_panel);
  border: 1px solid var(--border_grey);
  border-radius: 8px;
  overflow: hidden;
}

.space-player {
  position: relative;
  background: linear-gradient(135deg, #7b2a8c 0%, #9b3ab1 100%);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.space-player audio {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}
.space-player audio:not([controls]) {
  display: none;
}
.space-player .video-overlay {
  background-color: transparent;
}

.space-live {
  background: #e0245e;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  position: absolute;
  top: 8px;
  right: 8px;
}

.space-info {
  padding: 16px;
}

.space-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.space-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.space-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--fg_faded);
}

.listener-count {
  color: var(--fg_color);
}

.space-state {
  color: var(--fg_dark);
}

.space-participants {
  border-top: 1px solid var(--border_grey);
  padding-top: 12px;
}

.space-participant {
  margin-bottom: 10px;
}
.space-participant a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg_color);
  padding: 6px 0;
}
.space-participant img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.participant-info {
  min-width: 0;
}

.participant-name {
  display: flex;
  align-items: center;
  gap: 4px;
}
.participant-name strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.participant-name .verified-icon {
  margin-bottom: 0;
  position: relative;
  top: -2px;
}

.host-badge {
  background: var(--accent);
  color: white;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  position: relative;
  top: 1px;
}

.participant-username {
  color: var(--fg_dark);
  font-size: 13px;
}

.article-page {
  max-width: 700px;
  margin: 0 auto 20px;
  background-color: var(--bg_panel);
}
.article-page > .top-ref {
  padding-top: 20px;
}
.article-page .article-cover {
  width: 100%;
  display: block;
}
.article-page .article-body {
  padding: 20px;
}
.article-page .article-body > :last-child {
  margin-bottom: 0;
}
.article-page .article-body .article-title {
  display: block;
  font-size: 2rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--fg_color);
}
.article-page .article-body .article-author {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border_grey);
  font-size: 14px;
}
.article-page .article-body .article-author .article-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-page .article-body .article-author .article-avatar {
  display: flex;
}
.article-page .article-body .article-author .avatar {
  width: 40px;
  height: 40px;
}
.article-page .article-body .article-author .article-author-name {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}
.article-page .article-body .article-author .article-author-name .fullname {
  font-size: 15px;
}
.article-page .article-body .article-author .article-author-name .verified-icon {
  margin-left: 2px;
}
.article-page .article-body .article-author .article-author-meta {
  display: flex;
  align-items: center;
}
.article-page .article-body .article-author .fullname {
  font-weight: 700;
  color: var(--fg_color);
  max-width: unset;
  text-overflow: unset;
  overflow: visible;
  white-space: normal;
}
.article-page .article-body .article-author .username,
.article-page .article-body .article-author .article-date-sep,
.article-page .article-body .article-author .article-date {
  color: var(--fg_dark);
}
.article-page .article-body .article-author .username {
  margin-left: 0;
}
.article-page .article-body .article-author .article-date-sep {
  margin: 0 4px;
}
.article-page .article-body .article-author .article-date {
  text-decoration: none;
}
.article-page .article-body .article-author .article-date:hover {
  text-decoration: underline;
}
.article-page .article-body .article-author .tweet-stats {
  margin-top: 6px;
}
.article-page .article-body .article-author .tweet-stats .tweet-stat {
  padding-top: 0;
}
.article-page .article-body > h1 {
  display: block;
  font-size: 1.8rem;
  margin: 25px 0 15px;
}
.article-page .article-body > h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 20px 0 12px;
}
.article-page .article-body > h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 18px 0 10px;
}
.article-page .article-body > p {
  font-size: 16px;
  line-height: 1.7;
  margin: 16px 0;
  word-wrap: break-word;
}
.article-page .article-body .blockquote-attribution {
  display: block;
  margin-top: 0.5em;
}
.article-page .article-body > blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 16px 0;
  color: var(--fg_faded);
  font-size: 16px;
  line-height: 1.7;
}
.article-page .article-body > pre {
  background-color: var(--bg_elements);
  padding: 12px 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
}
.article-page .article-body > pre code {
  font-family: monospace;
  font-size: 14px;
  color: var(--fg_color);
}
.article-page .article-body code {
  background-color: var(--bg_elements);
  padding: 2px 5px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}
.article-page .article-body > ul,
.article-page .article-body > ol {
  margin: 16px 0;
  padding-left: 2em;
}
.article-page .article-body > ul li,
.article-page .article-body > ol li {
  font-size: 16px;
  line-height: 1.7;
  margin: 6px 0;
}
.article-page .article-body .article-media {
  text-align: center;
  margin: 20px 0;
}
.article-page .article-body .article-media img,
.article-page .article-body .article-media video {
  max-width: 100%;
  border-radius: 12px;
}
.article-page .article-body .article-media .article-media-caption {
  color: var(--fg_faded);
  font-size: 0.875rem;
  margin-top: 6px;
}
.article-page .article-body > a,
.article-page .article-body > p a,
.article-page .article-body > h1 a,
.article-page .article-body > h2 a,
.article-page .article-body > h3 a,
.article-page .article-body > blockquote a,
.article-page .article-body > ul a,
.article-page .article-body > ol a {
  color: var(--accent);
  text-decoration: none;
}
.article-page .article-body > a:hover,
.article-page .article-body > p a:hover,
.article-page .article-body > h1 a:hover,
.article-page .article-body > h2 a:hover,
.article-page .article-body > h3 a:hover,
.article-page .article-body > blockquote a:hover,
.article-page .article-body > ul a:hover,
.article-page .article-body > ol a:hover {
  text-decoration: underline;
}
.article-page .article-body .article-divider {
  border: none;
  border-top: 1px solid var(--border_grey);
  margin: 30px 0;
}
.article-page .article-body .timeline-item {
  margin: 20px 0;
  border: 1px solid var(--border_grey);
  border-radius: 12px;
  overflow: hidden;
}

.conversation .article-page {
  max-width: 100%;
  margin-bottom: 0;
}

.article-card .card-image-container {
  position: relative;
}
.article-card .card-image img {
  height: auto;
}
.article-card .article-card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.quote .article-card {
  margin: 0;
}
.quote .article-card .card-container {
  border: none;
  border-radius: 0;
  border-top: solid 1px var(--dark_grey);
}

@media (max-width: 700px) {
  .article-page .article-body {
    padding: 12px 15px 25px;
  }
  .article-page .article-body .article-title {
    font-size: 1.6rem;
  }
}
body {
  --bg_color: #0f0f0f;
  --fg_color: #f8f8f2;
  --fg_faded: rgba(248, 248, 242, 0.8117647059);
  --fg_dark: #ff6c60;
  --fg_nav: #ff6c60;
  --bg_panel: #161616;
  --bg_elements: #121212;
  --bg_overlays: #1f1f1f;
  --bg_hover: #1a1a1a;
  --grey: #888889;
  --dark_grey: #404040;
  --darker_grey: #282828;
  --darkest_grey: #222222;
  --border_grey: #3e3e35;
  --accent: #ff6c60;
  --accent_light: #ffaca0;
  --accent_dark: #8a3731;
  --accent_border: rgba(255, 108, 96, 0.568627451);
  --play_button: #d8574d;
  --play_button_hover: #ff6c60;
  --more_replies_dots: #ad433b;
  --error_red: #420a05;
  --verified_blue: #1da1f2;
  --verified_business: #fac82b;
  --verified_government: #c1b6a4;
  --icon_text: #f8f8f2;
  --tab: #f8f8f2;
  --tab_selected: #ff6c60;
  --profile_stat: #f8f8f2;
  background-color: var(--bg_color);
  color: var(--fg_color);
  font-family: sans-serif, fontello;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
}

* {
  outline: unset;
  margin: 0;
  text-decoration: none;
}

img {
  dynamic-range-limit: standard;
}

h1 {
  display: inline;
}

h2,
h3 {
  font-weight: normal;
}

p {
  margin: 14px 0;
}

a {
  color: var(--accent);
}
a:hover {
  text-decoration: underline;
}

fieldset {
  border: 0;
  padding: 0;
  margin-top: -0.6em;
}

legend {
  width: 100%;
  padding: 0.6em 0 0.3em 0;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border_grey);
  margin-bottom: 8px;
}

.preferences .note {
  border-top: 1px solid var(--border_grey);
  border-bottom: 1px solid var(--border_grey);
  padding: 6px 0 8px 0;
  margin-bottom: 8px;
  margin-top: 16px;
}
.preferences .bookmark-note {
  margin: 0;
  margin-bottom: 10px;
}

ul {
  padding-left: 1.3em;
}

.container {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: auto;
  min-height: 100vh;
}

body.fixed-nav .container {
  padding-top: 50px;
}

.icon-container {
  display: inline;
}

.overlay-panel {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  margin-top: 10px;
  background-color: var(--bg_overlays);
  padding: 10px 15px;
  align-self: start;
}
.overlay-panel ul {
  margin-bottom: 14px;
}
.overlay-panel p {
  word-break: break-word;
}

.verified-icon {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 14px;
  margin-bottom: 2px;
}
.verified-icon .verified-icon-circle {
  position: absolute;
  font-size: 15px;
}
.verified-icon .verified-icon-check {
  position: absolute;
  font-size: 9px;
  margin: 5px 3px;
}
.verified-icon.blue .verified-icon-circle {
  color: var(--verified_blue);
}
.verified-icon.blue .verified-icon-check {
  color: var(--icon_text);
}
.verified-icon.business .verified-icon-circle {
  color: var(--verified_business);
}
.verified-icon.business .verified-icon-check {
  color: var(--bg_panel);
}
.verified-icon.government .verified-icon-circle {
  color: var(--verified_government);
}
.verified-icon.government .verified-icon-check {
  color: var(--bg_panel);
}

@media (max-width: 600px) {
  .preferences-container {
    max-width: 95vw;
  }
  .nav-item,
  .nav-item .icon-container {
    font-size: 16px;
  }
}
