/* Feuille de style propriétaire — Volet compact de messagerie des Royaumes d'Aether
 * Ancrage en BAS À DROITE sur ville/cartes et écrans de gestion (.live-management-stage),
 * liste gauche des rapports intégralement dégagée, outils/inspecteurs de scène dégagés au-dessus
 * du volet ouvert via variable de hauteur partagée, et aucun défilement global.
 */

#aether-chat-root {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  z-index: 18;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
}

#aether-chat-root:empty {
  display: none;
}

.aether-chat {
  pointer-events: auto;
  min-width: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #2b2116;
}

.aether-chat *,
.aether-chat *::before,
.aether-chat *::after {
  box-sizing: border-box;
}

.aether-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Languette repliée par défaut en bas à droite */
.aether-chat-collapsed {
  display: inline-flex;
  max-width: 100%;
}

.aether-chat-tabbar {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 5px 0;
  max-width: 100%;
  overflow-x: auto;
  background:
    linear-gradient(180deg, rgba(44, 33, 23, 0.96), rgba(26, 19, 13, 0.98)),
    url('/assets/art/ui-wood.webp') center/256px repeat;
  border: 1px solid #8c6f41;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(235, 206, 138, 0.25);
}

.aether-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 3px 10px;
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #f6ecd5;
  background: linear-gradient(180deg, #436e57 0%, #2c4c3b 58%, #213a2d 100%);
  border: 1px solid #b59452;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  cursor: var(--cur-pointer, pointer);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(235, 250, 235, 0.26);
}

.aether-chat-toggle:hover {
  filter: brightness(1.08);
  border-color: #e5c16c;
}

.aether-chat-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.aether-chat-icon-toggle {
  width: 17px;
  height: 17px;
}

.aether-chat-icon-sm {
  width: 16px;
  height: 16px;
}

.aether-chat-quick-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 2px 8px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #dfd1b5;
  background: linear-gradient(180deg, #4e4031, #352b20);
  border: 1px solid #765e3a;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  cursor: var(--cur-pointer, pointer);
  white-space: nowrap;
}

.aether-chat-quick-tab:hover {
  color: #fff8e8;
  border-color: #b89858;
}

.aether-chat-quick-active {
  color: #fff9eb;
  border-color: #cda85c;
  background: linear-gradient(180deg, #5d4c39, #413426);
}

.aether-chat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  color: #1f160c;
  background: linear-gradient(180deg, #f0d284, #ca9b3b);
  border: 1px solid #6e4e14;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Volet ouvert en superposition compacte (scènes Ville / Carte) sans défilement global */
.aether-chat-open {
  width: min(520px, 100%);
  max-width: 100%;
  height: var(--aether-chat-open-height, clamp(180px, 30vh, 272px));
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #efe4cc;
  background-image: url('/assets/art/ui-parchment.webp');
  background-size: 512px 512px;
  border: 2px solid #8c6f41;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  box-shadow: 0 -8px 28px rgba(15, 11, 7, 0.56), inset 0 1px 0 rgba(255, 248, 228, 0.35);
}

.aether-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 6px;
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(44, 33, 23, 0.96), rgba(27, 20, 14, 0.98)),
    url('/assets/art/ui-wood.webp') center/256px repeat;
  border-bottom: 1px solid #866b3d;
}

.aether-chat-channels {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  flex-wrap: nowrap;
}

.aether-chat-channel {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  gap: 4px;
  min-height: 25px;
  padding: 4px 7px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #e8dcc3;
  background: linear-gradient(180deg, #524334, #372d22);
  border: 1px solid #7d6642;
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
  white-space: nowrap;
}

/* One row, always: when unread badges or a long alliance tag take the room, the two long names (the continent and
 * the alliance with its tag) shorten with an ellipsis; the short names, the icons and the badges keep their size. */
.aether-chat-channel[data-chat-channel="continent"],
.aether-chat-channel[data-chat-channel="alliance"] {
  flex-shrink: 1;
}

.aether-chat-channel > span:not([class]) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aether-chat-channel > .aether-chat-icon,
.aether-chat-channel > .aether-chat-badge {
  flex-shrink: 0;
}

.aether-chat-channel:hover {
  color: #fff9eb;
  border-color: #c2a362;
}

.aether-chat-channel-active {
  color: #fffaf0;
  background: linear-gradient(180deg, #4b7a61 0%, #315643 56%, #244031 100%);
  border-color: #e5c16c;
  box-shadow: inset 0 0 0 1px rgba(229, 193, 108, 0.36);
}

.aether-chat-header-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* UI polish 2026-11-19: at the normal width (520 px) the five channels and the two buttons hold on one row: tighter
 * tabs, smaller icons, and a fold button that shows its arrow only (its name stays in its label and in its tip).
 * The enlarged chat keeps the roomier metrics and the word. */
.aether-chat-open:not(.aether-chat-wide) .aether-chat-channel {
  gap: 3px;
  padding: 4px 5px;
}

.aether-chat-open:not(.aether-chat-wide) .aether-chat-channel .aether-chat-icon-sm {
  width: 14px;
  height: 14px;
}

.aether-chat-open:not(.aether-chat-wide) .aether-chat-close {
  min-width: 26px;
  padding: 2px 6px;
  font-size: 0;
}

.aether-chat-open:not(.aether-chat-wide) .aether-chat-close::before {
  content: "▾";
  font-size: 12px;
}

.aether-chat-clock {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #cbb996;
}

.aether-chat-close,
.aether-chat-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: #f3e7ce;
  background: linear-gradient(180deg, #584534, #3b2e22);
  border: 1px solid #937646;
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-close:hover,
.aether-chat-size:hover {
  border-color: #dfbe6f;
  color: #fffaf0;
}

/* Corps principal : flux unique ou coupe destinataires / conversation privée */
.aether-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.aether-chat-body-split {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
}

.aether-chat-sidebar {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(232, 220, 194, 0.72);
  border-right: 1px solid rgba(110, 85, 57, 0.38);
  overflow: hidden;
}

.aether-chat-filters {
  display: flex;
  align-items: stretch;
  gap: 3px;
  flex-shrink: 0;
}

.aether-chat-filter {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 3px 4px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: #4a3a29;
  background: rgba(250, 244, 230, 0.8);
  border: 1px solid rgba(110, 85, 57, 0.38);
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
  white-space: nowrap;
  overflow: hidden;
}

.aether-chat-filter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aether-chat-filter:hover {
  background: #fbf5e6;
  color: #23190f;
}

.aether-chat-filter-active {
  color: #fff9ec;
  background: linear-gradient(180deg, #46735b, #2c4d3c);
  border-color: #8f7443;
}

.aether-chat-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.aether-chat-icon-search {
  position: absolute;
  left: 6px;
  width: 16px;
  height: 16px;
  opacity: 0.86;
}

.aether-chat-search {
  width: 100%;
  min-width: 0;
  padding: 3px 6px 3px 26px;
  font-family: inherit;
  font-size: 11.5px;
  color: #261c12;
  background: rgba(255, 251, 242, 0.92);
  border: 1px solid rgba(110, 85, 57, 0.45);
  border-radius: 3px;
}

.aether-chat-contacts {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aether-chat-contact-row {
  display: flex;
  align-items: stretch;
  gap: 3px;
  min-width: 0;
}

.aether-chat-contact-select {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 6px;
  text-align: left;
  font-family: inherit;
  font-size: 11.5px;
  color: #2d2217;
  background: rgba(252, 247, 235, 0.78);
  border: 1px solid rgba(110, 85, 57, 0.28);
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-contact-select:hover {
  background: #fffaf0;
  border-color: #8c6f41;
}

.aether-chat-contact-active .aether-chat-contact-select {
  background: linear-gradient(180deg, rgba(252, 245, 226, 0.96), rgba(235, 219, 184, 0.88));
  border-color: #a67e30;
  box-shadow: inset 0 1px 0 rgba(255, 251, 240, 0.78);
  font-weight: 700;
}

.aether-chat-contact-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aether-chat-contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.aether-chat-icon-mail-unread {
  width: 16px;
  height: 16px;
}

.aether-chat-icon-mail-read {
  width: 16px;
  height: 16px;
  opacity: 0.76;
}

.aether-chat-tag {
  font-style: normal;
  font-weight: 700;
  color: #365e47;
}

.aether-chat-friend-btn,
.aether-chat-inline-friend {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  padding: 0;
  font-size: 12.5px;
  line-height: 1;
  color: #786247;
  background: rgba(250, 244, 230, 0.72);
  border: 1px solid rgba(110, 85, 57, 0.28);
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-inline-friend {
  width: 20px;
  height: 20px;
  font-size: 11px;
  margin-left: 3px;
}

.aether-chat-icon-friend-off {
  opacity: 0.36;
  filter: grayscale(0.85);
}

.aether-chat-icon-friend-on {
  opacity: 1;
  filter: none;
}

.aether-chat-friend-btn:hover,
.aether-chat-inline-friend:hover {
  border-color: #9e7929;
  color: #8f6816;
}

.aether-chat-friend-btn:hover .aether-chat-icon-friend-off,
.aether-chat-inline-friend:hover .aether-chat-icon-friend-off,
.aether-chat-friend-pill:hover .aether-chat-icon-friend-off {
  opacity: 0.76;
  filter: grayscale(0.25);
}

.aether-chat-friend-active {
  color: #9a6c11;
  background: rgba(235, 202, 122, 0.34);
  border-color: #b8892e;
}

.aether-chat-friends-note {
  margin: 0;
  font-size: 10px;
  line-height: 1.25;
  color: #6b5842;
  flex-shrink: 0;
}

.aether-chat-empty-contacts {
  margin: 6px 2px;
  padding: 8px 6px;
  text-align: center;
  font-size: 11px;
  color: #66543f;
  background: rgba(248, 240, 222, 0.65);
  border: 1px dashed rgba(110, 85, 57, 0.3);
  border-radius: 3px;
}

/* Colonne des messages et formulaire d'envoi */
.aether-chat-stream {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.aether-chat-target-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 9px;
  flex-shrink: 0;
  font-size: 11.5px;
  color: #3f3020;
  background: rgba(224, 210, 180, 0.58);
  border-bottom: 1px solid rgba(110, 85, 57, 0.28);
}

.aether-chat-target-label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

/* Nom complet du correspondant, à la ligne s'il est long (« Conversation privée avec » réservé au lecteur d'écran). */
.aether-chat-target-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.aether-chat-muted {
  color: #6d5a43;
}

.aether-chat-friend-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: #3d2e1e;
  background: rgba(252, 246, 232, 0.85);
  border: 1px solid rgba(110, 85, 57, 0.42);
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-friend-pill.aether-chat-friend-active {
  color: #5b3e07;
  background: rgba(235, 202, 122, 0.48);
  border-color: #a97d24;
}

.aether-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.aether-chat-msg {
  padding: 7px 8px;
  background: rgba(252, 247, 236, 0.8);
  border: 0;
  border-bottom: 1px solid rgba(110, 85, 57, 0.3);
  border-radius: 0;
}

.aether-chat-msg-self {
  background: rgba(225, 238, 224, 0.76);
  border-color: rgba(63, 103, 82, 0.38);
}

.aether-chat-msg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.aether-chat-msg-who {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.aether-chat-channel-seal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 1px 5px 1px 3px;
  border: 1px solid #9b7d49;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgb(238 214 161 / 12%);
  font: 11px Georgia, "Palatino Linotype", serif;
  line-height: 18px;
  color: #fff3d6;
  background: linear-gradient(180deg, #665135, #3b2e20);
  white-space: nowrap;
}

.aether-chat-seal-alliance {
  background: linear-gradient(180deg, #45654e, #263d2f);
}

.aether-chat-seal-private {
  background: linear-gradient(180deg, #4a5b6a, #293945);
}

.aether-chat-channel-seal .aether-chat-icon {
  width: 15px;
  height: 15px;
}

.aether-chat-author {
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: var(--aether-chat-text-size, 12px);
  font-weight: 700;
  color: #2f2215;
}

.aether-chat-author-self {
  color: #234935;
}

.aether-chat-author-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: var(--cur-pointer, pointer);
  text-decoration: underline;
  text-decoration-color: rgba(110, 85, 57, 0.45);
  text-underline-offset: 2px;
}

.aether-chat-author-link:hover {
  color: #7c5412;
}

.aether-chat-msg-time {
  flex-shrink: 0;
  font-size: calc(var(--aether-chat-text-size, 12px) * 0.875);
  font-variant-numeric: tabular-nums;
  color: #6f5c45;
}

.aether-chat-msg-text {
  margin: 0;
  font-size: var(--aether-chat-text-size, 12px);
  line-height: 1.38;
  color: var(--aether-chat-ink, #231a11);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.aether-chat-empty {
  margin: auto 0;
  padding: 14px 10px;
  text-align: center;
  font-size: 12px;
  color: #63503b;
  background: rgba(246, 238, 218, 0.6);
  border: 1px dashed rgba(110, 85, 57, 0.3);
  border-radius: 4px;
}

.aether-chat-hint {
  margin: 0;
  padding: 3px 9px;
  flex-shrink: 0;
  font-size: 11px;
  color: #7b2d22;
  background: rgba(205, 110, 92, 0.16);
  border-top: 1px solid rgba(158, 61, 50, 0.3);
}

.aether-chat-form {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  flex-shrink: 0;
  background: rgba(221, 206, 175, 0.62);
  border-top: 1px solid rgba(110, 85, 57, 0.36);
}

.aether-chat-input {
  flex: 1 1 auto;
  min-width: 0;
  height: auto;
  min-height: 29px;
  padding: 4px 8px;
  font-family: inherit;
  font-size: clamp(12px, var(--aether-chat-text-size, 12px), 16px);
  color: #23190f;
  background: rgba(255, 252, 244, 0.95);
  border: 1px solid #856a42;
  border-radius: 3px;
}

.aether-chat-input:disabled {
  opacity: 0.6;
  background: rgba(236, 227, 208, 0.75);
  cursor: var(--cur-unavailable, not-allowed);
}

.aether-chat-counter {
  flex-shrink: 0;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: #66533d;
}

.aether-chat-counter-warn {
  color: #8f2d1e;
  font-weight: 700;
}

.aether-chat-send {
  flex-shrink: 0;
  min-height: 29px;
  padding: 4px 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1f160c;
  background: linear-gradient(180deg, #dfbe6f, #b98b32);
  border: 1px solid #694915;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-send:hover:not(:disabled) {
  filter: brightness(1.06);
}

.aether-chat-send:disabled {
  opacity: 0.48;
  filter: saturate(0.35);
  cursor: var(--cur-unavailable, not-allowed);
}

/* Focus clavier explicite sur tous les contrôles de la messagerie */
.aether-chat button:focus-visible,
.aether-chat input:focus-visible {
  outline: 2px solid #e5c16c;
  outline-offset: 2px;
}

/* ==========================================================================
 * Scènes Ville & Carte :
 * - Replié : languette en bas à droite, outils et inspecteur décalés au-dessus
 * - Ouvert : variable --aether-chat-open-height partagée, outils juste au-dessus
 *   du volet, inspecteur borné au-dessus sans jamais retirer la largeur de ville
 * ========================================================================== */

.hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat),
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) {
  --aether-chat-open-height: clamp(180px, 30vh, 272px);
}

@supports (height: 100dvh) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat),
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) {
    --aether-chat-open-height: clamp(180px, 30dvh, 272px);
  }
}

.hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat) .floating-tools,
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) .floating-tools {
  bottom: 42px;
  max-width: calc(100% - 24px);
}

.hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat) > .live-city-inspector,
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) > .live-map-inspector {
  --inspector-bottom: 88px;
}

.hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) .floating-tools,
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) .floating-tools {
  bottom: calc(var(--aether-chat-open-height) + 8px);
}

.hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) > .live-city-inspector,
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
  --inspector-bottom: calc(var(--aether-chat-open-height) + 50px);
}

/* UI polish 2026-11-19: on the World map at 1440 px the toolbar is 611 px wide and sat 8 px above the corner of the
 * open chat. Six more pixels of air, for the toolbar and for the sheet above it. */
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) .floating-tools.map-tools {
  translate: 0 -6px;
}

.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
  --inspector-bottom: calc(var(--aether-chat-open-height) + 56px);
}

/* ==========================================================================
 * Écrans de gestion (.live-management-stage) :
 * - Liste gauche (ex. Rapports) pleine hauteur et 100 % dégagée
 * - Languette et volet ouvert logés en BAS À DROITE dans une piste dédiée
 * - Zéro recouvrement de boutons, zéro scroll global
 * ========================================================================== */

.hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) {
  padding-bottom: 0;
  row-gap: 8px;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-auto-rows: auto;
  overflow: hidden;
}

.hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) > #aether-chat-root {
  position: relative;
  right: auto;
  left: auto;
  bottom: auto;
  justify-self: stretch;
  align-self: end;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel),
.hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel),
.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel) {
  grid-column: 1;
  grid-row: 1 / 3;
  margin-bottom: 12px;
  min-height: 0;
}

.hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > .ui-panel ~ .ui-panel,
.hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > .ui-panel ~ .ui-panel,
.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > .ui-panel ~ .ui-panel {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
}

.hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > #aether-chat-root,
.hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > #aether-chat-root,
.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > #aether-chat-root {
  grid-column: 2;
  grid-row: 2;
}

.hud-stage.live-management-stage.stage-single:has(> #aether-chat-root > .aether-chat) > .ui-panel {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}

.hud-stage.live-management-stage.stage-single:has(> #aether-chat-root > .aether-chat) > #aether-chat-root {
  grid-column: 1;
  grid-row: 2;
}

.hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) .aether-chat-open {
  width: min(620px, 100%);
  height: clamp(176px, 28vh, 236px);
  min-height: 168px;
  box-shadow: 0 -4px 18px rgba(15, 11, 7, 0.36), inset 0 1px 0 rgba(255, 248, 228, 0.35);
}

.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) .aether-chat-open {
  width: 100%;
}

.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) .aether-chat-body-split {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(68px, 86px) minmax(0, 1fr);
}

.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) .aether-chat-sidebar {
  border-right: 0;
  border-bottom: 1px solid rgba(110, 85, 57, 0.38);
  padding: 4px 6px;
}

.hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) .aether-chat-friends-note {
  display: none;
}

/* ==========================================================================
 * Petits écrans et fenêtres basses (aucun scroll global, panneaux défilants)
 * ========================================================================== */

@media (max-width: 820px) {
  .hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat),
  .hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat),
  .hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 0.82fr) minmax(0, 1.18fr) auto;
  }

  .hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat-open),
  .hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat-open),
  .hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat-open) {
    grid-template-rows: minmax(84px, 0.72fr) minmax(108px, 1.28fr) auto;
  }

  .hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel),
  .hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel),
  .hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel) {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > .ui-panel ~ .ui-panel,
  .hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > .ui-panel ~ .ui-panel,
  .hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > .ui-panel ~ .ui-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > #aether-chat-root,
  .hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > #aether-chat-root,
  .hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > #aether-chat-root {
    grid-column: 1;
    grid-row: 3;
  }

  .hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) .aether-chat-open {
    width: 100%;
    height: clamp(156px, 28vh, 204px);
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  #aether-chat-root {
    left: 8px;
    right: 8px;
  }

  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat),
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) {
    --aether-chat-open-height: clamp(164px, 28vh, 224px);
  }

  @supports (height: 100dvh) {
    .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat),
    .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) {
      --aether-chat-open-height: clamp(164px, 28dvh, 224px);
    }
  }

  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat) .floating-tools,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) .floating-tools {
    right: 8px;
    bottom: 38px;
    max-width: calc(100% - 16px);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) .floating-tools,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) .floating-tools {
    bottom: calc(var(--aether-chat-open-height) + 6px);
  }

  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
    --inspector-bottom: calc(var(--aether-chat-open-height) + 46px);
  }

  .aether-chat-open {
    width: 100%;
    max-width: 100%;
  }

  .hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) {
    padding-bottom: 0;
    row-gap: 6px;
  }

  .hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) .aether-chat-open {
    width: 100%;
    height: clamp(148px, 27vh, 192px);
    min-height: 144px;
  }

  .aether-chat-body-split {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(80px, 104px) minmax(0, 1fr);
  }

  .aether-chat-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(110, 85, 57, 0.38);
    padding: 4px 6px;
  }

  .aether-chat-friends-note {
    display: none;
  }
}

@media (max-height: 620px) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat),
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) {
    --aether-chat-open-height: clamp(136px, 27vh, 164px);
  }
}

/* Sur fenêtre basse mais large (y compris avec le dock cité 300px ouvert),
 * l'inspecteur se place à gauche du volet ouvert pour garder largeur et hauteur pleines
 * sans retirer la largeur du canevas de ville/carte. */
@media (max-height: 620px) and (min-width: 1220px) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
    right: 544px;
    --inspector-bottom: 14px;
    width: min(370px, calc(100% - 564px));
  }
}

@media (max-height: 560px) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) > .live-map-inspector {
    --inspector-bottom: 80px;
  }

  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
    --inspector-bottom: calc(var(--aether-chat-open-height) + 42px);
  }

  .hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) {
    overflow: hidden;
    grid-auto-rows: auto;
  }

  .hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) > .ui-panel {
    min-height: 0;
  }

  .hud-stage.live-management-stage.stage-sidebar-main:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel),
  .hud-stage.live-management-stage.stage-split-equal:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel),
  .hud-stage.live-management-stage.stage-split-map:has(> #aether-chat-root > .aether-chat) > .ui-panel:not(.ui-panel ~ .ui-panel) {
    margin-bottom: 8px;
  }

  .hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) .aether-chat-open {
    height: clamp(144px, 34vh, 176px);
    min-height: 140px;
  }
}

@media (max-height: 560px) and (min-width: 1220px) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
    --inspector-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aether-chat *,
  .aether-chat *::before,
  .aether-chat *::after {
    transition: none !important;
  }
}

/* Desktop scene panels beside the left city dock (Guillaume, 2026-11-18).
   City title and camera controls keep their right-hand anchors. Small screens
   retain their existing full-width panels and overlay-dock behavior. */
@media (min-width: 901px) {
  .hud-stage.live-city-stage > #aether-chat-root,
  .hud-stage.live-map-stage > #aether-chat-root {
    justify-content: flex-start;
  }
  .hud-stage.live-city-stage:has(> #aether-chat-root) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root) > .live-map-inspector,
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat) > .live-map-inspector {
    left: 14px;
    right: auto;
    width: 390px;
    --inspector-top: 48px;
    --inspector-bottom: 52px;
  }
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open) > .live-city-inspector,
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open) > .live-map-inspector {
    --inspector-bottom: calc(var(--aether-chat-open-height) + 14px);
  }
  @container (max-width: 720px) {
    .hud-stage.live-city-stage:has(> #aether-chat-root) > .live-city-inspector,
    .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat) > .live-city-inspector {
      --inspector-top: 120px;
    }
  }
}

/* ==========================================================================
 * Discussion (Guillaume, 2026-11-18 ; note DA AGY t5q, arbitrage Root)
 * - Taille des messages (--aether-chat-text-size) et encre du canal ouvert (--aether-chat-ink) posées sur le volet par
 *   chat.mjs ; heure des messages masquable ; gabarit normal inchangé, gabarit agrandi au choix du joueur.
 * - Paramètres > Discussion : nuancier d'encres lisibles, aperçu de trois lignes, réglages mémorisés par seigneur.
 * ========================================================================== */

.aether-chat-size {
  gap: 4px;
}

.aether-chat-size-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.aether-chat-hide-time .aether-chat-msg-time {
  display: none;
}

.aether-chat-open.aether-chat-wide {
  width: min(680px, 100%);
}

.hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-wide),
.hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-wide) {
  --aether-chat-open-height: clamp(180px, 58vh, 420px);
}

@supports (height: 100dvh) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-wide),
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-wide) {
    --aether-chat-open-height: clamp(180px, 58dvh, 420px);
  }
}

@media (max-height: 620px) {
  .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-wide),
  .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-wide) {
    --aether-chat-open-height: clamp(136px, 52vh, 300px);
  }
}

.hud-stage.live-management-stage:has(> #aether-chat-root > .aether-chat) .aether-chat-open.aether-chat-wide {
  width: min(760px, 100%);
  height: clamp(176px, 46vh, 420px);
}

@media (max-width: 640px) {
  .aether-chat-size span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* En-tête du volet ouvert sur une ligne quand il tient (audit densité P0-3, 2026-11-18 ; arbitrage Root).
 * Gabarit normal : Agrandir en icône seule (chat.mjs) et horloge masquée, car celle de la barre haute (heure du
 * serveur) reste affichée. Canaux, blason et pastilles restent entiers ; s'ils ne tiennent pas, retour à la ligne
 * naturel. Le gabarit agrandi garde son horloge et son libellé « Réduire ». */
.aether-chat-open:not(.aether-chat-wide) .aether-chat-clock {
  display: none;
}

/* Paramètres > Discussion, sous la musique : mêmes jetons que la section Musique (curseur doré partagé .music-range),
 * pastilles d'encre rondes à anneau bronze, choisie avec double filet or et point ivoire, aperçu sur parchemin. */
.aether-chat-settings {
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(125, 103, 68, 0.35);
}

.aether-chat-settings-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
}

.aether-chat-settings-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.aether-chat-settings-label {
  margin: 0;
  font-weight: 600;
  color: var(--ink-primary);
}

.aether-chat-settings-value {
  font-variant-numeric: tabular-nums;
  color: var(--ink-secondary);
}

.aether-chat-settings-inks {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.aether-chat-settings-ink-name {
  color: var(--ink-secondary);
}

.aether-chat-settings-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aether-chat-swatch {
  position: relative;
  display: inline-flex;
  padding: 4px;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-swatch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

.aether-chat-swatch-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--aether-chat-swatch);
  border: 1px solid #7d6642;
  box-shadow: inset 0 1px 2px rgba(255, 248, 228, 0.25);
}

.aether-chat-swatch input:checked + .aether-chat-swatch-dot {
  box-shadow: 0 0 0 2px #fbf5e6, 0 0 0 3.5px #e5c16c, 0 0 0 4.5px #7d6642;
}

.aether-chat-swatch input:checked + .aether-chat-swatch-dot::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fbf5e6;
}

.aether-chat-swatch input:focus-visible + .aether-chat-swatch-dot {
  outline: 2px solid var(--focus-ring, #e5c16c);
  outline-offset: 5px;
}

.aether-chat-settings-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-settings-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #8f6922;
  cursor: inherit;
}

.aether-chat-settings-preview {
  display: grid;
  gap: 5px;
  padding: 8px;
  background-color: #efe4cc;
  background-image: url('/assets/art/ui-parchment.webp');
  background-size: 512px 512px;
  border: 1px solid #8c6f41;
  border-radius: 4px;
  pointer-events: none;
}

.aether-chat-settings-sample[data-chat-sample="world"] {
  --aether-chat-ink: var(--aether-chat-ink-world);
}

.aether-chat-settings-sample[data-chat-sample="alliance"] {
  --aether-chat-ink: var(--aether-chat-ink-alliance);
}

.aether-chat-settings-sample[data-chat-sample="private"] {
  --aether-chat-ink: var(--aether-chat-ink-private);
}

.aether-chat-settings-reset {
  justify-self: start;
}

.aether-chat-settings-note {
  margin: 0;
}

/* ==========================================================================
 * Barre d'outils de scène (zoom, coordonnées) tout en bas à droite (Guillaume, 2026-11-18 ; arbitrage Root).
 * Dès 901 px le chat se tient à gauche : la barre garde le coin bas droit de la scène (12 px) dès que la largeur réelle
 * de la scène (requête de conteneur) laisse côte à côte le chat et la barre ; sinon elle reste au-dessus du chat comme
 * avant. Le calcul horizontal de la ville (right en cqw, art-theme.css) n'est pas touché.
 * Largeurs retenues : languette repliée 400 px (badges compris), volet 520 px, agrandi 680 px ; barre Ville 310 px,
 * barre Carte 620 px (vue Monde : zoom, continent, coordonnées) ; marges 12 px et 16 px entre chat et barre.
 * La scène Ville est déjà un conteneur (art-theme.css) ; la scène Carte le devient, en largeur seulement.
 * ========================================================================== */

@supports (container-type: inline-size) {
  .hud-stage.live-map-stage:has(> #aether-chat-root) {
    container-type: inline-size;
  }
}

@media (min-width: 901px) {
  @container (min-width: 750px) {
    .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-collapsed) .floating-tools {
      bottom: 12px;
    }
  }

  @container (min-width: 880px) {
    .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-open:not(.aether-chat-wide)) .floating-tools {
      bottom: 12px;
    }
  }

  @container (min-width: 1040px) {
    .hud-stage.live-city-stage:has(> #aether-chat-root > .aether-chat-wide) .floating-tools {
      bottom: 12px;
    }
  }

  @container (min-width: 1060px) {
    .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-collapsed) .floating-tools {
      bottom: 12px;
    }
  }

  @container (min-width: 1180px) {
    .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-open:not(.aether-chat-wide)) .floating-tools {
      bottom: 12px;
    }
  }

  @container (min-width: 1340px) {
    .hud-stage.live-map-stage:has(> #aether-chat-root > .aether-chat-wide) .floating-tools {
      bottom: 12px;
    }
  }
}

/* Canaux Continent / Officiers, fiche Seigneur en 1 clic et barre BBCode (Chantier F) */
.aether-chat-seal-continent {
  color: #2c4a6b;
  background: rgba(59, 102, 145, 0.14);
  border-color: rgba(59, 102, 145, 0.34);
}

.aether-chat-seal-officers {
  color: #6b4310;
  background: rgba(186, 134, 42, 0.18);
  border-color: rgba(160, 110, 28, 0.42);
}

.aether-chat-inline-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(132, 99, 52, 0.45);
  border-radius: 3px;
  background: rgba(246, 235, 210, 0.72);
  color: #5b3f19;
  font-size: 11px;
  line-height: 1;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-inline-profile:hover {
  background: #fdf6e6;
  border-color: #b58d46;
  color: #2c1d0b;
}

.aether-chat-bbbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px 2px;
  flex-shrink: 0;
  background: rgba(226, 213, 184, 0.55);
  border-top: 1px solid rgba(132, 99, 52, 0.25);
  flex-wrap: wrap;
}

.aether-chat-bb-btn {
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #46331b;
  background: rgba(251, 245, 232, 0.85);
  border: 1px solid rgba(132, 99, 52, 0.45);
  border-radius: 3px;
  cursor: var(--cur-pointer, pointer);
}

.aether-chat-bb-btn:hover:not(:disabled) {
  background: #fff9ec;
  border-color: #a47c38;
  color: #23170a;
}

.aether-chat-bb-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.aether-chat-bb-tip {
  margin-left: auto;
  font-size: 10px;
  color: #6d573a;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.aether-chat-bb {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 5px;
  margin: 0 1px;
  font-family: inherit;
  font-size: 0.94em;
  font-weight: 700;
  border-radius: 3px;
  border: 1px solid rgba(132, 99, 52, 0.48);
  background: rgba(248, 238, 214, 0.9);
  color: #3f2b12;
  cursor: var(--cur-pointer, pointer);
  vertical-align: baseline;
}

.aether-chat-bb:hover {
  background: #fff8e6;
  border-color: #a97f35;
}

.aether-chat-bb-alliance {
  color: #1e4f37;
  border-color: rgba(41, 102, 71, 0.45);
  background: rgba(224, 241, 231, 0.88);
}

.aether-chat-bb-city {
  color: #1e466e;
  border-color: rgba(38, 86, 134, 0.45);
  background: rgba(226, 237, 248, 0.88);
}

.aether-chat-bb-report {
  color: #6a281e;
  border-color: rgba(138, 56, 42, 0.45);
  background: rgba(248, 229, 224, 0.88);
}
