* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body,html {
    height: 100%;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC","Hiragino Sans GB",sans-serif;
    font-size: 14px;
    color: #1f2329;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: 0 0;
    color: inherit
}

input,textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit
}

a {
    color: inherit;
    text-decoration: none
}

#think_page_trace,#think_page_trace_open {
    display: none
}
.btn-a{
    padding: 3px 10px;
    border-radius: 80px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #757575;
    font-size: 12px;
    margin-left: 5px;
}
.up-delete-link {
    border-color: #fecaca;
    color: #ef4444;
}
.up-delete-link:hover {
    background: #fef2f2;
    border-color: #ef4444;
}
.app {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden
}

.sidebar {
    width: 270px;
    flex-shrink: 0;
    background: #f7f8fa;
    border-right: 1px solid #ebedf0;
    display: flex;
    flex-direction: column;
    transition: width .2s ease
}

.sidebar-head {
    padding: 14px 14px 10px
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2329;
    letter-spacing: .3px
}

.brand span {
    font-size: 24px;
    font-weight: 700;
    color: #3662fd
}

.brand .brand-logo {
    width: 38px;
    height: 38px
}

.brand .brand-logo img {
    width: 100%;
    height: 100%
}

.new-chat-btn {
    width: 100%;
    height: 42px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid #e3e6eb;
    color: #1f2329;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .15s ease
}

.new-chat-btn:hover {
    border-color: #4d6bfe;
    color: #4d6bfe;
    background: #fff;
    box-shadow: 0 2px 8px rgba(77,107,254,.12)
}

.new-chat-btn .plus-icon {
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: #4d6bfe
}

.conv-search {
    position: relative;
    margin-top: 10px
}

.conv-search input {
    width: 100%;
    height: 38px;
    border-radius: 80px;
    background: #fff;
    border: 1px solid #e8eaee;
    padding: 0 12px 0 30px;
    font-size: 13px;
    outline: 0;
    transition: border-color .15s
}

.conv-search input:focus {
    border-color: #4d6bfe
}

.conv-search-ico {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: #9aa0aa;
    pointer-events: none
}

.conv-list-loading {
    text-align: center;
    padding: 10px 0;
    color: #8a909c;
    font-size: 12.5px
}

.conv-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px 8px 12px
}

.conv-item {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 8px;
    cursor: pointer;
    color: #3a3f47;
    font-size: 13.5px;
    position: relative;
    margin-bottom: 2px;
    transition: background .12s;
    user-select: none;
    height: 38px
}

.conv-list .conv-item .conv-ops {
    display: none;
    gap: 2px;
    margin-left: 6px;
    flex-shrink: 0
}

.conv-list .conv-item.active .conv-ops {
    display: flex!important
}

.conv-list .conv-item.editing .conv-ops {
    display: none!important
}

.conv-item:hover {
    background: #eceef2
}

.conv-item.active {
    background: #e3e8ff;
    color: #2b3a8c;
    font-weight: 500
}

.conv-item .conv-icon {
    width: 16px;
    height: 16px;
    margin-right: 9px;
    flex-shrink: 0;
    opacity: .7;
    position: relative;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    display: none
}

.conv-item .conv-icon::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 6px 0 0 currentColor,0 6px 0 currentColor,6px 6px 0 currentColor
}

.conv-item .conv-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.conv-item .conv-ops {
    display: none;
    gap: 2px;
    margin-left: 6px;
    flex-shrink: 0
}

.conv-item:hover .conv-ops {
    display: flex
}

.conv-item.editing .conv-ops {
    display: none
}

.conv-title-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center
}

.conv-item:hover .conv-ops.show,.conv-ops.show {
    display: flex
}

.conv-op-btn {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    transition: background .12s,color .12s
}

.conv-op-btn:hover {
    background: #d8dce4;
    color: #1f2329
}

.conv-op-btn.del:hover {
    color: #e5484d
}

.conv-rename-input {
    flex: 1;
    height: 26px;
    border: 1px solid #4d6bfe;
    border-radius: 5px;
    padding: 0 6px;
    font-size: 13px;
    background: #fff;
    outline: 0
}

.sidebar-foot {
    border-top: 1px solid #ebedf0;
    padding: 10px 12px
}

.user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px;
    border-radius: 8px;
    transition: background .12s;
    cursor: default
}

.user-box:hover {
    background: #eceef2
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg,#4d6bfe 0,#4f46e5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    text-transform: uppercase;
    user-select: none
}

.user-meta {
    flex: 1;
    overflow: hidden
}

.user-meta .u-name {
    font-size: 13.5px;
    font-weight: 500;
    color: #1f2329;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-meta .u-sub {
    font-size: 11.5px;
    color: #8a909c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.logout-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
    transition: background .12s,color .12s
}

.logout-btn:hover {
    background: #ffe0e0;
    color: #e5484d
}

.logout-btn svg {
    width: 17px;
    height: 17px
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff
}

.topbar {
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px
}

.topbar-title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2329;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.topbar-title .empty-hint {
    font-weight: 400;
    color: #8a909c
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    background: #f3f4f6;
    transition: background .15s,color .15s,transform .15s;
    border: 1px solid transparent;
    border: 1px solid #e3e6eb
}

.icon-btn:hover {
    background: #e5e7eb;
    color: #1f2329;
    transform: translateY(-1px)
}

.icon-btn svg {
    width: 18px;
    height: 18px
}

.model-select-wrap {
    position: relative
}

.model-select {
    height: 28px;
    padding: 0 30px 0 12px;
    border-radius: 80px;
    border: 1px solid #e3e6eb;
    background: #fff;
    font-size: 13px;
    color: #1f2329;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: 0;
    transition: border-color .15s;
    min-width: 150px
}

.model-select:hover:not(:disabled) {
    border-color: #4d6bfe
}

.model-select:disabled {
    background: #f3f4f6;
    color: #9aa0aa;
    cursor: not-allowed
}

.model-select-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #6b7280;
    border-bottom: 1.5px solid #6b7280;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none
}

.model-select-wrap.disabled::after {
    border-color: #c0c4cc
}
.open-vip {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 12px;
    border-radius: 80px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #ff2c11;
    transition: all .15s;
    user-select: none;
}
.open-vip:hover {
    border: 1px solid #f0c190;
    background: #ffebeb;
    color: #f11b00;
}
.thinking-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 28px;
    padding: 0 12px;
    border-radius: 80px;
    border: 1px solid #e3e6eb;
    background: #fff;
    font-size: 13px;
    color: #1f2329;
    transition: all .15s;
    user-select: none
}

.thinking-toggle:hover:not(.disabled) {
    border-color: #4d6bfe
}

.thinking-toggle.disabled {
    opacity: .5;
    cursor: not-allowed
}

.thinking-toggle .toggle-dot {
    width: 18px;
    height: 18px
}

.thinking-toggle.on {
    border-color: #4d6bfe;
    color: #4d6bfe;
    background: #eef2ff
}

.messages-wrap {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-break: normal;
    overflow-wrap: break-word;
}

.messages {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 28px 36px
}

.welcome {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center
}

.welcome-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px
}

.welcome-logo img {
    width: 100%;
    height: 100%;
    border-radius: 16px
}

.welcome h1 {
    font-size: 26px;
    font-weight: 600;
    color: #1f2329;
    margin-bottom: 10px;
    letter-spacing: .5px
}

.welcome p {
    font-size: 14.5px;
    color: #8a909c;
    margin-bottom: 30px
}

.welcome-examples {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    width: 100%;
    max-width: 640px
}

.example-card {
    text-align: left;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #ebedf0;
    background: #fff;
    cursor: pointer;
    transition: all .15s
}

.example-card:hover {
    border-color: #4d6bfe;
    background: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77,107,254,.1)
}

.example-card .ex-title {
    font-size: 14px;
    color: #1f2329;
    margin-bottom: 4px
}

.example-card .ex-desc {
    font-size: 12.5px;
    color: #8a909c;
    line-height: 1.5
}

.welcome-domain-entry {
    margin-top: 22px;
    text-align: center
}

.wd-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #c4c9d4;
    font-size: 12px;
    margin-bottom: 14px
}

.wd-line::before,
.wd-line::after {
    content: "";
    flex: 0 1 60px;
    height: 1px;
    background: #eef0f4
}

.wd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 22px;
    border-radius: 80px;
    border: 1.5px solid #4d6bfe;
    background: #fff;
    color: #4d6bfe;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, box-shadow .15s
}

.wd-btn:hover {
    background: #4d6bfe;
    color: #fff;
    box-shadow: 0 6px 18px rgba(77,107,254,.25)
}

.msg {
    margin-bottom: 26px;
    display: flex;
    gap: 14px;
    animation: msgIn .3s ease
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.msg .avatar {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0
}

.msg.user {
    flex-direction: row-reverse
}

.msg.user .avatar {
    background: linear-gradient(135deg,#4d6bfe 0,#4f46e5 100%)
}

.msg.assistant .avatar {
    background: linear-gradient(135deg,#1f2329 0,#3a3f47 100%)
}

.msg-body {
    min-width: 0;
    width: calc(100% - 46px);
    display: flex;
    flex-direction: column
}

.msg.user .msg-body {
    align-items: flex-end
}

.user-bubble {
    background: #eef2ff;
    color: #1f2329;
    padding: 11px 15px;
    border-radius: 14px 14px 4px 14px;
    font-size: 14.5px;
    line-height: 1.7;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%
}

.assistant-content {
    width: 100%;
    color: #1f2329;
    font-size: 14.5px;
    line-height: 1.75;
    word-wrap: break-word
}

.assistant-content>:first-child {
    margin-top: 0
}

.assistant-content>:last-child {
    margin-bottom: 0
}

.assistant-content p {
    margin: 6px 0
}

.assistant-content h1,.assistant-content h2,.assistant-content h3,.assistant-content h4 {
    margin: 18px 0 10px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2329
}

.assistant-content h1 {
    font-size: 22px
}

.assistant-content h2 {
    font-size: 19px
}

.assistant-content h3 {
    font-size: 16px
}

.assistant-content h4 {
    font-size: 14.5px
}

.assistant-content ol,.assistant-content ul {
    margin: 0 0 12px;
    padding-left: 24px
}

.assistant-content li {
    margin: 4px 0
}

.assistant-content li>p {
    margin: 4px 0
}

.assistant-content blockquote {
    margin: 0 0 12px;
    padding: 6px 14px;
    border-left: 3px solid #4d6bfe;
    background: #f7f8fa;
    color: #5a6068;
    border-radius: 0 6px 6px 0
}

.assistant-content a {
    color: #4d6bfe;
    text-decoration: underline
}

.assistant-content a:hover {
    color: #4f46e5
}

.assistant-content table {
    border-collapse: collapse;
    margin: 0 0 12px;
    width: 100%;
    font-size: 13.5px;
    display: block;
    overflow-x: auto
}

.assistant-content td,.assistant-content th {
    border: 1px solid #e3e6eb;
    padding: 8px 12px;
    text-align: left
}

.assistant-content th {
    background: #f7f8fa;
    font-weight: 600
}

.assistant-content hr {
    border: none;
    border-top: 1px solid #ebedf0;
    margin: 16px 0
}

.assistant-content code,.user-bubble code {
    font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;
    background: #f1f2f6;
    color: #c7254e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .9em
}

.code-block {
    margin: 0 0 14px;
    border-radius: 8px;
    background: #1e1e2e;
    border: 1px solid #2a2a3a
}

.code-block-head {
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: #2a2a3a;
    color: #cdd3e0;
    font-size: 12px;
    font-family: SFMono-Regular,Consolas,monospace;
    position: sticky;
    top: 0;
    z-index: 10;
}

.code-block-head .code-lang {
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .85
}

.code-block-head .copy-btn {
    padding: 3px 5px;
    border-radius: 5px;
    color: #cdd3e0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background .12s,color .12s
}

.html-preview-trigger {
    position: absolute;
    z-index: 9;
    right: 88px
}

.code-block-head .copy-btn:hover {
    background: rgba(255,255,255,.1);
    color: #fff
}

.code-block-head .copy-btn.copied {
    color: #6ee7b7
}

.code-block pre {
    margin: 0;
    padding: 14px 14px;
    overflow-x: auto
}

.code-block pre code {
    background: 0 0;
    color: #e6e6ef;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    line-height: 1.6;
    font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace
}

.reasoning-block {
    margin: 0 0 12px;
    border: 1px solid #e8eaf3;
    border-radius: 10px;
    background: #fafbff;
    overflow: hidden
}

.reasoning-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    color: #4d6bfe;
    font-weight: 500;
    transition: background .12s
}

.reasoning-head:hover {
    background: #f1f3ff
}

.reasoning-head .r-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid #4d6bfe;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform .2s;
    flex-shrink: 0
}

.reasoning-block.open .reasoning-head .r-arrow {
    transform: rotate(90deg)
}

.reasoning-head .r-title {
    flex: 1
}

.reasoning-head .r-meta {
    font-size: 12px;
    color: #8a909c;
    font-weight: 400
}

.reasoning-head .r-thinking-anim {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px
}

.reasoning-head .r-thinking-anim span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4d6bfe;
    animation: blink 1.2s infinite ease-in-out
}

.reasoning-head .r-thinking-anim span:nth-child(2) {
    animation-delay: .2s
}

.reasoning-head .r-thinking-anim span:nth-child(3) {
    animation-delay: .4s
}

@keyframes blink {
    0%,100%,80% {
        opacity: .3;
        transform: scale(.8)
    }

    40% {
        opacity: 1;
        transform: scale(1)
    }
}

.reasoning-body {
    display: none;
    padding: 4px 14px 12px 30px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #5a6068;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-top: 1px solid #eef0f7
}

.reasoning-block.open .reasoning-body {
    display: block
}

.msg-files {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px
}

.msg.user .msg-files {
    justify-content: flex-end
}

.msg-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #f1f2f6;
    font-size: 12.5px;
    color: #3a3f47;
    max-width: 240px
}

.msg-file-chip img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover
}

.msg-file-chip .mf-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4d6bfe;
    animation: typing 1.3s infinite ease-in-out
}

.typing-dots span:nth-child(2) {
    animation-delay: .18s
}

.typing-dots span:nth-child(3) {
    animation-delay: .36s
}

@keyframes typing {
    0%,100%,60% {
        transform: translateY(0);
        opacity: .4
    }

    30% {
        transform: translateY(-5px);
        opacity: 1
    }
}

.msg-error {
    background: #fff5f5;
    border: 1px solid #ffd6d6;
    color: #c01f24;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.6;
}

.msg-footer {
    margin-top: 6px;
    font-size: 11.5px;
    color: #a0a5b0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.msg.user .msg-footer {
    justify-content: flex-end
}

.msg-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity .15s
}

.msg:hover .msg-actions {
    opacity: 1
}

.msg.user .msg-actions {
    justify-content: flex-end
}

.msg-actions .msg-time,.msg-actions .msg-tokens {
    font-size: 11.5px;
    color: #a0a5b0;
    margin-right: 4px
}

.msg-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a909c;
    background: 0 0;
    transition: background .12s,color .12s;
    border: 1px solid transparent
}

.msg-action-btn:hover {
    background: #f1f2f6;
    color: #1f2329;
    border-color: #e3e6eb
}

.msg-action-btn.danger:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca
}

.msg-action-btn svg {
    width: 14px;
    height: 14px
}

.composer {
    flex-shrink: 0;
    background: #fff;
    padding: 14px 28px 18px
}

.composer-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative
}

.composer-box {
    border: 1.5px solid #e3e6eb;
    border-radius: 14px;
    background: #fff;
    padding: 8px 8px 8px 12px;
    transition: border-color .15s,box-shadow .15s;
    padding-bottom: 55px
}

.composer-box:focus-within {
    border-color: #4d6bfe;
    box-shadow: 0 0 0 3px rgba(77,107,254,.1)
}

.composer-box.disabled {
    background: #fafbfc;
    opacity: .85
}

.attach-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px
}

.attach-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 4px;
    border-radius: 8px;
    background: #f1f2f6;
    font-size: 12.5px;
    color: #3a3f47;
    max-width: 220px;
    animation: msgIn .2s ease
}

.attach-chip img {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    object-fit: cover
}

.attach-chip .ac-icon {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: #e3e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase
}

.attach-chip .ac-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px
}

.attach-chip .ac-remove {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a909c;
    font-size: 14px;
    margin-left: 2px;
    transition: background .12s,color .12s
}

.attach-chip .ac-remove:hover {
    background: #d8dce4;
    color: #1f2329
}

.attach-chip.uploading .ac-name::after {
    content: "ÃƒÂ¯Ã‚Â¼Ã‹â€ ÃƒÂ¤Ã‚Â¸Ã…Â ÃƒÂ¤Ã‚Â¼Ã‚Â ÃƒÂ¤Ã‚Â¸Ã‚Â­ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÂ¯Ã‚Â¼Ã¢â‚¬Â°";
    color: #8a909c;
    margin-left: 4px
}

.composer-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px
}

.composer-textarea {
    flex: 1;
    border: none;
    outline: 0;
    resize: none;
    background: 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    padding: 6px 0;
    max-height: 200px;
    min-height: 24px;
    color: #1f2329
}

.composer-textarea::placeholder {
    color: #b0b5bf
}

.composer-textarea:disabled {
    color: #9aa0aa;
    cursor: not-allowed
}

.composer-tools {
    display: flex;
    align-items: center;
    gap: 4px
}

.tool-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background .12s,color .12s;
    position: absolute;
    overflow: hidden;
    right: 60px;
    bottom: 38px
}

.tool-btn:hover {
    background: #f1f2f6;
    color: #1f2329
}

.tool-btn svg {
    width: 19px;
    height: 19px
}

.tool-btn input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0
}

.send-btn {
    width: 34px;
    height: 34px;
    border-radius: 90px;
    background: linear-gradient(135deg,#4d6bfe 0,#4f46e5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .12s,opacity .12s,box-shadow .12s;
    box-shadow: 0 2px 8px rgba(77,107,254,.35);
    position: absolute;
    right: 16px;
    bottom: 38px
}

.send-btn svg {
    width: 18px;
    height: 18px
}

.send-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77,107,254,.45)
}

.send-btn:disabled {
    background: #c0c4cc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: .7
}

.composer-hint {
    text-align: center;
    font-size: 11.5px;
    color: #a0a5b0;
    margin-top: 8px
}

.composer-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    position: absolute;
    bottom: 38px;
    left: 16px
}

.composer-toolbar .model-select-wrap {
    flex-shrink: 0
}

.composer-toolbar .thinking-toggle {
    flex-shrink: 0
}

.sidebar-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    flex-shrink: 0;
    transition: background .12s,color .12s
}

.sidebar-toggle:hover {
    background: #f1f2f6;
    color: #1f2329
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(2px);
    z-index: 90;
    animation: fadeIn .18s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.user-popup {
    position: fixed;
    bottom: 78px;
    left: 290px;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(15,23,42,.18),0 2px 8px rgba(15,23,42,.06);
    border: 1px solid #ebedf0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease,transform .18s ease,visibility .18s;
    overflow: hidden
}

.user-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.user-popup-arrow {
    position: absolute;
    bottom: -7px;
    left: 28px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    border-right: 1px solid #ebedf0;
    border-bottom: 1px solid #ebedf0
}

.user-popup-head {
    padding: 18px 18px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg,#f8f9ff 0,#eef2ff 100%);
    border-bottom: 1px solid #f0f1f3
}

.user-popup-avatar {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg,#4d6bfe 0,#4f46e5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(77,107,254,.3)
}

.user-popup-info {
    flex: 1;
    min-width: 0
}

.user-popup-info .up-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2329;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-popup-info .up-sub {
    font-size: 12.5px;
    color: #8a909c
}

.user-popup-body {
    padding: 12px 18px
}

.user-popup-body .up-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #f5f6f8
}

.user-popup-body .up-row:last-child {
    border-bottom: none
}

.user-popup-body .up-label {
    color: #8a909c
}

.user-popup-body .up-value {
    color: #1f2329;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.up-vip-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg,#fbbf24 0,#f59e0b 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(245,158,11,.35)
}

.user-popup-foot {
    padding: 12px 18px;
    border-top: 1px solid #f0f1f3;
    background: #fafbfd;
    display: flex;
    justify-content: flex-end
}

.user-popup-foot .up-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 80px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #ef4444;
    font-size: 13px;
    transition: background .12s,border-color .12s
}

.user-popup-foot .up-btn:hover {
    background: #fef2f2;
    border-color: #fecaca
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

::-webkit-scrollbar-track {
    background: 0 0
}

::-webkit-scrollbar-thumb {
    background: #d4d7dd;
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box
}

::-webkit-scrollbar-thumb:hover {
    background: #b8bcc4;
    background-clip: padding-box
}

.messages-wrap::-webkit-scrollbar-thumb {
    background: #e0e2e6
}

.messages-wrap::-webkit-scrollbar-thumb:hover {
    background: #c8ccd2
}

.toast-wrap {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none
}

.toast {
    background: #1f2329;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    animation: toastIn .25s ease;
    pointer-events: auto;
    max-width: 80vw
}

.toast.error {
    background: #c01f24
}

.toast.success {
    background: #1a9d56
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn .18s ease
}

.modal-mask.show {
    display: flex
}

@keyframes modalFadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal {
    width: 280px;
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(15,23,42,.25),0 4px 12px rgba(15,23,42,.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn .22s cubic-bezier(.16,1,.3,1)
}

.modal.modal-sm {
    width: 400px
}

.modal.modal-lg {
    width: 100%;
    height: 100%
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #f0f1f3;
    flex-shrink: 0
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2329;
    margin: 0
}

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a909c;
    font-size: 22px;
    line-height: 1;
    transition: background .12s,color .12s
}

.modal-close:hover {
    background: #f1f2f6;
    color: #1f2329
}

.modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    flex: 1
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid #f0f1f3;
    background: #fafbfd;
    flex-shrink: 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .12s,border-color .12s,color .12s,transform .12s;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-primary {
    background: linear-gradient(135deg,#4d6bfe 0,#4f46e5 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(77,107,254,.3)
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(77,107,254,.4)
}

.btn-default {
    background: #fff;
    border-color: #e3e6eb;
    color: #4b5563
}

.btn-default:hover {
    background: #f7f8fa;
    border-color: #d4d7dd;
    color: #1f2329
}

.btn-danger {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 2px 8px rgba(239,68,68,.3)
}

.btn-danger:hover {
    background: #dc2626
}

.form-group {
    margin-bottom: 16px
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 6px;
    font-weight: 500
}

.form-control {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2329;
    background: #fff;
    outline: 0;
    transition: border-color .15s,box-shadow .15s
}

.form-control:focus {
    border-color: #4d6bfe;
    box-shadow: 0 0 0 3px rgba(77,107,254,.1)
}

textarea.form-control {
    height: auto;
    min-height: 80px;
    padding: 10px 12px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit
}

.text-muted {
    color: #8a909c
}

.text-sm {
    font-size: 12px
}

.text-right {
    text-align: right
}

.html-preview-tabs {
    display: flex;
    border-bottom: 1px solid #ebedf0;
    background: #fafbfd;
    flex-shrink: 0
}

.hp-tab {
    padding: 12px 22px;
    font-size: 13.5px;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: color .12s,border-color .12s,background .12s;
    cursor: pointer;
    font-weight: 500
}

.hp-tab:hover {
    color: #1f2329;
    background: #f3f4f6
}

.hp-tab.active {
    color: #4d6bfe;
    border-bottom-color: #4d6bfe;
    background: #fff
}

.html-preview-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: calc(100vh - 254px);
    background: #fff
}

.hp-preview {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    min-height: 400px
}

/* ============================================================
   领域 / 提示词选择
   ============================================================ */
.prompt-select-wrap {
    position: relative;
    flex-shrink: 0
}

.prompt-select-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 14px 0 10px;
    border-radius: 80px;
    border: 1px solid #e3e6eb;
    background: #fff;
    font-size: 13px;
    color: #1f2329;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    outline: 0
}

.prompt-select-trigger:hover {
    border-color: #4d6bfe;
    color: #4d6bfe
}

.prompt-select-trigger svg {
    color: #6b7280;
    flex-shrink: 0
}

.prompt-select-trigger.active {
    background: #eef2ff;
    border-color: #4d6bfe;
    color: #4d6bfe
}

.prompt-select-trigger.active svg {
    color: #4d6bfe
}

.prompt-select-text {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* 选择面板 */
.prompt-picker {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center
}

.prompt-picker-mask {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(2px);
    animation: fadeIn .18s ease
}

.prompt-picker-panel {
    position: relative;
    width: 680px;
    max-width: 92vw;
    max-height: 80vh;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(15,23,42,.18);
    animation: pickerIn .2s ease
}

@keyframes pickerIn {
    from { opacity: 0; transform: translateY(12px) scale(.98) }
    to { opacity: 1; transform: translateY(0) scale(1) }
}

.prompt-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eef0f4
}

.prompt-picker-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2430;
    margin: 0
}

.prompt-picker-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s
}

.prompt-picker-close:hover {
    background: #f1f2f6;
    color: #1f2329
}

.prompt-picker-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    min-height: 0
}

.pp-tabs {
    width: 168px;
    flex-shrink: 0;
    border-right: 1px solid #eef0f4;
    background: #f8fafc;
    overflow-y: auto;
    padding: 8px 0
}

.pp-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 13.5px;
    color: #4b5563;
    cursor: pointer;
    transition: background .12s, color .12s;
    border-left: 3px solid transparent
}

.pp-tab:hover {
    background: #eef2f7;
    color: #1f2329
}

.pp-tab.active {
    background: #fff;
    color: #4d6bfe;
    border-left-color: #4d6bfe;
    font-weight: 600
}

.pp-tab .pp-tab-ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: inherit
}

.pp-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px
}

.pp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.pp-card {
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
    background: #fff
}

.pp-card:hover {
    border-color: #4d6bfe;
    background: #f6f8ff
}

.pp-card.active {
    border-color: #4d6bfe;
    background: #eef2ff;
    box-shadow: 0 0 0 1px #4d6bfe
}

.pp-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2430;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.pp-card-title .pp-check {
    color: #4d6bfe;
    flex-shrink: 0
}

.pp-card-intro {
    font-size: 12px;
    color: #8a909c;
    line-height: 1.55;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.pp-card-meta {
    margin-top: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.pp-tag {
    font-size: 11px;
    color: #6b7280;
    background: #f1f2f6;
    border-radius: 4px;
    padding: 1px 6px
}

.pp-empty {
    grid-column: 1/3;
    text-align: center;
    padding: 40px 0;
    color: #8a909c;
    font-size: 13px
}

.prompt-picker-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid #eef0f4;
    background: #fafbfc
}

.pp-clear {
    border: 1px solid #e3e6eb;
    background: #fff;
    border-radius: 8px;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    transition: border-color .15s, color .15s
}

.pp-clear:hover {
    border-color: #ef4444;
    color: #ef4444
}

.pp-current {
    font-size: 12.5px;
    color: #6b7280
}

.pp-current b {
    color: #4d6bfe;
    font-weight: 600
}

/* 移动端 */
@media (max-width: 768px) {
    .prompt-picker-panel {
        width: 96vw;
        max-height: 88vh;
        border-radius: 12px
    }
    .pp-tabs {
        width: 120px
    }
    .pp-grid {
        grid-template-columns: 1fr
    }
    .prompt-select-text {
        max-width: 90px
    }
}

.hp-code {
    margin: 0;
    padding: 16px 18px;
    background: #1e1e2e;
    color: #e6e6ef;
    font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;
    font-size: 13px;
    line-height: 1.6;
    overflow: auto;
    min-height: 400px;
    white-space: pre-wrap;
    word-wrap: break-word;
    height: calc(100vh - 256px)
}
/* ============================================================
   自定义下拉菜单 (替代原生 select)
   ============================================================ */
.custom-select {
    position: relative;
    display: inline-block;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    padding: 0 12px;
    border-radius: 80px;
    border: 1px solid #e3e6eb;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    font-size: 13px;
    color: #1f2329;
    gap: 8px;
}

.custom-select-trigger:hover {
    border-color: #4d6bfe;
}

.custom-select-trigger .select-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 14px;
}

.custom-select-trigger .select-arrow {
    font-size: 10px;
    color: #6b7280;
    transition: transform .2s;
    flex-shrink: 0;
}

.custom-select.open .custom-select-trigger .select-arrow {
    transform: rotate(180deg);
}

.custom-select.open .custom-select-trigger {
    border-color: #4d6bfe;
    box-shadow: 0 0 0 3px rgba(77, 107, 254, 0.1);
}

.custom-select-dropdown {
    position: absolute;
    left: -4px;
    right: 0;
    bottom: 38px;
    min-width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ebedf0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
    display: none;
    padding: 6px 0;
    width: fit-content;
}

.custom-select.open .custom-select-dropdown {
    display: block;
}

.custom-select-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #1f2329;
    transition: background .12s;
    gap: 8px;
}

.custom-select-item:hover {
    background: #f1f2f6;
}

.custom-select-item.active {
    background: #eef2ff;
    color: #4d6bfe;
}

.custom-select-item .item-check {
    visibility: hidden;
    color: #4d6bfe;
    font-size: 14px;
    flex-shrink: 0;
}

.custom-select-item.active .item-check {
    visibility: visible;
}

.custom-select-item .item-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* VIP 模型红色标记 */
.custom-select-item.is-vip .item-label {
    color: #ff0000;
}

.custom-select-item.is-vip .item-badge {
    font-size: 10px;
    color: #fff;
    background: #ff0000;
    padding: 1px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

/* 禁用模型（不可选） */
.custom-select-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-select-item.disabled:hover {
    background: transparent;
}

/* 响应式 */
@media (max-width: 768px) {
    .custom-select {
        min-width: 100px;
    }
    .custom-select-trigger {
        height: 32px;
        font-size: 12px;
        padding: 0 10px;
    }
    .custom-select-dropdown {
        min-width: 160px;
        right: -20px;
        left: -20px;
        max-height: 200px;
    }
    .custom-select-trigger .select-text {
        width: 80px;
    }
}
@media (max-width: 768px) {
    .sidebar {
        position:fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        transform: translateX(-100%);
        box-shadow: 4px 0 20px rgba(0,0,0,.1);
        transition: transform .25s ease
    }

    .sidebar.show {
        transform: translateX(0)
    }

    .sidebar-overlay.show {
        display: block
    }

    .sidebar-toggle {
        display: inline-flex
    }

    .messages {
        padding: 18px 14px 28px
    }

    .composer {
        padding: 12px 14px 16px
    }

    .welcome-examples {
        grid-template-columns: 1fr
    }

    .topbar {
        padding: 0 14px;
        gap: 10px
    }

    .topbar-title {
        font-size: 14px
    }

    .model-select {
        width: 100px;
        min-width: auto;
        font-size: 12.5px;
        padding: 0 26px 0 10px;
        height: 32px
    }

    .thinking-toggle {
        padding: 0 10px;
        height: 32px;
        width: 40px;
        font-size: 0;
        gap: unset;
    }

    .user-popup {
        left: 14px;
        right: 14px;
        width: auto;
        max-width: 360px;
        bottom: 90px
    }

    .user-popup-arrow {
        left: 22px
    }

    .modal {
        width: calc(100vw - 28px)!important;
        max-width: none
    }

    .modal.modal-lg {
        width: calc(100vw - 28px)!important
    }

    .modal-body {
        padding: 16px
    }

    .modal-header {
        padding: 14px 16px
    }

    .modal-footer {
        padding: 12px 16px
    }

    .msg-actions {
        opacity: 1
    }

    .composer-toolbar {
        gap: 8px;
    }
}

.mxui_07_shenduxuexi_104616 {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTUwLCAyMTkpOyB3aWR0aDogNjRweDsgaGVpZ2h0OiA2NHB4OyI+PHBhdGggZD0iTTIuNjU2IDE3LjM0NGMtMS4wMTYtMS4wMTUtMS4xNS0yLjc1LS4zMTMtNC45MjUuMzI1LS44MjUuNzMtMS42MTcgMS4yMDUtMi4zNjVMMy41ODIgMTBsLS4wMzMtLjA1NGMtLjUtLjc5OS0uOTEtMS41OTYtMS4yMDYtMi4zNjUtLjgzNi0yLjE3NS0uNzAzLTMuOTEuMzEzLTQuOTI2LjU2LS41NiAxLjM2NC0uODYgMi4zMzUtLjg2IDEuNDI1IDAgMy4xNjguNjM2IDQuOTU3IDEuNzU2bC4wNTMuMDM0LjA1My0uMDM0YzEuNzktMS4xMiAzLjUzMi0xLjc1NyA0Ljk1Ny0xLjc1Ny45NzIgMCAxLjc3Ni4zIDIuMzM1Ljg2IDEuMDE0IDEuMDE1IDEuMTQ4IDIuNzUyLjMxMiA0LjkyNmExMy44OTIgMTMuODkyIDAgMCAxLTEuMjA2IDIuMzY1bC0uMDM0LjA1NC4wMzQuMDUzYy41LjguOTEgMS41OTYgMS4yMDUgMi4zNjUuODM3IDIuMTc1LjcwNCAzLjkxMS0uMzExIDQuOTI2LS41Ni41Ni0xLjM2NC44NjEtMi4zMzUuODYxLTEuNDI1IDAtMy4xNjgtLjYzNy00Ljk1Ny0xLjc1N0wxMCAxNi40MTVsLS4wNTMuMDMzYy0xLjc5IDEuMTItMy41MzIgMS43NTctNC45NTcgMS43NTctLjk3MiAwLTEuNzc2LS4zLTIuMzM1LS44NnptMTMuNjMxLTQuMzk5Yy0uMTg3LS40ODgtLjQyOS0uOTg4LS43MS0xLjQ5MmwtLjA3NS0uMTMyLS4wOTIuMTJhMjIuMDc1IDIyLjA3NSAwIDAgMS0zLjk2OCAzLjk2OGwtLjEyLjA5My4xMzIuMDc0YzEuMzA4LjczNCAyLjU1OSAxLjE2MiAzLjU1NiAxLjE2Mi41NjMgMCAxLjAwNi0uMTM4IDEuMjk4LS40My4zLS4zLjQzNi0uNzc0LjQyOC0xLjM0Ni0uMDA4LS41NzUtLjE1OS0xLjI2NC0uNDQ5LTIuMDE3em0tNi4zNDUgMS42NWwuMDU4LjA0Mi4wNTgtLjA0MmExOS44ODEgMTkuODgxIDAgMCAwIDQuNTUxLTQuNTM3bC4wNDMtLjA1OC0uMDQzLS4wNThhMjAuMTIzIDIwLjEyMyAwIDAgMC0yLjA5My0yLjQ1OCAxOS43MzIgMTkuNzMyIDAgMCAwLTIuNDU4LTIuMDhMMTAgNS4zNjRsLS4wNTguMDQyQTE5Ljg4MyAxOS44ODMgMCAwIDAgNS4zOSA5Ljk0Mkw1LjM0OCAxMGwuMDQyLjA1OWMuNjMxLjg3NCAxLjMzMiAxLjY5NSAyLjA5NCAyLjQ1N2ExOS43NCAxOS43NCAwIDAgMCAyLjQ1OCAyLjA4em02LjM2Ni0xMC45MDJjLS4yOTMtLjI5My0uNzM2LS40MzEtMS4yOTgtLjQzMS0uOTk4IDAtMi4yNDguNDI5LTMuNTU2IDEuMTYzbC0uMTMyLjA3NC4xMi4wOTJhMjEuOTM4IDIxLjkzOCAwIDAgMSAzLjk2OCAzLjk2OGwuMDkyLjEyLjA3NC0uMTMyYy4yODItLjUwNC41MjQtMS4wMDQuNzExLTEuNDkyLjI5LS43NTMuNDQyLTEuNDQyLjQ1LTIuMDE3LjAwNy0uNTcyLS4xMjktMS4wNDUtLjQyOS0xLjM0NXpNMy43MTIgNy4wNTVjLjIwMi41MTQuNDQgMS4wMTMuNzEyIDEuNDkzbC4wNzQuMTMuMDkyLS4xMTlhMjEuOTQgMjEuOTQgMCAwIDEgMy45NjgtMy45NjhsLjEyLS4wOTItLjEzMi0uMDc0QzcuMjM4IDMuNjkgNS45ODcgMy4yNjIgNC45OSAzLjI2MmMtLjU2MyAwLTEuMDA2LjEzOC0xLjI5OC40My0uMy4zMDEtLjQzNi43NzQtLjQyOCAxLjM0Ni4wMDcuNTc1LjE1OSAxLjI2NC40NDggMi4wMTd6bTAgNS44OWMtLjI5Ljc1My0uNDQgMS40NDItLjQ0OCAyLjAxNy0uMDA4LjU3Mi4xMjcgMS4wNDUuNDI4IDEuMzQ1LjI5My4yOTMuNzM2LjQzMSAxLjI5OC40MzEuOTk3IDAgMi4yNDctLjQyOCAzLjU1Ni0xLjE2MmwuMTMxLS4wNzQtLjEyLS4wOTNhMjEuOTQgMjEuOTQgMCAwIDEtMy45NjctMy45NjhsLS4wOTMtLjEyLS4wNzQuMTMyYTExLjcxMiAxMS43MTIgMCAwIDAtLjcxIDEuNDkyeiIgZmlsbD0iIzRkNmJmZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iLjEiPjwvcGF0aD48cGF0aCBkPSJNMTAuNzA2IDExLjcwNEExLjg0MyAxLjg0MyAwIDAgMSA4LjE1NSAxMGExLjg0NSAxLjg0NSAwIDEgMSAyLjU1MSAxLjcwNHoiIGZpbGw9IiM0ZDZiZmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9Ii4yIj48L3BhdGg+PC9zdmc+IA==)
}
/*Usage in HTML: <span class="icon-2f161431bd"></span>*/
.icon-2f161431bd {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22icon%22%20style%3D%22width%3A%2032px%3B%20height%3A%2032px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M844.89%2085.33H179.11L0%20436.6l512%20502.07%20512-502.07L844.89%2085.33zM106.34%20419.67l126.77-248.64h557.77l126.77%20248.64L512%20817.46%20106.34%20419.67z%22%20fill%3D%22rgb(255%2C%2029%2C%200)%22%2F%3E%3Cpath%20d%3D%22M512%20603.21L324.41%20419.26l-61.8%2060.6L512%20724.42l249.39-244.56-61.8-60.6z%22%20fill%3D%22rgb(255%2C%2029%2C%200)%22%2F%3E%3C%2Fsvg%3E");
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
}