/* /Components/ConfirmDialog.razor.rz.scp.css */
/* The panel's tokens live on .admin-layout; the studio console has its own layout, so every token has a fallback. */
.confirm-backdrop[b-vu4ro6e2qc] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(29, 32, 82, .45);
    animation: confirm-fade-b-vu4ro6e2qc .15s ease;
}

.confirm-dialog[b-vu4ro6e2qc] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1065;
    width: min(25rem, calc(100vw - 2rem));
    padding: 1.75rem 1.5rem 1.25rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(29, 32, 82, .3);
    text-align: center;
    transform: translate(-50%, -50%);
    animation: confirm-rise-b-vu4ro6e2qc .2s ease;
}

.confirm-icon[b-vu4ro6e2qc] {
    display: inline-grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: .85rem;
    border-radius: 50%;
    background: var(--primary-tint, #E8EAF7);
    color: var(--primary, #4953A4);
    font-size: 1.4rem;
}

.confirm-icon.danger[b-vu4ro6e2qc] {
    background: #fdecec;
    color: #d93b40;
}

.confirm-title[b-vu4ro6e2qc] {
    margin: 0 0 .5rem;
    color: var(--ink, #222748);
    font-size: 1.1rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.confirm-text[b-vu4ro6e2qc] {
    margin: 0 0 1.4rem;
    color: var(--text, #454B4F);
    font-size: .92rem;
    line-height: 1.8;
}

.confirm-actions[b-vu4ro6e2qc] {
    display: flex;
    gap: .6rem;
}

.confirm-actions > button[b-vu4ro6e2qc] {
    flex: 1;
    padding: .65rem 1rem;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: background-color .15s ease;
}

.confirm-go[b-vu4ro6e2qc] {
    background: var(--primary, #4953A4);
    color: #fff;
}

.confirm-go:hover[b-vu4ro6e2qc] {
    background: var(--primary-dark, #353C76);
}

.confirm-go.danger[b-vu4ro6e2qc] {
    background: #d93b40;
}

.confirm-go.danger:hover[b-vu4ro6e2qc] {
    background: #b92f34;
}

.confirm-cancel[b-vu4ro6e2qc] {
    background: var(--mist, #F2F4FB);
    color: var(--ink, #222748);
}

.confirm-cancel:hover[b-vu4ro6e2qc] {
    background: var(--primary-tint, #E8EAF7);
}

.confirm-actions > button:focus-visible[b-vu4ro6e2qc] {
    outline: 3px solid var(--sun, #FFD453);
    outline-offset: 2px;
}

@keyframes confirm-fade-b-vu4ro6e2qc {
    from { opacity: 0; }
}

@keyframes confirm-rise-b-vu4ro6e2qc {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
}

@media (max-width: 480px) {
    .confirm-actions[b-vu4ro6e2qc] {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .confirm-backdrop[b-vu4ro6e2qc],
    .confirm-dialog[b-vu4ro6e2qc] {
        animation: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The shell echoes the landing hero: a floating lapis panel (the sidebar) beside a white paper page. */
.admin-layout[b-afil6qy3ng] {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

.sidebar[b-afil6qy3ng] {
    position: fixed;
    top: 16px;
    bottom: 16px;
    right: 16px;
    width: 264px;
    display: flex;
    flex-direction: column;
    /* Only the menu links scroll (.sidebar-nav); the brand and the user card stay in place. */
    overflow: hidden;
    z-index: 100;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(90% 45% at 50% 100%, rgba(90, 85, 221, .55), transparent 72%),
        linear-gradient(165deg, #1D2052 0%, #2A2770 55%, #3A2F8C 100%);
    box-shadow: 0 30px 60px -30px rgba(29, 32, 82, .7);
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar.collapsed[b-afil6qy3ng] {
    transform: translateX(calc(100% + 16px));
}

.content-wrapper[b-afil6qy3ng] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-right: 296px;
    transition: margin-right .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-wrapper.sidebar-collapsed[b-afil6qy3ng] {
    margin-right: 0;
}

.top-bar[b-afil6qy3ng] {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 80px;
    padding: 0 clamp(16px, 2.5vw, 32px);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.top-bar-actions[b-afil6qy3ng] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-toggle-btn[b-afil6qy3ng] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #222748;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color .2s;
}

.sidebar-toggle-btn:hover[b-afil6qy3ng] {
    background: #F5F6FC;
}

.page-body[b-afil6qy3ng] {
    flex: 1;
    padding: 8px clamp(16px, 2.5vw, 32px) 40px;
}

.top-bar-brand[b-afil6qy3ng],
.bottom-nav[b-afil6qy3ng] {
    display: none;
}

#blazor-error-ui[b-afil6qy3ng] {
    color-scheme: light only;
    background: #FFF6D9;
    border-top: 1px solid #FFD453;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 0.6rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    color: #7A5C00;
    font-size: 0.9rem;
}

    #blazor-error-ui .dismiss[b-afil6qy3ng] {
        cursor: pointer;
        position: absolute;
        left: 0.75rem;
        top: 0.6rem;
    }

@media (max-width: 767.98px) {
    .sidebar[b-afil6qy3ng] {
        top: 12px;
        bottom: 12px;
        right: 12px;
        width: min(300px, calc(100vw - 24px));
        transform: translateX(calc(100% + 16px));
        visibility: hidden;
        z-index: 1040;
        transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s .35s, box-shadow .35s;
    }

    /* The giant spread shadow doubles as the backdrop, so no extra element is needed. */
    .sidebar.show-mobile[b-afil6qy3ng] {
        transform: none;
        visibility: visible;
        box-shadow: 0 0 0 100vmax rgba(29, 32, 82, .45);
        transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s, box-shadow .35s;
    }

    .content-wrapper[b-afil6qy3ng] {
        margin-right: 0 !important;
    }

    .top-bar[b-afil6qy3ng] {
        min-height: 64px;
        padding-top: env(safe-area-inset-top);
    }

    .top-bar .sidebar-toggle-btn[b-afil6qy3ng],
    .top-bar-link[b-afil6qy3ng] {
        display: none;
    }

    .top-bar-brand[b-afil6qy3ng] {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #222748;
        text-decoration: none;
        font-family: "Khorshid", "Yekan Bakh", sans-serif;
        font-size: 1.35rem;
        line-height: 1;
    }

    .top-bar-brand img[b-afil6qy3ng] {
        width: 36px;
        height: 36px;
        padding: 3px;
        border-radius: 12px;
        background: #F5F6FC;
    }

    .top-bar-actions .btn[b-afil6qy3ng] {
        padding: 8px 16px;
        font-size: .9rem;
    }

    .page-body[b-afil6qy3ng] {
        padding-bottom: calc(112px + env(safe-area-inset-bottom));
    }

    .bottom-nav[b-afil6qy3ng] {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 1030;
        display: flex;
        padding: 6px;
        border-radius: 24px;
        background: linear-gradient(165deg, #1D2052 0%, #2A2770 60%, #3A2F8C 100%);
        box-shadow: 0 18px 40px -16px rgba(29, 32, 82, .7);
    }

    .bottom-nav[b-afil6qy3ng]  a,
    .bottom-nav button[b-afil6qy3ng] {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 56px;
        padding: 6px 2px;
        border: 0;
        border-radius: 18px;
        background: transparent;
        color: rgba(255, 255, 255, .72);
        font-size: .72rem;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
        transition: background-color .2s, color .2s;
    }

    .bottom-nav[b-afil6qy3ng]  i,
    .bottom-nav button i[b-afil6qy3ng] {
        font-size: 1.25rem;
        line-height: 1;
    }

    .bottom-nav[b-afil6qy3ng]  a.active {
        background: #fff;
        color: #222748;
        font-weight: 700;
    }

    .bottom-nav[b-afil6qy3ng]  a.active i {
        color: #4953A4;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-brand[b-lhg05tzjzz] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 12px;
}

.sidebar-logo[b-lhg05tzjzz] {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 3px;
}

.sidebar-title[b-lhg05tzjzz] {
    font-family: "Khorshid", "Yekan Bakh", sans-serif;
    font-size: 1.45rem;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
}

.sidebar-brand[b-lhg05tzjzz],
.sidebar-footer[b-lhg05tzjzz] {
    flex-shrink: 0;
}

.sidebar-nav[b-lhg05tzjzz] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 14px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.menu-section-label[b-lhg05tzjzz] {
    margin: 0;
    padding: 14px 14px 6px;
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .45);
}

[b-lhg05tzjzz] .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

[b-lhg05tzjzz] .menu-item:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

[b-lhg05tzjzz] .menu-item:focus-visible {
    outline: 3px solid #FFD453;
    outline-offset: 2px;
}

[b-lhg05tzjzz] .menu-item.active {
    background: #fff;
    color: #222748;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}

[b-lhg05tzjzz] .menu-item.active .menu-icon {
    color: #4953A4;
}

.menu-icon[b-lhg05tzjzz] {
    flex-shrink: 0;
    width: 1.2rem;
    font-size: 1.1rem;
    text-align: center;
}

.sidebar-footer[b-lhg05tzjzz] {
    margin-top: auto;
    padding: 12px 14px 16px;
}

.sidebar-user[b-lhg05tzjzz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.sidebar-user-avatar[b-lhg05tzjzz] {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #FFD453;
    color: #222748;
    font-size: 1.1rem;
}

.sidebar-user-info[b-lhg05tzjzz] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.sidebar-user-name[b-lhg05tzjzz] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
}

.sidebar-user-role[b-lhg05tzjzz] {
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
}

.sidebar-logout[b-lhg05tzjzz] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .7);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.sidebar-logout:hover[b-lhg05tzjzz] {
    background: rgba(229, 72, 77, .22);
    color: #fff;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-d5ymu2lvk6],
.components-reconnect-repeated-attempt-visible[b-d5ymu2lvk6],
.components-reconnect-failed-visible[b-d5ymu2lvk6],
.components-pause-visible[b-d5ymu2lvk6],
.components-resume-failed-visible[b-d5ymu2lvk6],
.components-rejoining-animation[b-d5ymu2lvk6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-retrying[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-failed[b-d5ymu2lvk6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d5ymu2lvk6] {
    display: block;
}


#components-reconnect-modal[b-d5ymu2lvk6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    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-d5ymu2lvk6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-d5ymu2lvk6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-d5ymu2lvk6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-d5ymu2lvk6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-d5ymu2lvk6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-d5ymu2lvk6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-d5ymu2lvk6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-d5ymu2lvk6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-d5ymu2lvk6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-d5ymu2lvk6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-d5ymu2lvk6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-d5ymu2lvk6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-d5ymu2lvk6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-d5ymu2lvk6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-d5ymu2lvk6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-d5ymu2lvk6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-d5ymu2lvk6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-d5ymu2lvk6 {
    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/RoomLayout.razor.rz.scp.css */
/* The console tab: the panel's tokens (.admin-layout) on a plain mist page, no sidebar or top bar. */
.room-shell[b-da0hnnau75] {
    min-height: 100dvh;
    background: var(--mist);
}
/* /Components/Layout/TopBarUser.razor.rz.scp.css */
.top-user[b-kwachtwg6m] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: 6px;
    padding: 5px;
    border-radius: 999px;
    background: #F5F6FC;
    box-shadow: inset 0 0 0 1px #E8EAF7;
}

.top-user-avatar[b-kwachtwg6m] {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #FFD453;
    color: #222748;
    font-size: 1.1rem;
    line-height: 1;
}

.top-user-info[b-kwachtwg6m] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 180px;
    line-height: 1.35;
}

.top-user-name[b-kwachtwg6m] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #222748;
    font-size: .88rem;
    font-weight: 700;
}

.top-user-role[b-kwachtwg6m] {
    color: #687076;
    font-size: .75rem;
}

.top-user-logout[b-kwachtwg6m] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #222748;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.top-user-logout:hover[b-kwachtwg6m] {
    background: #fdecec;
    color: #d93b40;
}

.top-user-logout:focus-visible[b-kwachtwg6m] {
    outline: 3px solid #FFD453;
    outline-offset: 2px;
}

/* Phone: the top bar already holds the brand and the wallet, so only the avatar and the logout icon stay. */
@media (max-width: 767.98px) {
    .top-user[b-kwachtwg6m] {
        gap: 6px;
        margin-inline-start: 2px;
    }

    .top-user-info[b-kwachtwg6m],
    .top-user-logout span[b-kwachtwg6m] {
        display: none;
    }

    .top-user-avatar[b-kwachtwg6m] {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .top-user-logout[b-kwachtwg6m] {
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
    }
}
/* /Components/Pages/Billing/Index.razor.rz.scp.css */
.wallet-page[b-0c1igyafbl] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-head h4[b-0c1igyafbl] {
    font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem);
}

/* entrance: same easing as the dashboard tiles */
.rise[b-0c1igyafbl] {
    opacity: 0;
    transform: translateY(14px);
    animation: wp-rise-b-0c1igyafbl .6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wp-rise-b-0c1igyafbl {
    to { opacity: 1; transform: none; }
}

.wp-panel[b-0c1igyafbl] {
    padding: clamp(20px, 2.2vw, 30px);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(34, 39, 72, .06), 0 24px 48px -36px rgba(34, 39, 72, .35);
}

.wp-title[b-0c1igyafbl] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--ink);
}

.wp-section-head[b-0c1igyafbl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.wp-section-head--stack[b-0c1igyafbl] {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.wp-section-sub[b-0c1igyafbl] {
    color: var(--muted);
    font-size: .85rem;
}

.wp-empty[b-0c1igyafbl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 0;
    color: var(--muted);
    font-size: .95rem;
    text-align: center;
}

/* eight-point star chip, the landing's signature shape */
.wp-chip[b-0c1igyafbl] {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    clip-path: var(--star);
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent));
    color: #fff;
    font-size: 1.1rem;
}

/* ── balance + top-up row ─────────────────────────────────── */

.wp-top[b-0c1igyafbl] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
}

.wp-top.is-solo[b-0c1igyafbl] {
    grid-template-columns: minmax(0, 1fr);
}

.wp-hero[b-0c1igyafbl] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 28px;
    background: var(--lapis-bg);
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(29, 32, 82, .7);
}

.wp-hero-label[b-0c1igyafbl] {
    color: var(--sun);
    font-size: .88rem;
    font-weight: 700;
}

.wp-hero-glow[b-0c1igyafbl] {
    position: absolute;
    z-index: -1;
    inset-inline-end: -70px;
    top: -90px;
    width: 260px;
    height: 260px;
    clip-path: var(--star);
    background: linear-gradient(160deg, rgba(255, 212, 83, .16), rgba(255, 212, 83, 0));
    animation: wp-spin-b-0c1igyafbl 40s linear infinite;
}

@keyframes wp-spin-b-0c1igyafbl {
    to { transform: rotate(360deg); }
}

.wp-balance[b-0c1igyafbl] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -6px;
}

.wp-balance-value[b-0c1igyafbl] {
    font-weight: 900;
    letter-spacing: -.02em;
    font-size: clamp(2.3rem, 1.8rem + 2vw, 3.4rem);
    line-height: 1;
}

.wp-balance-unit[b-0c1igyafbl] {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .7);
}

.wp-hero-note[b-0c1igyafbl] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 0;
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
}

.wp-hero-note .onair-dot[b-0c1igyafbl] {
    flex-shrink: 0;
}

/* ── airtime gauge: how long the balance keeps a stream on air ── */

.wp-air[b-0c1igyafbl] {
    --air: var(--turq);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.wp-air.is-low[b-0c1igyafbl] {
    --air: var(--sun);
}

.wp-air.is-empty[b-0c1igyafbl] {
    --air: #FF7A6B;
}

.wp-air-head[b-0c1igyafbl] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}

.wp-air-label[b-0c1igyafbl] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
}

.wp-air-label i[b-0c1igyafbl] {
    color: var(--air);
}

.wp-air-value[b-0c1igyafbl] {
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    white-space: nowrap;
}

.wp-air-value strong[b-0c1igyafbl] {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
}

.wp-air-track[b-0c1igyafbl] {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.wp-air-fill[b-0c1igyafbl],
.wp-air-add[b-0c1igyafbl] {
    flex-shrink: 0;
    height: 100%;
    transition: width .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-air-fill[b-0c1igyafbl] {
    border-radius: 999px;
    background: var(--air);
    box-shadow: 0 0 16px color-mix(in srgb, var(--air) 70%, transparent);
}

/* the minutes the selected top-up would add, drawn after the current fill */
.wp-air-add[b-0c1igyafbl] {
    background: repeating-linear-gradient(
        -45deg,
        rgba(47, 191, 127, .85) 0 6px,
        rgba(47, 191, 127, .5) 6px 12px);
    border-start-end-radius: 999px;
    border-end-end-radius: 999px;
}

.wp-air-foot[b-0c1igyafbl] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    color: rgba(255, 255, 255, .65);
    font-size: .8rem;
}

.wp-air-plus[b-0c1igyafbl] {
    color: var(--green-bright);
    font-weight: 700;
}

.wp-rates[b-0c1igyafbl] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .7);
    font-size: .8rem;
}

.wp-rates li[b-0c1igyafbl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wp-rates i[b-0c1igyafbl] {
    color: rgba(255, 255, 255, .5);
}

.wp-rates b[b-0c1igyafbl] {
    color: #fff;
    font-weight: 900;
}

.wp-hero-warn[b-0c1igyafbl] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 212, 83, .14);
    color: var(--sun);
    font-size: .88rem;
    line-height: 1.7;
}

/* ── top-up ───────────────────────────────────────────────── */

.wp-test-pill[b-0c1igyafbl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #FFF6D9;
    color: #8A6100;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.wp-amounts[b-0c1igyafbl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wp-amount[b-0c1igyafbl] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 22px 12px;
    border: 0;
    border-radius: 22px;
    background: var(--primary-soft);
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px transparent;
    cursor: pointer;
    transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s, background-color .25s;
}

.wp-amount:hover:not(:disabled)[b-0c1igyafbl] {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 1.5px var(--primary-tint), 0 18px 30px -22px rgba(34, 39, 72, .5);
}

.wp-amount:focus-visible[b-0c1igyafbl],
.wp-pay:focus-visible[b-0c1igyafbl],
.wp-seg-btn:focus-visible[b-0c1igyafbl],
.wp-more:focus-visible[b-0c1igyafbl] {
    outline: 3px solid var(--bs-focus-ring-color);
    outline-offset: 2px;
}

.wp-amount:disabled[b-0c1igyafbl] {
    cursor: default;
    opacity: .6;
}

.wp-amount-value[b-0c1igyafbl] {
    font-weight: 900;
    font-size: 1.45rem;
    line-height: 1.1;
}

.wp-amount-unit[b-0c1igyafbl] {
    font-size: .82rem;
    color: var(--muted);
}

.wp-amount-check[b-0c1igyafbl] {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    clip-path: var(--star);
    background: var(--green-bright);
    color: #fff;
    font-size: .8rem;
    opacity: 0;
    transform: scale(.4) rotate(-45deg);
    transition: opacity .2s, transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-amount.is-selected[b-0c1igyafbl] {
    background: var(--lapis-bg);
    color: #fff;
    box-shadow: 0 22px 40px -24px rgba(29, 32, 82, .8);
}

.wp-amount.is-selected .wp-amount-unit[b-0c1igyafbl] {
    color: rgba(255, 255, 255, .7);
}

.wp-amount.is-selected .wp-amount-check[b-0c1igyafbl] {
    opacity: 1;
    transform: none;
}

.wp-pay[b-0c1igyafbl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    box-shadow: 0 14px 28px -16px rgba(26, 140, 95, .9);
    transition: background-color .2s, transform .2s;
}

.wp-pay:hover:not(:disabled)[b-0c1igyafbl] {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.wp-pay:disabled[b-0c1igyafbl] {
    background: var(--line);
    color: var(--muted);
    box-shadow: none;
}

.wp-after[b-0c1igyafbl] {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .85rem;
    text-align: center;
}

.wp-after strong[b-0c1igyafbl] {
    color: var(--ink);
    font-weight: 900;
}

.wp-toast[b-0c1igyafbl] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .9rem;
    animation: wp-rise-b-0c1igyafbl .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-toast.is-ok[b-0c1igyafbl] {
    background: #E3F4EC;
    color: #136B48;
}

.wp-toast.is-error[b-0c1igyafbl] {
    background: #FBE3E4;
    color: #B42318;
}

/* ── ledger ───────────────────────────────────────────────── */

.wp-seg[b-0c1igyafbl] {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--mist);
}

.wp-seg-btn[b-0c1igyafbl] {
    padding: 6px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
    transition: background-color .2s, color .2s;
}

.wp-seg-btn:hover[b-0c1igyafbl] {
    color: var(--ink);
}

.wp-seg-btn.is-on[b-0c1igyafbl] {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 4px 12px -6px rgba(34, 39, 72, .35);
}

.wp-list[b-0c1igyafbl] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wp-row[b-0c1igyafbl] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
}

.wp-row:last-child[b-0c1igyafbl] {
    border-bottom: 0;
}

.wp-row-icon[b-0c1igyafbl] {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 12%, #fff);
    color: var(--accent);
    font-size: 1.1rem;
}

.wp-row-main[b-0c1igyafbl] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.wp-row-title[b-0c1igyafbl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    white-space: nowrap;
    font-weight: 700;
    color: var(--ink);
}

.wp-row-sub[b-0c1igyafbl] {
    overflow: hidden;
    color: var(--muted);
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wp-row-sub code[b-0c1igyafbl] {
    color: var(--muted);
    font-size: .8rem;
}

.wp-row-end[b-0c1igyafbl] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: end;
}

.wp-amount-signed[b-0c1igyafbl] {
    font-weight: 900;
    color: var(--ink);
    white-space: nowrap;
}

.wp-amount-signed small[b-0c1igyafbl] {
    font-weight: 500;
    color: var(--muted);
}

.wp-amount-signed.is-pos[b-0c1igyafbl] { color: var(--green); }
.wp-amount-signed.is-neg[b-0c1igyafbl] { color: #C2412D; }

.wp-row-date[b-0c1igyafbl] {
    color: var(--muted);
    font-size: .78rem;
    white-space: nowrap;
}

.wp-more[b-0c1igyafbl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
}

.wp-more:hover[b-0c1igyafbl] {
    background: var(--primary-tint);
    color: var(--primary-dark);
}

@media (max-width: 991.98px) {
    .wp-top[b-0c1igyafbl] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .wp-amount-value[b-0c1igyafbl] {
        font-size: 1.2rem;
    }

    .wp-amount[b-0c1igyafbl] {
        padding: 28px 10px 18px;
    }

    .wp-amount-check[b-0c1igyafbl] {
        top: 8px;
        inset-inline-end: 8px;
        width: 20px;
        height: 20px;
        font-size: .7rem;
    }

    .wp-air[b-0c1igyafbl] {
        padding: 14px;
    }

    .wp-seg[b-0c1igyafbl] {
        width: 100%;
    }

    .wp-seg-btn[b-0c1igyafbl] {
        flex: 1;
    }

    .wp-row-date[b-0c1igyafbl] {
        font-size: .72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rise[b-0c1igyafbl],
    .wp-toast[b-0c1igyafbl],
    .wp-hero-glow[b-0c1igyafbl] {
        animation: none !important;
    }

    .rise[b-0c1igyafbl] {
        opacity: 1;
        transform: none;
    }

    .wp-air-fill[b-0c1igyafbl],
    .wp-air-add[b-0c1igyafbl] {
        transition: none;
    }
}
/* /Components/Pages/Studio/Join.razor.rz.scp.css */
/* Pre-join page, laid out like the Microsoft Teams lobby; same dark palette as the call (StudioCall.razor.css). */
.prejoin[b-vsi5e6uc9p] {
    --pj-bg: #11151d;
    --pj-card: #1c2230;
    --pj-control: #2b3242;
    --pj-text: #e8ebf2;
    --pj-muted: #9aa3b5;
    --pj-accent: #5b63c9;
    --pj-accent-hover: #6d75d8;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pj-bg);
    color: var(--pj-text);
}

.prejoin-top[b-vsi5e6uc9p] {
    padding: 1rem 1.5rem;
}

.prejoin-top img[b-vsi5e6uc9p] {
    height: 3.25rem;
    width: auto;
}

.prejoin-main[b-vsi5e6uc9p] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem 2rem;
}

.prejoin-main h1[b-vsi5e6uc9p] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.prejoin-sub[b-vsi5e6uc9p] {
    margin: .4rem 0 1.5rem;
    color: var(--pj-muted);
    text-align: center;
}

.prejoin-card[b-vsi5e6uc9p] {
    display: grid;
    width: min(60rem, 100%);
    background: var(--pj-card);
    border-radius: .75rem;
    box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, .6);
    overflow: hidden;
}

@media (min-width: 768px) {
    .prejoin-card[b-vsi5e6uc9p] {
        grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 1fr);
    }
}

/* --- video + switches ----------------------------------------------------- */

.prejoin-stage[b-vsi5e6uc9p] {
    display: flex;
    flex-direction: column;
}

.prejoin-video[b-vsi5e6uc9p] {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b0e14;
}

/* Out of flow: a 4:3 webcam would otherwise stretch the 16:9 box while the camera is on. */
.prejoin-video video[b-vsi5e6uc9p] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.prejoin-off[b-vsi5e6uc9p] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--pj-muted);
    font-size: .9rem;
}

.prejoin-avatar[b-vsi5e6uc9p] {
    display: grid;
    place-items: center;
    width: 5.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--pj-accent);
    color: #fff;
    font-size: 2.25rem;
    font-weight: 600;
}

.prejoin-name[b-vsi5e6uc9p] {
    position: absolute;
    bottom: .75rem;
    inset-inline-start: .75rem;
    max-width: calc(100% - 1.5rem);
    padding: .2rem .6rem;
    border-radius: .35rem;
    background: rgba(0, 0, 0, .55);
    font-size: .85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prejoin-bar[b-vsi5e6uc9p] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: .9rem 1.25rem;
}

/* Teams-style icon + toggle switch. A button, not a checkbox: Blazor cannot un-check a box it already rendered unchecked. */
.prejoin-toggle[b-vsi5e6uc9p] {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pj-text);
    font-size: 1.25rem;
}

.prejoin-switch[b-vsi5e6uc9p] {
    position: relative;
    width: 2.5rem;
    height: 1.35rem;
    border-radius: 1rem;
    border: 1px solid var(--pj-muted);
    transition: background-color .15s, border-color .15s;
}

.prejoin-switch[b-vsi5e6uc9p]::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: .2rem;
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: var(--pj-muted);
    transform: translateY(-50%);
    transition: inset-inline-start .15s, background-color .15s;
}

.prejoin-toggle[aria-checked="true"] .prejoin-switch[b-vsi5e6uc9p] {
    background: var(--pj-accent);
    border-color: var(--pj-accent);
}

.prejoin-toggle[aria-checked="true"] .prejoin-switch[b-vsi5e6uc9p]::after {
    inset-inline-start: calc(100% - 1.05rem);
    background: #fff;
}

.prejoin-toggle:focus-visible[b-vsi5e6uc9p] {
    outline: 2px solid var(--pj-accent-hover);
    outline-offset: 4px;
    border-radius: .25rem;
}

/* Five segments lit from the start side by --level (0..1), set by studio.js. */
.prejoin-meter[b-vsi5e6uc9p] {
    --level: 0;
    width: 4.5rem;
    height: .4rem;
    margin-inline-start: -.75rem;
    background: linear-gradient(to left, #3fb950 calc(var(--level) * 100%), var(--pj-control) 0);
    -webkit-mask: repeating-linear-gradient(to left, #000 0 calc(20% - 3px), transparent 0 20%);
    mask: repeating-linear-gradient(to left, #000 0 calc(20% - 3px), transparent 0 20%);
}

/* --- side panel ----------------------------------------------------------- */

.prejoin-side[b-vsi5e6uc9p] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--pj-control);
}

@media (min-width: 768px) {
    .prejoin-side[b-vsi5e6uc9p] {
        border-top: 0;
        border-inline-start: 1px solid var(--pj-control);
    }
}

.prejoin-side .form-label[b-vsi5e6uc9p] {
    margin: .5rem 0 0;
    color: var(--pj-muted);
    font-size: .85rem;
}

.prejoin-required[b-vsi5e6uc9p] {
    color: #f06368;
    font-weight: 700;
}

.prejoin-side .form-label:first-child[b-vsi5e6uc9p] {
    margin-top: 0;
}

.prejoin-side .form-control[b-vsi5e6uc9p],
.prejoin-side .form-select[b-vsi5e6uc9p] {
    background-color: var(--pj-bg);
    border-color: var(--pj-control);
}

.prejoin-side .form-control:focus[b-vsi5e6uc9p],
.prejoin-side .form-select:focus[b-vsi5e6uc9p] {
    border-color: var(--pj-accent);
    box-shadow: 0 0 0 .2rem rgba(91, 99, 201, .35);
}

.prejoin-join[b-vsi5e6uc9p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .65rem 1rem;
    border: 0;
    border-radius: .4rem;
    background: var(--pj-accent);
    color: #fff;
    font-weight: 600;
    transition: background-color .15s;
}

/* Beside the video the panel is as tall as the stage: Join sits at its bottom, like Teams. */
@media (min-width: 768px) {
    .prejoin-join[b-vsi5e6uc9p] {
        margin-top: auto;
    }
}

.prejoin-join:hover:not(:disabled)[b-vsi5e6uc9p] {
    background: var(--pj-accent-hover);
}

.prejoin-join:disabled[b-vsi5e6uc9p] {
    opacity: .5;
    cursor: not-allowed;
}
/* /Components/Pages/Studio/Room.razor.rz.scp.css */
/* Host console in its own tab, read as a control desk: a lapis strip on top carrying the broadcast tally
   (the one loud thing on the page) and the go-live button, the studio itself below, settings behind the gear. */

.room-loading[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 60dvh;
    color: var(--muted);
}

/* ---------- Top strip ---------- */
.room-bar[b-f94sqawnl6] {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: .7rem clamp(1rem, 2.5vw, 2rem);
    background: var(--lapis-bg);
    color: #fff;
}

.room-brand[b-f94sqawnl6] {
    flex: none;
    display: inline-flex;
    padding: .3rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
}

.room-brand img[b-f94sqawnl6] {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.room-heading[b-f94sqawnl6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.room-kind[b-f94sqawnl6] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .72);
}

.room-kind i[b-f94sqawnl6] {
    color: var(--sun);
}

.room-name[b-f94sqawnl6] {
    margin: 0;
    font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The tally: idle = a dark slot, starting = sun, on air = the whole box goes signal red with the running time. */
.room-tally[b-f94sqawnl6] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-inline-start: auto;
    padding: .45rem 1rem .45rem 1.1rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, .28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: background-color .3s ease, box-shadow .3s ease;
}

.room-tally-lamp[b-f94sqawnl6] {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: #6d7299;
}

.room-tally-label[b-f94sqawnl6] {
    font-weight: 700;
    font-size: .95rem;
}

.room-tally-time[b-f94sqawnl6] {
    min-width: 4.2ch;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.room-tally.starting .room-tally-lamp[b-f94sqawnl6] {
    background: var(--sun);
    animation: room-lamp-b-f94sqawnl6 1s ease-in-out infinite;
}

.room-tally.live[b-f94sqawnl6] {
    background: var(--sig-onair);
    box-shadow: 0 0 0 4px rgba(255, 73, 95, .25), 0 8px 24px rgba(255, 73, 95, .35);
}

.room-tally.live .room-tally-lamp[b-f94sqawnl6] {
    background: #fff;
    box-shadow: 0 0 10px #fff;
    animation: room-lamp-b-f94sqawnl6 1.4s ease-in-out infinite;
}

@keyframes room-lamp-b-f94sqawnl6 {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.room-bar-end[b-f94sqawnl6] {
    flex: none;
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* Without a tally (meetings) the links still sit at the far end. */
.room-heading + .room-bar-end[b-f94sqawnl6] {
    margin-inline-start: auto;
}

.room-link[b-f94sqawnl6] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

.room-link:hover[b-f94sqawnl6] {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* ---------- Body ---------- */
.room-main[b-f94sqawnl6] {
    padding: 1.25rem clamp(1rem, 2.5vw, 2rem) 2rem;
}

.room-main-narrow[b-f94sqawnl6] {
    max-width: 40rem;
    margin: 3rem auto 0;
}

.room-grid[b-f94sqawnl6] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 23rem;
    gap: 1.25rem;
    align-items: start;
}

.room-stage[b-f94sqawnl6] {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    min-width: 0;
}

/* Before joining: the same dark stage the call will fill, so the page does not jump when it connects. */
.room-greenroom[b-f94sqawnl6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: max(72vh, 420px);
    padding: 2rem 1.25rem;
    border-radius: 1rem;
    background:
        radial-gradient(55% 60% at 50% 35%, rgba(90, 85, 221, .28), transparent 70%),
        #11151d;
    color: #e8ebf2;
    text-align: center;
}

.room-greenroom-icon[b-f94sqawnl6] {
    font-size: 2.6rem;
    color: var(--sun);
    margin-bottom: .5rem;
}

.room-avatar[b-f94sqawnl6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: .75rem;
    border-radius: 50%;
    background: hsl(var(--hue) 55% 42%);
    color: #fff;
    font-size: 2.3rem;
    font-weight: 900;
}

.room-greenroom-title[b-f94sqawnl6] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.room-greenroom-text[b-f94sqawnl6] {
    max-width: 30rem;
    margin: 0 0 1rem;
    color: #9aa3b5;
}

.room-greenroom-field[b-f94sqawnl6] {
    width: min(100%, 18rem);
    margin-bottom: 1rem;
    text-align: start;
}

.room-greenroom-field .form-label[b-f94sqawnl6] {
    font-size: .85rem;
    font-weight: 700;
    color: #e8ebf2;
}

.room-greenroom-field .form-control[b-f94sqawnl6] {
    background: #1c2230;
    border-color: #2b3242;
    color: #fff;
}

.room-join[b-f94sqawnl6] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--sun);
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
    transition: background-color .15s ease, transform .15s ease;
}

.room-join:hover:not(:disabled)[b-f94sqawnl6] {
    background: var(--sun-dark);
}

.room-join:active:not(:disabled)[b-f94sqawnl6] {
    transform: scale(.98);
}

.room-join:disabled[b-f94sqawnl6] {
    opacity: .45;
}

.room-greenroom-note[b-f94sqawnl6] {
    margin: 1rem 0 0;
    font-size: .8rem;
    color: #7d869a;
}

/* ---------- Rail: one surface, sections split by hairlines ---------- */
.room-rail[b-f94sqawnl6] {
    position: sticky;
    top: 5.25rem;
    max-height: calc(100dvh - 6.5rem);
    overflow-y: auto;
    border-radius: 24px;
    background: #fff;
}

.rail-section[b-f94sqawnl6] {
    padding: 1.1rem 1.25rem;
}

.rail-section + .rail-section[b-f94sqawnl6] {
    border-top: 1px solid var(--line);
}

.rail-title[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .8rem;
    font-size: 1rem;
    font-weight: 900;
}

.rail-title i[b-f94sqawnl6] {
    color: var(--primary);
}

/* The broadcast block leads the rail: tinted, with the one big action of the page. */
.rail-broadcast[b-f94sqawnl6] {
    background: var(--primary-soft);
}

.room-go[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex: none;
    padding: .55rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: .95rem;
    font-weight: 900;
    transition: background-color .15s ease;
}

.room-go:hover:not(:disabled)[b-f94sqawnl6] {
    background: var(--green-dark);
}

.room-go.stop[b-f94sqawnl6] {
    background: var(--sig-onair);
}

.room-go.stop:hover:not(:disabled)[b-f94sqawnl6] {
    background: #e23a4f;
}

.room-go:disabled[b-f94sqawnl6] {
    opacity: .5;
}

.rail-label[b-f94sqawnl6] {
    display: block;
    margin: .9rem 0 .3rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
}

.rail-meta[b-f94sqawnl6] {
    margin: .6rem 0 0;
    font-size: .82rem;
    color: var(--muted);
}

.rail-meta.expired[b-f94sqawnl6] {
    color: var(--bs-danger-text-emphasis);
}

.rail-warning[b-f94sqawnl6] {
    margin: .5rem 0;
    padding: .4rem .7rem;
    border-radius: 10px;
    background: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
    font-size: .82rem;
}

.rail-more[b-f94sqawnl6] {
    margin-top: .75rem;
}

.rail-more > summary[b-f94sqawnl6] {
    width: fit-content;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.rail-more[open] > summary[b-f94sqawnl6] {
    margin-bottom: .6rem;
}

.rail-ingress[b-f94sqawnl6] {
    margin-bottom: .75rem;
    padding: .75rem;
    border-radius: 14px;
    background: var(--mist);
}

.rail-ingress .rail-label[b-f94sqawnl6] {
    margin-top: .5rem;
}

.rail-ingress-head[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-weight: 700;
}

.rail-logo[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
}

.rail-logo img[b-f94sqawnl6] {
    max-width: 7rem;
    max-height: 4rem;
    padding: .4rem;
    border-radius: 10px;
    background: #11151d;
    object-fit: contain;
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1199.98px) {
    .room-grid[b-f94sqawnl6] {
        grid-template-columns: minmax(0, 1fr);
    }

    .room-rail[b-f94sqawnl6] {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 640px) {
    .room-bar[b-f94sqawnl6] {
        flex-wrap: wrap;
        gap: .6rem .9rem;
    }

    .room-heading[b-f94sqawnl6] {
        flex: 1;
    }

    /* The tally takes its own row under the name: it is the thing to read at a glance. */
    .room-tally[b-f94sqawnl6] {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-inline-start: 0;
    }

    .room-link span[b-f94sqawnl6] {
        display: none;
    }

    .room-greenroom[b-f94sqawnl6] {
        min-height: 60vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .room-tally-lamp[b-f94sqawnl6] {
        animation: none !important;
    }

    .room-tally[b-f94sqawnl6],
    .room-join[b-f94sqawnl6],
    .room-go[b-f94sqawnl6],
    .studio-layout[b-f94sqawnl6],
    .stage-toggle[b-f94sqawnl6] {
        transition: none;
    }
}

/* ---------- Studio: header actions ---------- */
.room-go.renew[b-f94sqawnl6] {
    background: var(--sun);
    color: var(--ink);
}

.room-go.renew:hover[b-f94sqawnl6] {
    background: var(--sun-dark);
}

.room-gear[b-f94sqawnl6] {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.1rem;
    transition: background-color .15s ease, transform .3s ease;
}

.room-gear:hover[b-f94sqawnl6] {
    background: rgba(255, 255, 255, .22);
    transform: rotate(45deg);
}

.room-greenroom-studio[b-f94sqawnl6] {
    min-height: max(calc(100dvh - 9rem), 420px);
}

/* What to do first (nobody on stage, a pick that is backstage): guidance in the sun colour, not an error. */
.room-hint[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .75rem;
    padding: .6rem .6rem .6rem 1rem;
    border-radius: 14px;
    background: #fff6dc;
    border: 1px solid #f3d27a;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 700;
    animation: room-fade-b-f94sqawnl6 .2s ease;
}

.room-hint > i[b-f94sqawnl6] {
    color: #c98a00;
    font-size: 1.1rem;
}

.room-hint > span[b-f94sqawnl6] {
    flex: 1;
}

.room-hint-close[b-f94sqawnl6] {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
}

.room-hint-close:hover[b-f94sqawnl6] {
    background: rgba(0, 0, 0, .06);
}

/* ---------- Studio: the layout picker and the backstage buttons (drawn inside the dark call) ---------- */
/* A column beside the preview, so the preview keeps the height; a row under it on a phone. */
.studio-layouts[b-f94sqawnl6] {
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
}

@media (max-width: 640px) {
    .studio-layouts[b-f94sqawnl6] {
        flex-direction: row;
        overflow: auto hidden;
    }
}

.studio-layout[b-f94sqawnl6] {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .25rem .3rem;
    border: 0;
    border-radius: .6rem;
    background: transparent;
    color: #9aa3b5;
    font-size: .75rem;
    font-weight: 700;
    transition: background-color .15s ease, color .15s ease;
}

.studio-layout:hover:not(:disabled)[b-f94sqawnl6] {
    background: rgba(255, 255, 255, .06);
    color: #e8ebf2;
}

/* A miniature egress canvas: the boxes use the template's own rectangles. */
.studio-layout-art[b-f94sqawnl6] {
    position: relative;
    display: block;
    /* Five layouts fit the preview's height with no scrollbar. */
    width: 3.6rem;
    aspect-ratio: 16 / 9;
    border-radius: .35rem;
    background: #0b0d12;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.studio-layout-art > span[b-f94sqawnl6] {
    position: absolute;
    border-radius: 2px;
    background: #4a5270;
}

.studio-layout.active[b-f94sqawnl6] {
    color: #fff;
}

.studio-layout.active .studio-layout-art[b-f94sqawnl6] {
    box-shadow: 0 0 0 2px var(--sun);
}

.studio-layout.active .studio-layout-art > span[b-f94sqawnl6] {
    background: var(--sun);
}

.stage-toggle[b-f94sqawnl6] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-inline-end: auto;
    padding: .25rem .7rem;
    border: 0;
    border-radius: 999px;
    background: var(--sun);
    color: var(--ink);
    font-size: .75rem;
    font-weight: 900;
    white-space: nowrap;
    transition: background-color .15s ease;
}

.stage-toggle:hover:not(:disabled)[b-f94sqawnl6] {
    background: var(--sun-dark);
}

.stage-toggle.on[b-f94sqawnl6] {
    background: rgba(255, 255, 255, .1);
    color: #e8ebf2;
}

.stage-toggle.on:hover:not(:disabled)[b-f94sqawnl6] {
    background: rgba(255, 255, 255, .18);
}

.stage-toggle:disabled[b-f94sqawnl6] {
    opacity: .5;
}

/* ---------- Studio settings dialog ---------- */
.room-modal-backdrop[b-f94sqawnl6] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(17, 21, 29, .55);
    animation: room-fade-b-f94sqawnl6 .15s ease;
}

.room-modal[b-f94sqawnl6] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    width: min(46rem, calc(100vw - 2rem));
    height: min(36rem, calc(100dvh - 2rem));
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(17, 21, 29, .35);
    transform: translate(-50%, -50%);
    animation: room-rise-b-f94sqawnl6 .2s ease;
}

.room-modal:focus[b-f94sqawnl6] {
    outline: none;
}

.room-modal-head[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.room-modal-head h2[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.room-modal-head h2 i[b-f94sqawnl6] {
    color: var(--primary);
}

.room-modal-close[b-f94sqawnl6] {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: var(--mist);
    color: var(--text);
}

.room-modal-close:hover[b-f94sqawnl6] {
    background: var(--line);
}

.room-modal-body[b-f94sqawnl6] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
}

.room-tabs[b-f94sqawnl6] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .9rem .6rem;
    border-inline-end: 1px solid var(--line);
    background: var(--mist);
    border-end-start-radius: 24px;
}

.room-tab[b-f94sqawnl6] {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .8rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font-size: .9rem;
    font-weight: 700;
    text-align: start;
}

.room-tab i[b-f94sqawnl6] {
    color: var(--muted);
}

.room-tab:hover:not(.active)[b-f94sqawnl6] {
    background: rgba(73, 83, 164, .08);
}

.room-tab.active[b-f94sqawnl6] {
    background: var(--primary);
    color: #fff;
}

.room-tab.active i[b-f94sqawnl6] {
    color: var(--sun);
}

.room-tabpanel[b-f94sqawnl6] {
    padding: 1.1rem 1.35rem 1.35rem;
    overflow-y: auto;
}

@keyframes room-fade-b-f94sqawnl6 {
    from { opacity: 0; }
}

@keyframes room-rise-b-f94sqawnl6 {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
}

@media (max-width: 640px) {
    .room-go span[b-f94sqawnl6] {
        display: none;
    }

    .room-go[b-f94sqawnl6] {
        padding: .55rem .8rem;
    }

    .room-modal[b-f94sqawnl6] {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 85dvh;
        border-radius: 24px 24px 0 0;
        transform: translateX(-50%);
        animation: none;
    }

    .room-modal-body[b-f94sqawnl6] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }

    .room-tabs[b-f94sqawnl6] {
        flex-direction: row;
        overflow-x: auto;
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .room-tab[b-f94sqawnl6] {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .room-gear[b-f94sqawnl6],
    .room-hint[b-f94sqawnl6],
    .room-modal[b-f94sqawnl6],
    .room-modal-backdrop[b-f94sqawnl6] {
        transition: none;
        animation: none;
    }
}
/* /Components/Pages/Studio/StudioCall.razor.rz.scp.css */
/* Always dark, whatever the app theme: the call is a stage, not a page. */
.meet[b-rs1t3lghhs] {
    --meet-bg: #11151d;
    --meet-tile: #1c2230;
    --meet-control: #2b3242;
    --meet-control-hover: #39415a;
    --meet-text: #e8ebf2;
    --meet-muted: #9aa3b5;
    --meet-off: #e5484d;
    --meet-speaking: #7cc4ff;

    position: relative;
    display: flex;
    flex-direction: column;
    height: max(72vh, 420px);
    padding: .75rem .75rem 0;
    background: var(--meet-bg);
    color: var(--meet-text);
    border-radius: 1rem;
    overflow: hidden;
}

/* Covers the whole window, the admin layout included, so the meeting host sees what guests see. */
.meet-full[b-rs1t3lghhs] {
    position: fixed;
    inset: 0;
    z-index: 1045;
    height: 100dvh;
    border-radius: 0;
}

.meet-muted[b-rs1t3lghhs] {
    color: var(--meet-muted);
}

.meet-center[b-rs1t3lghhs] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--meet-muted);
}

.meet-toast[b-rs1t3lghhs] {
    position: absolute;
    top: .75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: min(560px, calc(100% - 2rem));
    padding: .6rem .6rem .6rem 1rem;
    border-radius: .75rem;
    background: #3a2a1a;
    color: #ffd8a8;
    font-size: .875rem;
}

/* The guest's "the host has disabled your mic / camera" line. */
.meet-notice[b-rs1t3lghhs] {
    align-self: center;
    margin-bottom: .5rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--meet-control);
    color: var(--meet-muted);
    font-size: .85rem;
}

/* Meet's "someone wants to join" card. Rendered by Room.razor, hence ::deep. */
.meet[b-rs1t3lghhs]  .meet-requests {
    position: absolute;
    top: .75rem;
    inset-inline-end: .75rem;
    z-index: 6;
    width: min(20rem, calc(100% - 1.5rem));
    max-height: 50%;
    overflow-y: auto;
    padding: .75rem;
    border-radius: .75rem;
    background: #252b3a;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
    font-size: .875rem;
}

.meet[b-rs1t3lghhs]  .meet-requests-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .4rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.meet[b-rs1t3lghhs]  .meet-requests-error {
    margin-bottom: .5rem;
    color: #ffb4a8;
}

.meet-toast-close[b-rs1t3lghhs] {
    border: 0;
    background: none;
    color: inherit;
}

/* --- tiles ------------------------------------------------------------- */

/* The stage (grid or share layout) and, when open, the chat panel beside it. */
.meet-body[b-rs1t3lghhs] {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: .75rem;
}

/* The grid plus its page arrows. */
.meet-stage[b-rs1t3lghhs] {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
}

.meet-page[b-rs1t3lghhs] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: var(--meet-control);
    color: var(--meet-text);
}

.meet-page:hover:not(:disabled)[b-rs1t3lghhs] {
    background: var(--meet-control-hover);
}

.meet-page:disabled[b-rs1t3lghhs] {
    opacity: .35;
}

.meet-page.prev[b-rs1t3lghhs] {
    inset-inline-start: .25rem;
}

.meet-page.next[b-rs1t3lghhs] {
    inset-inline-end: .25rem;
}

/* Top: the names sit at the bottom of the tiles. */
.meet-page-count[b-rs1t3lghhs] {
    position: absolute;
    top: .5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding: .1rem .6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: var(--meet-text);
    font-size: .8rem;
}

/* Like Meet: tiles keep their shape (the camera's 16:9) and are as large as the stage allows,
   centered with empty space around them, the last row centered too. */
.meet-grid[b-rs1t3lghhs] {
    --ratio: 1.7778;
    --gap: .6rem;
    --cols: var(--d-cols);
    --rows: var(--d-rows);

    flex: 1;
    min-width: 0;
    min-height: 0;
    container-type: size;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: var(--gap);
    padding: .5rem 0;
}

.meet-grid > .studio-tile[b-rs1t3lghhs] {
    width: min(
        (100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols),
        (100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows) * var(--ratio));
    aspect-ratio: var(--ratio);
}

.studio-tile[b-rs1t3lghhs] {
    position: relative;
    background: var(--meet-tile);
    border-radius: .9rem;
    overflow: hidden;
}

/* A ring above the video (an outline can end up under a composited <video>). */
.studio-tile[b-rs1t3lghhs]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 3px solid transparent;
    border-radius: inherit;
    pointer-events: none;
    transition: border-color .15s;
}

.studio-tile.on-air[b-rs1t3lghhs]::after {
    border-color: var(--meet-off);
}

.studio-tile.speaking[b-rs1t3lghhs]::after {
    border-color: var(--meet-speaking);
}

/* contain, never cover: same rule as the broadcast template, so the host sees what viewers see. */
.studio-tile video[b-rs1t3lghhs] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* A meeting has no broadcast to match, so fill people's tiles like Meet. A shared screen keeps contain. */
.meet-cover .meet-body .studio-tile:not(.screen) video[b-rs1t3lghhs] {
    object-fit: cover;
}

/* --- screen share: Meet's presentation layout -------------------------- */

.meet-share[b-rs1t3lghhs] {
    --gap: .6rem;

    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    gap: var(--gap);
    padding: .5rem 0;
}

.meet-share-main[b-rs1t3lghhs] {
    flex: 1;
    min-width: 0;
    display: flex;
}

.meet-share-main > .studio-tile[b-rs1t3lghhs] {
    flex: 1;
}

.meet-share-strip[b-rs1t3lghhs] {
    flex: 0 0 clamp(10rem, 20%, 15rem);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    overflow-y: auto;
}

.meet-share-strip > .studio-tile[b-rs1t3lghhs] {
    flex: none;
    aspect-ratio: 16 / 9;
}

.meet-share-strip .meet-avatar[b-rs1t3lghhs] {
    width: 3rem;
    font-size: 1.3rem;
}

.studio-tile video.mirror[b-rs1t3lghhs] {
    transform: scaleX(-1);
}

.studio-tile-placeholder[b-rs1t3lghhs] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--meet-tile);
}

.meet-avatar[b-rs1t3lghhs] {
    display: grid;
    place-items: center;
    width: clamp(3.5rem, 22%, 7rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: hsl(var(--hue) 45% 42%);
    color: #fff;
    font-size: clamp(1.5rem, 5vw, 2.75rem);
}

.studio-tile-label[b-rs1t3lghhs] {
    position: absolute;
    bottom: .6rem;
    inset-inline-start: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    max-width: calc(100% - 1.5rem);
    color: #fff;
    font-size: .85rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.meet-tile-muted[b-rs1t3lghhs] {
    position: absolute;
    top: .6rem;
    inset-inline-end: .6rem;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(17, 21, 29, .7);
    font-size: .8rem;
    z-index: 2;
}

/* The palm emoji, like Zoom and Teams: Bootstrap Icons has no open hand. */
.meet-hand[b-rs1t3lghhs] {
    line-height: 1;
}

.meet-tile-hand[b-rs1t3lghhs] {
    position: absolute;
    top: .6rem;
    inset-inline-start: .6rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(17, 21, 29, .7);
    font-size: 1.1rem;
    z-index: 2;
}

.meet-stage-tag[b-rs1t3lghhs] {
    padding: .1rem .5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: var(--meet-text);
    font-size: .72rem;
    text-shadow: none;
}

.meet-stage-tag.on[b-rs1t3lghhs] {
    background: var(--meet-off);
    color: #fff;
}

/* Host controls appear on hover / keyboard focus, like Meet's tile overlay. */
/* Bottom end: the top corners hold the muted and hand badges, the bottom start the name. No transform:
   it would trap the fixed-position menu inside the clipped tile. */
.studio-tile[b-rs1t3lghhs]  .studio-tile-actions {
    position: absolute;
    bottom: .45rem;
    inset-inline-end: .45rem;
    display: flex;
    border-radius: 999px;
    background: rgba(17, 21, 29, .65);
    z-index: 2;
    opacity: 0;
    transition: opacity .15s;
}

.studio-tile[b-rs1t3lghhs]  .studio-tile-actions:empty {
    display: none;
}

.studio-tile:hover[b-rs1t3lghhs]  .studio-tile-actions,
.studio-tile:focus-within[b-rs1t3lghhs]  .studio-tile-actions {
    opacity: 1;
}

/* No hover on touch screens: keep the menu button visible. */
@media (hover: none) {
    .studio-tile[b-rs1t3lghhs]  .studio-tile-actions {
        opacity: 1;
    }
}

[b-rs1t3lghhs] .studio-menu {
    --bs-dropdown-min-width: 14rem;
    --bs-dropdown-font-size: .875rem;
    z-index: 1080;
}

[b-rs1t3lghhs] .studio-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding-block: .5rem;
}

.studio-tile[b-rs1t3lghhs]  .tile-btn {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
}

.studio-tile[b-rs1t3lghhs]  .tile-btn:hover:not(:disabled),
.meet-people-row[b-rs1t3lghhs]  .tile-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, .15);
}

.studio-tile[b-rs1t3lghhs]  .tile-btn.active,
.meet-people-row[b-rs1t3lghhs]  .tile-btn.active {
    color: #ffd166;
}

.studio-tile[b-rs1t3lghhs]  .tile-btn.danger,
.meet-people-row[b-rs1t3lghhs]  .tile-btn.danger {
    color: #ff8a8d;
}

/* --- lobby ------------------------------------------------------------- */

.meet-lobby[b-rs1t3lghhs] {
    flex: 1;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem;
    flex-wrap: wrap;
}

.meet-lobby-preview[b-rs1t3lghhs] {
    width: min(640px, 100%);
    aspect-ratio: 16 / 9;
}

.meet-lobby-preview video[b-rs1t3lghhs] {
    object-fit: cover;
}

.meet-lobby-text[b-rs1t3lghhs] {
    text-align: center;
    max-width: 20rem;
}

/* --- control bar ------------------------------------------------------- */

.meet-bar[b-rs1t3lghhs] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: .9rem .25rem;
}

.meet-bar-start[b-rs1t3lghhs],
.meet-bar-end[b-rs1t3lghhs] {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
}

.meet-bar-end[b-rs1t3lghhs] {
    justify-content: flex-end;
}

.meet-title[b-rs1t3lghhs] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meeting length, like the clock at the start of Meet's bar. The title follows after a hairline. */
.meet-clock[b-rs1t3lghhs] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: none;
    color: var(--meet-text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.meet-clock i[b-rs1t3lghhs] {
    color: var(--meet-muted);
}

.meet-clock + .meet-title[b-rs1t3lghhs] {
    padding-inline-start: .6rem;
    border-inline-start: 1px solid rgba(255, 255, 255, .18);
}

.meet-bar-center[b-rs1t3lghhs] {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.meet-btn[b-rs1t3lghhs],
.meet-split-more[b-rs1t3lghhs],
.meet-icon[b-rs1t3lghhs],
.meet-leave[b-rs1t3lghhs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 0;
    color: var(--meet-text);
    transition: background-color .15s;
}

.meet-btn[b-rs1t3lghhs] {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    background: var(--meet-control);
    font-size: 1.15rem;
}

.meet-btn:hover:not(:disabled)[b-rs1t3lghhs] {
    background: var(--meet-control-hover);
}

/* Locked by the meeting host. */
.meet-btn:disabled[b-rs1t3lghhs] {
    opacity: .45;
    cursor: not-allowed;
}

/* Presenting: Meet's blue toggle. */
.meet-btn.on[b-rs1t3lghhs],
.meet-btn.on:hover[b-rs1t3lghhs] {
    background: var(--meet-speaking);
    color: var(--meet-bg);
}

.meet-btn-warn[b-rs1t3lghhs] {
    background: #f59f00;
    color: #1a1300;
}

/* Meet's split button: a slim device chevron joined to the round toggle. */
.meet-split[b-rs1t3lghhs] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    padding-inline-start: .15rem;
    border-radius: 999px;
    background: #222838;
}

.meet-split-more[b-rs1t3lghhs] {
    width: 1.7rem;
    height: 2.9rem;
    background: none;
    color: var(--meet-muted);
    font-size: .75rem;
}

.meet-split-more:hover[b-rs1t3lghhs],
.meet-split-more[aria-expanded="true"][b-rs1t3lghhs] {
    color: var(--meet-text);
}

.meet-split.off .meet-btn[b-rs1t3lghhs] {
    background: var(--meet-off);
    color: #fff;
}

.meet-split.off .meet-btn:hover:not(:disabled)[b-rs1t3lghhs] {
    background: #f06368;
}

.meet-leave[b-rs1t3lghhs] {
    height: 2.9rem;
    min-width: 4.25rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--meet-off);
    color: #fff;
    font-size: 1.15rem;
}

.meet-lobby-text .meet-leave[b-rs1t3lghhs] {
    font-size: .95rem;
}

.meet-leave:hover[b-rs1t3lghhs] {
    background: #f06368;
}

.meet-icon[b-rs1t3lghhs] {
    height: 2.6rem;
    min-width: 2.6rem;
    padding: 0 .6rem;
    border-radius: 999px;
    background: none;
    font-size: 1.15rem;
}

button.meet-icon:hover[b-rs1t3lghhs] {
    background: var(--meet-control);
}

.meet-count[b-rs1t3lghhs] {
    font-size: .95rem;
}

.meet-chat-btn[b-rs1t3lghhs] {
    position: relative;
}

.meet-narrow[b-rs1t3lghhs] {
    display: none;
}

/* Above the bar's end, where its button sits. */
.meet-host-panel[b-rs1t3lghhs],
.meet-sheet[b-rs1t3lghhs] {
    position: absolute;
    bottom: 5rem;
    inset-inline-end: .75rem;
    z-index: 10;
    width: min(20rem, 90vw);
    padding: 1rem;
    border-radius: .75rem;
    background: #252b3a;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
    font-size: .875rem;
}

button.meet-chat-btn[aria-pressed="true"][b-rs1t3lghhs],
button.meet-count[aria-pressed="true"][b-rs1t3lghhs] {
    background: var(--meet-control);
}

.meet-badge[b-rs1t3lghhs] {
    position: absolute;
    top: .1rem;
    inset-inline-end: .1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 .25rem;
    border-radius: 999px;
    background: var(--meet-speaking);
    color: var(--meet-bg);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.1rem;
}

/* --- chat ---------------------------------------------------------------- */

.meet-chat[b-rs1t3lghhs] {
    flex: 0 0 20rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: .5rem 0;
    border-radius: .9rem;
    background: var(--meet-tile);
}

.meet-chat-head[b-rs1t3lghhs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .5rem 0 .5rem;
    padding-inline-start: 1rem;
    font-weight: 500;
}

.meet-chat-note[b-rs1t3lghhs] {
    margin: .25rem 1rem .5rem;
    color: var(--meet-muted);
    font-size: .75rem;
}

.meet-chat-scroll[b-rs1t3lghhs] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
    overflow-y: auto;
    padding: 0 1rem;
}

.meet-chat-msg[b-rs1t3lghhs] {
    margin-bottom: .75rem;
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.meet-chat-text[b-rs1t3lghhs] {
    white-space: pre-wrap;
}

.meet-chat-meta[b-rs1t3lghhs] {
    color: var(--meet-muted);
    font-size: .75rem;
}

.meet-chat-name[b-rs1t3lghhs] {
    color: var(--meet-text);
    font-weight: 500;
}

.meet-chat-delete[b-rs1t3lghhs] {
    margin-inline-start: .25rem;
    padding: 0 .2rem;
    border: 0;
    background: none;
    color: var(--meet-muted);
}

.meet-chat-delete:hover[b-rs1t3lghhs] {
    color: var(--meet-off);
}

/* The people panel shares the chat panel's box. */
.meet-people[b-rs1t3lghhs] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: .5rem;
}

.meet-people-row[b-rs1t3lghhs] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .5rem;
    border-radius: .5rem;
    font-size: .875rem;
}

.meet-people-row .meet-avatar[b-rs1t3lghhs] {
    flex: none;
    width: 2.25rem;
    font-size: 1rem;
}

.meet-people-name[b-rs1t3lghhs] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.meet-people-tags[b-rs1t3lghhs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    color: var(--meet-muted);
    font-size: .75rem;
}

.meet-people-actions[b-rs1t3lghhs] {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 9rem;
}

/* Smaller than on a tile: a row can hold five of them. */
.meet-people-row[b-rs1t3lghhs]  .tile-btn {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
}

.meet-chat-form[b-rs1t3lghhs] {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: .5rem;
    padding-inline-start: .9rem;
    border-radius: 999px;
    background: var(--meet-control);
}

.meet-chat-input[b-rs1t3lghhs] {
    flex: 1;
    min-width: 0;
    padding: .55rem 0;
    border: 0;
    background: none;
    color: var(--meet-text);
    font-size: .875rem;
}

.meet-chat-input:disabled[b-rs1t3lghhs] {
    opacity: .5;
    cursor: not-allowed;
}

.meet-chat-input:focus[b-rs1t3lghhs] {
    outline: none;
}

.meet-chat-form:focus-within[b-rs1t3lghhs] {
    outline: 2px solid var(--meet-speaking);
}

/* The icon points right; in RTL the message goes left. */
[dir="rtl"] .meet-chat-form .bi-send-fill[b-rs1t3lghhs] {
    display: inline-block;
    transform: scaleX(-1);
}

.meet[b-rs1t3lghhs]  button:focus-visible {
    outline: 2px solid var(--meet-speaking);
    outline-offset: 2px;
}

/* --- reactions --------------------------------------------------------- */

.meet-react[b-rs1t3lghhs] {
    position: relative;
}

.meet-react-picker[b-rs1t3lghhs] {
    position: absolute;
    bottom: calc(100% + .6rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .15rem;
    padding: .3rem;
    border-radius: 999px;
    background: #252b3a;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}

.meet-react-row[b-rs1t3lghhs] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .15rem;
    padding: .25rem 0 .4rem;
}

.meet-react-btn[b-rs1t3lghhs] {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform .1s, background-color .15s;
}

.meet-react-btn:hover[b-rs1t3lghhs] {
    background: rgba(255, 255, 255, .1);
    transform: scale(1.15);
}

/* Reactions rise from the bottom center of the stage (the start corner on a phone). Clicks pass through.
   A size container, so a reaction can rise the box's full height (cqh). */
.meet-reactions[b-rs1t3lghhs] {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    width: 9rem;
    height: 60%;
    container-type: size;
    pointer-events: none;
}

/* Added by studio.js, so it carries no scope attribute: ::deep. */
.meet-reactions[b-rs1t3lghhs]  .meet-reaction {
    position: absolute;
    bottom: 0;
    inset-inline-start: var(--x);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    animation: meet-rise-b-rs1t3lghhs 2.4s ease-out forwards;
}

.meet-reactions[b-rs1t3lghhs]  .meet-reaction span:first-child {
    font-size: 2rem;
    line-height: 1;
}

.meet-reactions[b-rs1t3lghhs]  .meet-reaction span:last-child {
    max-width: 6rem;
    padding: 0 .4rem;
    border-radius: 999px;
    background: rgba(17, 21, 29, .75);
    font-size: .7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes meet-rise-b-rs1t3lghhs {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    10% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100cqh);
    }
}

/* --- device menu ------------------------------------------------------- */

.meet-backdrop[b-rs1t3lghhs] {
    position: fixed;
    inset: 0;
    z-index: 9;
}

.meet-menu[b-rs1t3lghhs] {
    position: absolute;
    bottom: calc(100% + .6rem);
    inset-inline-start: 0;
    z-index: 10;
    min-width: 16rem;
    max-width: min(22rem, 90vw);
    padding: .4rem;
    border-radius: .75rem;
    background: #252b3a;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}

.meet-menu-item[b-rs1t3lghhs] {
    display: flex;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .55rem .7rem;
    border: 0;
    border-radius: .5rem;
    background: none;
    color: var(--meet-text);
    font-size: .875rem;
    text-align: start;
}

.meet-menu-item span[b-rs1t3lghhs] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meet-menu-item i[b-rs1t3lghhs] {
    visibility: hidden;
    color: var(--meet-speaking);
}

.meet-menu-item.active i[b-rs1t3lghhs] {
    visibility: visible;
}

/* The More sheet: same rows, but its icons are labels, not a check mark. */
.meet-sheet[b-rs1t3lghhs] {
    padding: .4rem;
}

.meet-sheet .meet-menu-item i[b-rs1t3lghhs] {
    visibility: visible;
    color: inherit;
}

.meet-menu-item:hover[b-rs1t3lghhs] {
    background: rgba(255, 255, 255, .07);
}

.meet-menu-empty[b-rs1t3lghhs] {
    padding: .6rem .7rem;
    color: var(--meet-muted);
    font-size: .875rem;
}

@media (max-width: 640px) {
    .meet[b-rs1t3lghhs] {
        padding: .5rem .5rem 0;
    }

    /* Only the ⋮ button lives here now: keep it small on a phone tile. */
    .studio-tile[b-rs1t3lghhs]  .studio-tile-actions {
        bottom: .3rem;
        inset-inline-end: .3rem;
    }

    .studio-tile[b-rs1t3lghhs]  .tile-btn {
        width: 1.75rem;
        height: 1.75rem;
        font-size: .9rem;
    }

    /* A phone is portrait, so are its tiles. */
    .meet-grid[b-rs1t3lghhs] {
        --ratio: .75;
        --gap: .4rem;
        --cols: var(--m-cols);
        --rows: var(--m-rows);
    }

    .meet-bar[b-rs1t3lghhs] {
        position: relative;
        display: flex;
        justify-content: center;
        gap: .5rem;
    }

    .meet-wide[b-rs1t3lghhs] {
        display: none;
    }

    /* No room in the bar at 360 px: only the clock stays, as a small pill floating just above it. */
    .meet-bar-start[b-rs1t3lghhs] {
        position: absolute;
        bottom: calc(100% - .2rem);
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .meet-bar-start > :not(.meet-clock)[b-rs1t3lghhs] {
        display: none;
    }

    .meet-clock[b-rs1t3lghhs] {
        padding: .05rem .6rem;
        border-radius: 999px;
        background: rgba(17, 21, 29, .72);
        font-size: .78rem;
    }

    .meet-narrow[b-rs1t3lghhs] {
        display: inline-flex;
    }

    /* Like Meet on a phone: tiles fill the stage instead of keeping the camera's shape (video crops). */
    .meet-grid > .studio-tile[b-rs1t3lghhs] {
        width: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
        height: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows));
        aspect-ratio: auto;
    }

    .studio-tile-label[b-rs1t3lghhs] {
        bottom: .4rem;
        inset-inline-start: .5rem;
        max-width: calc(100% - 1rem);
        font-size: .75rem;
    }

    .meet-page[b-rs1t3lghhs] {
        width: 2rem;
        height: 2rem;
        background: rgba(17, 21, 29, .7);
    }

    /* Popovers become bottom sheets: anchored to a button they would run off a 360 px screen. */
    .meet-menu[b-rs1t3lghhs],
    .meet-host-panel[b-rs1t3lghhs],
    .meet-sheet[b-rs1t3lghhs] {
        position: fixed;
        left: .5rem;
        right: .5rem;
        bottom: 4.5rem;
        width: auto;
        min-width: 0;
        max-width: none;
        max-height: 60dvh;
        overflow-y: auto;
    }

    .meet-lobby[b-rs1t3lghhs] {
        gap: 1.5rem;
    }

    /* A phone camera is portrait. */
    .meet-lobby-preview[b-rs1t3lghhs] {
        width: min(100%, 15rem);
        aspect-ratio: 3 / 4;
    }

    /* The people go below the shared screen, in a row. */
    .meet-share[b-rs1t3lghhs] {
        --gap: .4rem;

        flex-direction: column;
    }

    .meet-share-strip[b-rs1t3lghhs] {
        flex: 0 0 auto;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .meet-share-strip > .studio-tile[b-rs1t3lghhs] {
        height: 7rem;
        aspect-ratio: .75;
    }

    /* A full-width sheet over the stage; the bar stays reachable below it. */
    .meet-chat[b-rs1t3lghhs] {
        position: absolute;
        inset: .5rem .5rem 4.5rem;
        z-index: 6;
        margin: 0;
    }

    /* Under 16px, iOS Safari zooms in on focus and the page scrolls sideways. */
    .meet-chat-input[b-rs1t3lghhs] {
        font-size: 1rem;
    }

    /* Everything has to fit in one row at 360px; the tiles already show who is here, so the count goes. */
    .meet-bar-center[b-rs1t3lghhs] {
        gap: .35rem;
    }

    .meet-btn[b-rs1t3lghhs] {
        width: 2.6rem;
        height: 2.6rem;
    }

    .meet-split-more[b-rs1t3lghhs] {
        width: 1.5rem;
        height: 2.6rem;
    }

    .meet-leave[b-rs1t3lghhs] {
        height: 2.6rem;
        min-width: 3.5rem;
        padding: 0 .8rem;
    }

    .meet-icon[b-rs1t3lghhs] {
        min-width: 2.4rem;
        height: 2.4rem;
        padding: 0 .4rem;
    }

    .meet-count[b-rs1t3lghhs] {
        display: none;
    }

    .meet-reactions[b-rs1t3lghhs] {
        bottom: 4.5rem;
        left: auto;
        inset-inline-start: .5rem;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .meet *[b-rs1t3lghhs] {
        transition: none !important;
    }

    /* Fade in place, no rise. */
    .meet-reactions[b-rs1t3lghhs]  .meet-reaction {
        animation-name: meet-fade-b-rs1t3lghhs;
    }
}

@keyframes meet-fade-b-rs1t3lghhs {
    0%, 100% {
        opacity: 0;
    }

    10%, 75% {
        opacity: 1;
    }
}

/* --- studio desk: the broadcast preview, the host's tools, then everyone in the room ---------------- */

/* The host console gives the studio most of the window; the guest page is already full screen. */
.meet-studio:not(.meet-full)[b-rs1t3lghhs] {
    height: max(calc(100dvh - 7.5rem), 560px);
}

.studio-desk[b-rs1t3lghhs] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .25rem 0 .5rem;
}

/* The preview with the layout column beside it: the column costs width, which a 16:9 box on a wide
   screen has to spare, instead of height, which it does not. */
.studio-desk-main[b-rs1t3lghhs] {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: .75rem;
}

.studio-program-wrap[b-rs1t3lghhs] {
    flex: 1;
    min-width: 0;
    min-height: 9rem;
    container-type: size;
    display: grid;
    place-items: center;
}

/* The egress canvas (1280 x 720), scaled: --u is one canvas pixel, so tile and name sizes match the template. */
.studio-program[b-rs1t3lghhs] {
    --u: calc(100cqw / 1280);

    position: relative;
    width: min(100cqw, 100cqh * 16 / 9);
    aspect-ratio: 16 / 9;
    container-type: inline-size;
    overflow: hidden;
    border-radius: .6rem;
    background: #0b0d12;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
    transition: box-shadow .3s ease;
}

.studio-program.live[b-rs1t3lghhs] {
    box-shadow: 0 0 0 3px var(--meet-off), 0 0 28px rgba(229, 72, 77, .35);
}

.program-tile[b-rs1t3lghhs] {
    position: absolute;
    overflow: hidden;
    border-radius: calc(var(--u) * 8);
    background: #000;
    transition: left .3s, top .3s, width .3s, height .3s;
}

.program-tile video[b-rs1t3lghhs] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Same as .tile.fill in the template: pip corner cameras fill their box. */
.program-tile.fill video[b-rs1t3lghhs] {
    object-fit: cover;
}

.program-novideo[b-rs1t3lghhs] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .22);
    font-size: max(1rem, calc(var(--u) * 64));
}

.program-name[b-rs1t3lghhs] {
    position: absolute;
    left: calc(var(--u) * 12);
    bottom: calc(var(--u) * 12);
    max-width: calc(100% - var(--u) * 24);
    padding: calc(var(--u) * 4) calc(var(--u) * 12);
    border-radius: calc(var(--u) * 4);
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: max(.6rem, calc(var(--u) * 20));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-logo[b-rs1t3lghhs] {
    position: absolute;
    top: 2.6%;
    left: 2.6%;
    width: 13%;
    opacity: .9;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

/* Console only (never in the broadcast): whether this box is a preview or the live picture. */
.program-badge[b-rs1t3lghhs] {
    position: absolute;
    top: .6rem;
    right: .6rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: rgba(17, 21, 29, .72);
    color: var(--meet-muted);
    font-size: .75rem;
    font-weight: 700;
    pointer-events: none;
}

.program-badge.live[b-rs1t3lghhs] {
    background: var(--meet-off);
    color: #fff;
}

.program-badge.live[b-rs1t3lghhs]::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #fff;
    animation: program-blink-b-rs1t3lghhs 1.4s ease-in-out infinite;
}

@keyframes program-blink-b-rs1t3lghhs {
    50% { opacity: .3; }
}

.program-empty[b-rs1t3lghhs] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: 1rem;
    color: var(--meet-muted);
    text-align: center;
}

.program-empty i[b-rs1t3lghhs] {
    font-size: 2.2rem;
    opacity: .5;
}

.program-empty span[b-rs1t3lghhs] {
    color: var(--meet-text);
    font-weight: 700;
}

.studio-desk-hint[b-rs1t3lghhs] {
    margin: 0;
    font-size: .8rem;
    color: var(--meet-muted);
    text-align: center;
}

/* Everyone in the room, like StreamYard's backstage: a card per person, the host's buttons under the picture. */
.studio-backstage[b-rs1t3lghhs] {
    flex: none;
    display: flex;
    gap: .6rem;
    padding-bottom: .25rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.studio-card[b-rs1t3lghhs] {
    flex: none;
    width: 11.5rem;
    display: flex;
    flex-direction: column;
    border-radius: .75rem;
    background: var(--meet-tile);
}

.studio-card > .studio-tile[b-rs1t3lghhs] {
    aspect-ratio: 16 / 9;
    border-radius: .75rem .75rem 0 0;
}

.studio-card .meet-avatar[b-rs1t3lghhs] {
    width: 2.6rem;
    font-size: 1.1rem;
}

.studio-card .meet-tile-muted[b-rs1t3lghhs],
.studio-card .meet-tile-hand[b-rs1t3lghhs] {
    top: .35rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: .75rem;
}

.studio-card .meet-tile-muted[b-rs1t3lghhs] {
    inset-inline-end: .35rem;
}

.studio-card .meet-tile-hand[b-rs1t3lghhs] {
    inset-inline-start: .35rem;
}

.studio-card-tag[b-rs1t3lghhs] {
    position: absolute;
    bottom: .35rem;
    inset-inline-start: .35rem;
    z-index: 2;
    padding: .05rem .5rem;
    border-radius: 999px;
    background: rgba(17, 21, 29, .72);
    color: var(--meet-muted);
    font-size: .7rem;
    font-weight: 700;
}

.studio-card.on-stage .studio-card-tag[b-rs1t3lghhs] {
    background: var(--meet-off);
    color: #fff;
}

.studio-card-foot[b-rs1t3lghhs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    padding: .4rem .5rem .5rem;
    min-height: 2.6rem;
}

.studio-card-name[b-rs1t3lghhs] {
    flex: 1 1 100%;
    min-width: 0;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-card-foot[b-rs1t3lghhs]  .tile-btn {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--meet-text);
}

.studio-card-foot[b-rs1t3lghhs]  .tile-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, .12);
}

.studio-card-foot[b-rs1t3lghhs]  .tile-btn.active {
    color: #ffd166;
}

/* Backstage: the pick needs the person on stage first; clicking explains that. */
.studio-card-foot[b-rs1t3lghhs]  .tile-btn.dim {
    opacity: .4;
}

.program-tile.screen[b-rs1t3lghhs] {
    background: #000;
}

@media (max-width: 640px) {
    .meet-studio:not(.meet-full)[b-rs1t3lghhs] {
        height: max(calc(100dvh - 9rem), 520px);
    }

    .studio-card[b-rs1t3lghhs] {
        width: 9rem;
    }

    .studio-desk-main[b-rs1t3lghhs] {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .program-tile[b-rs1t3lghhs],
    .studio-program[b-rs1t3lghhs] {
        transition: none;
    }

    .program-badge.live[b-rs1t3lghhs]::before {
        animation: none;
    }
}
/* /Components/TopBarWallet.razor.rz.scp.css */
.topbar-wallet[b-e8ll7rspsv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #F5F6FC;
    color: #222748;
    font-size: .9rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s;
}

.topbar-wallet:hover[b-e8ll7rspsv] {
    background: #E9EBF8;
}

.topbar-wallet i[b-e8ll7rspsv] {
    font-size: 1.05rem;
}

.topbar-wallet-amount[b-e8ll7rspsv] {
    font-weight: 700;
}

.topbar-wallet-unit[b-e8ll7rspsv] {
    font-size: .8rem;
    opacity: .7;
}

.topbar-wallet.is-low[b-e8ll7rspsv] {
    background: #FFF3CD;
    color: #8A6100;
}

.topbar-wallet.is-empty[b-e8ll7rspsv] {
    background: #FBE3E4;
    color: #B42318;
}

@media (max-width: 767.98px) {
    .topbar-wallet[b-e8ll7rspsv] {
        padding: 6px 12px;
        font-size: .85rem;
    }
}
