/* ===== index.html inline style #1 (id="hchat-avatar-critical-hide") ===== */
/* V8: Avatar paneli, modern menü CSS'i yüklenmeden önce de görünmesin. */
        #avatarSidebar.avatar-prehidden {
            position: fixed !important;
            right: 0 !important;
            transform: translateX(calc(100% + 32px)) !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            transition: none !important;
        }


/* ===== index.html inline style #2 (id="hchat-modern-login-style") ===== */
#login-screen.hc-login-modern {
            --hc-login-accent: #2563eb;
            --hc-login-accent-rgb: 37, 99, 235;
            --hc-login-ink: #172033;
            --hc-login-muted: #68748a;
            --hc-login-line: rgba(120, 134, 158, .22);
            --hc-login-panel: rgba(255, 255, 255, .94);
            min-height: 100dvh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px;
            overflow: auto;
            isolation: isolate;
            background:
                radial-gradient(circle at 12% 12%, rgba(var(--hc-login-accent-rgb), .17), transparent 28%),
                radial-gradient(circle at 88% 82%, rgba(148, 163, 184, .22), transparent 30%),
                linear-gradient(135deg, #eef2f7 0%, #f8fafc 48%, #e8edf4 100%);
            font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
        }

        #login-screen.hc-login-modern::before,
        #login-screen.hc-login-modern::after {
            content: "";
            position: fixed;
            z-index: -1;
            border-radius: 999px;
            pointer-events: none;
            filter: blur(2px);
        }

        #login-screen.hc-login-modern::before {
            width: 300px;
            height: 300px;
            left: -95px;
            bottom: -105px;
            background: rgba(var(--hc-login-accent-rgb), .10);
        }

        #login-screen.hc-login-modern::after {
            width: 230px;
            height: 230px;
            right: -65px;
            top: -75px;
            border: 38px solid rgba(148, 163, 184, .10);
        }

        .hc-login-shell {
            width: min(1080px, 100%);
            min-height: 650px;
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
            border: 1px solid rgba(255, 255, 255, .85);
            border-radius: 32px;
            overflow: hidden;
            background: rgba(255, 255, 255, .72);
            box-shadow: 0 30px 90px rgba(45, 55, 72, .20), 0 2px 10px rgba(15, 23, 42, .06);
            backdrop-filter: blur(18px);
        }

        .hc-login-showcase {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 34px;
            padding: 54px 52px 46px;
            color: #fff;
            overflow: hidden;
            background:
                linear-gradient(145deg, rgba(17, 24, 39, .98), rgba(30, 41, 59, .96)),
                var(--hc-login-accent);
        }

        .hc-login-showcase::before {
            content: "";
            position: absolute;
            width: 360px;
            height: 360px;
            right: -160px;
            top: -130px;
            border-radius: 50%;
            background: rgba(var(--hc-login-accent-rgb), .34);
            box-shadow: 0 0 90px rgba(var(--hc-login-accent-rgb), .25);
        }

        .hc-login-showcase::after {
            content: "";
            position: absolute;
            width: 250px;
            height: 250px;
            left: -120px;
            bottom: -110px;
            border-radius: 50%;
            border: 42px solid rgba(255, 255, 255, .055);
        }

        .hc-login-showcase>* {
            position: relative;
            z-index: 1
        }

        .hc-login-logo-row {
            display: flex;
            align-items: center;
            gap: 14px
        }

        .hc-login-logo {
            width: 52px;
            height: 52px;
            border-radius: 17px;
            display: grid;
            place-items: center;
            background: linear-gradient(145deg, var(--hc-login-accent), rgba(var(--hc-login-accent-rgb), .72));
            box-shadow: 0 14px 35px rgba(var(--hc-login-accent-rgb), .28), inset 0 1px rgba(255, 255, 255, .25);
            font-size: 23px;
        }

        .hc-login-logo-copy strong {
            display: block;
            font-size: 17px;
            letter-spacing: -.02em
        }

        .hc-login-logo-copy small {
            display: block;
            margin-top: 3px;
            color: rgba(255, 255, 255, .58);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase
        }

        .hc-login-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: max-content;
            margin-bottom: 18px;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .10);
            color: rgba(255, 255, 255, .82);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .hc-login-kicker i {
            color: #86efac
        }

        .hc-login-showcase h1 {
            max-width: 540px;
            margin: 0;
            font-size: clamp(36px, 5vw, 62px);
            line-height: 1.02;
            letter-spacing: -.055em;
            font-weight: 850;
        }

        .hc-login-showcase h1 span {
            color: #bfdbfe
        }

        .hc-login-lead {
            max-width: 520px;
            margin: 20px 0 0;
            color: rgba(255, 255, 255, .67);
            font-size: 15px;
            line-height: 1.75
        }

        .hc-login-features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 11px;
            margin-top: 30px
        }

        .hc-login-feature {
            min-height: 102px;
            padding: 16px 14px;
            border-radius: 18px;
            background: rgba(255, 255, 255, .065);
            border: 1px solid rgba(255, 255, 255, .08);
        }

        .hc-login-feature i {
            display: block;
            margin-bottom: 12px;
            color: #bfdbfe;
            font-size: 18px
        }

        .hc-login-feature b {
            display: block;
            font-size: 12px
        }

        .hc-login-feature small {
            display: block;
            margin-top: 5px;
            color: rgba(255, 255, 255, .50);
            font-size: 10px;
            line-height: 1.45
        }

        .hc-login-server-state {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            color: rgba(255, 255, 255, .58);
            font-size: 11px
        }

        .hc-login-live {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 750;
            color: rgba(255, 255, 255, .76)
        }

        .hc-login-live::before {
            content: "";
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #4ade80;
            box-shadow: 0 0 0 5px rgba(74, 222, 128, .12)
        }

        .hc-login-panel {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 54px 50px;
            background: var(--hc-login-panel);
            color: var(--hc-login-ink);
        }

        .hc-login-theme {
            position: absolute;
            top: 22px;
            right: 22px;
            width: 42px;
            height: 42px;
            border: 1px solid var(--hc-login-line);
            border-radius: 14px;
            display: grid;
            place-items: center;
            background: rgba(255, 255, 255, .78);
            color: #526079;
            cursor: pointer;
            transition: .2s ease;
        }

        .hc-login-theme:hover {
            transform: translateY(-2px);
            border-color: rgba(var(--hc-login-accent-rgb), .35);
            color: var(--hc-login-accent)
        }

        .hc-login-eyebrow {
            margin-bottom: 9px;
            color: var(--hc-login-accent);
            font-size: 11px;
            font-weight: 850;
            letter-spacing: .11em;
            text-transform: uppercase
        }

        .hc-login-panel h2 {
            margin: 0;
            font-size: 31px;
            line-height: 1.15;
            letter-spacing: -.04em;
            font-weight: 850
        }

        .hc-login-subtitle {
            margin: 12px 0 28px;
            color: var(--hc-login-muted);
            font-size: 13px;
            line-height: 1.65
        }

        .hc-login-field {
            margin-bottom: 16px
        }

        .hc-login-field label {
            display: block;
            margin-bottom: 8px;
            color: #344054;
            font-size: 12px;
            font-weight: 800
        }

        .hc-login-input-wrap {
            position: relative
        }

        .hc-login-input-wrap>i {
            position: absolute;
            left: 16px;
            top: 50%;
            z-index: 2;
            transform: translateY(-50%);
            color: #8b96a9;
            font-size: 15px;
            pointer-events: none;
        }

        .hc-login-input {
            width: 100%;
            height: 56px;
            padding: 0 48px 0 46px;
            border: 1px solid var(--hc-login-line);
            border-radius: 17px;
            background: #f8fafc;
            color: #172033;
            outline: none;
            font: 700 13px "Plus Jakarta Sans", "Inter", Arial, sans-serif;
            transition: border-color .18s, box-shadow .18s, background .18s;
        }

        .hc-login-input::placeholder {
            color: #a2aabd;
            font-weight: 600
        }

        .hc-login-input:focus {
            background: #fff;
            border-color: rgba(var(--hc-login-accent-rgb), .62);
            box-shadow: 0 0 0 4px rgba(var(--hc-login-accent-rgb), .10)
        }

        .hc-login-pass-toggle {
            position: absolute;
            right: 9px;
            top: 50%;
            z-index: 3;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 12px;
            background: transparent;
            color: #7b879b;
            cursor: pointer;
        }

        .hc-login-pass-toggle:hover {
            background: rgba(var(--hc-login-accent-rgb), .08);
            color: var(--hc-login-accent)
        }

        .hc-login-helper {
            display: flex;
            align-items: center;
            gap: 7px;
            margin-top: 8px;
            color: #8791a3;
            font-size: 10px;
            line-height: 1.45
        }

        .hc-login-caps {
            display: none;
            align-items: center;
            gap: 7px;
            margin-top: 8px;
            color: #b45309;
            font-size: 10px;
            font-weight: 750
        }

        .hc-login-caps.show {
            display: flex
        }

        .hc-login-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin: 7px 0 20px
        }

        .hc-login-remember {
            display: flex;
            align-items: center;
            gap: 9px;
            color: #526079;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer
        }

        .hc-login-remember input {
            width: 17px;
            height: 17px;
            margin: 0;
            border-radius: 5px;
            accent-color: var(--hc-login-accent)
        }

        .hc-login-security {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #7c8798;
            font-size: 10px;
            font-weight: 700
        }

        .hc-login-security i {
            color: #16a34a
        }

        .hc-login-error {
            display: none;
            margin: 0 0 13px;
            padding: 11px 13px;
            border-radius: 13px;
            background: #fff1f2;
            border: 1px solid #fecdd3;
            color: #be123c;
            font-size: 11px;
            font-weight: 750;
            line-height: 1.45;
        }

        .hc-login-error.show {
            display: flex;
            align-items: flex-start;
            gap: 8px
        }

        .hc-login-submit {
            width: 100%;
            height: 57px;
            border: 0;
            border-radius: 17px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--hc-login-accent), rgba(var(--hc-login-accent-rgb), .82));
            color: #fff !important;
            font: 850 13px "Plus Jakarta Sans", "Inter", Arial, sans-serif;
            box-shadow: 0 14px 30px rgba(var(--hc-login-accent-rgb), .24);
            cursor: pointer;
            transition: transform .18s, box-shadow .18s, filter .18s;
        }

        .hc-login-submit:hover {
            transform: translateY(-2px);
            filter: brightness(1.03);
            box-shadow: 0 18px 34px rgba(var(--hc-login-accent-rgb), .30)
        }

        .hc-login-submit:disabled {
            cursor: not-allowed;
            transform: none;
            filter: saturate(.65);
            opacity: .76
        }

        .hc-login-spinner {
            width: 17px;
            height: 17px;
            border: 2px solid rgba(255, 255, 255, .36);
            border-top-color: #fff;
            border-radius: 50%;
            animation: hcLoginSpin .75s linear infinite
        }

        @keyframes hcLoginSpin {
            to {
                transform: rotate(360deg)
            }
        }

        .hc-login-legal {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 7px;
            margin-top: 20px;
            color: #98a2b3;
            font-size: 9px;
            text-align: center
        }

        .hc-login-legal button {
            padding: 0;
            border: 0;
            background: transparent;
            color: #667085;
            font-family: inherit;
            font-size: 9px;
            font-weight: 750;
            cursor: pointer
        }

        .hc-login-legal button:hover {
            color: var(--hc-login-accent)
        }

        .hc-login-mini-brand {
            display: none;
            align-items: center;
            gap: 10px;
            margin-bottom: 26px
        }

        .hc-login-mini-brand .hc-login-logo {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            font-size: 19px;
            color: #fff
        }

        .hc-login-mini-brand strong {
            display: block;
            font-size: 14px
        }

        .hc-login-mini-brand small {
            display: block;
            margin-top: 2px;
            color: #8a95a7;
            font-size: 9px;
            font-weight: 750;
            letter-spacing: .08em;
            text-transform: uppercase
        }

        body.dark #login-screen.hc-login-modern {
            --hc-login-ink: #eef2f7;
            --hc-login-muted: #9ca8ba;
            --hc-login-line: rgba(148, 163, 184, .18);
            --hc-login-panel: rgba(15, 23, 42, .96);
            background: radial-gradient(circle at 12% 12%, rgba(var(--hc-login-accent-rgb), .18), transparent 28%), linear-gradient(135deg, #090f1c, #111827 52%, #0b1220);
        }

        body.dark .hc-login-shell {
            background: rgba(15, 23, 42, .72);
            border-color: rgba(148, 163, 184, .14);
            box-shadow: 0 35px 95px rgba(0, 0, 0, .42)
        }

        body.dark .hc-login-panel {
            color: #eef2f7
        }

        body.dark .hc-login-panel h2 {
            color: #f8fafc
        }

        body.dark .hc-login-field label {
            color: #cbd5e1
        }

        body.dark .hc-login-input {
            background: #101827;
            border-color: rgba(148, 163, 184, .18);
            color: #f8fafc
        }

        body.dark .hc-login-input:focus {
            background: #111c2e
        }

        body.dark .hc-login-theme {
            background: #111c2e;
            color: #aeb9ca;
            border-color: rgba(148, 163, 184, .18)
        }

        body.dark .hc-login-remember,
        body.dark .hc-login-security {
            color: #9ca8ba
        }

        body.dark .hc-login-legal button {
            color: #a5afbf
        }

        body.dark .hc-login-error {
            background: rgba(190, 18, 60, .12);
            border-color: rgba(251, 113, 133, .22);
            color: #fda4af
        }

        @media(max-width:880px) {
            #login-screen.hc-login-modern {
                padding: 18px
            }

            .hc-login-shell {
                grid-template-columns: 1fr;
                min-height: 0;
                max-width: 560px
            }

            .hc-login-showcase {
                display: none
            }

            .hc-login-panel {
                min-height: 660px;
                padding: 54px 42px 38px
            }

            .hc-login-mini-brand {
                display: flex
            }
        }

        @media(max-width:520px) {
            #login-screen.hc-login-modern {
                padding: 0;
                align-items: stretch;
                background: #eef2f7
            }

            body.dark #login-screen.hc-login-modern {
                background: #0b1220
            }

            .hc-login-shell {
                width: 100%;
                max-width: none;
                min-height: 100dvh;
                border: 0;
                border-radius: 0;
                box-shadow: none
            }

            .hc-login-panel {
                min-height: 100dvh;
                padding: 34px 22px 24px;
                justify-content: center
            }

            .hc-login-theme {
                top: 18px;
                right: 18px
            }

            .hc-login-mini-brand {
                margin-bottom: 34px;
                padding-right: 48px
            }

            .hc-login-panel h2 {
                font-size: 28px
            }

            .hc-login-subtitle {
                margin-bottom: 24px
            }

            .hc-login-options {
                align-items: flex-start;
                flex-direction: column;
                gap: 11px
            }

            .hc-login-input,
            .hc-login-submit {
                height: 55px;
                border-radius: 16px
            }

            .hc-login-legal {
                margin-top: 17px
            }
        }

        @media(max-height:690px) and (min-width:881px) {
            #login-screen.hc-login-modern {
                padding: 14px
            }

            .hc-login-shell {
                min-height: 590px
            }

            .hc-login-showcase {
                padding: 38px 44px 34px
            }

            .hc-login-panel {
                padding: 42px 46px
            }

            .hc-login-showcase h1 {
                font-size: 48px
            }

            .hc-login-features {
                margin-top: 22px
            }
        }


/* ===== index.html inline style #3 ===== */
@media (max-width:576px) {

            #toggle-userlist-mobile {

                display: inline-grid !important;

            }



            #toggle-userlist {

                display: none !important;

            }

        }


/* ===== index.html inline style #4 ===== */
@media (max-width:576px) {





            #toggle-userlist-mobile {

                position: fixed;

                right: 10px;

                bottom: calc(350px + env(safe-area-inset-bottom));

                display: inline-grid !important;

                /* sadece görünürlükte !important */

                place-items: center;

                width: 40px;

                height: 40px;

                border-radius: 50px;

                font-size: 25px;

                /* ikon boyutu */

                background: var(--primary);

                color: #fff;

                box-shadow: 0 8px 24px rgba(0, 0, 0, .18);

                z-index: 1101;

            }



            #toggle-userlist-mobile i {

                font-size: 1em;

                line-height: 1;

            }



            #toggle-userlist-mobile:active {

                transform: translateY(1px);

            }





            #toggle-userlist {

                display: none !important;

            }

        }
