* {
                -webkit-tap-highlight-color: transparent;
                box-sizing: border-box;
                margin: 0;
                padding: 0;
            }
            html,
            body {
                height: 100%;
                height: -webkit-fill-available;
                background: #000;
                color: #fff;
                font-family:
                    "Poppins",
                    -apple-system,
                    BlinkMacSystemFont,
                    sans-serif;
                overflow: hidden;
                -webkit-font-smoothing: antialiased;
            }
            :root {
                --gold: #ffd700;
                --gold-dim: rgba(255, 215, 0, 0.12);
                --s1: #1c1c1e;
                --s2: #2c2c2e;
                --s3: #3a3a3c;
                --bd: rgba(255, 255, 255, 0.07);
                --bd2: rgba(255, 255, 255, 0.11);
                --t1: #f2f2f7;
                --t2: #8e8e93;
                --t3: #48484a;
                --sw: 280px;
                --content-max: 720px;
            }
            @media (min-width: 1200px) {
                :root {
                    --content-max: 780px;
                }
            }
            ::-webkit-scrollbar {
                width: 0;
                background: transparent;
            }
            .app {
                display: flex;
                height: 100svh;
                height: 100vh;
                height: -webkit-fill-available;
                overflow: hidden;
            }
            #sidebar {
                width: var(--sw);
                min-width: var(--sw);
                height: 100%;
                background: #000;
                z-index: 50;
                flex-shrink: 0;
                padding: 10px 0 10px 10px;
                transition:
                    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    min-width 0.32s ease,
                    width 0.32s ease,
                    opacity 0.32s ease,
                    padding 0.32s ease;
            }
            #sidebar.desk-closed {
                transform: translateX(-100%);
                width: 0;
                min-width: 0;
                padding: 0;
                opacity: 0;
                pointer-events: none;
            }
            #sidebar-inner {
                background: #0d0d0f;
                border: 1px solid rgba(255, 255, 255, 0.06);
                border-radius: 26px;
                display: flex;
                flex-direction: column;
                height: 100%;
                overflow: hidden;
            }
            #sidebar-overlay {
                display: none;
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.65);
                z-index: 45;
                backdrop-filter: blur(6px);
            }
            #sidebar-overlay.show {
                display: block;
            }
            @media (max-width: 767px) {
                #sidebar {
                    position: fixed;
                    inset-y: 0;
                    left: 0;
                    transform: translateX(-100%);
                    padding: 0;
                    max-width: min(var(--sw), 86vw);
                }
                #sidebar-inner {
                    border-radius: 0 26px 26px 0;
                    border-left: none;
                }
                #sidebar.mob-open {
                    transform: translateX(0);
                }
                #sidebar.desk-closed {
                    transform: translateX(-100%);
                    width: var(--sw);
                    min-width: var(--sw);
                    padding: 0;
                    opacity: 1;
                    pointer-events: auto;
                }
                #sidebar.mob-open.desk-closed {
                    transform: translateX(0);
                }
                #mob-menu-btn {
                    display: flex !important;
                }
            }
            #main {
                flex: 1;
                display: flex;
                flex-direction: column;
                overflow: hidden;
                min-width: 0;
                position: relative;
                background: #000;
            }
            .glass {
                background: rgba(18, 18, 20, 0.82);
                backdrop-filter: blur(24px);
                -webkit-backdrop-filter: blur(24px);
                border: 1px solid var(--bd2);
            }
            .icoBtn {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 34px;
                height: 34px;
                border-radius: 10px;
                background: rgba(255, 255, 255, 0.06);
                border: none;
                color: var(--t2);
                cursor: pointer;
                transition: all 0.15s;
                flex-shrink: 0;
            }
            .icoBtn:hover {
                background: rgba(255, 255, 255, 0.11);
                color: #fff;
            }
            .sItem {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 9px 10px;
                border-radius: 12px;
                cursor: pointer;
                transition: background 0.15s;
                min-width: 0;
            }
            .sItem:hover {
                background: rgba(255, 255, 255, 0.05);
            }
            .sItem.active {
                background: rgba(255, 215, 0, 0.08);
                border: 1px solid rgba(255, 215, 0, 0.22);
            }
            .sAct {
                opacity: 0;
                display: flex;
                gap: 3px;
                transition: opacity 0.15s;
                flex-shrink: 0;
            }
            .sItem:hover .sAct,
            .sItem.active .sAct {
                opacity: 1;
            }
            .sActBtn {
                width: 24px;
                height: 24px;
                border-radius: 7px;
                background: rgba(255, 255, 255, 0.06);
                border: none;
                color: var(--t2);
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.15s;
            }
            .sActBtn:hover {
                background: rgba(255, 255, 255, 0.1);
                color: #fff;
            }
            .msgRow {
                display: flex;
                width: 100%;
                min-width: 0;
            }
            .msgRow.user {
                justify-content: flex-end;
            }
            .msgRow.bot {
                justify-content: flex-start;
                align-items: flex-end;
                gap: 8px;
                min-width: 0;
            }
            .botAvatar {
                width: 28px;
                height: 28px;
                border-radius: 50%;
                background: var(--s1);
                border: 1px solid rgba(255, 255, 255, 0.1);
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                overflow: hidden;
                margin-top: 0;
                margin-bottom: 2px;
            }
            .botAvatar img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
            .bubUser {
                background: linear-gradient(135deg, #ffd700 0%, #fdb931 100%);
                color: #000;
                font-weight: 600;
                border-radius: 18px 18px 5px 18px;
                padding: 10px 14px;
                max-width: 78%;
                box-shadow: 0 3px 16px rgba(255, 215, 0, 0.1);
                font-size: 0.875rem;
                word-break: break-word;
                line-height: 1.52;
            }
            .bubBot {
                background: var(--s1);
                color: var(--t1);
                border-radius: 18px 18px 18px 5px;
                padding: 12px 15px;
                max-width: calc(100% - 38px);
                border: 1px solid var(--bd);
                font-size: 0.875rem;
                line-height: 1.65;
                word-break: break-word;
                overflow-wrap: anywhere;
                min-width: 0;
                overflow: hidden;
            }
            .bubBot.typing {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: auto;
                min-width: 64px;
                max-width: calc(100% - 38px);
                min-height: 42px;
                overflow: hidden;
                padding: 12px 15px;
            }
            .bubBot.streaming {
                display: block;
                width: auto;
                min-height: 42px;
            }
            .streamText {
                display: block;
                white-space: pre-wrap;
                word-break: break-word;
                overflow-wrap: anywhere;
                max-width: 100%;
            }
            .typWrap {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                height: 14px;
                line-height: 14px;
                width: 38px;
            }
            .typDot {
                width: 6px;
                height: 6px;
                background: var(--t2);
                border-radius: 50%;
                animation: typAnim 1.4s infinite ease-in-out both;
                display: inline-block;
            }
            .bubBot h1,
            .bubBot h2,
            .bubBot h3,
            .bubBot h4 {
                color: #fff;
                font-weight: 700;
                margin: 0.5rem 0 0.28rem;
            }
            .bubBot h1 {
                font-size: 1.12rem;
            }
            .bubBot h2 {
                font-size: 1.03rem;
            }
            .bubBot h3 {
                font-size: 0.95rem;
            }
            .bubBot p {
                margin: 0.18rem 0 0.35rem;
            }
            .bubBot ul,
            .bubBot ol {
                margin: 0.28rem 0 0.38rem 1.05rem;
            }
            .bubBot li {
                margin: 0.15rem 0;
            }
            .bubBot blockquote {
                border-left: 3px solid rgba(255, 215, 0, 0.42);
                padding-left: 0.72rem;
                color: #aaa;
                margin: 0.42rem 0;
                font-style: italic;
            }
            .bubBot a {
                color: var(--gold);
                text-decoration: underline;
            }
            .bubBot table {
                width: 100%;
                border-collapse: collapse;
                margin: 0.45rem 0;
                font-size: 0.78rem;
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
            .bubBot th {
                background: rgba(255, 215, 0, 0.09);
                padding: 5px 9px;
                border: 1px solid rgba(255, 255, 255, 0.08);
                text-align: left;
                font-size: 0.76rem;
                white-space: nowrap;
            }
            .bubBot td {
                padding: 4px 9px;
                border: 1px solid rgba(255, 255, 255, 0.06);
                white-space: nowrap;
            }
            .bubBot tr:nth-child(even) td {
                background: rgba(255, 255, 255, 0.02);
            }
            .bubBot code:not(pre code) {
                background: rgba(255, 255, 255, 0.09);
                padding: 0.06rem 0.3rem;
                border-radius: 5px;
                font-size: 0.77rem;
                font-family: "SF Mono", "Fira Code", monospace;
                color: var(--gold);
            }
            .bubBot strong {
                color: #fff;
            }
            .citeWrap {
                margin-top: 8px;
                border-top: 1px dashed rgba(255, 255, 255, 0.1);
                padding-top: 6px;
            }
            .citeMarks {
                display: flex;
                flex-wrap: wrap;
                gap: 4px;
                margin-bottom: 6px;
            }
            .citeMark {
                font-size: 0.68rem;
                color: #fbbf24;
                border: 1px solid rgba(251, 191, 36, 0.25);
                background: rgba(251, 191, 36, 0.08);
                border-radius: 999px;
                padding: 1px 6px;
            }
            .citeList {
                margin: 0;
                padding-left: 16px;
                display: grid;
                gap: 2px;
            }
            .citeList li {
                margin: 0;
                color: #a1a1aa;
                font-size: 0.72rem;
                line-height: 1.35;
            }
            .citeList a {
                color: #f4f4f5;
                text-decoration: none;
                border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
            }
            .citeList a:hover {
                color: #fde68a;
                border-bottom-color: rgba(253, 230, 138, 0.5);
            }
            .codeWrap {
                border-radius: 12px;
                overflow: hidden;
                border: 1px solid rgba(255, 255, 255, 0.08);
                margin: 0.55rem 0;
                background: #0c0c0e;
                max-width: 100%;
            }
            .codeHead {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 6px 12px;
                background: #141416;
                border-bottom: 1px solid rgba(255, 255, 255, 0.06);
                gap: 10px;
            }
            .codeBadge {
                display: flex;
                align-items: center;
                gap: 5px;
                font-size: 0.69rem;
                font-weight: 700;
                letter-spacing: 0.04em;
                text-transform: uppercase;
                min-width: 0;
                white-space: nowrap;
            }
            .codeDot {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: currentColor;
                opacity: 0.85;
            }
            .codeMeta {
                font-size: 0.64rem;
                color: #555;
                flex: 1;
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .codeCopy {
                display: inline-flex;
                align-items: center;
                background: rgba(255, 215, 0, 0.08);
                color: var(--gold);
                border: 1px solid rgba(255, 215, 0, 0.2);
                border-radius: 999px;
                width: 30px;
                height: 30px;
                justify-content: center;
                cursor: pointer;
                transition: all 0.17s;
                flex-shrink: 0;
            }
            .codeCopy:hover {
                background: rgba(255, 215, 0, 0.15);
            }
            .codeCopy.ok {
                background: rgba(34, 197, 94, 0.11);
                color: #4ade80;
                border-color: rgba(74, 222, 128, 0.32);
            }
            @keyframes imageLoaderGlowSweep {
                0% {
                    background-position: 0% 50%;
                }
                100% {
                    background-position: 200% 50%;
                }
            }
            .codeWrap pre {
                margin: 0 !important;
                padding: 11px 13px !important;
                background: transparent !important;
                overflow-x: auto;
                overflow-y: auto;
                max-height: 380px;
                max-width: 100%;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior: contain;
            }
            .codeWrap pre code {
                background: transparent !important;
                font-size: 0.76rem !important;
                line-height: 1.57 !important;
                font-family: "SF Mono", "Fira Code", "Consolas", monospace !important;
                padding: 0 !important;
                white-space: pre;
                word-break: normal;
                overflow-wrap: normal;
            }
            .token.comment,
            .token.prolog,
            .token.doctype,
            .token.cdata {
                color: #8b949e;
            }
            .token.punctuation {
                color: #c9d1d9;
            }
            .token.keyword,
            .token.boolean {
                color: #ff7b72;
            }
            .token.string,
            .token.char,
            .token.attr-value {
                color: #a5d6ff;
            }
            .token.number,
            .token.constant {
                color: #79c0ff;
            }
            .token.function {
                color: #d2a8ff;
            }
            .token.class-name {
                color: #7ee787;
            }
            .token.operator {
                color: #ff7b72;
            }
            .token.attr-name {
                color: #79c0ff;
            }
            .token.tag .token.tag {
                color: #7ee787;
            }
            .token.property {
                color: #79c0ff;
            }
            .typDot {
                width: 6px;
                height: 6px;
                background: var(--t2);
                border-radius: 50%;
                animation: typAnim 1.4s infinite ease-in-out both;
                display: inline-block;
            }
            .typDot:nth-child(1) {
                animation-delay: -0.32s;
            }
            .typDot:nth-child(2) {
                animation-delay: -0.16s;
            }
            @keyframes typAnim {
                0%,
                80%,
                100% {
                    transform: scale(0);
                    opacity: 0.35;
                }
                40% {
                    transform: scale(1);
                    opacity: 1;
                }
            }
            .chatForm {
                background: rgba(20, 20, 22, 0.88);
                backdrop-filter: blur(24px);
                -webkit-backdrop-filter: blur(24px);
                border: 1px solid var(--bd2);
                border-radius: 22px;
                padding: 6px 6px 6px 14px;
                display: flex;
                flex-direction: column;
                transition: border-color 0.2s;
            }
            .chatForm:focus-within {
                border-color: rgba(255, 215, 0, 0.36);
            }
            .imgPrevRow {
                display: none;
                padding: 8px 2px 4px;
                align-items: flex-end;
                gap: 8px;
                min-width: 0;
            }
            .imgPrevRow.show {
                display: flex;
            }
            .imgThumb {
                width: 68px;
                height: 68px;
                border-radius: 11px;
                object-fit: cover;
                border: 1.5px solid rgba(255, 215, 0, 0.28);
            }
            .fileMeta {
                display: none;
                max-width: 280px;
                border: 1px solid rgba(255, 215, 0, 0.22);
                border-radius: 11px;
                padding: 8px 10px;
                font-size: 0.72rem;
                color: #ddd;
                background: rgba(255, 255, 255, 0.03);
                word-break: break-word;
            }
            .fileMeta.show {
                display: block;
            }
            .imgRemove {
                position: absolute;
                top: 3px;
                left: 57px;
                width: 19px;
                height: 19px;
                background: rgba(8, 8, 8, 0.9);
                border: 1px solid rgba(255, 255, 255, 0.14);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                color: #fff;
            }
            .uImgBub {
                max-width: 200px;
                max-height: 170px;
                width: auto;
                height: auto;
                border-radius: 13px;
                object-fit: cover;
                border: 1.5px solid rgba(255, 215, 0, 0.22);
                display: block;
                margin-bottom: 7px;
            }
            .msgActRow {
                display: flex;
                align-items: center;
                gap: 6px;
                margin-top: 6px;
                flex-wrap: wrap;
            }
            .userEditAct {
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.14s ease;
            }
            .msgRow.user:hover .userEditAct,
            .msgRow.user:focus-within .userEditAct {
                opacity: 1;
                pointer-events: auto;
            }
            .msgActBtn {
                width: 30px;
                height: 30px;
                border-radius: 999px;
                border: 1px solid rgba(255, 255, 255, 0.14);
                background: rgba(255, 255, 255, 0.04);
                color: #a1a1aa;
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                transition: all 0.16s;
                flex-shrink: 0;
            }
            .msgActBtn:hover {
                color: #fff;
                border-color: rgba(255, 255, 255, 0.3);
                background: rgba(255, 255, 255, 0.1);
            }
            .msgActBtn:active {
                transform: scale(0.96);
            }
            .msgActBtn.active.good {
                color: #22c55e;
                border-color: rgba(34, 197, 94, 0.45);
                background: rgba(34, 197, 94, 0.14);
            }
            .msgActBtn.active.bad {
                color: #ef4444;
                border-color: rgba(239, 68, 68, 0.45);
                background: rgba(239, 68, 68, 0.14);
            }
            .hintWrap {
                position: relative;
                display: inline-flex;
            }
            .hintTip {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: calc(100% + 8px);
                background: rgba(24, 24, 27, 0.95);
                border: 1px solid rgba(255, 255, 255, 0.14);
                color: #e4e4e7;
                font-size: 11px;
                line-height: 1;
                border-radius: 7px;
                padding: 5px 7px;
                display: inline-flex;
                align-items: center;
                gap: 6px;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.15s ease;
                white-space: nowrap;
                z-index: 30;
            }
            .hintKbd {
                font-size: 10px;
                border-radius: 6px;
                padding: 2px 5px;
                background: rgba(63, 63, 70, 0.9);
                color: #f4f4f5;
            }
            .hintWrap:hover .hintTip,
            .hintWrap:focus-within .hintTip,
            body.shortcut-mode .hintWrap.has-shortcut .hintTip {
                opacity: 1;
            }
            .streamActSlot {
                min-height: 0;
            }
            .streamSugSlot {
                min-height: 0;
            }
            .jumpFlash {
                box-shadow:
                    0 0 0 1px rgba(255, 215, 0, 0.7),
                    0 0 18px rgba(255, 215, 0, 0.28);
                animation: jumpPulse 2.4s ease forwards;
            }
            @keyframes jumpPulse {
                0% {
                    box-shadow:
                        0 0 0 1px rgba(255, 215, 0, 0.75),
                        0 0 18px rgba(255, 215, 0, 0.32);
                }
                100% {
                    box-shadow: none;
                }
            }
            @media (max-width: 767px) {
                .hintKbd {
                    display: none;
                }
                .userEditAct {
                    opacity: 0;
                    pointer-events: none;
                }
                .msgRow.user.show-edit-mobile .userEditAct {
                    opacity: 1;
                    pointer-events: auto;
                }
            }
            .editUserWrap {
                display: flex;
                flex-direction: column;
                gap: 6px;
            }
            .editUserInput {
                width: min(100%, 480px);
                min-height: 72px;
                resize: vertical;
                border-radius: 12px;
                border: 1px solid rgba(0, 0, 0, 0.14);
                background: rgba(255, 255, 255, 0.44);
                padding: 8px 10px;
                font-size: 0.82rem;
                line-height: 1.5;
                outline: none;
                color: #1e1e1e;
            }
            .editUserInput:focus {
                border-color: rgba(0, 0, 0, 0.3);
            }
            .matchHi {
                background: rgba(255, 215, 0, 0.2);
                color: #ffe38a;
                border-radius: 4px;
                padding: 0 2px;
            }
            .mBox {
                background: #0f0f11;
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 24px;
            }
            .mOverlay {
                background: rgba(0, 0, 0, 0.82);
                backdrop-filter: blur(8px);
            }
            .mInput {
                width: 100%;
                background: var(--s1);
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 12px;
                padding: 9px 13px;
                color: #fff;
                font-family: inherit;
                font-size: 0.84rem;
                outline: none;
                transition: border-color 0.18s;
                margin-bottom: 15px;
            }
            .mInput:focus {
                border-color: var(--gold);
            }
            .mBtnC {
                flex: 1;
                padding: 10px;
                border-radius: 12px;
                background: var(--s2);
                color: #ccc;
                border: none;
                cursor: pointer;
                font-family: inherit;
                font-size: 0.81rem;
                font-weight: 500;
            }
            .mBtnY {
                flex: 1;
                padding: 10px;
                border-radius: 12px;
                background: var(--gold);
                color: #000;
                border: none;
                cursor: pointer;
                font-family: inherit;
                font-size: 0.81rem;
                font-weight: 700;
            }
            .mBtnR {
                flex: 1;
                padding: 10px;
                border-radius: 12px;
                background: #ef4444;
                color: #fff;
                border: none;
                cursor: pointer;
                font-family: inherit;
                font-size: 0.81rem;
                font-weight: 700;
            }
            .bgBlob {
                position: absolute;
                width: 480px;
                height: 480px;
                background: radial-gradient(circle, rgba(255, 215, 0, 0.052) 0%, transparent 68%);
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                pointer-events: none;
                z-index: 0;
            }
            .attachBtn {
                width: 36px;
                height: 36px;
                border-radius: 9999px;
                background: var(--s2);
                border: none;
                color: var(--t2);
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                transition: all 0.16s;
            }
            .attachBtn:hover {
                background: var(--s3);
                color: #fff;
            }
            .sendBtn {
                width: 36px;
                height: 36px;
                border-radius: 9999px;
                background: var(--gold);
                border: none;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                transition: all 0.16s;
            }
            .sendBtn:hover {
                background: #fff;
                transform: scale(1.06);
            }
            .sendBtn:disabled {
                background: #333;
                cursor: not-allowed;
                transform: none;
            }
            @keyframes slideUp {
                from {
                    opacity: 0;
                    transform: translateY(13px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            @keyframes scaleIn {
                from {
                    opacity: 0;
                    transform: scale(0.95);
                }
                to {
                    opacity: 1;
                    transform: scale(1);
                }
            }
            @keyframes codeFadeIn {
                from {
                    opacity: 0;
                    transform: translateY(6px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            .codeFadeIn {
                animation: codeFadeIn 0.22s ease-out both;
            }
            @keyframes pulse {
                0%,
                100% {
                    opacity: 1;
                }
                50% {
                    opacity: 0.38;
                }
            }
            .lang-js {
                color: #f7df1e;
            }
            .lang-ts {
                color: #3178c6;
            }
            .lang-py {
                color: #4b8bbe;
            }
            .lang-html {
                color: #e34c26;
            }
            .lang-css {
                color: #563d7c;
            }
            .lang-json {
                color: #40d9b6;
            }
            .lang-bash {
                color: #4eaa25;
            }
            .lang-sql {
                color: #e38c00;
            }
            .lang-java {
                color: #b07219;
            }
            .lang-go {
                color: #00add8;
            }
            .lang-rust {
                color: #dea584;
            }
            .lang-c {
                color: #9e9e9e;
            }
            .lang-cpp {
                color: #f34b7d;
            }
            .lang-cs {
                color: #178600;
            }
            .lang-swift {
                color: #ffac45;
            }
            .lang-kotlin {
                color: #a97bff;
            }
            .lang-ruby {
                color: #701516;
            }
            .lang-php {
                color: #4f5d95;
            }
            .lang-yaml {
                color: #cb171e;
            }
            .lang-def {
                color: #9e9e9e;
            }
            #chatArea {
                flex: 1;
                overflow-y: auto;
                position: relative;
                z-index: 1;
                padding-top: 58px;
                padding-bottom: 130px;
                min-width: 0;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior: contain;
            }
            #msgList {
                display: none;
                flex-direction: column;
                gap: 12px;
                padding: 12px 16px;
                max-width: var(--content-max);
                margin: 0 auto;
                width: 100%;
                min-width: 0;
            }
            #welcomeScreen {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                min-height: calc(100svh - 220px);
                min-height: calc(100vh - 220px);
                padding: 20px 16px;
                text-align: center;
            }
            @media (max-width: 480px) {
                .bubUser {
                    max-width: 86%;
                }
                .bubBot {
                    max-width: calc(100% - 36px);
                }
                #msgList {
                    padding: 10px 12px;
                }
            }
            .msgRow.bot > div:last-child {
                min-width: 0;
                flex: 1;
            }
            .bubBot {
                min-width: 0;
                max-width: calc(100% - 38px);
                overflow: hidden;
            }
