.p101-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 36px;
    padding: 0;
    color: var(--color-content-base-primary, #fafafa);
    text-decoration: none;
}

.p101-logo__mark {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
}

.p101-logo__mark svg {
    display: block;
    width: 34px;
    height: 34px;
}

.p101-logo__mark-bg {
    fill: var(--theme-surface-elevated, #192859);
    stroke: var(--theme-border, rgba(103, 186, 244, 0.24));
    stroke-width: 1.5;
}

.p101-logo__accent {
    fill: var(--color-solid-brand-accent-default, #e2b657);
}

.p101-logo__face {
    fill: #f6f1e4;
}

.p101-logo__numeral {
    fill: var(--color-solid-brand-primary-default, #0075ff);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.p101-logo__word {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2em;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: -0.035em;
    line-height: 1;
    white-space: nowrap;
    color: var(--color-content-base-primary, #fafafa);
}

.p101-logo__plus {
    font-weight: 700;
}

.p101-logo__num {
    color: var(--theme-color-light-blue, #67baf4);
    font-weight: 780;
}

.variant-1_logoLink-4ujUm.p101-logo {
    position: relative;
}

header .p101-logo {
    height: 32px;
}

header .p101-logo__word {
    font-size: 26px;
}

@media (min-width: 1024px) {
    header .p101-logo {
        height: 36px;
    }

    header .p101-logo__word {
        font-size: 30px;
    }
}

.variant-1_compact-Qr2MW .p101-logo {
    width: auto;
    justify-content: center;
}

.variant-1_compact-Qr2MW .p101-logo__word {
    display: none;
}

[data-auth-guest-only][hidden],
[data-auth-player-only][hidden] {
    display: none !important;
}

.member-logout__icon {
    display: none;
    line-height: 0;
}

[data-header-guest]:not([hidden]),
[data-header-player]:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex: 0 0 auto;
}

@media (max-width: 1023.98px) {
    html,
    body,
    #root,
    .template-1_root-RiCeW {
        max-width: 100%;
        overflow-x: clip;
        overscroll-behavior-x: none;
    }

    header.variant-1_root-4ujUm {
        position: relative;
    }

    header.variant-1_root-4ujUm .segment-control_root-iPDmR {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    header.variant-1_root-4ujUm .variant-1_content-4ujUm {
        justify-content: space-between;
        gap: 8px;
    }

    header.variant-1_root-4ujUm .variant-1_trailing-4ujUm {
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        gap: 0;
    }

    header.variant-1_root-4ujUm .p101-logo {
        height: 26px;
        min-width: 0;
        gap: 6px;
    }

    header.variant-1_root-4ujUm .p101-logo__word {
        display: inline-flex;
        font-size: 17px;
    }

    header.variant-1_root-4ujUm .p101-logo__mark svg {
        width: 26px;
        height: 26px;
    }

    header.variant-1_root-4ujUm .variant-1_leading-4ujUm {
        position: absolute;
        inset-inline-end: 12px;
        inset-block-start: 50%;
        transform: translateY(-50%);
        flex: none;
        width: auto;
        max-width: calc(100% - 88px);
        margin: 0;
        min-width: 0;
        z-index: 2;
    }

    header.variant-1_root-4ujUm [data-header-guest]:not([hidden]),
    header.variant-1_root-4ujUm [data-header-player]:not([hidden]) {
        display: flex;
        flex: none;
        width: auto;
        max-width: 100%;
        margin: 0;
        min-width: 0;
    }

    header.variant-1_root-4ujUm [data-notifications-open] {
        flex: none;
    }

    header.variant-1_root-4ujUm [data-header-player] .header-balance-v2_sumContainer-rIJmX,
    header.variant-1_root-4ujUm .member-logout__label,
    header.variant-1_root-4ujUm .header-deposit-cta__label {
        display: none;
    }

    header.variant-1_root-4ujUm .member-logout {
        --button-width: 32px;
        --button-height: 32px;
        --button-padding: 0;
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        padding: 0;
    }

    header.variant-1_root-4ujUm .member-logout__icon {
        display: inline-flex;
    }

    header.variant-1_root-4ujUm [data-notifications-open].base_size-xl-ZOkD4 {
        --button-width: 32px;
        --button-height: 32px;
        --button-padding: 0;
    }

    header.variant-1_root-4ujUm .buttons_root-CmW73 {
        display: flex;
        flex-wrap: nowrap;
        width: auto;
        gap: 6px;
    }

    header.variant-1_root-4ujUm .buttons_root-CmW73 .base_root-ZOkD4,
    header.variant-1_root-4ujUm .buttons_root-CmW73 .base_view-ZOkD4 {
        width: auto !important;
        min-width: 0;
        flex: 0 0 auto;
    }

    header.variant-1_root-4ujUm .buttons_root-CmW73 .base_size-xl-ZOkD4 {
        --button-width: auto;
        --button-height: 32px;
        --button-padding: 10px;
        --button-radius: 10px;
    }

    header.variant-1_root-4ujUm .buttons_root-CmW73 .base_content-ZOkD4 {
        font-size: 13px;
        white-space: nowrap;
    }

    [data-notify-popup]:not(.is-hidden):not([hidden]) {
        z-index: 1180;
        inset-block-end: calc(var(--tabbar-layout-height, 60px) + var(--safe-area-inset-bottom, 0px));
    }

    [data-notify-popup] .variant-2_root-pBuwb {
        padding-inline: 14px;
        padding-block: 14px 12px;
    }

    [data-notify-popup] .variant-2_imageNeutral-pBuwb {
        display: none;
    }

    [data-notify-popup] .variant-2_close-pBuwb {
        inset-inline-end: 10px;
        inset-block-start: 10px;
    }
}


[data-element-id="tabbar"] .tab_maskedIcon-v32LC {
    width: 24px;
    height: 24px;
    background-color: var(--tabbar-new-color-icon-default, #9aa1b1);
}

[data-element-id="tabbar"] .tab_active-v32LC .tab_maskedIcon-v32LC {
    background-color: var(--tabbar-new-color-icon-selected, var(--color-solid-brand-accent-default));
}

[data-element-id="tabbar"],
[data-element-id="tabbar"] .tabbar_tabsWrapper-Jhxsu,
[data-element-id="tabbar"] .tabbar_tabs-Jhxsu,
[data-element-id="tabbar"] .tabbar_tab-Jhxsu {
    overflow: visible;
}

#tawk-bubble-container {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#support-chat {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.tabbar_tab-support {
    z-index: 2;
}

.tab-support {
    --tab-support-size: 68px;
    --tab-support-disc: 52px;
    overflow: visible;
    color: var(--tabbar-new-color-fg-default);
}

.tab-support:focus {
    outline: none;
}

.tab-support:focus-visible .tab-support__disc {
    outline: 2px solid var(--color-solid-brand-primary-default, #0075ff);
    outline-offset: 3px;
}

.tab-support::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    width: calc(var(--tab-support-size) - 2px);
    height: 2px;
    background: var(--tabbar-new-color-bg-default, #0b0a17);
    transform: translate(-50%, -1px);
    pointer-events: none;
}

.tab-support__socket {
    position: absolute;
    z-index: 2;
    top: calc(var(--tab-support-size) / -2);
    left: 50%;
    display: grid;
    width: var(--tab-support-size);
    height: var(--tab-support-size);
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--tabbar-new-color-bg-default, #0b0a17);
    transform: translateX(-50%);
}

.tab-support__socket::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid color-mix(in srgb, var(--theme-color-light-blue, #67baf4) 62%, var(--tabbar-new-color-border-layout, rgba(255, 255, 255, 0.12)));
    border-radius: 50%;
    clip-path: inset(0 0 48% 0);
    pointer-events: none;
}

.tab-support__disc {
    position: relative;
    z-index: 1;
    display: grid;
    width: var(--tab-support-disc);
    height: var(--tab-support-disc);
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--color-solid-brand-primary-default, #0075ff);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.34) inset,
        0 6px 14px rgba(0, 70, 170, 0.45),
        0 0 0 0 color-mix(in srgb, var(--color-solid-brand-primary-default, #0075ff) 55%, transparent);
    transform: scale(1);
    transition: transform 160ms ease, background-color 160ms ease;
    animation: tab-support-live 2.6s ease-out infinite;
}

.tab-support__disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--color-solid-brand-primary-default, #0075ff) 55%, #fff);
    opacity: 0;
    pointer-events: none;
    animation: tab-support-ring 2.6s ease-out infinite;
}

.tab-support:hover .tab-support__disc {
    background: var(--color-solid-brand-primary-hover, #1381ff);
    transform: scale(1.08);
}

.tab-support__disc svg {
    display: block;
    width: 26px;
    height: 26px;
}

@keyframes tab-support-live {
    0%, 100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.34) inset,
            0 6px 14px rgba(0, 70, 170, 0.45),
            0 0 0 0 color-mix(in srgb, var(--color-solid-brand-primary-default, #0075ff) 55%, transparent);
    }
    45% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.34) inset,
            0 8px 18px rgba(0, 70, 170, 0.35),
            0 0 22px 6px color-mix(in srgb, var(--color-solid-brand-primary-default, #0075ff) 48%, transparent);
    }
}

@keyframes tab-support-ring {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    70%, 100% {
        transform: scale(1.42);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tab-support__disc,
    .tab-support__disc::after {
        animation: none;
    }

    .tab-support__disc {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.34) inset,
            0 6px 14px rgba(0, 70, 170, 0.45),
            0 0 16px 3px color-mix(in srgb, var(--color-solid-brand-primary-default, #0075ff) 40%, transparent);
    }
}

[data-testid="tabbar-navigation-menu"] .tab_maskedIcon-v32LC {
    -webkit-mask-image: url("/imgs/burger.svg");
    mask-image: url("/imgs/burger.svg");
}

[data-testid="tabbar-navigation-home"] .tab_maskedIcon-v32LC {
    -webkit-mask-image: url("/imgs/home.svg");
    mask-image: url("/imgs/home.svg");
}

[data-testid="tabbar-navigation-casino"] .tab_maskedIcon-v32LC {
    -webkit-mask-image: url("/imgs/casino.svg");
    mask-image: url("/imgs/casino.svg");
}

[data-testid="tabbar-navigation-freemoney"] .tab_maskedIcon-v32LC {
    -webkit-mask-image: url("/imgs/store.svg");
    mask-image: url("/imgs/store.svg");
}

[data-testid="tabbar-navigation-betting"] .tab_maskedIcon-v32LC {
    -webkit-mask-image: url("/imgs/shield.svg");
    mask-image: url("/imgs/shield.svg");
}

[data-testid="sidebar-navigation-freemoney"] .menu-icon_maskedIcon-2Ndwa {
    -webkit-mask-image: url("/imgs/store.svg");
    mask-image: url("/imgs/store.svg");
}

.modal-layout_wrapper-C9j8A:empty {
    height: 0;
    pointer-events: none;
}

.p101-notifications {
    display: grid;
    gap: 8px;
}

.p101-notification {
    display: grid;
    padding: 12px;
    gap: 4px;
    border: 1px solid var(--color-border-base-alfa-static-white-8);
    border-radius: 10px;
    color: var(--color-content-base-primary);
    background: var(--brand-primary-dark-2);
    text-decoration: none;
}

.p101-notification.is-unread {
    border-color: var(--brand-primary-dark-9);
}

.p101-notification span,
.p101-notification small {
    color: var(--color-content-base-secondary);
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 1023.98px) {
    html:not(.is-mobile-sidebar-open) .variant-1_root-Qr2MW {
        --sidebar__desired-space: 0;
        --sidebar__offset: calc(var(--sidebar__sheet-width, 280px) * -1);
    }

    html:not(.is-mobile-sidebar-open) .common-layout_space-V7jCK {
        width: 0;
    }

    html:not(.is-mobile-sidebar-open) :is(.common-layout_sheet-V7jCK, .common-layout_sleave-V7jCK, .common-layout_content-V7jCK) {
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(-110%, 0, 0);
    }

    html[dir="rtl"]:not(.is-mobile-sidebar-open) :is(.common-layout_sheet-V7jCK, .common-layout_sleave-V7jCK, .common-layout_content-V7jCK) {
        transform: translate3d(110%, 0, 0);
    }
}

html.is-mobile-sidebar-open,
html.is-mobile-sidebar-open body {
    overflow: hidden;
}

html.is-mobile-sidebar-open .sidebar_root-NnJOQ,
html.is-mobile-sidebar-open .variant-1_root-Qr2MW {
    z-index: 1200;
    width: auto;
    height: auto;
    overflow: visible;
    position: fixed;
    inset: 0;
}

html.is-mobile-sidebar-open .variant-1_root-Qr2MW {
    --sidebar__offset: 0;
    --sidebar__sheet-desired-width: var(--sidebar-width-expanded, 280px);
    --sidebar__desired-space: 0;
}

html.is-mobile-sidebar-open .common-layout_backdrop-V7jCK {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    background: rgba(7, 12, 35, 0.68);
}

html.is-mobile-sidebar-open :is(.common-layout_sheet-V7jCK, .common-layout_sleave-V7jCK, .common-layout_content-V7jCK) {
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

html.is-mobile-sidebar-open .common-layout_sleave-V7jCK {
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(280px, 86vw);
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: visible;
    background: var(--sidebar-color-bg, #1a222d);
}

html.is-mobile-sidebar-open .common-layout_sheet-V7jCK {
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(280px, 86vw);
    height: 100%;
    background: var(--sidebar-color-bg, #1a222d);
}

html.is-mobile-sidebar-open [data-testid="sidebar-freemoney-banner"] {
    pointer-events: auto;
    z-index: 3;
    position: relative;
}

.cdp-popover-layout_root-wmM29.is-hidden,
.cdp-popover-layout_root-wmM29[hidden] {
    display: none !important;
}

/* Section "Tümü" / middle CTA — desktop only (1win.ng) */
@media (max-width: 1023.98px) {
    .games-section_middle-3Ztcg {
        display: none !important;
    }
}

/* Support row: keep only chat button(s) when sidebar is compact */
.support-button_root-KR2Gd.support-button_compact-KR2Gd .support-button_content-KR2Gd,
.support-button_root-KR2Gd.support-button_compact-KR2Gd .support-button_badge-KR2Gd {
    display: none !important;
}

.support-button_root-KR2Gd.support-button_compact-KR2Gd {
    width: auto;
    margin-inline: auto;
}

/* Phone/country flag — fill circular icon box like 1win.ng */
.icon-box_root-ejR1s:has(.flag_img-vPcYJ) {
    overflow: hidden;
    border-radius: 50%;
    flex: none;
    position: relative;
}

.icon-box_root-ejR1s .flag_img-vPcYJ,
.flag_img-vPcYJ.picture-v2_contain-uw4G6 {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.phone-input_buttonContent-n13qz .icon-box_root-ejR1s:has(.flag_img-vPcYJ) {
    width: 16px;
    height: 16px;
    padding: 0;
}

/* Social monochrome icons: avoid duplicate clipPath ids breaking telegram/whatsapp */
.base_theme-monochrome-yDArf .telegram_svg__monochrome,
.base_theme-monochrome-yDArf .whatsapp_svg__monochrome {
    display: inline !important;
}

.base_theme-monochrome-yDArf .telegram_svg__color,
.base_theme-monochrome-yDArf .whatsapp_svg__color {
    display: none !important;
}

.base_theme-monochrome-yDArf.base_default-yDArf {
    color: var(--button-social-color-icon, var(--color-content-base-primary));
}

.base_theme-monochrome-yDArf .telegram_svg__monochrome path[fill="currentColor"],
.base_theme-monochrome-yDArf .whatsapp_svg__monochrome path[fill="currentColor"] {
    fill: currentColor;
}

/* Compact sidebar: clip overflowing labels/banners (1win behavior) */
@media (min-width: 1024px) {
    /*
     * Expand toggle must hang half outside the sheet (1win).
     * overflow-y:auto on sleave would also clip X, so keep sleave/content
     * visible and scroll only the tall menu slot instead.
     */
    .variant-1_root-Qr2MW .common-layout_sheet-V7jCK,
    .variant-1_root-Qr2MW .common-layout_sleave-V7jCK,
    .variant-1_root-Qr2MW .common-layout_content-V7jCK {
        overflow: visible;
    }

    .variant-1_root-Qr2MW .common-layout_sleave-V7jCK {
        overflow-y: visible !important;
    }

    .variant-1_root-Qr2MW .common-layout_content-V7jCK {
        height: 100%;
        max-height: 100%;
        min-height: 0;
    }

    .variant-1_root-Qr2MW .sidebar-slot_root-0R3rK.sidebar-slot_fullHeight-0R3rK {
        overflow-x: hidden;
        overflow-y: auto;
        min-height: 0;
        flex: 1 1 auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .variant-1_root-Qr2MW .sidebar-slot_root-0R3rK.sidebar-slot_fullHeight-0R3rK::-webkit-scrollbar {
        display: none;
    }

    .variant-1_root-Qr2MW .sidebar-slot_root-0R3rK:has(.sidebar-expand-button_root-Gj4Wt) {
        overflow: visible;
        position: relative;
        z-index: 6;
    }

    .variant-1_root-Qr2MW .sidebar-expand-button_root-Gj4Wt {
        display: block;
        overflow: visible;
        position: relative;
        z-index: 6;
        height: var(--sidebar-button-expand-divider-size-height, 1px);
        background: var(--sidebar-button-expand-divider-color, var(--color-border-base-alfa-divider));
    }

    /* Half the circular control sits past the sheet edge (1win). */
    .variant-1_root-Qr2MW .sidebar-expand-button_toggle-Gj4Wt {
        position: absolute;
        inset-block-start: 50%;
        inset-inline-end: 0;
        z-index: 7;
        transform: translate(50%, -50%);
    }

    [dir="rtl"] .variant-1_root-Qr2MW .sidebar-expand-button_toggle-Gj4Wt {
        transform: translate(-50%, -50%);
    }

    .variant-1_root-Qr2MW .common-layout_sheet-V7jCK {
        overflow: visible !important;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .common-layout_sheet-V7jCK,
    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .common-layout_sleave-V7jCK,
    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .common-layout_content-V7jCK {
        width: var(--sidebar__sheet-width);
        transition:
            width var(--common-layout__animation-duration, 300ms) var(--common-layout__animation-easing, cubic-bezier(.4, 0, .2, 1)),
            border-radius var(--common-layout__animation-duration, 300ms) var(--common-layout__animation-easing, cubic-bezier(.4, 0, .2, 1));
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .view_root-MMenL.view_compact-MMenL {
        justify-content: center;
        width: 100%;
        padding: 0;
        background: transparent;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .view_compact-MMenL .view_content-MMenL {
        display: none;
    }

    /* Compact freemoney: match 1win.ng — 48px tile centered in 64px sheet */
    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW
        .sidebar-slot_root-0R3rK.sidebar-slot_paddingInline-0R3rK:has(.freemoney-sidebar-banner_root-RctBb) {
        display: flex;
        justify-content: center;
        align-items: stretch;
        padding-inline: var(--spacing-8) !important;
        --b386e4f8: var(--spacing-8);
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW
        .freemoney-sidebar-banner_root-RctBb.freemoney-sidebar-banner_compact-RctBb {
        --compact-width: 48px;
        box-sizing: border-box;
        width: var(--compact-width);
        max-width: var(--compact-width);
        min-width: var(--compact-width);
        height: 48px;
        margin-inline: auto;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        flex-shrink: 0;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW
        .freemoney-sidebar-banner_compact-RctBb
        .freemoney-sidebar-banner_text-RctBb {
        display: none;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW
        .freemoney-sidebar-banner_compact-RctBb
        .freemoney-sidebar-banner_foregroundCompact-RctBb {
        inset: 50% auto auto 0;
        inset-inline: 0;
        inset-block-start: 50%;
        width: 44px;
        max-width: 100%;
        height: 44px;
        margin-inline: auto;
        object-position: center;
        opacity: 1;
        transform: translateY(-50%);
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .banner-app_root-RquZr.banner-app_compact-RquZr {
        overflow: hidden;
        width: 48px;
        max-width: 48px;
        margin-inline: auto;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .banner-app_compact-RquZr .banner-app_content-RquZr,
    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .banner-app_compact-RquZr .banner-app_arrowIcon-RquZr {
        display: none;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .banner-app_compact-RquZr .banner-app_wrapper-RquZr {
        width: 48px;
        max-width: 48px;
        justify-content: center;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .sidebar-social-and-lang_compact-27UXT .buttons-list_root-dH0Tc {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .variant-1_root-Qr2MW.variant-1_compact-Qr2MW .sidebar-social-and-lang_compact-27UXT .sidebar-social-and-lang_langPicker-27UXT {
        width: 100%;
        display: flex;
        justify-content: center;
    }

}

/* Subscribe / notify popup — above sidebar, fixed corner, soft enter */
[data-notify-popup] {
    position: fixed !important;
    inset: auto auto 24px 24px !important;
    width: auto !important;
    max-width: min(360px, calc(100vw - 32px));
    z-index: calc(var(--z-index-header) + 20) !important;
    pointer-events: none;
}

[data-notify-popup] .cdp-popover-layout_wrapper-wmM29 {
    pointer-events: none;
    position: static !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
}

[data-notify-popup] .variant-2_root-pBuwb {
    pointer-events: auto;
    transform-origin: bottom left;
    animation: p101-notify-in 420ms cubic-bezier(.22, 1, .36, 1) both;
}

[data-notify-popup].is-leaving .variant-2_root-pBuwb {
    animation: p101-notify-out 220ms ease-in both;
}

@keyframes p101-notify-in {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0) scale(.92);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes p101-notify-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate3d(0, 8px, 0) scale(.94);
    }
}

@media (max-width: 1023.98px) {
    [data-notify-popup] {
        inset: auto 12px calc(var(--tabbar-layout-height-with-safe-area, 72px) + 12px) 12px !important;
        max-width: none;
    }

    [data-notify-popup] .variant-2_root-pBuwb {
        width: 100%;
        transform-origin: bottom center;
    }
}

.modal-layout_wrapper-C9j8A .colorScheme-light,
.country-modal .colorScheme-light,
.otp-modal .colorScheme-light {
    --neutral-light-14: #141744;
    --color-content-base-primary: #141744;
    --color-content-base-secondary: #3d4566;
    --color-content-base-tertiary: #5c6478;
    --color-content-base-inverted: #fff;
    --modal-color-bg: #fff;
    --notification-center-color-bg: #fff;
    --color-background-base-elevated: #fff;
    --color-background-base-primary: #fff;
    --color-background-base-secondary: #f7f8fc;
    --color-background-base-tertiary: #f4f6fb;
    --color-background-base-alt-primary: #fff;
    --color-border-base-alfa-divider: rgba(20, 23, 68, 0.12);
    --color-border-base-alfa-container: rgba(20, 23, 68, 0.12);
    --color-solid-brand-primary-default: #0075ff;
    --color-solid-brand-primary-hover: #1381ff;
    --color-solid-brand-accent-default: #0075ff;
    --button-color-accent-bg-default: #0075ff;
    --button-color-accent-bg-hover: #1381ff;
    --button-color-accent-fg-default: #fff;
    --button-color-primary-bg-default: #0075ff;
    --button-color-primary-bg-hover: #1381ff;
    --button-color-primary-fg-default: #fff;
    --color-content-base-on-accent: #fff;
    --color-content-base-on-primary: #fff;
    color: #141744;
}

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

@media (max-width: 1023.98px) {
    .modal-layout_wrapper-C9j8A.login-modal:not(.is-hidden),
    .modal-layout_wrapper-C9j8A.register-modal:not(.is-hidden),
    .modal-layout_wrapper-C9j8A.country-modal:not(.is-hidden),
    .modal-layout_wrapper-C9j8A.deposit-modal:not(.is-hidden) {
        top: var(--app-v-top, 0px);
        left: var(--app-v-left, 0px);
        right: auto;
        bottom: auto;
        width: var(--app-vw, 100%);
        height: var(--app-vh, 100dvh);
        max-width: 100%;
        max-height: var(--app-vh, 100dvh);
        overflow: hidden;
    }

    .modal-layout_wrapper-C9j8A .desktop-modal_root-CaHFb {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        overflow: hidden;
    }

    .modal-layout_wrapper-C9j8A .desktop-modal_card-CaHFb,
    .modal-layout_wrapper-C9j8A .desktop-modal_card-CaHFb.desktop-modal_size-small-CaHFb,
    .modal-layout_wrapper-C9j8A .desktop-modal_card-CaHFb.desktop-modal_size-large-CaHFb {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    .modal-layout_wrapper-C9j8A .desktop-modal_card-CaHFb.desktop-modal_detent-expanded-CaHFb {
        height: 100%;
        max-height: 100%;
    }

    .login-modal,
    .register-modal,
    .country-modal,
    .deposit-modal {
        --font-body-regular-font-size: 16px;
        --font-body-semibold-font-size: 16px;
        --font-body-regular-line-height: 22px;
    }

    .modal-layout_wrapper-C9j8A input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .modal-layout_wrapper-C9j8A textarea,
    .modal-layout_wrapper-C9j8A select,
    .modal-layout_wrapper-C9j8A .control_root-5SZBQ,
    .support-chat input,
    .support-chat textarea {
        font-size: 16px !important;
        line-height: 22px !important;
        touch-action: manipulation;
    }

    html.is-auth-modal-open,
    html.is-auth-modal-open body {
        overflow: hidden;
        overscroll-behavior: none;
    }
}

/* —— Shared modal zoom open/close —— */
.desktop-modal_holder-CaHFb {
    transform-origin: center center;
    will-change: opacity, transform;
}

.desktop-modal_holder-CaHFb:not(.desktop-modal_open-CaHFb) {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.92);
    transition-duration: 180ms;
    transition-timing-function: ease-in;
}

.desktop-modal_holder-CaHFb.desktop-modal_open-CaHFb {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition-duration: 280ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-modal_backdrop-CaHFb:not(.desktop-modal_open-CaHFb) {
    opacity: 0;
    transition-duration: 180ms;
}

.desktop-modal_backdrop-CaHFb.desktop-modal_open-CaHFb {
    opacity: 1;
    transition-duration: 240ms;
}

.modal-promo-desktop_card-SygNr {
    transform-origin: center center;
    will-change: opacity, transform;
    transition:
        opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-promo-desktop_card-SygNr:not(.modal-promo-desktop_open-SygNr) {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.92);
    transition-duration: 180ms;
    transition-timing-function: ease-in;
}

.modal-promo-desktop_card-SygNr.modal-promo-desktop_open-SygNr {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    animation: none;
}

.modal-promo-desktop_backdrop-SygNr {
    transition: opacity 240ms ease;
}

.modal-promo-desktop_backdrop-SygNr:not(.modal-promo-desktop_open-SygNr) {
    opacity: 0;
    transition-duration: 180ms;
}

.modal-promo-desktop_backdrop-SygNr.modal-promo-desktop_open-SygNr {
    opacity: 1;
}

/* Tournament card footer: keep timer label readable (1win layout) */
.tournament-card_card-BhLDd .tournament-card-bottom_root-T88G3 {
    outline: none;
    border: 1px solid var(--color-border-base-alfa-divider);
    box-sizing: border-box;
    padding: var(--spacing-8) var(--spacing-12);
}

.tournament-card_card-BhLDd .tournament-card-bottom_timer-T88G3 {
    gap: var(--spacing-4);
}

.tournament-card_card-BhLDd .tournament-card-bottom_timerLabel-T88G3 {
    line-height: 1.25;
    overflow: visible;
}

.p101-auth-stage {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(7, 12, 35, 0.68);
    opacity: 0;
    transition: opacity 240ms ease;
}

.p101-auth-stage.is-open {
    opacity: 1;
}

.p101-auth-stage.is-leaving {
    opacity: 0;
    transition-duration: 180ms;
}

.p101-auth-stage__card {
    width: min(420px, 100%);
    background: #16181d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    color: #f3f4f6;
    font-family: inherit;
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.92);
    transform-origin: center center;
    transition:
        opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.p101-auth-stage.is-open .p101-auth-stage__card {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.p101-auth-stage.is-leaving .p101-auth-stage__card {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.94);
    transition-duration: 180ms;
}

.header-deposit-cta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-inline: 12px 10px;
}

.header-deposit-cta__content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-deposit-cta__label {
    color: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
}

[data-header-balance].is-balance-flash {
    animation: p101-balance-flash 1.1s ease;
}

@keyframes p101-balance-flash {
    0% { color: inherit; }
    25% { color: #70e39a; text-shadow: 0 0 12px rgba(0, 178, 75, 0.45); }
    100% { color: inherit; text-shadow: none; }
}

.deposit-receipt {
    display: grid;
    gap: 10px;
    margin: 14px 0 8px;
}

.deposit-receipt__drop {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 14px 16px;
    border: 1px dashed rgba(0, 117, 255, 0.45);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(0, 117, 255, 0.12), rgba(16, 16, 45, 0.55));
    color: var(--color-content-base-primary, #f0f2f5);
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.deposit-receipt__drop:hover,
.deposit-receipt__drop.is-drag {
    border-color: rgba(0, 117, 255, 0.75);
    background: linear-gradient(145deg, rgba(0, 117, 255, 0.2), rgba(16, 16, 45, 0.7));
    box-shadow: 0 0 0 3px rgba(0, 117, 255, 0.16);
}

.deposit-receipt.is-ready .deposit-receipt__drop {
    border-style: solid;
    border-color: rgba(0, 178, 75, 0.55);
    background: linear-gradient(145deg, rgba(0, 178, 75, 0.16), rgba(16, 16, 45, 0.65));
}

.deposit-receipt__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.deposit-receipt__art {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 117, 255, 0.22);
    color: #7eb6ff;
}

.deposit-receipt.is-ready .deposit-receipt__art {
    background: rgba(0, 178, 75, 0.22);
    color: #70e39a;
}

.deposit-receipt__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.deposit-receipt__copy strong {
    font-size: 14px;
    font-weight: 650;
}

.deposit-receipt__copy small {
    color: rgba(198, 202, 218, 0.82);
    font-size: 12px;
}

.deposit-receipt__chip {
    grid-column: 1 / -1;
    display: inline-flex;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11, 10, 23, 0.55);
    color: #c6cada;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deposit-receipt__chip[hidden],
.deposit-receipt__thumb[hidden],
.deposit-receipt__clear[hidden] {
    display: none !important;
}

.deposit-receipt__thumb {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(11, 10, 23, 0.45);
}

.deposit-receipt__clear {
    justify-self: start;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(239, 77, 98, 0.35);
    border-radius: 999px;
    background: rgba(239, 77, 98, 0.12);
    color: #ff8494;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.deposit-receipt__clear:hover {
    background: rgba(239, 77, 98, 0.2);
}

.deposit-receipt__done {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(0, 178, 75, 0.3);
    border-radius: 12px;
    background: rgba(0, 178, 75, 0.14);
}

.deposit-receipt__done[hidden],
.deposit-receipt__done.is-hidden {
    display: none;
}
