/* ===========================================================================
 * Фирменная надстройка над Element Web (element.yuiwork.space).
 * Работает ПОВЕРХ кастомной темы из config.additions.json (бренд-цвет #6233FF,
 * тёмная тема #7C42FF) — добивает места, которые тема не красит.
 *
 * Подключение: см. deploy/element/INSTALL.md (файл кладётся рядом с index.html
 * Element Web, подключается через nginx sub_filter или строкой в <head>).
 * =========================================================================== */

/* --- Плитки стандартного стартового экрана -------------------------------
 * Страховка на случай, если фирменный home.html (embedded_pages.home_url)
 * не подключён: вместо сплошного акцентного фона — приглушённая лёгкая
 * фиолетовая заливка в стиле Yui. При включённом home.html этих плиток нет. */
.mx_HomePage_button_sendDm,
.mx_HomePage_button_exploreRooms,
.mx_HomePage_button_createGroup {
    background-color: rgba(98, 51, 255, 0.08) !important;
    color: #6233FF !important;
    box-shadow: inset 0 0 0 1px rgba(98, 51, 255, 0.20) !important;
    border-radius: 12px !important;
}

.mx_HomePage_button_sendDm:hover,
.mx_HomePage_button_exploreRooms:hover,
.mx_HomePage_button_createGroup:hover {
    background-color: rgba(98, 51, 255, 0.14) !important;
}

/* Иконки внутри плиток (рисуются через mask + background-color) */
.mx_HomePage_button_sendDm::before,
.mx_HomePage_button_exploreRooms::before,
.mx_HomePage_button_createGroup::before {
    background-color: #6233FF !important;
}

/* --- Фирменные скругления (12px как в основном приложении) ---------------- */
.mx_AccessibleButton_kind_primary,
.mx_AccessibleButton_kind_primary_outline,
.mx_AccessibleButton_kind_secondary,
.mx_AccessibleButton_kind_danger {
    border-radius: 10px !important;
}

.mx_Dialog {
    border-radius: 12px !important;
}
