@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 400;
  src: url("/static/xenomorph/fonts/AtkinsonHyperlegibleMono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 700;
  src: url("/static/xenomorph/fonts/AtkinsonHyperlegibleMono-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: italic;
  font-weight: 400;
  src: url("/static/xenomorph/fonts/AtkinsonHyperlegibleMono-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: italic;
  font-weight: 700;
  src: url("/static/xenomorph/fonts/AtkinsonHyperlegibleMono-BoldItalic.woff2") format("woff2");
}

html,
body {
  min-width: 320px;
  background: #fff;
  color: #171717;
  font-family: "Atkinson Hyperlegible Mono", "OpenDyslexic", Arial, Helvetica, sans-serif;
}

button,
input,
optgroup,
select,
textarea,
.ui,
.ui.button,
.ui.form input,
.ui.form textarea,
.ui.header,
.ui.menu,
.ui.message,
.ui.modal,
.ui.segment {
  font-family: "Atkinson Hyperlegible Mono", "OpenDyslexic", Arial, Helvetica, sans-serif !important;
}

.xeno-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #050505;
  color: #fff;
}

.xeno-top .item {
  color: #fff !important;
  font-weight: 700 !important;
}

.xeno-top .active.item {
  background: #242424 !important;
  color: #fff !important;
}

.xeno-shell {
  width: min(100%, 760px);
  margin: 0 auto !important;
  padding: 0 1rem;
}

.xeno-top-bar {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 3.7rem;
}

.xeno-nav-left,
.xeno-nav-center,
.xeno-nav-right {
  min-height: 3.7rem;
  margin: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.xeno-nav-left::-webkit-scrollbar,
.xeno-nav-center::-webkit-scrollbar,
.xeno-nav-right::-webkit-scrollbar {
  display: none;
}

.xeno-nav-left {
  justify-content: flex-start;
  padding-left: .35rem;
}

.xeno-nav-center {
  justify-content: center;
  max-width: min(100vw, 760px);
}

.xeno-nav-right {
  justify-content: flex-end;
  padding-right: .35rem;
}

.xeno-nav-left .item,
.xeno-nav-center .item,
.xeno-nav-right .item {
  flex: 0 0 auto;
  white-space: nowrap;
}

.xeno-nav-more {
  position: relative;
  flex: 0 0 auto;
}

.xeno-nav-more > summary {
  height: 100%;
  cursor: pointer;
  list-style: none;
}

.xeno-nav-more > summary::-webkit-details-marker {
  display: none;
}

.xeno-nav-more.active > summary,
.xeno-nav-more[open] > summary {
  background: #242424 !important;
}

.xeno-nav-menu {
  position: fixed;
  z-index: 30;
  width: 13.5rem;
  margin-top: 0;
  padding: .35rem 0;
  border: 1px solid #444;
  border-radius: 0 0 4px 4px;
  background: #111;
  box-shadow: 0 5px 14px rgb(0 0 0 / 28%);
}

.xeno-nav-menu a {
  display: block;
  padding: .7rem .9rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.xeno-nav-menu a:hover,
.xeno-nav-menu a:focus {
  background: #292929;
  color: #fff;
}

.xeno-mark {
  width: 1.45rem;
  height: 1.45rem;
  margin-right: .45rem;
  object-fit: contain;
  vertical-align: middle;
}

.xeno-user-item {
  display: flex !important;
  align-items: center;
}

.xeno-main {
  min-height: calc(100vh - 3.7rem);
  padding-top: 1.25rem;
  padding-bottom: 4rem;
}

#xeno-self-profile {
  padding-top: 1rem;
}

#xeno-self-profile:empty {
  display: none;
}

#xeno-self-profile .xeno-profile {
  margin-bottom: 0 !important;
}

.xeno-compose,
.xeno-profile,
.xeno-empty,
.xeno-error {
  margin: 0 0 1rem !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.xeno-compose textarea,
.xeno-reply-form textarea {
  min-height: 7rem !important;
  resize: vertical;
}

.xeno-main input,
.xeno-main select,
.xeno-main textarea {
  box-sizing: border-box;
  max-width: 100%;
}

.xeno-compose-options {
  margin-bottom: 1rem;
}

.xeno-compose-options > summary,
.xeno-compose-poll > summary {
  cursor: pointer;
  font-weight: 700;
}

.xeno-compose-options-body,
.xeno-compose-poll {
  margin-top: .8rem;
}

.xeno-media-descriptions,
.xeno-poll-options {
  display: grid;
  gap: .5rem;
  margin-top: .5rem;
}

.xeno-checkbox {
  display: flex !important;
  align-items: center;
  min-height: 2.7rem;
}

.xeno-checkbox input {
  margin-right: .45rem;
}

.xeno-feed {
  margin: 0;
  border-top: 1px solid #dedede;
}

.xeno-status {
  --xeno-avatar-size: 3rem;
  position: relative;
  padding: 1rem 0 1.1rem;
  border-bottom: 1px solid #dedede;
  background: #fff;
}

.xeno-status.xeno-depth-1,
.xeno-status.xeno-depth-2 {
  padding-left: 1rem;
  border-left: 3px solid #d5d5d5;
}

.xeno-status.xeno-depth-1 {
  margin-left: var(--xeno-avatar-size);
}

.xeno-status.xeno-depth-2 {
  margin-left: calc(var(--xeno-avatar-size) * 2);
  border-left-color: #9e9e9e;
}

.xeno-status-header {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: start;
}

.xeno-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 4px;
  background: #ececec;
  object-fit: cover;
}

.xeno-avatar.xeno-avatar-large {
  width: 5.5rem;
  height: 5.5rem;
}

.xeno-author {
  min-width: 0;
  color: #171717;
  font-weight: 700;
}

.xeno-author:hover {
  color: #1e70bf;
}

.xeno-display-name,
.xeno-account-name {
  overflow-wrap: anywhere;
}

.xeno-acct {
  display: block;
  overflow: hidden;
  color: #666;
  font-size: .9rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xeno-time {
  color: #666;
  font-size: .85rem;
  white-space: nowrap;
}

.xeno-content {
  margin: .65rem 0 0 3.75rem;
  overflow-wrap: anywhere;
  font-size: 1.04rem;
  line-height: 1.52;
}

.xeno-content p {
  margin: 0 0 .72rem;
}

.xeno-content p:last-child {
  margin-bottom: 0;
}

.xeno-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.xeno-content details > summary {
  cursor: pointer;
  font-weight: 700;
}

.xeno-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: .8rem 0 0 3.75rem;
}

.xeno-media img,
.xeno-media video,
.xeno-media audio {
  display: block;
  width: 100%;
  max-height: 32rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f5f5f5;
  object-fit: contain;
}

.xeno-media > :only-child {
  grid-column: 1 / -1;
}

.xeno-sensitive-media {
  margin: .8rem 0 0 3.75rem;
}

.xeno-sensitive-media > summary {
  cursor: pointer;
  font-weight: 700;
}

.xeno-sensitive-media .xeno-media {
  margin-left: 0;
}

.xeno-boost-label {
  margin: 0 0 .65rem 3.75rem;
  color: #666;
  font-size: .9rem;
  font-weight: 700;
}

.xeno-poll {
  margin: .8rem 0 0 3.75rem;
}

.xeno-poll-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  padding: .45rem 0;
  cursor: pointer;
}

.xeno-poll-votes,
.xeno-poll-footer {
  color: #666;
  font-size: .88rem;
}

.xeno-poll-footer {
  margin: .35rem 0 .55rem;
}

.xeno-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .7rem 0 0 3.75rem;
}

.xeno-reaction {
  padding: .3rem .55rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fafafa;
}

button.xeno-reaction {
  color: #171717;
  cursor: pointer;
}

.xeno-reaction.active {
  border-color: #9f1d2f;
  color: #9f1d2f;
}

.xeno-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: .4rem;
  margin: .75rem 0 0 3.75rem;
}

.xeno-actions .button {
  width: 100%;
  margin: 0 !important;
}

.xeno-actions .active.button {
  color: #9f1d2f !important;
  box-shadow: 0 0 0 1px #9f1d2f inset !important;
}

.xeno-status-more {
  position: relative;
}

.xeno-status-more > summary {
  height: 100%;
  list-style: none;
  cursor: pointer;
}

.xeno-status-more > summary::-webkit-details-marker {
  display: none;
}

.xeno-status-menu {
  position: absolute;
  right: 0;
  z-index: 10;
  width: 10.5rem;
  padding: .3rem 0;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
}

.xeno-status-menu button {
  display: block;
  width: 100%;
  padding: .65rem .8rem;
  border: 0;
  background: transparent;
  color: #171717;
  text-align: left;
  cursor: pointer;
}

.xeno-status-menu button:hover,
.xeno-status-menu button:focus {
  background: #eee;
}

.xeno-status-menu .xeno-danger {
  color: #a31320;
}

.xeno-inline-controls {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

.xeno-edit-form,
.xeno-reaction-form {
  margin: .8rem 0 0 3.75rem;
}

.xeno-reaction-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}

.xeno-reply-form {
  margin: .7rem 0 0 3.75rem;
  padding: .75rem;
  border-left: 3px solid #171717;
  background: #f7f7f7;
}

.xeno-reply-form .actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .5rem;
}

.xeno-notification {
  padding-top: 1rem;
  border-bottom: 1px solid #dedede;
}

.xeno-notification-label {
  margin: 0 0 .45rem 3.75rem;
  color: #555;
  font-weight: 700;
}

.xeno-notification > .xeno-status {
  border-bottom: 0;
}

.xeno-profile-head {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.xeno-profile-banner {
  display: block;
  width: calc(100% + 2rem);
  max-height: 16rem;
  margin: -1rem -1rem 1rem;
  border-radius: 4px 4px 0 0;
  object-fit: cover;
}

.xeno-profile h1 {
  margin: 0;
  font-size: 1.55rem;
}

.xeno-profile-note {
  margin-top: 1rem;
  overflow-wrap: anywhere;
}

.xeno-profile-fields {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  margin: 1rem 0 0;
  border-top: 1px solid #ddd;
}

.xeno-profile-fields dt,
.xeno-profile-fields dd {
  margin: 0;
  padding: .55rem;
  border-bottom: 1px solid #ddd;
  overflow-wrap: anywhere;
}

.xeno-profile-fields dt {
  font-weight: 700;
}

.xeno-profile-stats,
.xeno-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.xeno-list-membership {
  position: relative;
}

.xeno-list-membership > summary {
  list-style: none;
  cursor: pointer;
}

.xeno-list-membership > summary::-webkit-details-marker {
  display: none;
}

.xeno-list-membership-menu {
  position: absolute;
  z-index: 10;
  min-width: 13rem;
  padding: .65rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
}

.xeno-list-choice {
  display: block;
  padding: .35rem 0;
  white-space: nowrap;
}

.xeno-list-choice input {
  margin-right: .5rem;
}

.xeno-direct-form {
  margin-top: 1rem;
}

.xeno-section-title {
  margin: 1.4rem 0 .6rem !important;
  font-size: 1.2rem !important;
}

.xeno-view-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: 1rem;
}

.xeno-notification-filters {
  position: relative;
}

.xeno-notification-filters > summary {
  list-style: none;
  cursor: pointer;
}

.xeno-filter-menu {
  position: absolute;
  right: 0;
  z-index: 10;
  width: 13rem;
  padding: .75rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
}

.xeno-filter-menu label {
  display: block;
  padding: .3rem 0;
}

.xeno-filter-menu button {
  width: 100%;
  margin-top: .5rem !important;
}

.xeno-people-search,
.xeno-tag-form,
.xeno-list-form,
.xeno-search-form {
  margin-bottom: 1rem;
}

.xeno-person,
.xeno-tag-row,
.xeno-list-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  border-bottom: 1px solid #ddd;
}

.xeno-person-identity {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  min-width: 0;
  color: #171717;
}

.xeno-person-identity .xeno-avatar {
  grid-row: 1 / 3;
  margin-right: .75rem;
}

.xeno-person-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: .4rem;
}

.xeno-list-members {
  margin-bottom: 1rem;
}

.xeno-list-members > summary {
  cursor: pointer;
  font-weight: 700;
}

.xeno-search-tag {
  display: inline-block;
  margin: 0 .5rem .5rem 0;
  padding: .4rem .65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.xeno-more {
  width: 100%;
  margin-top: 1rem !important;
}

.xeno-busy {
  pointer-events: none;
  opacity: .55;
}

.xeno-settings.xeno-settings-advanced {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .65fr) !important;
  gap: 1rem !important;
  align-items: start !important;
}

.xeno-settings.xeno-settings-advanced > #xeno-settings-form,
.xeno-settings.xeno-settings-advanced .xeno-settings-grid {
  display: contents !important;
}

.xeno-settings.xeno-settings-advanced .xeno-settings-head,
.xeno-settings.xeno-settings-advanced .xeno-settings-actions {
  grid-column: 1 / -1 !important;
}

.xeno-settings.xeno-settings-advanced .xeno-settings-grid > div,
.xeno-settings.xeno-settings-advanced .xeno-advanced-tools {
  grid-column: 1 !important;
}

.xeno-settings.xeno-settings-advanced .xeno-settings-grid > aside {
  grid-column: 2 !important;
  grid-row: 2 / span 3 !important;
}

.xeno-settings.xeno-settings-advanced .xeno-advanced-left {
  width: 100% !important;
}

.xeno-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: min(30rem, calc(100vw - 2rem));
}

@media (max-width: 640px) {
  .xeno-settings.xeno-settings-advanced {
    display: block !important;
  }

  .xeno-settings.xeno-settings-advanced > #xeno-settings-form,
  .xeno-settings.xeno-settings-advanced .xeno-settings-grid {
    display: block !important;
  }

  .xeno-shell {
    padding-right: .7rem;
    padding-left: .7rem;
  }

  .xeno-status-header {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }

  .xeno-avatar {
    width: 2.6rem;
    height: 2.6rem;
  }

  .xeno-status {
    --xeno-avatar-size: 2.6rem;
  }

  .xeno-time {
    grid-column: 2;
  }

  .xeno-content,
  .xeno-media,
  .xeno-sensitive-media,
  .xeno-boost-label,
  .xeno-poll,
  .xeno-reactions,
  .xeno-actions,
  .xeno-reply-form,
  .xeno-edit-form,
  .xeno-reaction-form,
  .xeno-notification-label {
    margin-left: 3.35rem;
  }

  .xeno-actions .button {
    min-width: 0;
    padding-right: .55rem !important;
    padding-left: .55rem !important;
    overflow: hidden;
  }

  .xeno-status.xeno-depth-1,
  .xeno-status.xeno-depth-2 {
    padding-left: .7rem;
  }

  .xeno-media {
    grid-template-columns: 1fr;
  }

  .xeno-profile-head {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .xeno-avatar.xeno-avatar-large {
    width: 4.5rem;
    height: 4.5rem;
  }

  .xeno-person {
    align-items: flex-start;
  }

  .xeno-person-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .xeno-top-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .xeno-top-bar .xeno-nav-label {
    display: none;
  }

  .xeno-top-bar .item {
    padding-right: .8rem !important;
    padding-left: .8rem !important;
  }

  .xeno-top-bar .item > .icon {
    margin: 0 !important;
  }

  .xeno-nav-menu {
    right: auto;
    left: .35rem;
  }

  .xeno-actions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .3rem;
    margin-left: 0;
  }

  .xeno-actions .button {
    box-sizing: border-box;
    height: 2.75rem;
    font-size: 0 !important;
  }

  .xeno-actions .button > .icon {
    margin: 0 !important;
    font-size: 1rem !important;
  }

  .xeno-status-more > summary {
    display: grid !important;
    place-items: center;
  }

  .xeno-status-more {
    min-width: 0;
  }

  .xeno-status-menu button {
    box-sizing: border-box;
  }
}
