/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Поздравление в праздник (MainLayout.razor, login-scenes/holiday.js).
   Полосу целиком дописывает скрипт, поэтому её части — через ::deep.
   Ширина — как у содержимого обычной страницы (.page: 1120 с полями по
   32): над ней полоса стоит ровно, над широкими реестрами — по центру. */
tamos-holiday[b-0xp4zvwwb6] {
    display: block;
    position: relative;
    z-index: 1;
}

tamos-holiday[b-0xp4zvwwb6]  .holiday-bar {
    display: flex;
    align-items: center;
    gap: var(--s3);
    /* По ширине колонки страницы (N-6): 1 460 без полей по 32 px. */
    width: calc(100% - 64px);
    max-width: 1396px;
    margin: var(--s4) auto 0;
    padding: var(--s2) var(--s2) var(--s2) var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-weight: 600;
}

/* Три точки цветов знака — как полоса над карточкой входа. */
tamos-holiday[b-0xp4zvwwb6]  .holiday-mark {
    display: flex;
    gap: var(--s1);
    flex: 0 0 auto;
}

tamos-holiday[b-0xp4zvwwb6]  .holiday-mark span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

tamos-holiday[b-0xp4zvwwb6]  .holiday-text { flex: 1; min-width: 0; }

tamos-holiday[b-0xp4zvwwb6]  .holiday-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

tamos-holiday[b-0xp4zvwwb6]  .holiday-close:hover { background: var(--surface-sunken); color: var(--ink); }

@media (max-width: 860px) {
    tamos-holiday[b-0xp4zvwwb6]  .holiday-bar { width: calc(100% - 28px); }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-hni76ojz87],
.components-reconnect-repeated-attempt-visible[b-hni76ojz87],
.components-reconnect-failed-visible[b-hni76ojz87],
.components-pause-visible[b-hni76ojz87],
.components-resume-failed-visible[b-hni76ojz87],
.components-rejoining-animation[b-hni76ojz87] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-retrying[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-failed[b-hni76ojz87],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-hni76ojz87] {
    display: block;
}


#components-reconnect-modal[b-hni76ojz87] {
    background-color: var(--surface);
    color: var(--ink);
    width: 20rem;
    margin: 20vh auto;
    padding: var(--s6);
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-hni76ojz87 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-hni76ojz87 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-hni76ojz87 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-hni76ojz87]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-hni76ojz87 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-hni76ojz87 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-hni76ojz87 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-hni76ojz87 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-hni76ojz87] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s4);
}

#components-reconnect-modal p[b-hni76ojz87] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-hni76ojz87] {
    border: 0;
    background-color: var(--accent);
    color: var(--on-accent);
    padding: var(--s1) var(--s5);
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-hni76ojz87] {
        background-color: var(--accent-hover);
    }

    #components-reconnect-modal button:active[b-hni76ojz87] {
        background-color: var(--accent);
    }

    #components-reconnect-modal button:focus-visible[b-hni76ojz87] {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

.components-rejoining-animation[b-hni76ojz87] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-hni76ojz87] {
        position: absolute;
        border: 3px solid var(--accent);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-hni76ojz87 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-hni76ojz87] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-hni76ojz87 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/SeasonWindow.razor.rz.scp.css */
/* Окошко со двором внизу меню (SeasonWindow.razor). Общие правила
   tamos-scene в app.css растягивают холст на весь экран — для входа;
   здесь он маленький и стоит в потоке меню. */
tamos-scene.season-window[b-2y5g9xfs4c] {
    position: relative;
    inset: auto;
    z-index: auto;
    display: block;
    height: 100px;
    margin: 0 0 var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-sunken);
}

/* На «Приёмной» двор — во весь фон, второй в меню не нужен. Картинку
   выключили в «Вид экрана» — окошка нет вовсе. */
.shell:has(tamos-scene.home-scene) tamos-scene.season-window[b-2y5g9xfs4c],
:root[data-scene="off"] tamos-scene.season-window[b-2y5g9xfs4c] {
    display: none;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Двор за «Приёмной» (место «home» в login-scenes/scene.js). Холст — за
   рабочей областью: меню слева он не закрывает. На телефоне меню —
   полоса сверху, и холст во всю ширину. */
tamos-scene.home-scene[b-82xdgy4vv0] { left: var(--sidebar-w); }

@media (max-width: 860px) {
    tamos-scene.home-scene[b-82xdgy4vv0] { left: 0; }
}

:root[data-scene="off"] tamos-scene.home-scene[b-82xdgy4vv0] { display: none; }

/* Страница — над холстом. */
.page[b-82xdgy4vv0] { position: relative; z-index: 1; }

/* То, что лежит прямо на картинке, а не на белых карточках, — на светлой
   подложке, иначе текст не прочитать: заголовок с пояснением, подписи
   групп, «Никого не нашлось». Картинку выключили — подложки не нужны. */
:root:not([data-scene="off"]) .page-head[b-82xdgy4vv0],
:root:not([data-scene="off"]) .result-group-label[b-82xdgy4vv0],
:root:not([data-scene="off"]) .page[b-82xdgy4vv0]  .empty {
    background: rgba(var(--surface-rgb), 0.92);
    border-radius: var(--radius);
}

:root:not([data-scene="off"]) .page-head[b-82xdgy4vv0] { padding: var(--s3) var(--s4); }

:root:not([data-scene="off"]) .result-group-label[b-82xdgy4vv0] { display: inline-block; padding: 2px var(--s2); }
