:root {
    --lt-ink: #0b1020;
    --lt-panel: rgba(17, 24, 39, 0.86);
    --lt-line: rgba(148, 163, 184, 0.18);
    --lt-text: #e8eef8;
    --lt-muted: #9fb0c6;
    --lt-cyan: #18c7b8;
    --lt-blue: #3478f6;
    --lt-gold: #f3b33d;
    --lt-rose: #f45d82;
    --lt-radius: 16px;
    --lt-shadow: 0 22px 70px rgba(2, 6, 23, 0.34);
}

html,
body {
    letter-spacing: 0;
}

body {
    background:
        radial-gradient(900px 420px at 18% 0%, rgba(24, 199, 184, 0.16), transparent 62%),
        radial-gradient(760px 420px at 92% 8%, rgba(244, 93, 130, 0.13), transparent 58%),
        linear-gradient(180deg, #0b1020 0%, #111827 48%, #0d1324 100%);
    color: var(--lt-text);
}

a {
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.navbar.navbar-scroll,
header .navbar {
    min-height: 62px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 24, 0.78) !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 38px rgba(2, 6, 23, 0.18);
}

.navbar-brand .logo {
    max-height: 34px;
}

.navbar .nav-link {
    border-radius: 999px;
    color: rgba(232, 238, 248, 0.82) !important;
    font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(24, 199, 184, 0.12);
    color: #ffffff !important;
}

main > .container,
.container {
    max-width: 1180px;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 24, 0.54);
    color: var(--lt-muted);
}

.footer a {
    color: #8be7dd;
}

.btn,
button,
.form-control,
.form-select,
.card,
.modal-content,
.dropdown-menu,
.alert {
    border-radius: var(--lt-radius);
}

.btn-primary,
.btn-dark,
.btn-user,
.ltplus-main-button,
.looai-send,
.looai-home-link {
    border: 0 !important;
    background: linear-gradient(135deg, var(--lt-cyan), var(--lt-blue)) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(24, 199, 184, 0.22);
}

.btn-primary:hover,
.btn-dark:hover,
.btn-user:hover,
.ltplus-main-button:hover,
.looai-home-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn-outline-primary,
.btn-outline-light {
    border-color: rgba(24, 199, 184, 0.34) !important;
    color: #a7fff3 !important;
}

.btn-outline-primary:hover,
.btn-outline-light:hover {
    background: rgba(24, 199, 184, 0.14) !important;
}

.card,
.ltplus-checkout-card,
.ltplus-benefit-panel,
.ltplus-referral-card,
.looai-panel {
    border: 1px solid var(--lt-line) !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(10, 15, 30, 0.96)) !important;
    color: var(--lt-text);
    box-shadow: var(--lt-shadow);
}

.card-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.card-title,
.card h1,
.card h2,
.card h3,
h1,
h2,
h3 {
    letter-spacing: 0;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    background-color: rgba(2, 6, 23, 0.42) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(24, 199, 184, 0.78) !important;
    box-shadow: 0 0 0 3px rgba(24, 199, 184, 0.16) !important;
}

::placeholder {
    color: rgba(203, 213, 225, 0.58) !important;
}

.show-banner .slider,
.slider {
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.room-loop,
.room-item,
.chat-room-card,
.room-card {
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 18px !important;
    background: rgba(15, 23, 42, 0.76) !important;
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.22);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.room-loop:hover,
.room-item:hover,
.chat-room-card:hover,
.room-card:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 199, 184, 0.36) !important;
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.32);
}

.lt-room-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lt-room-title > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-room-verified {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 58%, #1d4ed8 100%);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, .12), 0 6px 14px rgba(37, 99, 235, .24);
}

.lt-room-verified i {
    font-size: 10px;
    stroke-width: 2.2;
}

.lt-room-owner-plus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, .16);
    border: 1px solid rgba(56, 189, 248, .22);
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.lt-room-owner-plus i {
    color: #38bdf8;
}

.lt-active-room-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 168px;
}

.lt-active-room-title > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-room-verified-header {
    width: 14px;
    height: 14px;
    min-width: 14px;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, .12), 0 5px 12px rgba(37, 99, 235, .24);
}

.lt-room-verified-header i {
    font-size: 9px;
}

.lt-room-is-verified .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lt-room-is-verified .dropdown-toggle .lt-active-room-title {
    max-width: 188px;
}

.lt-plus-locked-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #bfdbfe;
    background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(20, 184, 166, .10));
    border: 1px solid rgba(56, 189, 248, .18);
    font-size: 13px;
    font-weight: 700;
}

.lt-plus-locked-row i {
    color: #38bdf8;
    font-size: 18px;
}

html.light .lt-plus-locked-row {
    color: #1e3a8a;
    background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(20, 184, 166, .08));
    border-color: rgba(37, 99, 235, .16);
}

.lt-join-link-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(235px, .78fr) minmax(320px, 1.35fr);
    align-items: center;
    gap: 20px;
    margin: 14px 0 20px;
    padding: 16px;
    border-radius: 16px;
    color: #e5f0ff;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .96), rgba(11, 18, 32, .96)),
        #0b1020;
    border: 1px solid rgba(71, 85, 105, .34);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.lt-join-link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18px 18px, rgba(34, 211, 238, .18), transparent 22%),
        linear-gradient(90deg, rgba(20, 184, 166, .10), transparent 30%);
    opacity: .88;
}

.lt-join-link-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #22d3ee, #14b8a6);
    box-shadow: 0 0 18px rgba(34, 211, 238, .36);
}

.lt-join-link-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.lt-join-link-copy span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 0;
    border-radius: 0;
    color: #67e8f9;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lt-join-link-copy strong {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 900;
}

.lt-join-link-copy small {
    color: #98a6ba;
    font-weight: 600;
}

.lt-join-link-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.lt-join-link-input {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 13px;
    border-radius: 13px;
    background: rgba(9, 13, 26, .72);
    border: 1px solid rgba(148, 163, 184, .18);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lt-join-link-input i {
    color: #38bdf8;
    font-size: 19px;
}

.lt-join-link-input:focus-within {
    background: rgba(9, 13, 26, .88);
    border-color: rgba(34, 211, 238, .58);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .10);
}

.lt-join-link-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    font-weight: 700;
    font-size: 14px;
}

.lt-join-link-input input::placeholder {
    color: rgba(203, 213, 225, .50) !important;
}

.lt-join-link-form button {
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.lt-join-link-form button:hover {
    transform: translateY(-1px);
    filter: saturate(1.08) brightness(1.06);
    box-shadow: 0 18px 34px rgba(6, 182, 212, .24);
}

.lt-join-link-error {
    grid-column: 2;
    min-height: 18px;
    color: #fca5a5;
    font-size: 12px;
    font-weight: 800;
}

.lt-join-link-error.is-visible {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 4px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #fecdd3;
    background: rgba(127, 29, 29, .34);
    border: 1px solid rgba(248, 113, 113, .34);
    box-shadow: 0 12px 28px rgba(127, 29, 29, .18);
}

.lt-join-link-form button:disabled {
    cursor: wait;
    opacity: .78;
    transform: none;
}

.lt-join-link-form button.is-loading span::after {
    content: "...";
}

html.light .lt-join-link-card {
    color: #0f172a;
    background:
        radial-gradient(circle at 18px 18px, rgba(14, 165, 233, .10), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .96));
    border-color: rgba(15, 23, 42, .10);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .10);
}

html.light .lt-join-link-copy strong {
    color: #0f172a;
}

html.light .lt-join-link-copy small {
    color: #64748b;
}

html.light .lt-join-link-copy span {
    color: #0369a1;
    background: transparent;
    border-color: transparent;
}

html.light .lt-join-link-input {
    background: #ffffff;
    border-color: rgba(15, 23, 42, .12);
}

html.light .lt-join-link-input input {
    color: #0f172a;
}

html.light .lt-join-link-input input::placeholder {
    color: rgba(100, 116, 139, .66) !important;
}

@media (max-width: 768px) {
    .lt-join-link-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }

    .lt-join-link-form {
        grid-template-columns: 1fr;
    }

    .lt-join-link-error {
        grid-column: 1;
    }
}

.lt-join-link-card {
    grid-template-columns: minmax(360px, .95fr) minmax(440px, 1.35fr);
    gap: 28px;
    min-height: 146px;
    padding: 28px 30px 26px 36px;
    border-radius: 24px;
    color: #fff7f7;
    background:
        radial-gradient(circle at 68% 6%, rgba(255, 151, 122, .30), transparent 20%),
        radial-gradient(circle at 83% 52%, rgba(244, 63, 94, .26), transparent 28%),
        linear-gradient(100deg, rgba(10, 12, 24, .98), rgba(19, 17, 28, .96) 45%, rgba(20, 22, 32, .93));
    border: 1px solid rgba(248, 113, 113, .56);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .035), 0 0 34px rgba(248, 113, 113, .16);
}

.lt-join-link-card::before {
    background:
        linear-gradient(90deg, rgba(244, 63, 94, .13), transparent 26%),
        radial-gradient(circle at 76% 46%, rgba(255, 255, 255, .18), transparent 8%),
        radial-gradient(circle at 90% 7%, rgba(255, 202, 178, .20), transparent 13%);
    opacity: .95;
}

.lt-join-link-card::after {
    left: auto;
    top: auto;
    right: 18px;
    bottom: 14px;
    width: 32px;
    height: 32px;
    background:
        linear-gradient(45deg, transparent 41%, rgba(255, 255, 255, .72) 42%, rgba(255, 255, 255, .72) 58%, transparent 59%),
        linear-gradient(-45deg, transparent 41%, rgba(255, 255, 255, .72) 42%, rgba(255, 255, 255, .72) 58%, transparent 59%);
    opacity: .78;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, .35));
}

.lt-join-link-copy { gap: 8px; }
.lt-join-link-copy span { color: #ff7b84; font-size: 13px; }
.lt-join-link-copy strong { font-size: 32px; line-height: 1.04; text-shadow: 0 2px 18px rgba(255, 255, 255, .10); }
.lt-join-link-copy small { color: rgba(255, 231, 231, .72); font-size: 16px; }
.lt-join-link-form { gap: 14px; }

.lt-join-link-input {
    gap: 14px;
    min-height: 66px;
    padding: 0 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 232, 232, .18), rgba(73, 33, 43, .50)), rgba(37, 22, 32, .76);
    border: 1px solid rgba(255, 207, 207, .40);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -10px 28px rgba(0, 0, 0, .20), 0 16px 38px rgba(0, 0, 0, .22);
}

.lt-join-link-input i {
    color: rgba(255, 244, 244, .92);
    font-size: 30px;
}

.lt-join-link-input:focus-within {
    border-color: rgba(255, 160, 160, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 0 0 4px rgba(244, 63, 94, .12), 0 20px 48px rgba(244, 63, 94, .18);
}

.lt-join-link-input input { font-size: 19px; }
.lt-join-link-input input::placeholder { color: rgba(255, 232, 232, .66) !important; }

.lt-join-link-form button {
    min-height: 66px;
    border-radius: 999px;
    padding: 0 34px;
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 52%, #ffc3a3 100%);
    border: 1px solid rgba(255, 210, 190, .46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), inset 0 -10px 22px rgba(122, 20, 43, .24), 0 0 0 4px rgba(244, 63, 94, .12), 0 18px 42px rgba(244, 63, 94, .34);
    font-size: 18px;
}

.lt-join-link-form button i { display: none; }

.lt-join-link-form button:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .40), 0 0 0 5px rgba(244, 63, 94, .14), 0 22px 52px rgba(244, 63, 94, .42);
}

html.light .lt-join-link-card {
    background:
        radial-gradient(circle at 78% 12%, rgba(244, 63, 94, .18), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(255, 241, 242, .96));
    border-color: rgba(225, 29, 72, .24);
}

html.light .lt-join-link-copy span { color: #be123c; }
html.light .lt-join-link-input { background: rgba(255, 255, 255, .80); border-color: rgba(225, 29, 72, .22); }

@media (max-width: 768px) {
    .lt-join-link-card {
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: 0;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .lt-join-link-copy strong { font-size: 27px; }
    .lt-join-link-copy small { font-size: 14px; }
    .lt-join-link-input,
    .lt-join-link-form button { min-height: 58px; }
}

.ltplus-premium-page,
.ltplus-referral-page {
    width: min(1180px, calc(100% - 28px));
    margin: 34px auto;
    color: var(--lt-text);
}

.ltplus-premium-hero,
.ltplus-referral-hero,
.looai-header {
    overflow: hidden;
    border: 1px solid rgba(24, 199, 184, 0.22) !important;
    background:
        linear-gradient(120deg, rgba(17, 24, 39, 0.92), rgba(20, 184, 166, 0.42), rgba(48, 70, 166, 0.54), rgba(244, 93, 130, 0.32)),
        #111827 !important;
    box-shadow: var(--lt-shadow);
}

.ltplus-premium-hero h1,
.ltplus-referral-hero h1 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
}

.ltplus-feature-row span,
.ltplus-live-card,
.ltplus-referral-score {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(2, 6, 23, 0.34) !important;
    backdrop-filter: blur(14px);
}

.ltplus-duration-card,
.ltplus-payment-methods label,
.ltplus-bank-area,
.ltplus-bank-box {
    border-color: rgba(148, 163, 184, 0.2) !important;
    background: rgba(15, 23, 42, 0.72) !important;
    color: var(--lt-text);
}

.ltplus-duration-card:has(input:checked),
.ltplus-payment-methods label:has(input:checked) {
    border-color: rgba(24, 199, 184, 0.78) !important;
    box-shadow: 0 0 0 3px rgba(24, 199, 184, 0.16) !important;
}

.ltplus-duration-card strong {
    color: #6ff7e8;
}

.ltplus-referral-copy {
    display: grid;
    grid-template-columns: 1fr 132px;
    gap: 10px;
}

.ltplus-referral-copy button {
    margin-top: 0;
}

.ltplus-progress-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.ltplus-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lt-cyan), var(--lt-gold), var(--lt-rose));
}

.left-sidebar,
.sidebar,
.channels-sidebar,
.private-sidebar,
.right-sidebar,
.chat-info-panel,
.chat-list-panel {
    border-color: rgba(148, 163, 184, 0.14) !important;
    background: rgba(9, 14, 27, 0.88) !important;
    backdrop-filter: blur(14px);
}

.topbar,
.topbar-channels,
.topbar-private,
.chat-header,
.message-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
    background: rgba(15, 23, 42, 0.76) !important;
    backdrop-filter: blur(14px);
}

.message-box,
.chat-form,
.chat-input,
.message-editor,
.editor-footer,
.bottom-message-form {
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
    background: rgba(9, 14, 27, 0.9) !important;
}

.chat-box,
.message-list,
.chat-history,
.chat-content {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(2, 6, 23, 0.26)),
        transparent !important;
}

.chat-bubble,
.message-bubble,
.chat-message,
.message-content {
    border-radius: 18px !important;
}

.sent .message-content,
.message.sent,
.chat-bubble.sent,
.mine .message-content {
    background: linear-gradient(135deg, var(--lt-blue), var(--lt-cyan)) !important;
    color: #ffffff !important;
}

.received .message-content,
.message.received,
.chat-bubble.received {
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    background: rgba(30, 41, 59, 0.86) !important;
    color: var(--lt-text) !important;
}

.disc-header,
.section-title {
    color: #ffffff;
    font-weight: 900;
}

.disc-cat-list a,
.channel-container a,
.user-list a,
.dropdown-item {
    border-radius: 12px;
}

.disc-cat-list a:hover,
.channel-container a:hover,
.user-list a:hover,
.dropdown-item:hover {
    background: rgba(24, 199, 184, 0.12) !important;
}

.modal-content,
.dropdown-menu {
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    background: rgba(15, 23, 42, 0.98) !important;
    color: var(--lt-text);
    box-shadow: var(--lt-shadow);
}

.table {
    color: var(--lt-text);
}

.table thead th {
    color: #b6c7dd;
}

.table td,
.table th {
    border-color: rgba(148, 163, 184, 0.14) !important;
}

.container-tight {
    max-width: 470px;
}

.container-tight .card,
.container-tight form,
.auth-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
}

.bg-cover {
    position: relative;
}

.bg-cover:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 199, 184, 0.22), rgba(244, 93, 130, 0.18));
}

@media (max-width: 900px) {
    .ltplus-referral-copy {
        grid-template-columns: 1fr;
    }

    .navbar .nav-link {
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .ltplus-premium-page,
    .ltplus-referral-page {
        width: calc(100% - 16px);
        margin: 12px auto;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 42px;
    }
}

.lt-roles-panel {
    display: grid;
    gap: 18px;
}

.lt-roles-hero,
.lt-role-builder,
.lt-role-list-item,
.lt-empty-roles {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.72));
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
}

.lt-roles-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    overflow: hidden;
}

.lt-roles-hero h2 {
    margin: 4px 0;
    font-size: 26px;
}

.lt-roles-hero p,
.lt-empty-roles span,
.lt-role-list-item span,
.lt-permission-card small {
    color: rgba(226, 232, 240, 0.72);
}

.lt-roles-kicker {
    color: #22d3ee;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.lt-roles-badge {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    color: white;
    background: linear-gradient(135deg, #22c55e, #06b6d4, #6366f1);
    font-size: 30px;
}

.lt-role-builder {
    padding: 18px;
}

.lt-permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.lt-permission-card {
    display: flex;
    gap: 10px;
    min-height: 78px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.62);
    cursor: pointer;
}

.lt-permission-card input {
    margin-top: 4px;
}

.lt-permission-card strong,
.lt-permission-card small {
    display: block;
}

.lt-role-list {
    display: grid;
    gap: 10px;
}

.lt-role-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-left: 4px solid var(--role-color);
}

.lt-role-list-item strong {
    color: var(--role-color);
}

.lt-empty-roles {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 140px;
    padding: 20px;
    text-align: center;
}

.lt-empty-roles i {
    font-size: 34px;
    color: #22d3ee;
}

.lt-member-action-stack {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lt-role-pill-row,
.lt-role-remove-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.lt-role-pill,
.lt-role-remove {
    border: 1px solid color-mix(in srgb, var(--role-color) 70%, transparent);
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--role-color);
    background: color-mix(in srgb, var(--role-color) 14%, transparent);
    font-size: 12px;
    font-weight: 800;
}

.lt-role-remove {
    cursor: pointer;
}

.lt-role-assign {
    display: inline-grid;
    grid-template-columns: minmax(130px, 1fr) 40px;
    gap: 6px;
    align-items: center;
    min-width: 190px;
}

.lt-user-role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.lt-user-role-badge {
    display: inline-flex;
    align-items: center;
    max-width: 120px;
    border: 1px solid color-mix(in srgb, var(--role-color, #22c55e) 70%, transparent);
    border-radius: 999px;
    padding: 3px 7px;
    overflow: hidden;
    color: var(--role-color, #22c55e);
    background: color-mix(in srgb, var(--role-color, #22c55e) 14%, transparent);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-profile-role-box {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.42);
}

.lt-profile-role-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #22d3ee;
    font-size: 12px;
    font-weight: 900;
}

[data-bs-theme="light"] .lt-roles-hero,
[data-bs-theme="light"] .lt-role-builder,
[data-bs-theme="light"] .lt-role-list-item,
[data-bs-theme="light"] .lt-empty-roles,
body.light .lt-roles-hero,
body.light .lt-role-builder,
body.light .lt-role-list-item,
body.light .lt-empty-roles {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.88));
    color: #0f172a;
}

[data-bs-theme="light"] .lt-roles-hero p,
[data-bs-theme="light"] .lt-empty-roles span,
[data-bs-theme="light"] .lt-role-list-item span,
[data-bs-theme="light"] .lt-permission-card small,
body.light .lt-roles-hero p,
body.light .lt-empty-roles span,
body.light .lt-role-list-item span,
body.light .lt-permission-card small {
    color: #64748b;
}

[data-bs-theme="light"] .lt-permission-card,
body.light .lt-permission-card {
    background: rgba(248, 250, 252, 0.9);
}

[data-bs-theme="light"] .lt-profile-role-box,
body.light .lt-profile-role-box {
    background: rgba(248, 250, 252, 0.92);
}

@media (max-width: 640px) {
    .lt-roles-hero {
        align-items: flex-start;
        padding: 18px;
    }

    .lt-roles-badge {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .lt-role-assign {
        width: 100%;
    }
}

.cht.sent .message-data:before,
.cht.replies .message-data:after,
.sent .message-data:before,
.replies .message-data:after,
.sent .chat-txt:before,
.replies .chat-txt:after {
    display: none !important;
    content: none !important;
}

.cht .message-data {
    background: transparent !important;
    box-shadow: none !important;
}

.cht .chat-txt {
    border-radius: 14px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.cht.sent .chat-txt {
    background: linear-gradient(135deg, #2563eb, #14b8a6) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18);
}

.cht.replies .chat-txt {
    background: rgba(15, 23, 42, 0.88) !important;
    color: #e5edf7 !important;
}

[data-bs-theme="light"] .cht.replies .chat-txt,
body.light .cht.replies .chat-txt {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.12);
}

.lt-room-action {
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 6px 11px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.16);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.lt-room-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.lt-room-action-danger {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.lt-room-action-warning {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    color: #172033;
}

.lt-room-action-info {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.lt-room-action-ban {
    background: rgba(127, 29, 29, 0.14);
    border-color: #ef4444;
    color: #ff6b6b;
    box-shadow: none;
}

[data-bs-theme="light"] .lt-room-action-ban,
body.light .lt-room-action-ban {
    background: rgba(254, 226, 226, 0.85);
    color: #b91c1c;
}

.lt-message-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #dbeafe;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.2);
}

.lt-message-menu-btn i {
    margin: 0 !important;
    color: inherit !important;
    font-size: 18px !important;
}

.chat-actions {
    opacity: 1 !important;
    gap: 7px;
}

.chat-actions .dropdown-menu {
    min-width: 180px;
    padding: 8px;
    border-radius: 14px !important;
}

.chat-actions .dropdown-item {
    border-radius: 10px;
    padding: 9px 10px;
    font-weight: 800;
}

.lt-edited-label {
    display: inline-flex;
    align-items: center;
    color: rgba(148, 163, 184, 0.9);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.message-meta {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    min-height: 14px;
}

.cht.sent .message-meta {
    right: 42px !important;
    bottom: -17px !important;
}

.cht.replies .message-meta {
    left: 42px !important;
    bottom: -17px !important;
}

.message-time {
    color: rgba(148, 163, 184, 0.95) !important;
    font-size: 11px !important;
    font-weight: 700;
}

.message-status .ti {
    color: rgba(148, 163, 184, 0.95);
    font-size: 14px !important;
}

.cht .chat-txt {
    min-width: 44px;
    text-align: left;
}

.cht.lt-swipe-reply .message-data {
    transform: translateX(16px);
    transition: transform 0.22s ease;
}

[data-bs-theme="light"] .lt-message-menu-btn,
body.light .lt-message-menu-btn {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

.lt-info-tabs {
    padding: 8px 10px;
}

.lt-info-tabs-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
}

.lt-info-tabs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.lt-info-tabs-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 7px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.62);
    color: #e5edf7;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.lt-info-tabs-grid a:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(20, 184, 166, 0.28));
    color: #ffffff;
}

.lt-contact-fixed {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

[data-bs-theme="light"] .lt-info-tabs-title,
body.light .lt-info-tabs-title {
    color: #64748b;
}

[data-bs-theme="light"] .lt-info-tabs-grid a,
body.light .lt-info-tabs-grid a {
    border-color: rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    color: #0f172a;
}

.voice-only-chat-state {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #cbd5e1;
    text-align: center;
    padding: 24px;
}

.voice-only-chat-state i {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(37, 99, 235, 0.26));
    color: #67e8f9;
    font-size: 28px;
}

.voice-only-chat-state strong {
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
}

.voice-only-chat-state span {
    max-width: 430px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

[data-bs-theme="light"] .voice-only-chat-state,
body.light .voice-only-chat-state {
    color: #334155;
}

[data-bs-theme="light"] .voice-only-chat-state strong,
body.light .voice-only-chat-state strong {
    color: #0f172a;
}

.group-chat .wrapper,
.group-chat .main-panel {
    min-height: 0;
}

.container-fluid.group-chat {
    flex: 1 1 auto;
    min-height: 0;
    height: calc((var(--vh, 1vh) * 100) - 50px);
    overflow: hidden;
}

.container-fluid.group-chat > .wrapper {
    height: 100%;
    width: 100%;
}

.group-chat .main-panel {
    height: 100% !important;
    max-height: 100%;
    overflow: hidden;
}

.group-chat .chat-scroll {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.group-chat .room-editor {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.group-chat .editor-container {
    flex-shrink: 0;
}

.room-editor .editor-container.editor-controller {
    align-items: center !important;
    gap: 8px;
    min-height: 52px !important;
    max-height: 78px;
    padding: 7px 10px !important;
    margin: 10px 14px 12px !important;
    overflow: visible;
}

.room-editor .attachment-col,
.room-editor .emoji-col,
.room-editor .send-col {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
}

.room-editor .editor-col {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.room-editor .note-editor.note-frame {
    width: 100% !important;
    min-height: 32px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.room-editor .note-editor.note-frame .note-editing-area,
.room-editor .note-editor.note-frame .note-editable {
    min-height: 28px !important;
}

.room-editor .note-editor.note-frame .note-editable {
    max-height: 58px !important;
    height: auto !important;
    padding: 5px 8px !important;
    overflow-y: auto !important;
    line-height: 1.45 !important;
}

.room-editor .note-editor.note-frame .note-placeholder {
    padding: 5px 8px !important;
}

.room-editor .editor-icon {
    width: 22px;
    height: 22px;
    margin-left: 6px !important;
}

.room-editor .lt-send-message {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 12px !important;
}

body.voice-active .group-chat .chat-scroll {
    min-height: 0;
}

body.lt-game-active .room-editor,
body.lt-game-active .editor-container,
body.lt-game-active .editor-controller,
body.lt-game-active .reply-msg-row,
body.lt-game-active .attachments-container,
body.lt-game-active .gse-container {
    display: none !important;
}

body.lt-game-active .group-chat .main-panel,
body.lt-game-active .group-chat .chat-scroll {
    min-height: 0;
    overflow: hidden;
}

body.lt-game-active .chats {
    min-height: 100%;
}

#sidebar-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 56px;
}

#voice-channel-container.voice-channel-container {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 64px;
    width: auto;
    z-index: 20;
    border-radius: 16px;
}

#sidebar-wrapper .channel-list-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    width: 100%;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
}

body.voice-active .sidebar-room .channel-container {
    padding-bottom: 132px;
}

@supports (height: 100dvh) {
    .container-fluid.group-chat {
        height: calc(100dvh - 50px);
    }
}

.lt-game-room-shell {
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    padding: 28px;
    color: #eef6ff;
    background:
        radial-gradient(circle at 50% 18%, rgba(124, 58, 237, 0.34), transparent 34%),
        radial-gradient(circle at 78% 42%, rgba(14, 165, 233, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.94));
}

.lt-game-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto 22px;
}

.lt-game-kicker {
    color: #22d3ee;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lt-game-hero h2 {
    margin: 4px 0 8px;
    font-size: 30px;
    font-weight: 950;
}

.lt-game-hero p {
    max-width: 560px;
    margin: 0;
    color: #b6c7da;
    font-weight: 700;
}

.lt-game-meta,
.lt-game-controls,
.lt-game-join {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lt-game-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #dbeafe;
    font-weight: 900;
}

.lt-game-arena {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 14px;
}

.lt-game-player {
    min-height: 178px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.lt-game-player img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8b5cf6;
    box-shadow: 0 0 28px rgba(139, 92, 246, 0.64);
}

.lt-game-player strong {
    max-width: 92%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.lt-game-player span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
}

.lt-game-player.is-empty {
    border-style: dashed;
    color: #94a3b8;
}

.lt-game-player.is-empty i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(148, 163, 184, 0.12);
    font-size: 24px;
}

.lt-game-controls {
    max-width: 980px;
    margin: 22px auto 0;
    justify-content: center;
}

.lt-game-audio {
    max-width: 980px;
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lt-game-audio-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.76);
    color: #dbeafe;
    font-weight: 950;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.lt-game-audio-btn:hover {
    transform: translateY(-1px);
}

.lt-game-audio-btn.is-on {
    border-color: rgba(34, 197, 94, 0.52);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.92), rgba(20, 184, 166, 0.88));
    color: #ecfdf5;
}

.lt-game-audio-btn.is-off {
    border-color: rgba(248, 113, 113, 0.46);
    background: rgba(127, 29, 29, 0.74);
    color: #fee2e2;
}

.lt-game-action {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: #fff;
    font-weight: 950;
}

.lt-game-leave {
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-color: rgba(248, 113, 113, 0.4);
}

.lt-game-password {
    min-height: 42px;
    width: 220px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.72);
    color: #fff;
    outline: none;
}

@media (max-width: 900px) {
    .lt-game-room-shell {
        padding: 18px;
        overflow-y: auto;
    }

    .lt-game-hero {
        flex-direction: column;
    }

    .lt-game-arena {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
