/* ─── SHOP COSMETICS ────────────────────────────────────────────────────────── */

/* 🎨 Name Colors - Improved Readability */
.nc-gold {
    color: #FFD700 !important;
    font-weight: 800;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.nc-rose {
    color: #FF6B9D !important;
    font-weight: 800;
}

.nc-ocean {
    color: #00B4D8 !important;
    font-weight: 800;
}

.nc-aurora {
    background: linear-gradient(to right, #d8b4fe, #22d3ee);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.nc-fire {
    background: linear-gradient(to right, #fca5a5, #fdba74);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* 🔮 Avatar Borders - STATIC GLOBALLY */
.has-border {
    position: relative;
    z-index: 1;
    border-radius: 50%;
}

.has-border::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    /* GLOBAL ANIMATION RESET */
    animation: none !important;
}

.ab-glow::after {
    border: 3px solid #00fff2;
    box-shadow: 0 0 10px #00fff2;
}

.ab-fire::after {
    background: conic-gradient(from 0deg, #ff0000, #ff7300, #fffb00, #ff7300, #ff0000);
    padding: 3px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.ab-rainbow::after {
    background: conic-gradient(red, orange, yellow, green, blue, indigo, violet, red);
    padding: 3px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.ab-galaxy::after {
    background: conic-gradient(from 0deg, #6600cc, #9900cc, #ff00cc, #00ccff, #6600cc);
    padding: 3px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.ab-hologram::after {
    border: 2px solid cyan;
    box-shadow: 0 0 5px cyan;
}

/* 🐈‍⬛ BLACK CAT BORDER - High Quality SVG */
.ab-black-cat {
    overflow: visible !important;
}

.ab-black-cat::after {
    border: 4px solid #000;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    background: transparent;
    border-radius: 50%;
}

[data-theme="dark"] .ab-black-cat::after {
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

/* 🐱 High-Quality Triangular Ears & Whiskers via SVG */
.ab-black-cat::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 25 L5 5 L40 15 Z M80 25 L95 5 L60 15 Z" fill="black"/><path d="M10 45 L-2 40 M10 50 L-5 50 M10 55 L-2 60" stroke="black" stroke-width="2" stroke-linecap="round"/><path d="M90 45 L102 40 M90 50 L105 50 M90 55 L102 60" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-black-cat::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 25 L5 5 L40 15 Z M80 25 L95 5 L60 15 Z" fill="white"/><path d="M10 45 L-2 40 M10 50 L-5 50 M10 55 L-2 60" stroke="white" stroke-width="2" stroke-linecap="round"/><path d="M90 45 L102 40 M90 50 L105 50 M90 55 L102 60" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
}


/* 💬 Chat Bubbles */
.cb-pastel {
    background: #fce4ec !important;
    color: #4a4a4a !important;
    border: 1px solid #f8bbd0;
}

.cb-midnight {
    background: #1a237e !important;
    color: #fff !important;
    border: 1px solid #3949ab;
}

.cb-sakura {
    background: #fce4ec !important;
    color: #880e4f !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16z' fill='%23f48fb1' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cb-galaxy {
    background: linear-gradient(135deg, #311b92, #4a148c) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(103, 58, 183, 0.5);
}

.cb-retro {
    background: #212121 !important;
    color: #00ff00 !important;
    border: 2px solid #00ff00 !important;
    font-family: 'Courier New', monospace;
    box-shadow: 4px 4px 0 #00aa00;
}

/* 🐈‍⬛ BLACK CAT BUBBLE - High Quality SVG */
.cb-black-cat {
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #333;
    border-radius: 16px;
    position: relative;
    overflow: visible !important;
    /* High quality paw pattern */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="14" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="7" cy="9" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="11" cy="6" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="17" cy="9" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 32px 32px;
}

[data-theme="dark"] .cb-black-cat {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #ddd;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="14" r="3" fill="rgba(0,0,0,0.05)"/><circle cx="7" cy="9" r="1.5" fill="rgba(0,0,0,0.05)"/><circle cx="11" cy="6" r="1.5" fill="rgba(0,0,0,0.05)"/><circle cx="17" cy="9" r="1.5" fill="rgba(0,0,0,0.05)"/></svg>');
}

.cb-black-cat::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 40px;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 12"><path d="M0 12 L10 0 L20 12 Z M20 12 L30 0 L40 12 Z" fill="black"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

[data-theme="dark"] .cb-black-cat::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 12"><path d="M0 12 L10 0 L20 12 Z M20 12 L30 0 L40 12 Z" fill="white"/></svg>');
}

.cb-black-cat::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><text y="20" font-size="20">🐱</text></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--bg-surface);
    border-radius: 50%;
}

/* 📝 Forum Post Effects */
.fe-sparkle {
    border: 1px solid gold !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.fe-neon {
    border: 1px solid #0f0 !important;
    box-shadow: 0 0 5px #0f0, inset 0 0 5px #0f0;
}

/* RAINBOW BORDER FIX - Stronger Gradient */
.fe-rainbow {
    position: relative;
    border: 2px solid transparent !important;
    background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
        linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) border-box;
    border-radius: 12px;
}

.fe-rainbow::before {
    display: none;
}

.fe-holographic {
    position: relative;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    overflow: hidden;
    background: var(--bg-surface);
}

.fe-holographic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer-diag 3s infinite;
    pointer-events: none;
}

/* ANIMATION RECOVERY PREVENTION - Strip all keyframes */
@keyframes shimmer-diag {
    0% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}


/* 🚩 Avatar Banners - NEW COVER PHOTO SYSTEM */

/* The new container in profile.js */
.profile-view-banner {
    width: 100%;
    height: 120px;
    background-color: var(--bg-elevated);
    /* Default placeholder */
    background-position: center;
    background-size: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: -40px;
    /* Pull avatar up into it */
    position: relative;
}

/* Adjust avatar header to overlap */
.profile-view-header {
    position: relative;
    z-index: 10;
    padding-top: 0 !important;
    /* Remove default padding */
}

/* 🐈‍⬛ Black Cat Banner — Upgraded with paw pattern */
.banner-black-cat {
    background-color: #1a1a2e;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="22" r="5" fill="rgba(255,255,255,0.06)"/><circle cx="13" cy="14" r="2.5" fill="rgba(255,255,255,0.06)"/><circle cx="20" cy="10" r="2.5" fill="rgba(255,255,255,0.06)"/><circle cx="27" cy="14" r="2.5" fill="rgba(255,255,255,0.06)"/></svg>'),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: 40px 40px, 100% 100%;
}

/* ☁️ Clouds Banner — AI-Generated */
.banner-clouds {
    background-image: url('../img/banners/clouds.png');
    background-size: cover;
    background-position: center;
}

.banner-clouds::after {
    display: none;
}

/* ❤️ Hearts Banner — AI-Generated */
.banner-hearts {
    background-image: url('../img/banners/hearts.png');
    background-size: cover;
    background-position: center;
}

.banner-hearts::after {
    display: none;
}

/* 🌌 Galaxy Banner — Deep starfield with nebula */
.banner-galaxy {
    background:
        radial-gradient(1px 1px at 10% 20%, #fff, transparent),
        radial-gradient(1px 1px at 30% 60%, #fff, transparent),
        radial-gradient(1px 1px at 50% 15%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 70% 45%, #fff, transparent),
        radial-gradient(1px 1px at 85% 75%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 95% 20%, #fff, transparent),
        radial-gradient(1px 1px at 20% 85%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 60% 90%, #fff, transparent),
        radial-gradient(ellipse at 40% 50%, rgba(138, 43, 226, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 150, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0b0d17 0%, #1a0533 40%, #0d1b2a 70%, #0b0d17 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* 🎨 NEW AESTHETIC BANNERS                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* 🌅 Golden Sunset — AI-Generated */
.banner-sunset {
    background-image: url('../img/banners/sunset.png');
    background-size: cover;
    background-position: center;
}

/* 🌸 Cherry Blossoms — AI-Generated */
.banner-cherry {
    background-image: url('../img/banners/cherry.png');
    background-size: cover;
    background-position: center;
}

/* 🌌 Northern Lights — AI-Generated */
.banner-aurora {
    background-image: url('../img/banners/aurora.png');
    background-size: cover;
    background-position: center;
}

/* 🌺 Floral — AI-Generated */
.banner-floral {
    background-image: url('../img/banners/floral.png');
    background-size: cover;
    background-position: center;
}

/* 🎀 Ribbon — AI-Generated */
.banner-ribbon {
    background-image: url('../img/banners/ribbon.png');
    background-size: cover;
    background-position: center;
}

/* 🎵 Lo-fi Vibes */
.banner-lofi {
    background:
        radial-gradient(ellipse at 70% 40%, rgba(255, 183, 77, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(121, 85, 72, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #3e2723 0%, #4e342e 25%, #5d4037 50%, #6d4c41 75%, #8d6e63 100%);
}

/* 🌳 Enchanted Forest */
.banner-forest {
    background:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="10" cy="30" r="1" fill="rgba(255,215,0,0.15)"/><circle cx="30" cy="15" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="25" cy="35" r="0.8" fill="rgba(255,215,0,0.12)"/></svg>'),
        radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(46, 125, 50, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #1b3a1b 0%, #2e4a2e 30%, #1b5e20 60%, #2e7d32 100%);
    background-size: 40px 40px, 100% 100%, 100% 100%, 100% 100%;
}

/* 🪼 Deep Ocean */
.banner-ocean {
    background:
        radial-gradient(circle at 25% 40%, rgba(0, 255, 255, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 65% 60%, rgba(100, 200, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 30%, rgba(0, 255, 200, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 40% 75%, rgba(138, 43, 226, 0.1) 0%, transparent 30%),
        linear-gradient(180deg, #001f3f 0%, #003366 30%, #004c80 50%, #00264d 80%, #001a33 100%);
}

/* 🌙 Starry Night */
.banner-starry {
    background:
        radial-gradient(2px 2px at 15% 25%, #ffd700, transparent),
        radial-gradient(1.5px 1.5px at 35% 15%, #ffd700, transparent),
        radial-gradient(2px 2px at 55% 35%, #ffeaa7, transparent),
        radial-gradient(1px 1px at 75% 20%, #ffd700, transparent),
        radial-gradient(1.5px 1.5px at 90% 40%, #fff, transparent),
        radial-gradient(1px 1px at 45% 60%, #ffeaa7, transparent),
        radial-gradient(2px 2px at 25% 70%, #ffd700, transparent),
        radial-gradient(1px 1px at 65% 80%, #fff, transparent),
        radial-gradient(ellipse at 30% 40%, rgba(25, 25, 112, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(72, 61, 139, 0.4) 0%, transparent 50%),
        linear-gradient(180deg, #0c1445 0%, #1a237e 40%, #283593 70%, #1a1a5e 100%);
}

/* 🌻 Cottagecore */
.banner-cottagecore {
    background:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="rgba(255,215,0,0.15)"/><circle cx="12" cy="8" r="1.2" fill="rgba(255,182,193,0.12)"/><circle cx="16" cy="11" r="1.2" fill="rgba(255,182,193,0.12)"/><circle cx="14" cy="15" r="1.2" fill="rgba(255,182,193,0.12)"/><circle cx="8" cy="11" r="1.2" fill="rgba(255,182,193,0.12)"/><circle cx="10" cy="15" r="1.2" fill="rgba(255,182,193,0.12)"/></svg>'),
        radial-gradient(ellipse at 30% 40%, rgba(255, 228, 196, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 218, 185, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #87CEEB 0%, #B0E0E6 25%, #FFDAB9 50%, #F5DEB3 75%, #DEB887 100%);
    background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%;
}


/* Shop Layout Fixes */
.shop-category-section {
    margin-bottom: 2rem;
}

.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.shop-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Modal Border Edge Fix - Restore Full Edges */
.modal-post.fe-rainbow,
.modal-post.fe-sparkle,
.modal-post.fe-neon,
.modal-post.fe-holographic,
.modal-post.fe-vip {
    margin: -1.5rem !important;
    padding: 1.5rem !important;
    border-radius: 20px !important;
    border: 2px solid transparent !important;
}

/* Explicitly restore borders for specific effects */
.modal-post.fe-rainbow {
    background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
        linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) border-box !important;
}

.modal-post.fe-sparkle {
    border-color: gold !important;
}

.modal-post.fe-neon {
    border-color: #0f0 !important;
}

.modal-post.fe-holographic {
    border-color: rgba(0, 255, 255, 0.5) !important;
}

.modal-post.fe-vip {
    border-color: var(--cvsu-gold) !important;
}

.shop-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.preview-box {
    height: 80px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    overflow: visible;
}

[data-theme="dark"] .preview-box {
    background: #1e1e1e;
}

.preview-avatar-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
}

.preview-avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.shop-item-info {
    padding: 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.shop-item-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.shop-item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.shop-item-footer {
    padding: 0.8rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.buy-btn,
.equip-btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.buy-btn {
    background: var(--primary-color);
    color: white;
}

.buy-btn:hover {
    filter: brightness(1.1);
}

.equip-btn {
    background: var(--bg-app);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.equip-btn:hover {
    background: var(--bg-surface);
}

.equipped-btn {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #2e7d32;
    pointer-events: none;
}

.chat-head-container {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    align-self: flex-end;
    flex-shrink: 0;
}

.chat-head-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* 🐾 NEW ANIMAL AVATAR BORDERS — High Quality SVG                           */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 🐰 Bunny Border ─────────────────────────────────────────────────────── */
.ab-bunny {
    overflow: visible !important;
}

.ab-bunny::after {
    border: 3px solid #FFB6C1;
    box-shadow: 0 0 8px rgba(255, 182, 193, 0.4);
    background: transparent;
    border-radius: 50%;
}

/* Floppy bunny ears + cottontail */
.ab-bunny::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 130%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 110"><ellipse cx="28" cy="15" rx="8" ry="22" fill="%23FFB6C1" transform="rotate(-15 28 15)"/><ellipse cx="28" cy="15" rx="5" ry="18" fill="%23FFE0E6" transform="rotate(-15 28 15)"/><ellipse cx="72" cy="15" rx="8" ry="22" fill="%23FFB6C1" transform="rotate(15 72 15)"/><ellipse cx="72" cy="15" rx="5" ry="18" fill="%23FFE0E6" transform="rotate(15 72 15)"/><circle cx="82" cy="85" r="6" fill="%23FFE0E6"/><circle cx="82" cy="85" r="4" fill="%23fff"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-bunny::after {
    border-color: #FF69A0;
    box-shadow: 0 0 10px rgba(255, 105, 160, 0.4);
}

/* ─── 🦊 Fox Border ───────────────────────────────────────────────────────── */
.ab-fox {
    overflow: visible !important;
}

.ab-fox::after {
    border: 3px solid #FF8C42;
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.4);
    background: transparent;
    border-radius: 50%;
}

/* Pointed fox ears + bushy tail */
.ab-fox::before {
    content: '';
    position: absolute;
    top: -18%;
    left: -12%;
    width: 124%;
    height: 130%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 110"><path d="M22 28 L8 2 L38 18 Z" fill="%23FF8C42"/><path d="M22 26 L13 8 L34 19 Z" fill="%23FFD4A8"/><path d="M78 28 L92 2 L62 18 Z" fill="%23FF8C42"/><path d="M78 26 L87 8 L66 19 Z" fill="%23FFD4A8"/><path d="M85 75 Q100 82 96 95 Q92 104 82 100 Q78 96 80 88 Z" fill="%23FF8C42"/><path d="M92 92 Q90 98 84 96" fill="none" stroke="%23fff" stroke-width="1.5" stroke-linecap="round"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-fox::after {
    border-color: #FF9F5A;
    box-shadow: 0 0 10px rgba(255, 159, 90, 0.5);
}

/* ─── 🐻 Bear Border ──────────────────────────────────────────────────────── */
.ab-bear {
    overflow: visible !important;
}

.ab-bear::after {
    border: 3px solid #8B6914;
    box-shadow: 0 0 8px rgba(139, 105, 20, 0.3);
    background: transparent;
    border-radius: 50%;
}

/* Round bear ears + honey drip */
.ab-bear::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 120%;
    height: 125%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 105"><circle cx="18" cy="18" r="12" fill="%238B6914"/><circle cx="18" cy="18" r="7" fill="%23C4973A"/><circle cx="82" cy="18" r="12" fill="%238B6914"/><circle cx="82" cy="18" r="7" fill="%23C4973A"/><path d="M45 92 Q46 98 50 100 Q54 98 55 92" fill="%23FFD700" opacity="0.7"/><circle cx="50" cy="100" r="3" fill="%23FFD700" opacity="0.5"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-bear::after {
    border-color: #C4973A;
    box-shadow: 0 0 10px rgba(196, 151, 58, 0.4);
}

/* ─── 🐸 Frog Border ──────────────────────────────────────────────────────── */
.ab-frog {
    overflow: visible !important;
}

.ab-frog::after {
    border: 3px solid #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    background: transparent;
    border-radius: 50%;
}

/* Big frog eyes + lily pad */
.ab-frog::before {
    content: '';
    position: absolute;
    top: -22%;
    left: -10%;
    width: 120%;
    height: 130%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115"><circle cx="28" cy="12" r="11" fill="%234CAF50"/><circle cx="28" cy="11" r="7" fill="%23fff"/><circle cx="29" cy="10" r="4" fill="%23222"/><circle cx="72" cy="12" r="11" fill="%234CAF50"/><circle cx="72" cy="11" r="7" fill="%23fff"/><circle cx="73" cy="10" r="4" fill="%23222"/><ellipse cx="50" cy="102" rx="14" ry="8" fill="%232E7D32" opacity="0.5"/><path d="M50 102 L50 94" stroke="%232E7D32" stroke-width="1" opacity="0.5"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-frog::after {
    border-color: #66BB6A;
    box-shadow: 0 0 10px rgba(102, 187, 106, 0.5);
}

/* ─── 🐼 Panda Border ─────────────────────────────────────────────────────── */
.ab-panda {
    overflow: visible !important;
}

.ab-panda::after {
    border: 3px solid #333;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    background: transparent;
    border-radius: 50%;
}

/* Round panda ears + bamboo shoots */
.ab-panda::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 120%;
    height: 125%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 105"><circle cx="18" cy="18" r="12" fill="%23222"/><circle cx="82" cy="18" r="12" fill="%23222"/><rect x="88" y="55" width="4" height="30" rx="2" fill="%234CAF50" opacity="0.6"/><path d="M88 60 L84 55" stroke="%2366BB6A" stroke-width="1.5" stroke-linecap="round" opacity="0.6"/><path d="M92 65 L96 60" stroke="%2366BB6A" stroke-width="1.5" stroke-linecap="round" opacity="0.6"/><rect x="8" y="60" width="4" height="25" rx="2" fill="%234CAF50" opacity="0.6"/><path d="M8 65 L4 60" stroke="%2366BB6A" stroke-width="1.5" stroke-linecap="round" opacity="0.6"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-panda::after {
    border-color: #ddd;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .ab-panda::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 105"><circle cx="18" cy="18" r="12" fill="%23ddd"/><circle cx="82" cy="18" r="12" fill="%23ddd"/><rect x="88" y="55" width="4" height="30" rx="2" fill="%2366BB6A" opacity="0.7"/><path d="M88 60 L84 55" stroke="%2381C784" stroke-width="1.5" stroke-linecap="round" opacity="0.7"/><path d="M92 65 L96 60" stroke="%2381C784" stroke-width="1.5" stroke-linecap="round" opacity="0.7"/><rect x="8" y="60" width="4" height="25" rx="2" fill="%2366BB6A" opacity="0.7"/><path d="M8 65 L4 60" stroke="%2381C784" stroke-width="1.5" stroke-linecap="round" opacity="0.7"/></svg>');
}

/* ─── 🦌 Deer Border ──────────────────────────────────────────────────────── */
.ab-deer {
    overflow: visible !important;
}

.ab-deer::after {
    border: 3px solid #A0522D;
    box-shadow: 0 0 8px rgba(160, 82, 45, 0.3);
    background: transparent;
    border-radius: 50%;
}

/* Antlers + floral wreath accents */
.ab-deer::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -12%;
    width: 124%;
    height: 135%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115"><path d="M30 28 L22 8 L18 15 L14 2 M22 8 L28 5" stroke="%23A0522D" stroke-width="2.5" fill="none" stroke-linecap="round"/><path d="M70 28 L78 8 L82 15 L86 2 M78 8 L72 5" stroke="%23A0522D" stroke-width="2.5" fill="none" stroke-linecap="round"/><circle cx="15" cy="55" r="3" fill="%23FF6B9D" opacity="0.7"/><circle cx="85" cy="55" r="3" fill="%23FF6B9D" opacity="0.7"/><circle cx="12" cy="65" r="2.5" fill="%23FFD700" opacity="0.6"/><circle cx="88" cy="65" r="2.5" fill="%23FFD700" opacity="0.6"/><circle cx="20" cy="75" r="2" fill="%23FF6B9D" opacity="0.5"/><circle cx="80" cy="75" r="2" fill="%23FFD700" opacity="0.5"/><path d="M15 55 Q10 52 13 48" stroke="%234CAF50" stroke-width="1" fill="none" opacity="0.5"/><path d="M85 55 Q90 52 87 48" stroke="%234CAF50" stroke-width="1" fill="none" opacity="0.5"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .ab-deer::after {
    border-color: #C4813A;
    box-shadow: 0 0 10px rgba(196, 129, 58, 0.4);
}