/* --- Go! Princess Precure: Mode Elegant Theme (Corrected Version) --- */

[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

html, body, div, span, textarea {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 2 C12 2 10 5 10 8 L10 12 L8 12 L8 16 L12 16 L12 14 L14 14 L14 28 L18 28 L18 14 L20 14 L20 16 L24 16 L24 12 L22 12 L22 8 C22 5 20 2 16 2z' fill='%23FFD700' stroke='%23B8860B' stroke-width='1.5'/%3E%3Cpath d='M16 5 a2,2 0 1,0 0,4 a2,2 0 1,0 0,-4' fill='white'/%3E%3C/svg%3E") 8 2, auto !important;
}

button, [role="button"], a {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='1.5' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M16 2 C12 2 10 5 10 8 L10 12 L6 12 L6 18 L12 18 L12 14 L14 14 L14 30 L18 30 L18 14 L20 14 L20 18 L26 18 L26 12 L22 12 L22 8 C22 5 20 2 16 2z' fill='%23FFEB3B' stroke='%23FFFACD' stroke-width='1' filter='url(%23glow)'/%3E%3Cpath d='M16 5 a2,2 0 1,0 0,4 a2,2 0 1,0 0,-4' fill='%23FFB6C1'/%3E%3C/svg%3E") 8 2, pointer !important;
}

.bg-gray-100\/90.relative.inline-block {
    border: 4px solid transparent !important;
    background: 
        linear-gradient(#fce4ec, #f8bbd0) padding-box,
        linear-gradient(135deg, #FF4081, #448AFF, #FFD740, #F44336) border-box !important;
    border-radius: 16px 16px 50px 50px / 16px 16px 20px 20px !important;
    box-shadow: 
        0 8px 25px rgba(233, 30, 99, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.8) !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    padding: 24px !important;
    animation: precure-aura 8s ease-in-out infinite !important;
}

@keyframes precure-aura {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-gray-100\/90.relative.inline-block::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0 !important;
    background-image: 
        radial-gradient(circle, #FFD700 1px, transparent 1px),
        radial-gradient(circle, #FFD700 1px, transparent 1px);
    background-size: 100px 100px, 60px 60px;
    background-position: 0 0, 30px 30px;
    animation: sparkle-fall 10s linear infinite;
    opacity: 0.5;
    pointer-events: none !important;
}

@keyframes sparkle-fall {
    to {
        transform: translateY(100px);
    }
}

.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    background: #fff !important;
    border: 2px solid #F48FB1 !important;
    box-shadow: 0 0 8px rgba(244, 143, 177, 0.5) !important;
    color: #424242 !important;
}

.markdown-body {
    position: relative !important;
    z-index: 1 !important;
    color: #4E342E !important; 
    font-family: 'Garamond', 'Palatino Linotype', 'Book Antiqua', serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    background: transparent !important;
}

.markdown-body strong {
    color: #D81B60 !important;
    font-weight: bold !important;
}

.markdown-body pre {
    background: #FFF8E1 !important;
    border: 2px solid #FFD54F !important;
    border-radius: 8px !important;
    position: relative !important;
    padding: 35px 20px 15px 20px !important;
    box-shadow: 0 4px 10px rgba(255, 179, 0, 0.2) !important;
}

.markdown-body pre::before {
    content: '👑 Princess Lesson' !important;
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 25px !important;
    background: linear-gradient(to right, #FFECB3, #FFE082) !important;
    color: #8D6E63 !important;
    font-weight: bold !important;
    font-size: 12px !important;
    line-height: 25px !important;
    padding-left: 15px !important;
    border-bottom: 1px solid #FFD54F;
}

.markdown-body code {
    font-family: 'Courier New', monospace !important;
    color: #6D4C41 !important;
}

.MuiButtonBase-root.MuiButton-root, 
.text-orange-500,
.MuiTypography-root {
    color: #AD1457 !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
}

.MuiButtonBase-root.MuiButton-root:hover {
    color: #EC407A !important;
    transform: scale(1.05) !important;
}

.style_dot-flashing__8L91Q.style_text__zGhNq { display: none !important; }

.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
}

.flex.items-center.justify-center.w-6.h-5::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' width='48' height='48'%3E%3Cg%3E%3Cpath fill='%23F8BBD0' d='M25 10 C30 2 40 10 25 20 C10 10 20 2 25 10z'/%3E%3Cpath fill='%23FFD700' d='M20 18 h10 v4 h-10z'/%3E%3Cpath fill='%23FCE4EC' d='M18 22 C18 22 15 25 18 40 L32 40 C35 25 32 22 32 22z'/%3E%3Ccircle cx='25' cy='31' r='6' fill='rgba(255,255,255,0.5)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='-15 25 40' to='15 25 40' dur='1.5s' repeatCount='indefinite' begin='0s' values='-15 25 40; 15 25 40; -15 25 40' keyTimes='0; 0.5; 1'/%3E%3C/g%3E%3C/svg%3E") !important;
    display: block !important;
    width: 48px !important;
    height: 48px !important;
}