.chat-container {
    width: 100%;
    max-width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(10, 18, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    overflow: hidden;
}

.chat-header {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    gap: 12px;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
    background: rgba(100, 150, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(100, 150, 255, 0.25);
}

.chat-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-header-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
}

.chat-header-status {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.model-picker-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 7px 14px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.model-picker-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.model-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200000;
    align-items: center;
    justify-content: center;
}

.model-modal-overlay.active {
    display: flex;
}

.model-modal {
    background: rgba(15, 22, 50, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.model-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.model-modal-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.model-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.model-modal-close:hover {
    color: white;
}

.model-modal-list {
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.model-modal-list::-webkit-scrollbar {
    width: 5px;
}

.model-modal-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.model-modal-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 12px 4px;
}

.model-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.model-modal-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.model-modal-item.selected {
    background: rgba(100, 150, 255, 0.12);
    border-color: rgba(100, 150, 255, 0.3);
}

body.useawp .model-modal-item.selected {
    background: rgba(130, 170, 140, 0.12);
    border-color: rgba(130, 170, 140, 0.3);
}

body.cherryblossom .model-modal-item.selected {
    background: rgba(255, 182, 193, 0.12);
    border-color: rgba(255, 182, 193, 0.3);
}

body.kittycat .model-modal-item.selected {
    background: rgba(233, 186, 183, 0.12);
    border-color: rgba(233, 186, 183, 0.3);
}

.model-modal-item-info {
    flex: 1;
    min-width: 0;
}

.model-modal-item-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.model-modal-item-name .capability-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.capability-badge.vision-badge {
    background: rgba(100, 200, 255, 0.15);
    color: rgba(100, 200, 255, 0.9);
}

.model-modal-item-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.model-modal-item-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.model-modal-item.selected .model-modal-item-check {
    border-color: rgba(100, 150, 255, 0.8);
    background: rgba(100, 150, 255, 0.8);
}

.model-modal-item.selected .model-modal-item-check::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

body.useawp .model-modal {
    background: rgba(10, 25, 18, 0.97);
}

body.useawp .model-modal-item.selected .model-modal-item-check {
    border-color: rgba(130, 170, 140, 0.8);
    background: rgba(130, 170, 140, 0.8);
}

body.cherryblossom .model-modal {
    background: rgba(45, 18, 32, 0.97);
}

body.cherryblossom .model-modal-item.selected .model-modal-item-check {
    border-color: rgba(255, 182, 193, 0.8);
    background: rgba(255, 182, 193, 0.8);
}

body.kittycat .model-modal {
    background: rgba(55, 32, 25, 0.97);
}

body.kittycat .model-modal-item.selected .model-modal-item-check {
    border-color: rgba(233, 186, 183, 0.8);
    background: rgba(233, 186, 183, 0.8);
}

.chat-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.chat-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.chat-toggle-btn.has-image {
    background: rgba(100, 200, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.3);
    color: rgba(100, 200, 255, 0.9);
}

.chat-image-preview {
    padding: 8px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.image-preview-item {
    display: inline-flex;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-preview-item img {
    height: 64px;
    width: auto;
    max-width: 120px;
    object-fit: cover;
    display: block;
}

.image-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
}

.image-preview-remove:hover {
    background: rgba(255, 60, 60, 0.8);
}

.image-warning {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    margin: 0 24px;
    background: rgba(255, 180, 60, 0.12);
    border: 1px solid rgba(255, 180, 60, 0.25);
    border-radius: 12px;
    color: rgba(255, 210, 120, 0.95);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    animation: warningFadeIn 0.25s ease;
}

.image-warning strong {
    color: rgba(100, 200, 255, 0.95);
}

.image-warning button {
    background: none;
    border: none;
    color: rgba(255, 210, 120, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.image-warning button:hover {
    color: white;
}

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

.chat-bubble .user-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 10px;
    margin-bottom: 8px;
    display: block;
}

#clear-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#clear-btn:hover {
    background: rgba(255, 80, 80, 0.15);
    border-color: rgba(255, 80, 80, 0.3);
    color: rgba(255, 120, 120, 0.9);
}

.current-model {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.model-tag {
    font-size: 0.7rem;
    color: rgba(100, 150, 255, 0.8);
    background: rgba(100, 150, 255, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    display: inline-block;
    border: 1px solid rgba(100, 150, 255, 0.15);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.message-content {
    margin-top: 4px;
}

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin: 12px 0 6px 0;
    line-height: 1.3;
}

.message-content h1:first-child,
.message-content h2:first-child,
.message-content h3:first-child {
    margin-top: 0;
}

.message-content h1 { font-size: 1.15rem; font-weight: 700; }
.message-content h2 { font-size: 1.05rem; font-weight: 700; }
.message-content h3 { font-size: 0.95rem; font-weight: 600; }
.message-content h4 { font-size: 0.9rem; font-weight: 600; }

.message-content p {
    margin: 6px 0;
}

.message-content p:first-child {
    margin-top: 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content strong {
    font-weight: 700;
    color: white;
}

.message-content em {
    font-style: italic;
}

.message-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-content pre {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 10px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.message-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.82em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.message-content ul,
.message-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.message-content li {
    margin: 4px 0;
    line-height: 1.5;
}

.message-content li > ul,
.message-content li > ol {
    margin: 2px 0;
}

.message-content blockquote {
    border-left: 3px solid rgba(100, 150, 255, 0.5);
    margin: 10px 0;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

body.useawp .message-content blockquote {
    border-left-color: rgba(130, 170, 140, 0.5);
}

body.cherryblossom .message-content blockquote {
    border-left-color: rgba(255, 182, 193, 0.5);
}

body.kittycat .message-content blockquote {
    border-left-color: rgba(233, 186, 183, 0.5);
}

.message-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.85em;
}

.message-content th,
.message-content td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
    text-align: left;
}

.message-content th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: white;
}

.message-content td {
    background: rgba(255, 255, 255, 0.02);
}

.message-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 14px 0;
}

.message-content a {
    color: rgba(130, 180, 255, 0.9);
    text-decoration: none;
}

.message-content a:hover {
    text-decoration: underline;
}

body.useawp .message-content a {
    color: rgba(150, 200, 160, 0.9);
}

body.cherryblossom .message-content a {
    color: rgba(255, 200, 210, 0.9);
}

body.kittycat .message-content a {
    color: rgba(240, 200, 195, 0.9);
}

.message-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 6px 0;
}

body.useawp .chat-container {
    background: rgba(10, 25, 15, 0.92);
    border-top-color: rgba(70, 120, 85, 0.15);
}

body.useawp .chat-header-icon {
    background: rgba(130, 170, 140, 0.15);
    border-color: rgba(130, 170, 140, 0.25);
}


body.useawp .model-tag {
    color: rgba(130, 170, 140, 0.8);
    background: rgba(130, 170, 140, 0.1);
    border-color: rgba(130, 170, 140, 0.15);
}

body.cherryblossom .chat-container {
    background: rgba(40, 15, 28, 0.92);
    border-top-color: rgba(255, 182, 193, 0.1);
}

body.cherryblossom .chat-header-icon {
    background: rgba(255, 182, 193, 0.15);
    border-color: rgba(255, 182, 193, 0.25);
}


body.cherryblossom .model-tag {
    color: rgba(255, 182, 193, 0.8);
    background: rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.15);
}

body.kittycat .chat-container {
    background: rgba(60, 35, 28, 0.92);
    border-top-color: rgba(233, 186, 183, 0.1);
}

body.kittycat .chat-header-icon {
    background: rgba(233, 186, 183, 0.15);
    border-color: rgba(233, 186, 183, 0.25);
}


body.kittycat .model-tag {
    color: rgba(233, 186, 183, 0.8);
    background: rgba(233, 186, 183, 0.1);
    border-color: rgba(233, 186, 183, 0.15);
}

.chat-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 24px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

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

.chat-welcome-icon {
    width: 64px;
    height: 64px;
    padding: 14px;
    background: rgba(100, 150, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    margin-bottom: 16px;
}

body.useawp .chat-welcome-icon {
    background: rgba(130, 170, 140, 0.1);
    border-color: rgba(130, 170, 140, 0.2);
}

body.cherryblossom .chat-welcome-icon {
    background: rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.2);
}

body.kittycat .chat-welcome-icon {
    background: rgba(233, 186, 183, 0.1);
    border-color: rgba(233, 186, 183, 0.2);
}

.chat-welcome h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 6px 0;
}

.chat-welcome p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 28px 0;
}

.chat-suggestions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 480px;
    width: 100%;
}

.chat-suggestion {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.chat-suggestion:hover {
    background: rgba(100, 150, 255, 0.1);
    border-color: rgba(100, 150, 255, 0.3);
    color: white;
    transform: translateY(-1px);
}

body.useawp .chat-suggestion:hover {
    background: rgba(130, 170, 140, 0.1);
    border-color: rgba(130, 170, 140, 0.3);
}

body.cherryblossom .chat-suggestion:hover {
    background: rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.3);
}

body.kittycat .chat-suggestion:hover {
    background: rgba(233, 186, 183, 0.1);
    border-color: rgba(233, 186, 183, 0.3);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-message {
    display: flex;
    animation: messageSlide 0.3s ease;
}

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

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.assistant,
.chat-message.error {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 65%;
    padding: 14px 20px;
    border-radius: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.chat-message.user .chat-bubble {
    background: linear-gradient(135deg, rgba(80, 130, 255, 0.95), rgba(100, 150, 255, 0.85));
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 12px rgba(80, 130, 255, 0.25);
}

body.useawp .chat-message.user .chat-bubble {
    background: linear-gradient(135deg, rgba(100, 150, 120, 0.95), rgba(130, 170, 140, 0.85));
    box-shadow: 0 2px 12px rgba(100, 150, 120, 0.25);
}

body.cherryblossom .chat-message.user .chat-bubble {
    background: linear-gradient(135deg, rgba(230, 160, 170, 0.95), rgba(255, 182, 193, 0.85));
    box-shadow: 0 2px 12px rgba(255, 182, 193, 0.25);
}

body.kittycat .chat-message.user .chat-bubble {
    background: linear-gradient(135deg, rgba(210, 165, 160, 0.95), rgba(233, 186, 183, 0.85));
    box-shadow: 0 2px 12px rgba(233, 186, 183, 0.25);
}

.chat-message.assistant .chat-bubble {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.92);
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-message.error .chat-bubble {
    background: rgba(255, 60, 60, 0.12);
    color: #ffaaaa;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(255, 60, 60, 0.15);
}

.typing-indicator .chat-bubble {
    display: flex;
    gap: 5px;
    padding: 16px 22px;
}

.typing-indicator .chat-bubble span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: typingBounce 1.4s infinite;
}

.typing-indicator .chat-bubble span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator .chat-bubble span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

.chat-input-container {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

#chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 18px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    resize: none;
    outline: none;
    min-height: 48px;
    max-height: 120px;
    transition: all 0.2s ease;
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#chat-input:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(100, 150, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(100, 150, 255, 0.08);
}

body.useawp #chat-input:focus {
    border-color: rgba(130, 170, 140, 0.4);
    box-shadow: 0 0 0 3px rgba(130, 170, 140, 0.08);
}

body.cherryblossom #chat-input:focus {
    border-color: rgba(255, 182, 193, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.08);
}

body.kittycat #chat-input:focus {
    border-color: rgba(233, 186, 183, 0.4);
    box-shadow: 0 0 0 3px rgba(233, 186, 183, 0.08);
}

#send-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, rgba(80, 130, 255, 0.95), rgba(100, 150, 255, 0.85));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(80, 130, 255, 0.2);
}

body.useawp #send-btn {
    background: linear-gradient(135deg, rgba(100, 150, 120, 0.95), rgba(130, 170, 140, 0.85));
    box-shadow: 0 2px 8px rgba(100, 150, 120, 0.2);
}

body.cherryblossom #send-btn {
    background: linear-gradient(135deg, rgba(230, 160, 170, 0.95), rgba(255, 182, 193, 0.85));
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
}

body.kittycat #send-btn {
    background: linear-gradient(135deg, rgba(210, 165, 160, 0.95), rgba(233, 186, 183, 0.85));
    box-shadow: 0 2px 8px rgba(233, 186, 183, 0.2);
}

#send-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(80, 130, 255, 0.35);
}

#send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .chat-container {
        flex: 1;
    }
    
    .chat-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .chat-header-right {
        justify-content: space-between;
    }
    
    #model-select {
        min-width: 0;
        flex: 1;
    }
    
    .chat-bubble {
        max-width: 85%;
        font-size: 0.85rem;
    }
    
    .chat-messages {
        padding: 16px;
    }

    .chat-suggestions {
        grid-template-columns: 1fr;
    }

    .chat-welcome-icon {
        width: 48px;
        height: 48px;
        padding: 10px;
    }
}
