@font-face {
  font-family: "ALO Chat Emoji";
  src: url("vendor/noto-color-emoji/chat-palette.ec81f09501fe.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+2600, U+2615, U+263A, U+2764, U+2B50, U+FE0F, U+1F389,
    U+1F440, U+1F44D, U+1F525, U+1F600, U+1F602, U+1F60A, U+1F60E, U+1F64C, U+1F680, U+1F914;
}
.wall, .wall textarea, .wall-emoji button, .wall-reaction span, .wall-sticker-symbol {
  font-family: "ALO Chat Emoji", var(--alo-font-ui);
}
.page-heading:has(.wall-search), .wall { width: min(100%, 790px); }
.wall {
  min-width: 0;
  display: grid;
  gap: 16px;
}
.wall-search, .wall-tools, .wall-tool-group, .wall-post-actions, .wall-legacy-settings {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.wall-search input { min-width: 140px; flex: 1; }
.wall-search .button { white-space: nowrap; }
.wall-card {
  min-width: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--alo-border);
  border-radius: 14px;
  background: var(--alo-surface);
}
.wall-compose, .wall-comment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.wall-avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--alo-new-ink);
  background: var(--alo-new-bg);
}
.wall-form textarea {
  width: 100%;
  min-inline-size: 0;
  display: block;
  resize: vertical;
  background: var(--alo-canvas);
  color: var(--alo-ink);
}
.wall-tools { margin-top: 12px; justify-content: space-between; }
.wall-tool { min-width: 0; position: relative; }
.wall-tool-button, .wall-gif summary { list-style: none; cursor: pointer; }
.wall-tool-button::-webkit-details-marker, .wall-gif summary::-webkit-details-marker { display: none; }
.wall-tool[open] summary { background: var(--alo-surface-alt); }
.wall-panel {
  position: absolute;
  z-index: 3;
  inset-block-start: calc(100% + 5px);
  inset-inline-start: 0;
  width: max-content;
  max-width: min(292px, calc(100vw - 52px));
  padding: 10px;
  margin: 0;
  border: 1px solid var(--alo-border);
  border-radius: 12px;
  background: var(--alo-surface);
  box-shadow: var(--alo-shadow-card);
}
.wall-emoji, .wall-stickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wall-emoji { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wall-emoji button {
  min-width: 36px;
  min-height: 36px;
  padding: 4px;
  font-size: 20px;
  background: var(--alo-surface-alt);
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}
.wall-emoji button:hover { border-color: var(--alo-control-border); }
.wall-stickers label {
  position: relative;
  display: grid;
  text-align: center;
  cursor: pointer;
}
.wall-stickers input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.wall-stickers label:has(input:checked) { outline: 2px solid var(--alo-brand-blue); border-radius: 10px; }
.wall-stickers label:focus-within { outline: 2px dashed var(--alo-brand-blue); border-radius: 10px; }
.wall-sticker-empty { grid-column: 1 / -1; padding: 6px; }
.wall-sticker {
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  min-width: 72px;
  padding: 9px;
  border-radius: 10px;
  color: var(--alo-new-ink);
  background: var(--alo-new-bg);
  font-size: .75rem;
  font-weight: 700;
}
.wall-sticker[data-sticker="coffee"], .wall-sticker[data-sticker="great"] {
  color: var(--alo-waiting-ink);
  background: var(--alo-waiting-bg);
}
.wall-sticker[data-sticker="thanks"], .wall-sticker[data-sticker="done"] {
  color: var(--alo-resolved-ink);
  background: var(--alo-resolved-bg);
}
.wall-sticker-symbol { font-size: 1.65rem; line-height: 1.25; }
.wall-post-sticker .wall-sticker { min-width: 100px; padding: 12px; }
.wall-post-sticker .wall-sticker-symbol { font-size: 2.65rem; }
.wall-upload label, .wall-upload input { display: block; width: 100%; }
.wall-upload input { margin-top: 6px; }
.wall-selection, .wall-results, .wall-empty { margin: 7px 0 0; overflow-wrap: anywhere; }
.wall-feed { display: grid; gap: 13px; }
.wall-post { scroll-margin-top: 16px; }
.wall-post-header { display: flex; align-items: flex-start; gap: 10px; }
.wall-byline { display: grid; min-width: 0; overflow-wrap: anywhere; }
.wall-byline a { font-size: .85rem; }
.wall-legacy {
  margin-inline-start: auto;
  font-size: .78rem;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--alo-border);
  color: var(--alo-muted);
}
.wall-post-title { margin: 12px 0 0; overflow-wrap: anywhere; }
.wall-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0; }
.wall-post-sticker, .wall-media, .wall-gif { margin-top: 10px; }
.wall-media {
  display: block;
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--alo-canvas);
}
.wall-post-actions {
  padding-top: 11px;
  margin-top: 12px;
  border-top: 1px solid var(--alo-border);
}
.wall-reaction, .wall-count { font-variant-numeric: tabular-nums; }
.wall-reaction { color: var(--alo-ink); background: var(--alo-surface-alt); }
.wall-reaction.is-active { color: var(--alo-new-ink); background: var(--alo-new-bg); }
.wall-snippets {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  color: var(--alo-muted);
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.wall-snippets strong { color: var(--alo-ink); margin-inline-end: 5px; }
.wall-comments h2 { margin-top: 0; }
.wall-comment { padding: 10px 0; border-bottom: 1px solid var(--alo-border); }
.wall-comment strong { overflow-wrap: anywhere; }
.wall-comment time { font-size: .8rem; margin-inline-start: 5px; }
.wall-reply { margin-top: 14px; }
@media (max-width: 630px) {
  .wall-tool { position: static; }
  .wall-tools { position: relative; }
  .wall-panel { inset-inline-start: 0; max-width: 100%; }
  .wall-search { width: 100%; }
}
@media (max-width: 380px) {
  .wall-emoji { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wall-publish { width: 100%; }
}
