
.habbix-welcome-waiting {
    display: none !important;
    pointer-events: none !important;
}

.habbix-welcome-message {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100000 !important;
    width: min(1050px, calc(100vw - 64px)) !important;
    height: min(760px, calc(100vh - 76px)) !important;
    min-height: 420px !important;
    padding: 58px 46px 42px !important;
    overflow: auto !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 38% 10%, rgba(134, 42, 34, .24), transparent 30%),
        radial-gradient(circle at 78% 22%, rgba(87, 48, 147, .28), transparent 34%),
        radial-gradient(circle at 28% 78%, rgba(28, 106, 124, .22), transparent 38%),
        linear-gradient(145deg, rgba(30, 38, 38, .96), rgba(21, 22, 24, .97) 48%, rgba(46, 42, 30, .94)) !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.08) !important;
    color: #f4f4f4 !important;
    scrollbar-width: thin;
    scrollbar-color: #55aaff rgba(255,255,255,.06);
}

.habbix-welcome-message::-webkit-scrollbar { width: 10px; }
.habbix-welcome-message::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.habbix-welcome-message::-webkit-scrollbar-thumb { background: #55aaff; border-radius: 999px; }

.habbix-welcome-message::before {
    content: "Bienvenue sur Vibboza";
    position: fixed;
    left: 50%;
    top: calc(50% - min(380px, calc((100vh - 76px) / 2)));
    transform: translateX(-50%);
    width: min(1050px, calc(100vw - 64px));
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px 16px 0 0;
    color: #fff;
    background: rgba(15, 17, 18, .98);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
    pointer-events: none;
}

.habbix-welcome-message::after {
    content: "VIBBOZA";
    position: fixed;
    right: calc(50% - min(525px, calc((100vw - 64px) / 2)) + 28px);
    bottom: calc(50% - min(380px, calc((100vh - 76px) / 2)) + 18px);
    color: rgba(255,255,255,.045);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 10px;
    pointer-events: none;
}

.habbix-welcome-main {
    position: relative;
    z-index: 2;
    display: block !important;
}

.habbix-welcome-avatar-wrap {
    display: none !important;
}

.habbix-welcome-copy {
    min-width: 0;
    color: #f3f4f6;
    text-shadow: 0 1px 0 rgba(0,0,0,.35);
}

.habbix-welcome-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.habbix-welcome-intro {
    margin: 0 0 24px;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.45;
}

.habbix-welcome-section {
    margin: 0 0 46px;
}

.habbix-welcome-section-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
}

.habbix-welcome-body {
    margin: 0 0 15px;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.5;
}

.habbix-welcome-message .habbix-welcome-actions {
    position: fixed !important;
    z-index: 5 !important;
    top: calc(50% - min(380px, calc((100vh - 76px) / 2)) + 4px) !important;
    right: calc(50% - min(525px, calc((100vw - 64px) / 2)) + 12px) !important;
    margin: 0 !important;
    pointer-events: auto !important;
}

.habbix-welcome-message .habbix-welcome-close,
.habbix-welcome-message button.habbix-welcome-close {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 34px !important;
    min-width: 36px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #ff3030 !important;
    font-size: 40px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-shadow: 0 0 12px rgba(255,48,48,.44) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.habbix-welcome-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.05);
    pointer-events: none;
}

.habbix-hidden-old-welcome {
    display: none !important;
}

@media (max-width: 760px) {
    .habbix-welcome-message {
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 38px) !important;
        padding: 56px 20px 28px !important;
    }

    .habbix-welcome-message::before {
        width: calc(100vw - 20px);
        top: 19px;
        font-size: 18px;
    }

    .habbix-welcome-message .habbix-welcome-actions {
        top: 22px !important;
        right: 18px !important;
    }

    .habbix-welcome-intro,
    .habbix-welcome-body {
        font-size: 15px;
    }

    .habbix-welcome-section-title {
        font-size: 21px;
    }
}

.club-gift:not(.habbix-welcome-message),
[class*="notification" i]:has(> *):not(.habbix-welcome-message) {
    max-width: none;
}
