/* ------------[Файл «no-outlines.css»]------------ // Содержит исходный код модуля «оформление интерфейса» и его связанные обработчики. Модуль: «карта исходного кода». Часть 1/1 */
/* Временный нулевой слой: никаких обводок, колец и теней на поверхности UI.
   Границы кнопок будут добавлены отдельным, согласованным проходом. */
html :where(*, *::before, *::after) {
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Некоторые контейнеры имитировали рамку градиентом или вложенным слоем. */
html :is(.post-item, [data-post-card], .shared-post-card, .space-post,
    .space-intro-card, .space-composer, .space-switchboard, .space-tabs,
    .space-news-strip, .space-side-card, .space-list-panel, .spaces-index-card,
    .space-profile-photos-panel, .space-profile-showcase-card,
    .space-about-panel, .space-about-card, .space-manage-panel,
    .space-mini-modal, .space-create-modal, .space-showcase-editor-modal,
    .profile-space-card, .achievement-sidebar-card, .profile-interests-card,
    .interest-match-card, .messenger-shell, .messenger-dialogs-panel,
    .messenger-conversation, .messenger-side-panel, #profile-tabs-container,
    #profile-left-rail, #top-spaces-dropdown, #post-viewer-panel,
    #viewer-sidebar, #viewer-comments-block, #viewer-comments-list,
    .comment-node, .comment-form-container, .comment-dropdown) {
    background-image: none !important;
    box-shadow: none !important;
}

/* Старые правила темы содержат ID внутри :is() и поэтому могут победить
   общий :where()-сброс. Крупные поверхности фиксируем тем же приоритетом,
   без наблюдателя DOM и без повторной перерисовки после загрузки. */
html:root body :is(#profile-tabs-container, #profile-left-rail,
    #profile-interest-match-placeholder, .profile-publisher-hub,
    .profile-post-composer, .post-item, [data-post-card],
    .achievement-sidebar-card, .profile-interests-card, .interest-match-card,
    .space-switchboard, .space-tabs, .space-news-strip, .space-composer, .spaces-index-card,
    .messenger-shell, .messenger-dialogs-panel, .messenger-conversation,
    .messenger-side-panel, .messenger-side-section) {
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Единственное намеренное свечение — опасное действие выхода. */
html:root body #settings-dropdown #menu-main-content > button[onclick*="logout"]:hover {
    box-shadow: 0 0 1rem color-mix(in srgb, #ef4444 24%, transparent) !important;
}

/* Активная вкладка профиля отмечается заливкой и цветом, без синего кольца. */
html:root #profile-tabs-container .tab-btn,
html:root #profile-tabs-container .tab-btn:is(:hover, :focus, :focus-visible, .active-tab, .text-blue-500, .text-blue-600) {
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Вкладки «Все» и «Друзья онлайн» различаются заливкой, а не рамками. */
html:root #friends-modal .friends-modal-tabs,
html:root #friends-modal :is(#btn-tab-all, #btn-tab-online),
html:root #friends-modal :is(#btn-tab-all, #btn-tab-online):is(:hover, :focus, :focus-visible, .is-active) {
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}
