/* Keep the themed dock out of document flow. Preserve existing keyboard insets. */
#app #chatDock {
    position: absolute !important;
    min-height: 0;
    height: auto;
    max-height: none;
    z-index: 90;
}
#app #chatDock .panel-head { flex: 0 0 auto; }
#app #messages { min-height: 0; overflow-y: auto; }
#app #worldFeedStatus { padding: 4px 10px; font-size: 11px; color: #ffd99b; }
#app #worldFeedStatus[hidden] { display: none; }
#app .world-feed-filters {
    display: flex; flex: 0 0 auto; gap: 4px; padding: 6px 10px;
    border-bottom: 1px solid var(--line);
}
#app .world-feed-filters button {
    flex: 1; min-height: 32px; border: 0; border-radius: 5px;
    background: transparent; color: var(--muted); font: inherit;
    font-size: 12px; cursor: pointer;
}
#app .world-feed-filters button[aria-pressed="true"] { background: #ffffff1c; color: #fff; }
#app .world-feed-filters button:focus-visible { outline: 2px solid #f8cc63; outline-offset: 1px; }
#app .world-activity {
    display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
    padding: 6px 3px; border-bottom: 1px solid #ffffff0a; color: #c9c1b0;
    font-size: 12px; line-height: 1.5; overflow-wrap: anywhere;
}
#app .world-activity b { color: #bce8df; font-size: inherit; }
#app .world-activity[data-kind="left"] b { color: #c1b8b0; }
#app .world-activity time { margin-inline-start: auto; font-size: 10px; color: #b7a890; }
#app .world-feed-empty { margin: auto; padding: 16px; font-size: 12px; text-align: center; color: var(--muted); }
@media (max-height: 500px) {
    #app #chatDock { top: 52px !important; bottom: 12px !important; }
    #app #chatDock .panel-head { min-height: 42px; padding: 6px 10px; }
}
