/* /Components/Chat/ChainProgress.razor.rz.scp.css */
.cp-wrap[b-74tepfrfb1] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.cp-sq[b-74tepfrfb1] {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    border: 1.5px solid;
    box-sizing: border-box;
    flex: 0 0 auto;
    display: inline-block;
}

.cp-arrow[b-74tepfrfb1] {
    font-size: .8rem;
    line-height: 1;
    opacity: .3;
    flex: 0 0 auto;
}

.cp-arrow-done[b-74tepfrfb1] {
    opacity: .7;
}

.cp-active[b-74tepfrfb1] {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .18);
}

.cp-sending[b-74tepfrfb1] {
    animation: cp-pulse-b-74tepfrfb1 1s ease-in-out infinite;
}

.cp-pausing[b-74tepfrfb1] {
    animation: cp-breathe-b-74tepfrfb1 1.8s ease-in-out infinite;
}

@keyframes cp-pulse-b-74tepfrfb1 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.28); }
}

@keyframes cp-breathe-b-74tepfrfb1 {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}

.cp-empty[b-74tepfrfb1] {
    opacity: .5;
    font-size: .8rem;
}

.cp-bar-wrap[b-74tepfrfb1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 90px;
}

.cp-bar[b-74tepfrfb1] {
    position: relative;
    flex: 1 1 auto;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
    min-width: 60px;
}

.cp-bar-fill[b-74tepfrfb1] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 3px;
    transition: width .4s ease;
}

.cp-bar-text[b-74tepfrfb1] {
    font-size: .72rem;
    opacity: .8;
    white-space: nowrap;
}
/* /Components/Chat/ChannelCard.razor.rz.scp.css */
.chc[b-53bk33p2yr] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    background: var(--mud-palette-surface);
    transition: box-shadow .12s ease, border-color .12s ease;
    height: 100%;
}

.chc:hover[b-53bk33p2yr] {
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.chc-sel[b-53bk33p2yr] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -1px;
}
/* /Components/Dialogs/SlotsLoaderDialog.razor.rz.scp.css */
/* ============================================================
   Технический лог прогона (общий для Stake/Pokerok/Jeton) — терминальный вид.
   Каждая строка = сетка [время · уровень · сообщение]:
   длинные сообщения переносятся ВНУТРИ своей колонки (висячий
   отступ), а не под таймштампом. Уровень выделен бейджем и
   лёгкой заливкой строки, чтобы ошибки/предупреждения читались
   с одного взгляда.
   ============================================================ */

.sb-log[b-stksxgzxhw] {
    /* max-height (не фиксированная height) → короткий лог не «прилипает»
       к низу, а растёт сверху; длинный — скроллится и тейлится к низу. */
    min-height: 40px;
    max-height: 264px;
    overflow-y: auto;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 8px 10px;
    font-family: 'Cascadia Code', 'Consolas', ui-monospace, monospace;
    font-size: 12.25px;
    line-height: 1.55;
    /* column-reverse держит скролл у низа (авто-tail новых строк). */
    display: flex;
    flex-direction: column-reverse;
    gap: 1px;
}

.sb-log-empty[b-stksxgzxhw] {
    color: #6e7681;
    padding: 4px 2px;
}

.sb-log-row[b-stksxgzxhw] {
    display: grid;
    grid-template-columns: max-content 44px minmax(0, 1fr);
    column-gap: 10px;
    align-items: baseline;
    padding: 1px 6px 1px 4px;
    border-radius: 4px;
    border-left: 2px solid transparent;
}

.sb-log-time[b-stksxgzxhw] {
    color: #6e7681;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    user-select: none;
}

.sb-log-badge[b-stksxgzxhw] {
    align-self: center;
    justify-self: stretch;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 1px 0;
    user-select: none;
}

.sb-log-msg[b-stksxgzxhw] {
    color: #c9d1d9;
    white-space: pre-wrap;
    word-break: break-word;
    min-width: 0;
}

/* ---- уровни ---- */
.sb-info .sb-log-badge[b-stksxgzxhw] {
    color: #7d8590;
    background: rgba(125, 133, 144, .16);
}

.sb-success .sb-log-badge[b-stksxgzxhw] {
    color: #3fb950;
    background: rgba(63, 185, 80, .16);
}

.sb-success .sb-log-msg[b-stksxgzxhw] {
    color: #56d364;
}

.sb-warning[b-stksxgzxhw] {
    background: rgba(210, 153, 34, .07);
    border-left-color: #d29922;
}

.sb-warning .sb-log-badge[b-stksxgzxhw] {
    color: #d29922;
    background: rgba(210, 153, 34, .18);
}

.sb-warning .sb-log-msg[b-stksxgzxhw] {
    color: #e3b341;
}

.sb-error[b-stksxgzxhw] {
    background: rgba(248, 81, 73, .09);
    border-left-color: #f85149;
}

.sb-error .sb-log-badge[b-stksxgzxhw] {
    color: #f85149;
    background: rgba(248, 81, 73, .18);
}

.sb-error .sb-log-msg[b-stksxgzxhw] {
    color: #ff7b72;
}

/* ---- скроллбар (тонкий, под тёмный фон) ---- */
.sb-log[b-stksxgzxhw]::-webkit-scrollbar {
    width: 9px;
}

.sb-log[b-stksxgzxhw]::-webkit-scrollbar-track {
    background: transparent;
}

.sb-log[b-stksxgzxhw]::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 6px;
    border: 2px solid #0d1117;
}

.sb-log[b-stksxgzxhw]::-webkit-scrollbar-thumb:hover {
    background: #3d444d;
}
/* /Components/Dialogs/StakeUserLookupDialog.razor.rz.scp.css */
/* ============================================================
   Технический лог прогона моста (Stake-юзеры) — терминальный вид.
   Копия стилей .sb-log из SlotsLoaderDialog (CSS-изоляция per-component).
   ============================================================ */

.sb-log[b-rdub0wr9bq] {
    min-height: 40px;
    max-height: 264px;
    overflow-y: auto;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 8px 10px;
    font-family: 'Cascadia Code', 'Consolas', ui-monospace, monospace;
    font-size: 12.25px;
    line-height: 1.55;
    display: flex;
    flex-direction: column-reverse;
    gap: 1px;
}

.sb-log-empty[b-rdub0wr9bq] {
    color: #6e7681;
    padding: 4px 2px;
}

.sb-log-row[b-rdub0wr9bq] {
    display: grid;
    grid-template-columns: max-content 44px minmax(0, 1fr);
    column-gap: 10px;
    align-items: baseline;
    padding: 1px 6px 1px 4px;
    border-radius: 4px;
    border-left: 2px solid transparent;
}

.sb-log-time[b-rdub0wr9bq] {
    color: #6e7681;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    user-select: none;
}

.sb-log-badge[b-rdub0wr9bq] {
    align-self: center;
    justify-self: stretch;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 1px 0;
    user-select: none;
}

.sb-log-msg[b-rdub0wr9bq] {
    color: #c9d1d9;
    white-space: pre-wrap;
    word-break: break-word;
    min-width: 0;
}

/* ---- уровни ---- */
.sb-info .sb-log-badge[b-rdub0wr9bq] {
    color: #7d8590;
    background: rgba(125, 133, 144, .16);
}

.sb-success .sb-log-badge[b-rdub0wr9bq] {
    color: #3fb950;
    background: rgba(63, 185, 80, .16);
}

.sb-success .sb-log-msg[b-rdub0wr9bq] {
    color: #56d364;
}

.sb-warning[b-rdub0wr9bq] {
    background: rgba(210, 153, 34, .07);
    border-left-color: #d29922;
}

.sb-warning .sb-log-badge[b-rdub0wr9bq] {
    color: #d29922;
    background: rgba(210, 153, 34, .18);
}

.sb-warning .sb-log-msg[b-rdub0wr9bq] {
    color: #e3b341;
}

.sb-error[b-rdub0wr9bq] {
    background: rgba(248, 81, 73, .09);
    border-left-color: #f85149;
}

.sb-error .sb-log-badge[b-rdub0wr9bq] {
    color: #f85149;
    background: rgba(248, 81, 73, .18);
}

.sb-error .sb-log-msg[b-rdub0wr9bq] {
    color: #ff7b72;
}

/* ---- скроллбар ---- */
.sb-log[b-rdub0wr9bq]::-webkit-scrollbar {
    width: 9px;
}

.sb-log[b-rdub0wr9bq]::-webkit-scrollbar-track {
    background: transparent;
}

.sb-log[b-rdub0wr9bq]::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 6px;
    border: 2px solid #0d1117;
}

.sb-log[b-rdub0wr9bq]::-webkit-scrollbar-thumb:hover {
    background: #3d444d;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-gqlc43cl5p] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-gqlc43cl5p] {
    flex: 1;
}

.top-row[b-gqlc43cl5p] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 100;
}

    .top-row[b-gqlc43cl5p]  a, .top-row[b-gqlc43cl5p]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-gqlc43cl5p]  a:hover, .top-row[b-gqlc43cl5p]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-gqlc43cl5p]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-gqlc43cl5p] {
        justify-content: space-between;
    }

        .top-row[b-gqlc43cl5p]  a, .top-row[b-gqlc43cl5p]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-gqlc43cl5p] {
        flex-direction: row;
    }

    .top-row[b-gqlc43cl5p] {
        position: sticky;
        top: 0;
        z-index: 100;
    }

        .top-row.auth[b-gqlc43cl5p]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-gqlc43cl5p], article[b-gqlc43cl5p] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-gqlc43cl5p] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-gqlc43cl5p] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/ChatPanel.razor.rz.scp.css */
/* Мини-панель /chat/panel — адаптив по ширине ОКНА панели (окно == viewport). PULT_REDESIGN_SPEC §8.2. */

.cp-shell[b-emuysrca8h] {
    padding: 8px;
    box-sizing: border-box;
    /* Горизонтального скролла нет никогда — на узком окне контент переносится, не разъезжается. */
    overflow-x: hidden;
    min-height: 100vh;
}

/* Контент центрируется и ограничен по ширине на широком окне (не растягивается во весь монитор). */
.cp-content[b-emuysrca8h] {
    width: 100%;
}

/* Sticky-верх: канал + статус + плашка подтверждения казино прилипают к верху при скролле —
   на низком окне кнопка «Да, {Казино}» не уезжает за скролл. Full-bleed через отрицательные поля. */
.cp-sticky[b-emuysrca8h] {
    position: sticky;
    top: 0;
    z-index: 6;
    background: var(--mud-palette-background);
    padding: 8px;
    margin: -8px -8px 0 -8px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Быстрые кнопки: по умолчанию (узкое окно) — один столбец, кнопки full-width. */
.cp-quick-grid[b-emuysrca8h] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Кнопки трогают и с планшета — высота ≥ 40px. */
.cp-quick[b-emuysrca8h]  .mud-button-root {
    min-height: 40px;
}

/* Сверхкомпакт: 320–400px — уменьшенные паддинги. */
@media (max-width: 400px) {
    .cp-shell[b-emuysrca8h] {
        padding: 5px;
    }

    .cp-sticky[b-emuysrca8h] {
        padding: 5px;
        margin: -5px -5px 0 -5px;
    }
}

/* Широкое окно: > 640px — контент центрируется с max-width, быстрые кнопки в сетку 2–3 колонки. */
@media (min-width: 640px) {
    .cp-content[b-emuysrca8h] {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .cp-quick-grid[b-emuysrca8h] {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 8px;
    }
}
/* /Components/Pages/GiveawayPage.razor.rz.scp.css */
/* ========================================
   GiveawayPage.razor.css - МИНИМАЛЬНЫЙ CSS
   Только критичные стили для grid resize
   ======================================== */

/* ========================================
   БАЗОВЫЙ КОНТЕЙНЕР
   ======================================== */

.page-container[b-zqifosv7fb] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 3.5rem - 2rem);
    max-height: calc(100vh - 3.5rem - 2rem);
    overflow: hidden;
}

/* ========================================
   ИСТОРИЯ GIVEAWAYS (для ResizeObserver)
   ======================================== */

.history-container[b-zqifosv7fb] {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.history-items-wrapper[b-zqifosv7fb] {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
}

/* ========================================
   ОСНОВНОЙ КОНТЕНТ
   ======================================== */

.giveaway-content[b-zqifosv7fb] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding-top: 16px;
}

/* ========================================
   GRID LAYOUT (КРИТИЧНО ДЛЯ RESIZE!)
   ======================================== */

.giveaway-details-section[b-zqifosv7fb] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding-top: 16px;
    position: relative;
}

.grid-container[b-zqifosv7fb] {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr 20px 1fr 20px 2fr;
    grid-template-rows: 1fr;
    height: calc(100% - 20px);
    min-height: 0;
    position: relative;
    width: calc(100% - 40px);
}

.participants-column[b-zqifosv7fb],
.winners-column[b-zqifosv7fb],
.chat-column[b-zqifosv7fb] {
    display: grid;
    gap: 0;
    grid-template-rows: 3fr 20px 2fr;
    height: 100%;
    min-height: 0;
    position: relative;
}

/* ========================================
   SCROLL СЕКЦИИ
   ======================================== */

.scroll-section[b-zqifosv7fb] {
    background: var(--mud-palette-surface);
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    display: flex;
    flex-direction: column;
    min-height: 50px;
    overflow: hidden;
}

.section-header[b-zqifosv7fb] {
    align-items: center;
    background: var(--mud-palette-background-grey);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    display: flex;
    font-size: 0.9rem;
    font-weight: 600;
    justify-content: space-between;
    padding: 6px 16px;
    min-height: 40px;
    box-sizing: border-box;
}

.scroll-area[b-zqifosv7fb] {
    flex: 1;
    margin: 1px 0;
    overflow-y: auto;
    padding: 4px 16px;
}

.scroll-area[b-zqifosv7fb]::-webkit-scrollbar {
    width: 6px;
}

.scroll-area[b-zqifosv7fb]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-lines-default);
    border-radius: 4px;
}

.scroll-area[b-zqifosv7fb]::-webkit-scrollbar-thumb:hover {
    background: var(--mud-palette-primary);
}

.scroll-area[b-zqifosv7fb]::-webkit-scrollbar-track {
    background: var(--mud-palette-background);
    border-radius: 4px;
}

/* ========================================
   LIST ITEMS (height критична для Virtualize!)
   ======================================== */

.list-item[b-zqifosv7fb] {
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-index[b-zqifosv7fb] {
    color: var(--mud-palette-text-secondary);
    min-width: 30px;
}

.participant-roles[b-zqifosv7fb] {
    color: var(--mud-palette-primary);
}

/* ========================================
   SEPARATORS (КРИТИЧНО ДЛЯ RESIZE!)
   ======================================== */

.horizontal-separator[b-zqifosv7fb],
.vertical-separator[b-zqifosv7fb] {
    cursor: row-resize;
    position: relative;
    transition: background 0.2s;
}

.vertical-separator[b-zqifosv7fb] {
    cursor: col-resize;
}

.separator.inactive[b-zqifosv7fb] {
    cursor: default !important;
}

.separator:hover:not(.inactive)[b-zqifosv7fb] {
    background: var(--mud-palette-primary-lighten);
}

/* ========================================
   CONTROLS SECTION (в winners-column)
   ======================================== */

.controls-section[b-zqifosv7fb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--mud-palette-surface);
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
}

/* ========================================
   EDIT CONTROLS (внизу chat-column)
   ======================================== */

.edit-controls-section[b-zqifosv7fb] {
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 12px;
    background: var(--mud-palette-surface);
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
}

.edit-controls-wrapper[b-zqifosv7fb] {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 640px) {
    .page-container[b-zqifosv7fb] {
        height: calc(100vh - 6rem - 3rem);
        max-height: calc(100vh - 6rem - 3rem);
    }
}
