@charset "UTF-8";
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  overflow-x: scroll;
  display: flex;
  flex-flow: row nowrap;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion) {
  body {
    scroll-behavior: auto;
  }
}

html, body, .page {
  background: white;
}

.icon-btn {
  background: none;
  border: none;
  font-size: calc(1.375rem + 1vw);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.icon-btn:hover, .icon-btn:focus {
  opacity: 0.99;
}
.icon-btn.icon-btn-inline {
  font-size: inherit;
  display: inline-block;
}
.icon-btn.icon-btn-left, .icon-btn.icon-btn-right, .icon-btn.icon-btn-up, .icon-btn.icon-btn-down, .icon-btn.icon-btn-refresh, .icon-btn.icon-btn-logout, .icon-btn.icon-btn-upload {
  min-width: 1em;
  background: url("/assets/images/icons/larr.svg") no-repeat center center;
  background-size: contain;
  color: transparent;
  align-self: center;
}
.icon-btn.icon-btn-up, .icon-btn.icon-btn-down {
  background: url("/assets/images/icons/uparr.svg") no-repeat center center;
}
.icon-btn.icon-btn-right, .icon-btn.icon-btn-down {
  transform: rotate(180deg);
}
.icon-btn.icon-btn-refresh {
  background-image: url("/assets/images/icons/refresh.svg");
  height: 75%;
}
.icon-btn.icon-btn-logout {
  background-image: url("/assets/images/icons/logout.svg");
  height: 75%;
}
.icon-btn.icon-btn-upload {
  background-image: url("/assets/images/icons/upload.svg");
  height: 75%;
}
.icon-btn.icon-btn-pfp {
  border-radius: 50%;
}
.icon-btn.icon-btn-pfp > img {
  height: 1.5em;
  margin: -0.25em;
  border-radius: 50%;
  aspect-ratio: 1;
}

.page {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  flex-flow: column nowrap;
}
.page.page-dark {
  background: black;
  color: white;
}
.page.page-dark .icon-btn-left, .page.page-dark .icon-btn-right, .page.page-dark .icon-btn-up, .page.page-dark .icon-btn-down, .page.page-dark .icon-btn-refresh, .page.page-dark .icon-btn-logout, .page.page-dark .icon-btn-upload {
  filter: brightness(0) invert(1);
}
.page.page-dark input, .page.page-dark textarea {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.1s;
}
.page.page-dark input:focus, .page.page-dark textarea:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
}
.page.page-dark .input-group {
  color: white;
}
.page.page-dark .input-group::before {
  background-color: rgba(255, 255, 255, 0.15);
}
.page.page-dark .input-group > * {
  background-color: transparent;
  color: white;
}
.page.page-dark .input-group:focus-within::before {
  background-color: rgba(255, 255, 255, 0.2);
}
.page.page-dark .input-group:focus-within > * {
  background-color: transparent;
}
.page.page-dark .card {
  background-color: #111;
}
.page.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
}
.page.page-overlay.page-overlay-show {
  transform: translateX(0);
}
@media (prefers-reduced-motion) {
  .page.page-overlay {
    opacity: 0;
    transition-property: opacity;
  }
  .page.page-overlay.page-overlay-show {
    opacity: 1;
  }
}
.page > .page-header {
  flex: 0;
  padding: 1rem;
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
}
.page > .page-header > * {
  font-size: calc(1.375rem + 1vw);
  margin-bottom: 0;
  line-height: 100%;
}
.page > .page-header > h1 {
  flex: 1;
}
.page > .portraitArea {
  flex: 1;
}
.page .page-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  pointer-events: none;
  transition: background-color 0.3s ease;
}
.page .page-backdrop.page-backdrop-show {
  background-color: black;
  pointer-events: initial;
}

.portraitArea,
.page-footer {
  width: 100%;
  max-width: max(50vh, 700px);
  margin: auto;
  overflow-x: hidden;
}

.portraitArea {
  overflow-y: auto;
  height: 100%;
}

.input-group {
  display: flex;
  gap: 0.3rem;
  padding: 1rem 2.5rem;
  position: relative;
}
.input-group input, .input-group textarea {
  flex: 1;
  width: 100%;
  border: none;
  resize: none;
  overflow: hidden;
  outline: none !important;
}
.input-group::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  pointer-events: none;
}
.input-group > * {
  background: transparent;
  padding: 0.4rem;
  border: none;
}

#pageCamera #cameraSensor, #pageCamera #cameraViewfinder, #pageCamera #cameraOutput {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0;
  background: black;
}
#pageCamera #cameraViewfinder {
  opacity: 1;
}
#pageCamera #cameraOutput.show {
  opacity: 1;
}
#pageCamera #cameraTrigger {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  width: max(10vw, 10vh);
  height: max(10vw, 10vh);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s;
}
#pageCamera #cameraTrigger::before {
  content: "";
  width: 70%;
  height: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 0.5vw white solid;
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
#pageCamera #cameraTrigger:hover {
  transform: translateX(-50%) scale(0.9);
}
#pageCamera #cameraTrigger:hover::before {
  transform: translate(-50%, -50%) scale(1.2857142857);
}

#pageChat #pageChatOptions {
  width: 100%;
  max-width: 100%;
  list-style: none;
  padding: 0;
}

.pageChat-option {
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 1rem;
}
.pageChat-option:hover {
  background: rgba(0, 0, 0, 0.02);
}
.pageChat-option:focus {
  background: rgba(0, 0, 0, 0.05);
}
.pageChat-option .pageChat-option-pfp,
.pageChat-option .pageChat-option-quickAction {
  width: 1em;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  padding: 0.3rem;
}
.pageChat-option .pageChat-option-pfp {
  width: 4rem;
  background: none;
}
.pageChat-option .pageChat-option-main {
  flex: 1;
  padding: 0.3rem;
  display: grid;
}
.pageChat-option .pageChat-option-name {
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: initial;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pageChat-option .pageChat-option-lastMsg-container {
  opacity: 0.7;
  margin-bottom: 0;
  white-space: nowrap;
  display: flex;
  overflow: hidden;
}
.pageChat-option .pageChat-option-lastMsg-container > .pageChat-option-lastMsg {
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pageChat-option .pageChat-option-lastMsg-container > .pageChat-option-lastMsg::after {
  content: " • ";
  white-space: pre;
  font-weight: 200;
}
.pageChat-option .pageChat-option-lastMsg-container > .pageChat-option-date {
  flex-shrink: 0;
  opacity: 0.8;
  font-weight: initial;
}
.pageChat-option.pageChat-option-unread .pageChat-option-name {
  font-weight: 500;
}
.pageChat-option.pageChat-option-unread .pageChat-option-lastMsg-container {
  opacity: 1;
  font-weight: 500;
}

#pageLogin > .portraitArea, #pageSignup > .portraitArea {
  padding: 1rem;
}
#pageLogin .form-error, #pageSignup .form-error {
  color: #d20000;
}
@media (prefers-color-scheme: dark) {
  #pageLogin .form-error, #pageSignup .form-error {
    color: #ff6565;
  }
}

#pageMessages .page-header a {
  color: inherit;
  text-decoration: none;
}
#pageMessages .page-header .pageMessages-pfp {
  height: calc(1.375rem + 1vw);
}
#pageMessages .portraitArea {
  display: flex;
  flex-flow: column nowrap;
}
#pageMessages .pageMessages-messages-parent {
  flex: 1;
  overflow: hidden;
  position: relative;
}
#pageMessages .pageMessages-messages-parent .scrollToBottomIndicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, 100%) rotate(180deg);
  transition: 0.2s;
  transition-property: transform, opacity;
  pointer-events: none;
}
@media (prefers-reduced-motion) {
  #pageMessages .pageMessages-messages-parent .scrollToBottomIndicator {
    transform: translate(-50%, 0) rotate(180deg);
  }
}
#pageMessages .pageMessages-messages-parent .scrollToBottomIndicator.show {
  opacity: initial;
  transform: translate(-50%, 0) rotate(180deg);
  pointer-events: initial;
}
#pageMessages ul#pageMessages-messages {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  padding: 0 1rem;
  margin-bottom: 0;
}
#pageMessages ul#pageMessages-messages .lastRead-text {
  width: 100%;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  text-align: end;
  opacity: 0.9;
  transform: scaleY(0);
}
#pageMessages ul#pageMessages-messages.lastRead-enabled .lastRead-text {
  transform: scaleY(1);
  transition: transform 50ms;
}
#pageMessages ul#pageMessages-messages li.pageMessages-daySeparator {
  background: transparent;
  text-align: center;
  padding: 0.5rem;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message {
  background: rgba(0, 0, 0, 0.01);
  box-shadow: rgba(0, 0, 0, 0.1) 0.1rem 0.1rem 0.1rem;
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  display: table;
  max-width: min(max(75%, 20rem), 90%);
}
#pageMessages ul#pageMessages-messages li.pageMessages-message, #pageMessages ul#pageMessages-messages li.pageMessages-message img {
  border-radius: 1rem;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message:not(.pageMessages-message-own), #pageMessages ul#pageMessages-messages li.pageMessages-message:not(.pageMessages-message-own) img {
  border-bottom-left-radius: 0;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-message-own {
  background: rgba(0, 0, 0, 0.05);
  margin-inline-start: auto;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-message-own, #pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-message-own img {
  border-bottom-right-radius: 0;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message .pageMessages-message-footer {
  font-size: 0.9em;
  margin-top: -0.2em;
  margin-bottom: -0.7em;
  text-align: end;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message .pageMessages-message-footer .pageMessages-message-time {
  width: 2.5em;
  display: inline-block;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message .pageMessages-message-footer .pageMessages-message-time:empty {
  display: none;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-image img {
  height: auto;
  width: 30vh;
  object-fit: cover;
  min-height: 3rem;
  max-height: 30vh;
  min-width: 11rem;
  max-width: calc(100% + 1.4rem);
  margin: -0.7rem -0.7rem 0 -0.7rem;
  transition: 0.3s ease;
  transition-property: transform, border-radius, max-width, max-height;
}
@media (prefers-reduced-motion) {
  #pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-image img {
    transition-property: border-radius;
  }
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-image img.expand {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  transform: translate(0, 0) scale(1);
  position: relative;
  z-index: 1;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-image img.pre-expand {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-image img.post-expand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100% !important;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 1;
}
#pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-image .pageMessages-message-footer {
  margin-top: -0.05rem;
  margin-bottom: -0.8rem;
}
#pageMessages .pageMessagesInput--valid {
  display: block;
}
#pageMessages .pageMessagesInput--invalid {
  display: none;
}
#pageMessages #pageMessagesInput:placeholder-shown ~ .pageMessagesInput--valid,
#pageMessages #pageMessagesInput:invalid ~ .pageMessagesInput--valid {
  display: none;
}
#pageMessages #pageMessagesInput:placeholder-shown ~ .pageMessagesInput--invalid,
#pageMessages #pageMessagesInput:invalid ~ .pageMessagesInput--invalid {
  display: block;
}
@media (prefers-color-scheme: dark) {
  #pageMessages ul#pageMessages-messages li.pageMessages-message {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: rgba(255, 255, 255, 0.1) 0.1rem 0.1rem 0.1rem;
  }
  #pageMessages ul#pageMessages-messages li.pageMessages-message.pageMessages-message-own {
    background: rgba(255, 255, 255, 0.1);
  }
}

#pageSearch .input-group {
  width: 100%;
  font-size: 1rem;
  margin: -1.25rem;
}
#pageSearch #pageSearchResults {
  width: 100%;
  max-width: 100%;
  list-style: none;
  padding: 0;
}

#pageProfile .portraitArea {
  padding: 1rem;
}
#pageProfile .pageProfile-profile {
  display: flex;
  flex-flow: row nowrap;
  margin-bottom: 1rem;
  gap: 1rem;
}
#pageProfile .pageProfile-profile .pageProfile-pfp {
  width: 8em;
  border-radius: 50%;
}
#pageProfile .pageProfile-profile .pageProfile-pfp > img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
}
#pageProfile .pageProfile-profile .pageProfile-summary {
  padding-top: 0.2rem;
}
#pageProfile .pageProfile-profile .pageProfile-title {
  font-size: 1.25em;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
#pageProfile .pageProfile-profile .pageProfile-title .pageProfile-pronouns {
  opacity: 0.6;
  padding-inline-start: 0.2em;
}
#pageProfile .pageProfile-profile .pageProfile-bio {
  white-space: pre-line;
}
#pageProfile:not(.pageProfile-own) .pageProfile-own-only {
  display: none;
}

#pageProfileEdit .portraitArea {
  padding: 1rem;
}
#pageProfileEdit .portraitArea > form > * {
  margin-bottom: 1rem;
}
#pageProfileEdit .pageProfileEdit-pronouns > label {
  margin-bottom: 0;
}
#pageProfileEdit .pageProfileEdit-pronouns #pageProfileEdit-pronouns-other {
  margin-top: 0.65em;
}

#pageAttributions .portraitArea {
  text-align: center;
}
#pageAttributions img {
  height: 15vh;
  max-height: 25vw;
  width: 100%;
  padding: 1rem;
  object-fit: contain;
  background-color: #eee;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
  background-size: 2rem 2rem;
  background-position: 0 0, 1rem 1rem;
}
#pageAttributions .card {
  display: inline-block;
  width: 45%;
  min-width: 10rem;
  margin-bottom: 0.3rem;
}

@media screen and (prefers-color-scheme: dark) {
  html, body, .page {
    background: black;
    color: white;
  }
  html .icon-btn-left, html .icon-btn-right, html .icon-btn-up, html .icon-btn-down, html .icon-btn-refresh, html .icon-btn-logout, html .icon-btn-upload, body .icon-btn-left, body .icon-btn-right, body .icon-btn-up, body .icon-btn-down, body .icon-btn-refresh, body .icon-btn-logout, body .icon-btn-upload, .page .icon-btn-left, .page .icon-btn-right, .page .icon-btn-up, .page .icon-btn-down, .page .icon-btn-refresh, .page .icon-btn-logout, .page .icon-btn-upload {
    filter: brightness(0) invert(1);
  }
  html input, html textarea, body input, body textarea, .page input, .page textarea {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.1s;
  }
  html input:focus, html textarea:focus, body input:focus, body textarea:focus, .page input:focus, .page textarea:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
  }
  html .input-group, body .input-group, .page .input-group {
    color: white;
  }
  html .input-group::before, body .input-group::before, .page .input-group::before {
    background-color: rgba(255, 255, 255, 0.15);
  }
  html .input-group > *, body .input-group > *, .page .input-group > * {
    background-color: transparent;
    color: white;
  }
  html .input-group:focus-within::before, body .input-group:focus-within::before, .page .input-group:focus-within::before {
    background-color: rgba(255, 255, 255, 0.2);
  }
  html .input-group:focus-within > *, body .input-group:focus-within > *, .page .input-group:focus-within > * {
    background-color: transparent;
  }
  html .card, body .card, .page .card {
    background-color: #111;
  }
}

/*# sourceMappingURL=style.css.map */
