/* =========================================================
   COMMON.CSS
   Общие стили всего приложения
========================================================= */


/* =========================
   CSS VARIABLES
========================= */

:root {
    /* Размеры заголовков страниц */
    --font-size-page-header: 17px;
    --font-weight-page-header: 800;
    --font-size-page-title: clamp(22px, 6vw, 28px);



    --app-width: 430px;

    --nav-height: 72px;

    --bg-main: #0d0d0d;

    --bg-outside: #181818;

    --bg-card:
            #1b1b1b;

    --bg-card-hover:
            #333333;

    --bg-control:
            #242424;

    --border-soft:
            rgba(255, 255, 255, 0.07);

    --text-main:
            #ffffff;

    --text-secondary:
            rgba(255, 255, 255, 0.58);

    --text-muted:
            rgba(255, 255, 255, 0.4);

    --text-faint:
            rgba(255, 255, 255, 0.28);

    --text-on-light:
            #111111;

    /* Повторяющиеся нейтральные оттенки текста */
    --text-hex-171719: #171719;
    --text-hex-85858d: #85858d;
    --text-hex-f5f5f7: #f5f5f7;
    --text-hex-85858e: #85858e;
    --text-hex-a0a0a8: #a0a0a8;
    --text-hex-c6c6cc: #c6c6cc;
    --text-hex-c9c9cf: #c9c9cf;
    --text-hex-d5d5db: #d5d5db;

    /* Цвета состояний и акцентов интерфейса */
    --ui-color-ff315d: #ff315d;
    --ui-color-ff8b8b: #ff8b8b;
    --ui-color-ff536c: #ff536c;
    --ui-color-ff7777: #ff7777;
    --ui-color-ff8f8f: #ff8f8f;
    --ui-color-f09a9a: #f09a9a;
    --ui-color-ff8a8a: #ff8a8a;
    --ui-color-ff2d55: #ff2d55;
    --ui-color-ff8585: #ff8585;
    --ui-color-8eb4ff: #8eb4ff;
    --ui-color-b8ceff: #b8ceff;
    --ui-color-73d895: #73d895;
    --ui-color-8fd39a: #8fd39a;
    --ui-color-84e695: #84e695;
    --ui-color-8ee5aa: #8ee5aa;
    --ui-color-8ee89b: #8ee89b;
    --ui-color-ffd36a: #ffd36a;
    --ui-color-e8c76d: #e8c76d;

    /* Дополнительные оттенки белого текста */
    --text-white-22: rgba(255, 255, 255, 0.22);
    --text-white-25: rgba(255, 255, 255, 0.25);
    --text-white-32: rgba(255, 255, 255, 0.32);
    --text-white-33: rgba(255, 255, 255, 0.33);
    --text-white-34: rgba(255, 255, 255, 0.34);
    --text-white-43: rgba(255, 255, 255, 0.43);
    --text-white-44: rgba(255, 255, 255, 0.44);
    --text-white-47: rgba(255, 255, 255, 0.47);
    --text-white-52: rgba(255, 255, 255, 0.52);
    --text-white-56: rgba(255, 255, 255, 0.56);
    --text-white-60: rgba(255, 255, 255, 0.60);
    --text-white-62: rgba(255, 255, 255, 0.62);
    --text-white-64: rgba(255, 255, 255, 0.64);
    --text-white-68: rgba(255, 255, 255, 0.68);
    --text-white-70: rgba(255, 255, 255, 0.70);
    --text-white-75: rgba(255, 255, 255, 0.75);
    --text-white-76: rgba(255, 255, 255, 0.76);
    --text-white-78: rgba(255, 255, 255, 0.78);
    --text-white-80: rgba(255, 255, 255, 0.80);
    --text-white-82: rgba(255, 255, 255, 0.82);
    --text-white-85: rgba(255, 255, 255, 0.85);
    --text-white-86: rgba(255, 255, 255, 0.86);
    --text-white-88: rgba(255, 255, 255, 0.88);
    --text-white-90: rgba(255, 255, 255, 0.90);
    --text-white-92: rgba(255, 255, 255, 0.92);

    /* Точная шкала прозрачности белого текста */
    --text-white-30: rgba(255, 255, 255, 0.30);
    --text-white-35: rgba(255, 255, 255, 0.35);
    --text-white-38: rgba(255, 255, 255, 0.38);
    --text-white-42: rgba(255, 255, 255, 0.42);
    --text-white-45: rgba(255, 255, 255, 0.45);
    --text-white-48: rgba(255, 255, 255, 0.48);
    --text-white-50: rgba(255, 255, 255, 0.50);
    --text-white-55: rgba(255, 255, 255, 0.55);
    --text-white-65: rgba(255, 255, 255, 0.65);
    --text-white-72: rgba(255, 255, 255, 0.72);

    --danger:
            #ff315d;

    --radius-small: 9px;

    --radius-medium: 14px;

    --radius-large: 20px;

    /* WOW NOW — единая палитра компонентов */
    --surface-base: #1c1c20;
    --surface-card: #1b1b1b;
    --surface-raised: #242424;
    --surface-control: #242424;
    --surface-selected: #333333;

    --border-card: rgba(255, 255, 255, 0.09);

    /* Единая шкала границ */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.10);
    --border-emphasis: rgba(255, 255, 255, 0.12);

    --border-dark-soft: #2a2a2a;
    --border-dark-default: #303030;
    --border-dark-strong: #383838;

    /* Границы активных элементов и полей в фокусе */
    --border-active: #ffffff;
    --border-focus-soft: rgba(255, 255, 255, 0.22);
    --border-focus-medium: rgba(255, 255, 255, 0.30);
    --border-focus-strong: rgba(255, 255, 255, 0.55);
    --border-selected-strong: rgba(255, 255, 255, 0.65);

    /* Внутренняя граница выбранных элементов */
    --shadow-selected-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.12);

    /* Контуры аватаров и расписания публикаций */
    --border-avatar: #0d0d0d;
    --border-schedule-soft: rgba(92, 145, 255, 0.16);
    --border-schedule-medium: rgba(92, 145, 255, 0.22);
    --border-schedule-strong: rgba(92, 145, 255, 0.28);
    --border-schedule-emphasis: rgba(92, 145, 255, 0.30);

    --radius-card: 18px;
    --radius-control: 14px;
    /* Дополнительные размеры скруглений */
    --radius-10: 10px;
    --radius-11: 11px;
    --radius-12: 12px;
    --radius-16: 16px;
    /* Дополнительные скругления интерфейса */
    --radius-7: 7px;
    --radius-8: 8px;
    --radius-13: 13px;
    --radius-15: 15px;
    --radius-17: 17px;




}


/* =========================
   RESET
========================= */

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


html,
body {
    width: 100%;
    min-height: 100%;

    margin: 0;
    padding: 0;
}


html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


body {
    min-height: 100vh;
    min-height: 100dvh;

    margin: 0;

    background:
            var(--bg-outside);

    color:
            var(--text-main);

    font-family:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            Helvetica,
            Arial,
            sans-serif;

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    color: inherit;

    -webkit-tap-highlight-color:
            transparent;
}


img,
video {
    display: block;

    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   ОСНОВНОЙ МОБИЛЬНЫЙ КОНТЕЙНЕР
========================= */

.app-page {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    margin: 0 auto;

    background:
            var(--bg-main);

    padding-bottom:
            calc(
                    var(--nav-height) +
                    28px +
                    env(safe-area-inset-bottom)
            );
}


/* =========================
   ШАПКА СТРАНИЦЫ
========================= */

.page-header {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 14px;

    padding:
            calc(
                    18px +
                    env(safe-area-inset-top)
            )
            16px
            16px;

    background:
            rgba(16, 16, 18, 0.94);

    -webkit-backdrop-filter:
            blur(14px);

    backdrop-filter:
            blur(14px);

    z-index: 50;
}


.page-header.sticky {
    position: -webkit-sticky;
    position: sticky;

    top: 0;
}


.page-header-content {
    min-width: 0;
    flex: 1;
}


.page-title {
    margin: 0;

    font-size:
            var(--font-size-page-title);

    line-height: 1.15;

    font-weight: 850;
}


.page-subtitle {
    margin-top: 4px;

    font-size: 11px;
    line-height: 1.4;

    color:
            var(--text-muted);
}


/* =========================
   КНОПКА НАЗАД
========================= */

.back-button {
    width: 42px;
    height: 42px;

    min-width: 42px;

    flex-shrink: 0;

    border: none;
    border-radius: 50%;

    padding: 0;

    background:
            var(--bg-control);

    color:
            var(--text-main);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    touch-action: manipulation;
}


.back-button:active {
    transform: scale(0.96);
}


/* =========================
   ОБЫЧНЫЕ КНОПКИ
========================= */

.primary-button {
    min-height: 46px;

    border: none;

    border-radius:
            var(--radius-medium);

    padding: 0 16px;

    background:
            #ffffff;

    color:
            #111111;

    font-weight: 800;

    cursor: pointer;

    touch-action: manipulation;
}


.secondary-button {
    min-height: 46px;

    border: none;

    border-radius:
            var(--radius-medium);

    padding: 0 16px;

    background:
            var(--bg-control);

    color:
            var(--text-main);

    font-weight: 700;

    cursor: pointer;

    touch-action: manipulation;
}


.primary-button:active,
.secondary-button:active {
    transform: scale(0.98);
}


/* =========================
   ОБЩАЯ КАРТОЧКА
========================= */

.app-card {
    border-radius:
            var(--radius-medium);

    background:
            var(--bg-card);
}


/* =========================
   ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ
========================= */

.horizontal-scroll {
    display: flex;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior-inline:
            contain;

    scrollbar-width: none;
}


.horizontal-scroll::-webkit-scrollbar {
    display: none;
}


/* =========================
   НИЖНЯЯ НАВИГАЦИЯ
========================= */

.bottom-nav {
    position: fixed;

    left: 50%;
    bottom: 0;

    width: 100%;
    max-width:
            var(--app-width);

    transform:
            translateX(-50%);

    height:
            calc(
                    var(--nav-height) +
                    env(safe-area-inset-bottom)
            );

    padding-bottom:
            env(safe-area-inset-bottom);

    z-index: 500;

    display: grid;

    grid-template-columns:
            repeat(5, minmax(0, 1fr));

    background:
            linear-gradient(
                    to top,
                    rgba(0, 0, 0, 0.98),
                    rgba(0, 0, 0, 0.8)
            );

    border-top:
            1px solid
            var(--border-soft);

    -webkit-backdrop-filter:
            blur(14px);

    backdrop-filter:
            blur(14px);
}


.nav-item {
    min-width: 0;

    border: none;

    padding: 0 2px;

    background: transparent;

    color:
            rgba(255, 255, 255, 0.5);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 3px;

    cursor: pointer;

    touch-action: manipulation;

    -webkit-tap-highlight-color:
            transparent;
}


.nav-item.active {
    color:
            var(--text-main);
}

.nav-item {
    transition: transform 0.15s ease;
}

.nav-item:active {
    transform: scale(0.96);
}


.nav-icon {
    font-size: 24px;

    line-height: 1;

    flex-shrink: 0;
}


.nav-label {
    width: 100%;

    font-size: 9px;

    line-height: 1.1;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    text-align: center;
}


/* =========================
   ЦЕНТРАЛЬНАЯ КНОПКА ЛЕНТЫ
========================= */




/* WOW NOW NAV ICONS 2.0 */

.bottom-nav .nav-icon {
    display: block;
    width: 24px;
    height: 24px;
    font-size: 0;
    color: inherit;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.bottom-nav .nav-item[data-page="home"] .nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0ibTMgMTAgOS03IDkgN3YxMGExIDEgMCAwIDEtMSAxSDRhMSAxIDAgMCAxLTEtMXoiLz48cGF0aCBkPSJNOSAyMXYtN2g2djciLz48L3N2Zz4=");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0ibTMgMTAgOS03IDkgN3YxMGExIDEgMCAwIDEtMSAxSDRhMSAxIDAgMCAxLTEtMXoiLz48cGF0aCBkPSJNOSAyMXYtN2g2djciLz48L3N2Zz4=");
}

.bottom-nav .nav-item[data-page="search"] .nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iNyIvPjxwYXRoIGQ9Im0xNiAxNiA1IDUiLz48L3N2Zz4=");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iNyIvPjxwYXRoIGQ9Im0xNiAxNiA1IDUiLz48L3N2Zz4=");
}

.bottom-nav .nav-item[data-page="feed"] .nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iMyIgeT0iMyIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiByeD0iNSIvPjxwYXRoIGQ9Im0xMCA4IDYgNC02IDR6Ii8+PC9zdmc+");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iMyIgeT0iMyIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiByeD0iNSIvPjxwYXRoIGQ9Im0xMCA4IDYgNC02IDR6Ii8+PC9zdmc+");
}

.bottom-nav .nav-item[data-page="library"] .nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iNCIgeT0iMyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE4IiByeD0iMiIvPjxwYXRoIGQ9Ik04IDN2MThNMTEgOGg1TTExIDEyaDUiLz48L3N2Zz4=");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iNCIgeT0iMyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE4IiByeD0iMiIvPjxwYXRoIGQ9Ik04IDN2MThNMTEgOGg1TTExIDEyaDUiLz48L3N2Zz4=");
}

.bottom-nav .nav-item[data-page="profile"] .nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI4IiByPSI0Ii8+PHBhdGggZD0iTTQgMjFjMC01IDMtOCA4LThzOCAzIDggOCIvPjwvc3ZnPg==");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI4IiByPSI0Ii8+PHBhdGggZD0iTTQgMjFjMC01IDMtOCA4LThzOCAzIDggOCIvPjwvc3ZnPg==");
}

.bottom-nav .feed-nav-item .feed-icon {
    width: 38px;
    height: 30px;
    border-radius: 10px;
    background-color: currentColor;
    -webkit-mask-size: 23px 23px;
    mask-size: 23px 23px;
}
/* =========================
   SAFE AREA
========================= */

.safe-top {
    padding-top:
            env(safe-area-inset-top);
}


.safe-bottom {
    padding-bottom:
            env(safe-area-inset-bottom);
}

/* =========================
   ИНДИКАТОР УВЕДОМЛЕНИЙ
========================= */

.nav-item[data-page="profile"] {
    position: relative;
}


.nav-notification-badge {
    position: absolute;
    top: 5px;
    right: 10px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: #303036;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    box-sizing: border-box;
    pointer-events: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 699px) {

    body {
        display: block;

        background:
                var(--bg-main);
    }


    body > .app-page {
        width: 100%;

        min-width: 0;

        max-width: none;

        box-shadow: none;
    }


    .bottom-nav {
        width: 100%;
        max-width: none;
    }

}


/* =========================
   DESKTOP / TABLET
========================= */

@media (min-width: 700px) {

    body {
        display: flex;

        justify-content: center;
        align-items: flex-start;

        background:
                var(--bg-outside);
    }


    body > .app-page {
        width:
                var(--app-width);

        min-width:
                var(--app-width);

        max-width:
                var(--app-width);

        flex:
                0 0 var(--app-width);

        min-height:
                100vh;

        min-height:
                100dvh;

        overflow-x: hidden;

        background:
                var(--bg-main);

        box-shadow:
                0 0 40px
                rgba(0, 0, 0, 0.65);
    }

}


/* =========================
   ОЧЕНЬ УЗКИЕ ЭКРАНЫ
========================= */

@media (max-width: 360px) {

    .nav-label {
        font-size: 8px;
    }


    .nav-icon {
        font-size: 22px;
    }


    .feed-nav-item .feed-icon {
        width: 34px;
        height: 28px;
    }

}


/* =========================
   REDUCED MOTION
========================= */

@media (
prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration:
                0.01ms !important;

        animation-duration:
                0.01ms !important;

        animation-iteration-count:
                1 !important;
    }

}

/* =========================
   ЗАЩИТА МЕДИА
========================= */

video {

    -webkit-user-select: none;
    user-select: none;

    -webkit-user-drag: none;

    -webkit-touch-callout: none;

}

/* =========================
   APP DIALOG
========================= */

.app-dialog-overlay {

    position: fixed;

    z-index: 2000;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100%;
    max-width:
            var(--app-width);

    transform:
            translateX(-50%);

    padding:
            20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
            rgba(
                    0,
                    0,
                    0,
                    0.72
            );

    opacity: 0;

    transition:
            opacity
            0.16s ease;

}


.app-dialog-overlay.visible {

    opacity: 1;

}


.app-dialog {

    width: 100%;

    max-width: 360px;

    padding:
            20px;

    border:
            1px solid
            rgba(
                    255,
                    255,
                    255,
                    0.09
            );

    border-radius:
            20px;

    background:
            #1a1a1a;

    box-shadow:
            0
            18px
            55px
            rgba(
                    0,
                    0,
                    0,
                    0.5
            );

}


.app-dialog-title {

    font-size:
            17px;

    font-weight:
            900;

    line-height:
            1.25;

}


.app-dialog-message {

    margin-top:
            9px;

    color:
            rgba(
                    255,
                    255,
                    255,
                    0.58
            );

    font-size:
            12px;

    line-height:
            1.5;

}


.app-dialog-actions {

    margin-top:
            20px;

    display: grid;

    grid-template-columns:
            1fr
            1fr;

    gap:
            9px;

}


.app-dialog-button {

    min-height:
            44px;

    padding:
            0
            12px;

    border:
            none;

    border-radius:
            12px;

    font-family:
            inherit;

    font-size:
            11px;

    font-weight:
            800;

    cursor:
            pointer;

}


.app-dialog-button.secondary {

    background:
            rgba(
                    255,
                    255,
                    255,
                    0.07
            );

    color:
            #ffffff;

}


.app-dialog-button.primary {

    background:
            #ffffff;

    color:
            #111111;

}

.app-dialog-button.primary:disabled {

    background:
            rgba(
                    255,
                    255,
                    255,
                    0.07
            );

    color:
            rgba(
                    255,
                    255,
                    255,
                    0.35
            );

    cursor:
            default;

}


.app-dialog-button.danger {

    background:
            #ff315d;

    color:
            #ffffff;

}


@media (max-width: 699px) {

    .app-dialog-overlay {

        max-width:
                none;

    }

}
.app-dialog-actions-single {
    display: flex;
    justify-content: center;
}


/* Одна кнопка в диалоге — по центру */
.app-dialog-actions:has(> :only-child) {
    display: flex;
    justify-content: center;
}

.app-dialog-actions:has(> :only-child) .app-dialog-button {
    min-width: 168px;
}

/* WOW NOW — INTERACTIVE FEED COLUMN */

.bottom-nav .feed-nav-item {
    position: relative;
}

.bottom-nav .feed-nav-item::before {
    content: "";
    position: absolute;
    inset: 3px 6px;
    border-radius: 12px;
    background: #242428;
    transition: background 0.18s ease;
    pointer-events: none;
}

@media (hover: hover) {
    .bottom-nav .feed-nav-item:hover::before {
        background: #242428;
    }
}

.bottom-nav .feed-nav-item:active::before {
    background: #34343a;
}

.bottom-nav .feed-nav-item .feed-icon {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 0;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.bottom-nav .feed-nav-item .nav-label {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    .bottom-nav .feed-nav-item::before {
        transition: none;
    }
}

/* =========================
   WOW NOW — TEXT LINKS
========================= */

.wownow-text-link {
    color: #a8a8a8;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.wownow-text-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.wownow-text-link:focus-visible {
    outline: 1px solid #a8a8a8;
    outline-offset: 2px;
    border-radius: 2px;
}
