/* Freedom Chat web: small CSS layer on top of Element Web's custom theme (web/DESIGN.md).
   Only what config and the custom theme can't do. Selectors are Element Web 1.12.36's; recheck on upgrade. */

/* Chat wallpaper: our own 8 px dot grid at 4% (ios/DESIGN.md §1 "Dots"), over the timeline background. */
.mx_RoomView_body .mx_RoomView_timeline {
    background-image: radial-gradient(circle, rgba(17, 22, 31, 0.04) 1px, transparent 1.2px);
    background-size: 8px 8px;
}
.cpd-theme-dark .mx_RoomView_body .mx_RoomView_timeline {
    background-image: radial-gradient(circle, rgba(232, 236, 242, 0.04) 1px, transparent 1.2px);
}

/* Bubbles: 12 px corners like iOS; the bubble colours come from the theme (eventbubble-*). */
.mx_EventTile[data-layout="bubble"] .mx_EventTile_line {
    border-radius: 12px !important;
    box-shadow: 0 1px 0.5px rgba(17, 22, 31, 0.08);
}

/* Hidden: Spaces bar and room directory entry points (no Spaces, no public directory in v1). */
.mx_SpacePanel,
.mx_RoomListHeader_explore,
.mx_RoomSearch_explore,
[data-testid="explore-rooms-button"] {
    display: none !important;
}
