:root {
    --bg-color: #ffffff;
    --bg-transparent: #ffffff00;
    --item-bg-color: #dadada30;
    --item-border-color: #dadada4d;
    --text-color: #14171add;
    --foreground-transparent: #14171a00;
    --preview-item-color: #bebebe;
    --pending-color: #14171a80;
    
    --secondary-text-color: #657786;
    --bordernotused-color: #e1e8eda0;
    --border-color: #dadada60;
    --border-firm-color: #69778490;
    --event-color: #97b7e320;
    --event-firm-color: #e3eaf4;
    --event-text-color: #16202dc0;
    --alert-color: #ffe83780;
    --alert-firm-color: #dc4411;
    --refresh-effect: #304fff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bgnotused-color: #15202b;
        --bg-color: #000000;
        --bg-transparent: #00000000;
        --item-bg-color: #53535353;
        --item-border-color: #53535353;
        --text-color: #ffffff;
        --foreground-transparent: #ffffff00;
        --preview-item-color: #141414;
        --pending-color: #ffffff80;
        --text-forbidden-color: #808080;
        --secondary-text-color: #8899a6;
        --bordernotused-color: #38444da0;
        --border-color: #4d4d4dc0;
        --border-firm-color: #82909f9a;
        --event-color: #97c4ff10;
        --event-firm-color: #141b24;
        --event-text-color: #91a0b3c0;
        --alert-color: #dac74a20;
        --alert-firm-color: #ddc634;
        --refresh-effect: #ebedf1;
    }
}

body {
    position: relative;
    font-family: 'Pretendard V', 'HM';
    /* height: 100vh; */
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
}

button,
input,
textarea,
.clickable {
    -webkit-tap-highlight-color: transparent;
}

main {
    position: relative;
    display: flex;
    gap: 15px;
    min-height: 100vh;
    background-color: #000;
    overflow: hidden;
    width: 100%;
}


.viewer {
    flex-grow: 1;
    border-radius: 0;
    border: 0px transparent;
    background-color: #211616;
    position: relative;
    /* 极简滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: var(--border-firm-color) transparent; /* Firefox */
    transition: all 0.5s cubic-bezier(0.5, 0, 0, 1), opacity 1s ease-in-out;
}

.viewer.withsidebar {
    margin-right: calc(30% + 15px);
    border-radius: 0 15px 15px 0;
    min-width: 750px;
}



#open-chat-button {
    width: fit-content;
    margin: 20% auto;
    padding: 10px 20px;
    background-color: var(--item-bg-color);
    color: var(--text-color);
    border-radius: 5px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    transition: background-color 0.3s ease;
}

#open-chat-button:hover {
    background-color: var(--event-color);
}

.chapterprovider {
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.sidebar {
    isolation: isolate;
    font-family: 'Pretendard V', 'HM';
    margin: 0;
    padding: 0;
    height: 100%;
    width: 30%;
    max-width: 30%;
    min-width: 300px;
    flex-shrink: 0;
    border-radius: 15px 0 0 15px;
    border: 1.1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-color);
    color: var(--text-color);
    mix-blend-mode: screen;
    backdrop-filter: blur(40px);
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(calc(100% + 60px));
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1), opacity 1s ease-in-out;
    pointer-events: none;
}

.sidebar.active {
    transform: translateX(0);
    pointer-events: auto;
}

#chat {
}

#chat::before {
    content: '';
    position: absolute;
    z-index: 101;
    top: 0;
    left: 0;
    width: 25px;
    height: 150%;
    background-color: #fff;
    opacity: 0.5;
    filter: blur(80px);
    transform: translateY(-70px) translateX(-80px);
    border-radius: inherit;
    mix-blend-mode: screen;
    pointer-events: none;
}


.chat-container {
    margin: 0;
    display: flex;
    flex-direction: column;
    /* height: 100vh; */
    height: 100vh;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.sidebar .chat-container {
    opacity: 0;
}
.sidebar.active .chat-container {
    opacity: 1;
}


.chat-title {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    z-index: 98;
    position: absolute;
    display: flex;
    text-align: center;
    align-items: center;
    font-size: 30px;
    width: fit-content;
    padding: 0;
    left: 20px;
    top: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0, 1);
}

.chat-title-text {
    pointer-events: none;
    text-align: center;
    font-weight: 550;
}

.minimize-button {
    z-index: 99;
    position: absolute;
    display: flex;
    top: 3px;
    left: 3px;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 30px;
    border-radius: 12px 0 0 0;
    /* 只设置上边和左边的边框宽度 */
    border-width: 3px 0px 0px 3px;
    border-style: solid;
    border-color: transparent;
    background: 
        linear-gradient(var(--bg-color),var(--bg-color)) padding-box,
        linear-gradient(45deg, 
            rgba(255,255,255,0), 
            rgba(255,255,255,1), 
            rgba(255,255,255,0)
        ) border-box;
    opacity: 0.7;
    font-size: 24px;
    font-weight: normal;
    filter: blur(1px);
    transition: all 0.2s;
    mix-blend-mode: screen;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.minimize-button:hover, .minimize-button.hover {
    width: 36px;
    height: 33px;
    opacity: 1;
    filter: blur(0);
}

.minimize-button .minimize-icon {
    opacity: 0;
    text-shadow: 0 0 10px var(--text-color);
    transform-origin: left top;
    transform: translateY(3px) translateX(3px);
    transition: all 0.2s;
}

.minimize-button:hover .minimize-icon, .minimize-button.hover .minimize-icon {
    transform: translateY(3px) translateX(3px) scale(1.1);
    opacity: 1;
}

.mode-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 10px;
    font-weight: bold;
    transform: scaleX(0.5);
    cursor: pointer;
}

.mode-selector .mode-selector-icon {
    opacity: 0.5;
    height: 20px;
    padding-top: 2px;
}

.mode-selector:hover .mode-selector-icon, .mode-selector.hover .mode-selector-icon {
    opacity: 1;
    text-shadow: 0 0 20 var(--text-color);
}

.gradient-bgt {
    z-index: 97;
    position: absolute;
    left: 0;
    top: 0px;
    height: 180px;
    width: 100%;
    background: linear-gradient(180deg, var(--bg-color), var(--bg-transparent));
    pointer-events: none;
}

.gradient-bgb {
    z-index: 97;
    height: 25px;
    width: 100%;
    background: linear-gradient(180deg, var(--bg-transparent), var(--bg-color));
    pointer-events: none;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    padding-bottom: 95px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: all 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
}

.chat-input-wrapper {
    z-index: 100;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, var(--bg-color) 50%, var(--bg-transparent) 60%);
    padding-bottom: max(0px, env(safe-area-inset-bottom, 30px));
    transition: all 0.3s cubic-bezier(0.1, 0.9, 0.1, 1);
}

.chat-input-area {
    margin: 0px auto;
    padding: 20px;
    padding-bottom: 30px;
    padding-bottom: max(30px, env(safe-area-inset-bottom, 30px));
    background-color: var(--bg-color);
    transition: all 0.3s cubic-bezier(0.1, 0.9, 0.1, 1);
}


.chat-input {
    flex-grow: 1;
    padding: 12px;
    padding-bottom: 0;
    height: 36px;
    max-height: 500px;
    border: 1.1px solid var(--item-border-color);
    background-color: var(--item-bg-color);
    border-radius: 18px;
    color: inherit;
    resize: none;
    font-size: 1.1em;
    font-family: 'Pretendard V', 'HM';
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
}

.chat-input::-webkit-scrollbar {
    display: none;
}

.chat-input:focus {
    outline: none;
}

.input-container {
    display: flex;
    align-items: flex-end;
    width: 100%;
    gap: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
}

.file-upload-btn,
.send-button {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: inherit;
    border: 1.1px solid var(--item-border-color);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.file-upload-btn:hover, .send-button:hover {
    border: 1.1px solid transparent;
    background-color: transparent;
    text-shadow: 0 0 12px var(--text-color);
    transform: scale(1.1);
}

.send-button{
    width: 38px;
    height: 38px;
    transform-origin: right center;
    background-color: var(--item-bg-color);
}

.file-upload-btn .plus-icon{
    opacity: 0.8;
    text-align: center;
    padding-top: 1px;
    line-height: 0.5;
    display: inline-block;
    transition: all 0.2s, font-size 0s;
}

.file-upload-btn {
    width: 38px;
    height: 38px;
    transform-origin: left center;
    flex-shrink: 0;
    background-color: var(--item-bg-color);
    transition: all 0.2s, font-size 0s;
}


.send-button .send-icon{
    opacity: 0.8;
    text-align: center;
    width: 38px;
    font-size: 20px;
    padding-bottom: 2px;
    font-weight: bold;
    line-height: 0.5;
    display: inline-block;
    transition: all 0.2s;
}

.send-button:hover .send-icon, .file-upload-btn:hover .plus-icon{
    opacity: 1;
}


.file-upload{
    display:none;
}



.user-message, .ai-message {
    max-width: 85%;
    margin: 0;
    border-radius: 10px;
    word-wrap: break-word;
    font-size: 1.06em;
    filter: blur(0px);
}

.user-message {
    padding: 10px;
    transform-origin: right center;
    align-self: flex-end;
    background-color: #007bff6a;
    margin-top: 10px;
}

.user-message p {
    margin: 0;
}

.ai-message {
    transform-origin: left center;
    align-self: flex-start;
    color: var(--text-color);
}

.ai-message p {
    margin: 0;
    margin-top: 10px;
    transform: translateX(5px);
}

.ai-message br {
    display: block;
    content: "";
    margin-bottom: 12px;
}

.message-line {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s cubic-bezier(0.1, 0.9, 0.1, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-message {
    height: 32.29px;
    font-size: 40px;
    font-family: 'HM';
    letter-spacing: -10px;
    animation: thinking 0.6s ease-in-out infinite alternate, fade-in 0.6s cubic-bezier(0.1, 0.9, 0.1, 1);
}

@keyframes thinking {
    from { opacity: 0.5; filter: blur(1px); }
    to { opacity: 1; filter: blur(0px); }
}


.fade-in {
    animation: fade-in 0.6s cubic-bezier(0.1, 0.9, 0.1, 1);
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(0px) scaleX(1); filter: blur(0px); }
    2% { opacity: 0; transform: translateY(90px) scaleX(0.9); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0) scaleX(1); filter: blur(0px); }
}

@keyframes fade-out {
    from { opacity: 1; transform: translateY(0px); filter: blur(0px); height: auto; }
    to { opacity: 0; transform: translateY(40px); filter: blur(30px); height: 0px; }
}

.faded {
    opacity: 0.7;
    filter: blur(0.5px);
    transition: all 0.3s ease-out;
}

.user-message.hidden {
    opacity: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    height: 200px;
}

pre {
    background-color: var(--bgnotused-color);
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
}

pre code.hljs {
    background: transparent;
}

.refresh-animation {
    z-index: 99;
    pointer-events: none;
    width: 100%;
    height: 300px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #fff;
    opacity: 1;
    mix-blend-mode: overlay;
    filter: blur(100px);
    transform: translateY(400px);
    transition: all 0s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.refresh-animation.active {
    bottom: 1000px;
    opacity: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 1s ease-in-out;
}

#main-refresh-animation-0 {
    display: none;
}

.main-refresh-animation {
    z-index: 95;
    pointer-events: none;
    width: 400px;
    height: 80px;
    position: fixed;
    bottom: calc(50% - 40px);
    right: 0px;
    background-color: #fff;
    opacity: 1;
    mix-blend-mode: overlay;
    filter: blur(100px);
    transform: translateX(800px);
    transition: all 0s;
}

.main-refresh-animation.active {
    height: 100%;
    bottom: 0;
    transform: translateX(200px);
    opacity: 0;
    transition: all 0.6s ease-out, opacity 0.6s cubic-bezier(1,0,0.3,0.8);
}

.viewer.withsidebar ~ .main-refresh-animation {
    opacity: 0;
}

.clear-button{
    position: absolute;
    right: 20px;
    top: 63px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-color);
    background-color: var(--item-bg-color);
    border: 1.1px solid var(--item-border-color);
    transition: background-color 0.3s, border-color 0.3s;
    z-index: 98;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.2s;
    backdrop-filter: blur(20px);
}


.clear-button:hover {
    border: 1.1px solid transparent;
    background-color: transparent;
    text-shadow: 0 0 12px var(--text-color);
    transform: scale(1.15);
}

.clear-button .clear-icon {
    opacity: 0.8;
    text-align: center;
    width: 38px;
    font-size: 20px;
    font-weight: 550;
    line-height: 0.5;
    padding-top: 2px;
    display: inline-block;
    transition: all 0.2s;
}

.clear-button:hover .clear-icon {
    opacity: 1;
}

.selection-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    padding-top: 20px;
    padding-bottom: max(45px, env(safe-area-inset-bottom, 45px));
    background: transparent;
    display: flex;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
    z-index: 100;
}

.selection-buttons.hidden {
    opacity: 0;
    transform: translateY(-35px);
    pointer-events: none;

}

.input-container.hidden {
    opacity: 0;
    transform: translateY(35px);
    pointer-events: none;
}

.selection-btn {
    padding: 8px 18px;
    border-radius: 18px;
    border: none;
    background-color: var(--item-bg-color);
    color: var(--text-color);
    font-family: 'Pretendard V', 'HM';
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.selection-btn:hover {
    background-color: var(--event-color);
}

.quote-message {
    width: fit-content;
    font-size: 0.9em;
    color: var(--secondary-text-color);
    background-color: var(--item-bg-color);
    padding: 8px 12px;
    margin-bottom: 5px;
    border-radius: 6px;
}

.ai-message .quote-message {
    margin-top: 12px;
}

.quote-preview {
    position: relative;
    margin: 0 auto;
    width: fit-content;
    max-width: 400px;
    padding: 8px 35px 8px 12px;
    background-color: var(--preview-item-color);
    border-radius: 10px;
    border: 1.1px solid var(--item-border-color);
    font-size: 14px;
    color: var(--secondary-text-color);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    animation: slideIn 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
    transition: all 0.4s cubic-bezier(0.3, 0, 0, 1);
    user-select: none;
    -webkit-user-select: none;

}

.quote-preview.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(0px);
    filter: blur(20px);
}

.quote-preview .close-quote {
    position: absolute;
    display: flex;
    align-items: center;
    right: 0;
    height: 100%;
    width: 25px;
    line-height: 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 24px;
    padding: 4px 0px 7px 20px;
    background: linear-gradient(to right, transparent, var(--preview-item-color) 50%);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.quote-preview:hover .close-quote {
    filter: brightness(1.5);
}

.file-preview {
    position: relative;
    flex-shrink: 0;
    margin: 0 auto;
    width: fit-content;
    height: 19px;
    min-width: 70px;
    max-width: 100px;
    padding: 8px 35px 8px 12px;
    background-color: var(--preview-item-color);
    border-radius: 10px;
    border: 1.1px solid var(--item-border-color);
    font-size: 14px;
    color: var(--secondary-text-color);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    animation: slideIn 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
    transition: all 0.4s cubic-bezier(0.3, 0, 0, 1);
    user-select: none;
    -webkit-user-select: none;
}

.file-preview.image-preview {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    width: 70px;
    height: 35px;
    padding: 0;
}

.file-preview.image-preview .close-btn {
    color: var(--text-color);
    opacity: 0.8;
    padding-right: 5px;
    transform-origin: right center;
    transform: scale(0.7);
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    background: none;
}

.file-preview.image-preview:hover .close-btn {
    color: var(--text-color);
    opacity: 1;
    padding-right: 0;
    transform: none;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    background: none;
}

.file-preview.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(0px);
    filter: blur(20px);
}

.file-preview .close-btn {
    position: absolute;
    display: flex;
    align-items: center;
    right: 0;
    height: 100%;
    width: 25px;
    line-height: 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 24px;
    padding: 4px 0px 7px 20px;
    background: linear-gradient(to right, transparent, var(--preview-item-color) 50%);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.file-preview:hover .close-btn {
    opacity: 1;
    filter: brightness(1.5);
}

.preview-area {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    justify-content: start;
    text-align: left;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: 0;
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.1, 0.9, 0.1, 1);
}

.preview-area.content {
    min-height: 51px;
    max-height: 200px;
    margin-bottom: 8px;
    opacity: 1;
}

.preview-area.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.preview-area.quote {
    display: flex;
}

.preview-area.file {
    display: flex;
}

@keyframes slideIn {
    from {
        transform: scale(1) translateY(35px);
        opacity: 0;
        filter: blur(20px);
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}


@media (max-width: 1090px) {
    .viewer {
        margin-right: 0;
    }
    .viewer.withsidebar {
        margin-right: 0;
        border-radius: 0;
    }
    .sidebar {
        border-radius: 15px;
        height: calc(100% - 20px);
        margin-top: 9px;
        margin-right: 9px;
    }
    #chat::before {
        content: '';
        position: absolute;
        z-index: 101;
        top: 0;
        left: 0;
        width: 150%;
        height: 150%;
        background: linear-gradient(to top, var(--text-color), var(--foreground-transparent));
        opacity: 0.06;
        border-radius: inherit;
        mix-blend-mode: screen;
        pointer-events: none;
    }
    .chat-input-area {
        padding: 15px;
        padding-bottom: 10px;
    }
    .input-container {
        gap: 0;
    }
    .chat-input {
        border: 1.1px solid transparent;
        background-color: transparent;
    }
    .file-upload-btn {
        border: 1.1px solid transparent;
        background-color: transparent;
    }
    .send-button {
        border: 1.1px solid transparent;
        background: transparent;
    }
    .user-message {
        background-color: rgb(30,30,30);
    }
}

/* 移动端优化 */
@media (max-width: 650px) {
    .main-refresh-animation {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0px;
        background-color: transparent;
        mix-blend-mode: normal;
        filter: none;
        transform: none;
        transition: all 0s;
    }
    .main-refresh-animation.active {
        transform: none;
        filter: none;
        transition: all 0.6s ease-out, opacity 0.6s cubic-bezier(1,0,0.3,0.8);
    }
    .main-refresh-animation.active + .chapterprovider {
        filter: blur(2px);
        transform: scale(0.95);
    }
    .viewer.withsidebar > .chapterprovider {
        opacity: 0;
        filter: blur(40px);
    }
    .sidebar {
        width: 100%;
        max-width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        border: 0px solid transparent;
        transform: translateX(0px);
        opacity: 0;
        filter: blur(20px);
        backdrop-filter: none;
        transition: all 0.45s cubic-bezier(0.6, 0.4, 0, 1);
    }
    .sidebar.active {
        filter: blur(0px);
        opacity: 1;
    }
    .sidebar .chat-container {
        transform: scale(0.85);
        transition: all 0.45s cubic-bezier(0.6, 0.4, 0, 1);
    }
    .sidebar.active .chat-container {
        transform: scale(1);
    }
    .sidebar::before {
        height: 150%;
        bottom: 0;
    }
    .minimize-button {
        top: 78px;
        left: 4px;
        height: 40px;
        border-radius: 0;
    /* 只设置上边和左边的边框宽度 */
    border-width: 0px 0px 0px 3px;
    border-style: solid;
    border-color: transparent;
    background: 
        linear-gradient(var(--bg-color),var(--bg-color)) padding-box,
        linear-gradient(0deg, 
            rgba(255,255,255,0), 
            rgba(255,255,255,1), 
            rgba(255,255,255,0)
        ) border-box;
    }
    .minimize-button:hover, .minimize-button.hover {
        left: 8px;
        height: 44px;
        transform: translateY(-2px);
    }
    .minimize-button:hover + .chat-title, .minimize-button.hover + .chat-title {
        margin-left: 28px;
    }
    .minimize-button .minimize-icon {
        transform-origin: left center;
        transform: translateY(-1px) scale(1);
    }
    .minimize-button:hover .minimize-icon, .minimize-button.hover .minimize-icon {
        transform: translateY(-1px) scale(1.1);
    }
    .chat-title {
        top: 80px;
    }
    .clear-button {
        top: 83px;
    }
}

@font-face {
    font-family: 'Electrolize';
    src: url('electrolize.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'HM';
    src: url('HarmonyOS_Sans_SC_Light.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'HM';
    src: url('HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HM';
    src: url('HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Pretendard V';
	font-weight: 45 920;
	font-style: normal;
	font-display: swap;
	src: url('PretendardVariable.woff2') format('woff2-variations');
}
