.community-page {
  max-width: 1450px;
  padding-top: 24px;
}
.town-community {
  max-width: 1450px;
  padding: 16px 24px 24px;
}
.town-community [hidden] {
  display: none !important;
}
.town-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.town-switch strong {
  color: #38644d;
  font-size: 24px;
  font-weight: 500;
}
.town-switch small {
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-left: 8px;
}
.town-switch span {
  display: block;
  font-size: 13px;
  color: #627363;
  margin-top: 3px;
}
.town-switch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.town-switch button {
  background: #fffdf7;
  color: #38644d;
  border: 1px solid #d5dfce;
  padding: 11px 18px;
}
.town-switch button[aria-pressed="true"] {
  background: #e2edda;
  border-color: #608662;
  box-shadow: inset 0 -2px #608662;
}
.town-frame {
  display: block;
  border: 1px solid #d5dfce;
  border-radius: 22px;
  width: 100%;
  height: max(620px, calc(100dvh - 235px));
  background: #e5e9dc;
}
.town-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #627363;
  padding: 8px 2px;
}
.town-help button {
  font-size: 12px;
  padding: 7px 12px;
}
.town-community :focus-visible {
  outline: 3px solid #71975c;
  outline-offset: 3px;
}
@media (min-width: 901px) {
  .town-community .community-page {
    padding: 0;
    height: calc(100dvh - 205px);
    min-height: 520px;
  }
  .preview-mode .town-community .community-page {
    height: calc(100dvh - 280px);
  }
}
@media (max-width: 700px) {
  .town-community {
    padding: 12px;
  }
  .town-switch-actions {
    width: 100%;
  }
  .town-switch-actions button {
    flex: 1;
  }
  .town-frame {
    height: 990px;
  }
}
.fixture-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 24px;
  background: #fff2d6;
  color: #5e4b29;
  border-bottom: 1px solid #e5d5ae;
  font-size: 13px;
}
.fixture-preview small {
  display: block;
  margin-top: 4px;
}
.fixture-preview button {
  font-size: 12px;
  padding: 8px 12px;
}
@media (min-width: 901px) {
  .preview-mode .community-page {
    height: calc(100dvh - 184px);
    min-height: 490px;
  }
}
@media (max-width: 900px) {
  .fixture-preview {
    flex-wrap: wrap;
    padding: 12px;
  }
}
.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.social-top h1 {
  font-size: 32px;
  margin: 3px 0 9px;
}
.social-top p {
  margin: 4px 0;
  color: #536451;
}
.social-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 18px;
}
.social-sidebar {
  background: #edf2e4;
  border: 1px solid #d8e1cd;
  border-radius: 24px;
  padding: 20px;
  align-self: start;
}
.social-sidebar h2 {
  font-size: 17px;
  margin: 24px 0 6px;
}
.social-room-search {
  font-size: 12px;
  margin: 8px 0 0;
}
.social-room-search input {
  margin: 5px 0 0;
  padding: 9px;
  min-width: 0;
}
.social-room-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin: 10px 0 0;
}
.social-room-filter input {
  width: auto;
  margin: 0;
}
.social-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  margin: 0 0 10px;
}
.social-connection button {
  flex: none;
  padding: 7px 12px;
}
.social-muted {
  font-size: 12px;
  color: #61705c;
}
.social-sidebar nav {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}
.social-room-link {
  text-align: left;
  white-space: normal;
  background: transparent;
  color: #3e503a;
  border: 1px solid #d4deca;
  padding: 14px;
  border-radius: 15px;
}
.social-room-link strong {
  display: block;
  font-size: 16px;
}
.social-room-link span {
  display: block;
  font-size: 12px;
  margin-top: 7px;
}
.social-room-link.selected {
  background: #fffef8;
  border-color: #829975;
  box-shadow: 0 3px 0 #d6dfca;
}
.social-avatar {
  display: inline-grid;
  place-items: center;
  background: #e8eedc;
  border: 1px solid #d8e1cb;
  border-radius: 16px;
  flex: none;
  width: 43px;
  height: 43px;
  font-size: 29px;
}
#social-self {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
#social-self small {
  font-size: 12px;
  color: #67745e;
  flex-basis: 100%;
}
.social-room {
  margin: 0;
  border: 1px solid #dce2d2;
  background: #fffef9;
  border-radius: 24px;
  overflow: hidden;
  min-width: 0;
}
.social-room-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid #e3e8db;
}
.social-room-head > div {
  flex: 1;
  min-width: 0;
}
.social-room-head h2 {
  font-size: 23px;
  margin: 0 0 7px;
}
.social-room-head p {
  font-size: 14px;
  color: #65725f;
  margin: 0;
}
.social-room-head button {
  padding: 8px 12px;
  font-size: 13px;
}
.social-rules {
  border: 0;
  border-bottom: 1px solid #e3e8db;
  border-radius: 0;
  margin: 0;
  padding: 10px 22px;
  font-size: 13px;
  background: #f6f7ee;
}
.social-rules summary {
  font-weight: 500;
}
.social-rules p,
.social-rules-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.social-history {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 18px;
}
.social-history button {
  font-size: 12px;
  padding: 6px 9px;
}
.social-history span {
  margin-left: auto;
  font-size: 12px;
  color: #667561;
}
.social-messages {
  height: clamp(220px, 43vh, 600px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px 22px;
  scrollbar-gutter: stable;
}
.social-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 17px;
}
.social-bubble {
  min-width: 0;
  max-width: 85%;
  border: 1px solid #e1e5d8;
  border-radius: 0 18px 18px;
  padding: 12px 15px;
  background: #f6f7f0;
}
.social-message.own {
  flex-direction: row-reverse;
}
.social-message.own .social-bubble {
  background: #e7efda;
  border-color: #d3dfc0;
  border-radius: 18px 0 18px 18px;
}
.social-bubble p {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.social-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.social-byline time {
  color: #737d6a;
  font-size: 11px;
}
.social-message-tools {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.social-message-tools button {
  padding: 2px 0;
  border: 0;
  background: none;
  color: #66735d;
  font-size: 11px;
  box-shadow: none;
}
.social-message-tools button:hover {
  text-decoration: underline;
}
.social-bubble blockquote {
  font-size: 12px;
  color: #526747;
  border-left: 3px solid #a9bd91;
  margin: 9px 0 0;
  padding-left: 9px;
  overflow-wrap: anywhere;
}
.social-compose {
  border-top: 1px solid #dce2d2;
  background: #f7f8f1;
  padding: 15px 20px;
  margin: 0;
}
.social-compose label {
  font-size: 13px;
}
.social-compose textarea {
  margin: 4px 0 6px;
  background: #fffef9;
  border-color: #cad6bd;
  border-radius: 14px;
  resize: vertical;
  min-height: 80px;
  max-height: 220px;
}
.social-compose-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 9px;
}
.social-compose-foot small {
  font-size: 12px;
  color: #65725b;
}
.social-compose-foot button {
  flex: none;
}
#social-reply:not(:empty) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 13px;
}
#social-reply button {
  font-size: 12px;
  padding: 4px 8px;
}
.social-new {
  display: block;
  margin: 5px auto 12px;
  font-size: 12px;
  padding: 7px 15px;
}
.social-empty {
  padding: 35px 25px;
  text-align: center;
  color: #58674c;
}
.social-empty > span {
  font-size: 50px;
  display: block;
  margin-bottom: 15px;
}
.social-empty p {
  line-height: 1.8;
}
.social-welcome {
  padding: 65px 30px;
  text-align: center;
  background: #f1f5e8;
  border: 1px solid #dbe4cd;
  border-radius: 30px;
}
.social-welcome h1 {
  font-size: 36px;
}
.social-welcome p {
  line-height: 1.9;
  color: #596b50;
}
.social-mascot {
  font-size: 84px;
}
.social-member-list {
  max-height: 300px;
  overflow: auto;
}
.social-member-list p {
  padding: 12px;
  border-bottom: 1px solid #e0e6d7;
}
.social-member-list small {
  display: block;
  white-space: pre-wrap;
  color: #65745a;
}
.social-report {
  padding: 15px;
  margin: 12px 0;
  border: 1px solid #d9dfd1;
  border-radius: 14px;
}
.social-report pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  background: #f3f5eb;
  padding: 10px;
}
.social-report button {
  font-size: 12px;
  padding: 7px 9px;
  margin: 0 6px 6px 0;
}
.community-page [hidden] {
  display: none !important;
}
.community-page :focus-visible {
  outline: 3px solid #71975c;
  outline-offset: 3px;
}
.social-sidebar button {
  max-width: 100%;
}
.social-room-link {
  display: block;
}
@media (min-width: 901px) {
  .community-page {
    height: calc(100dvh - 108px);
    min-height: 540px;
    display: flex;
    flex-direction: column;
    padding: 14px 24px 18px;
  }
  .social-top {
    flex: none;
    margin-bottom: 13px;
  }
  .social-top h1 {
    font-size: 27px;
    line-height: 1.2;
    margin: 1px 0 5px;
  }
  .social-top p {
    font-size: 13px;
    line-height: 1.4;
  }
  .social-layout {
    flex: 1;
    min-height: 0;
  }
  .social-sidebar {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 16px;
  }
  .social-sidebar h2 {
    margin-top: 10px;
    margin-bottom: 0;
    flex: none;
  }
  .social-sidebar nav {
    flex: 1 0 120px;
    min-height: 120px;
    margin: 10px 0;
    overflow: auto;
  }
  #social-self {
    flex: none;
    flex-wrap: nowrap;
  }
  #social-self strong {
    font-size: 13px;
  }
  #social-self small,
  .social-sidebar > .social-muted {
    display: none;
  }
  .social-room-search,
  .social-room-filter {
    flex: none;
  }
  .social-sidebar > button {
    padding: 8px 12px;
    font-size: 13px;
  }
  .social-room-link {
    padding: 10px;
  }
  .social-room-link strong {
    font-size: 14px;
  }
  .social-room-link span {
    margin-top: 4px;
  }
  .social-sidebar > button {
    flex: none;
  }
  .social-room {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .social-room-head {
    padding: 11px 18px;
    flex: none;
  }
  .social-room-head h2 {
    font-size: 20px;
    margin-bottom: 3px;
  }
  .social-rules {
    padding: 6px 18px;
    flex: none;
  }
  .social-rules[open] p {
    max-height: 100px;
    overflow: auto;
  }
  .social-history {
    padding: 7px 16px;
    flex: none;
  }
  .social-messages {
    flex: 1;
    height: auto;
    min-height: 85px;
    padding: 12px 18px;
  }
  .social-compose {
    padding: 10px 17px;
    flex: none;
  }
  .social-compose textarea {
    height: 66px;
    min-height: 55px;
    max-height: 130px;
  }
  .social-compose-foot {
    margin-top: 6px;
  }
  .social-compose-foot button {
    padding: 8px 16px;
  }
  .social-empty {
    overflow: auto;
  }
}
@media (max-width: 900px) {
  .social-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .social-sidebar {
    padding: 14px;
  }
  .social-room-head {
    flex-wrap: wrap;
    padding: 15px;
  }
  .social-room-head > div {
    flex-basis: 100%;
  }
  .social-top {
    flex-wrap: wrap;
  }
  .social-messages {
    padding: 14px;
  }
  .social-bubble {
    max-width: calc(100% - 53px);
  }
}
@media (max-width: 620px) {
  .social-layout {
    grid-template-columns: 1fr;
  }
  .social-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .social-room-link {
    padding: 9px;
  }
  .social-room-link strong {
    font-size: 13px;
  }
  .social-room-link span {
    font-size: 11px;
  }
  .social-sidebar h2 {
    margin-top: 12px;
  }
  .social-top h1 {
    font-size: 28px;
  }
  .social-history {
    flex-wrap: wrap;
  }
  .social-compose-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .social-messages {
    height: 420px;
  }
  .social-top .actions {
    width: 100%;
  }
  .social-welcome {
    padding: 32px 18px;
  }
  .social-welcome h1 {
    font-size: 28px;
  }
}
