
    /* ==========================================
       ARTICLE UPLOAD MODAL (Locket + Rich Text Style)
    ========================================== */
    .art-modal {
        position: fixed !important; inset: 0 !important; 
        background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        z-index: 100005 !important; display: none; flex-direction: column; align-items: center; justify-content: flex-start;
        animation: artFadeIn 0.3s cubic-bezier(0.1, 0.8, 0.3, 1);
        overflow-y: auto; padding: 20px 0 80px 0;
    }
    .art-modal.active { display: flex; }
    @keyframes artFadeIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }

    .art-content-wrapper { width: 100%; max-width: 480px; display: flex; flex-direction: column; padding: 0 16px; margin: auto;}
    
    .art-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; z-index: 10; width: 100%; position: sticky; top: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); padding: 10px 0; }
    .art-close-btn { background: rgba(255,255,255,0.1); width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 26px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); transition: 0.2s; }
    .art-close-btn:active { transform: scale(0.85); background: rgba(255,255,255,0.2); }
    
    .art-submit-btn { background: #fff; color: #000; border: none; padding: 12px 24px; border-radius: 30px; font-weight: 700; font-size: 15px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
    .art-submit-btn:disabled { opacity: 0.3; cursor: not-allowed; }
    .art-submit-btn:active:not(:disabled) { transform: scale(0.95); }

    /* ── TITLE INPUT (Rich Text Editor) ── */
    .art-title-editor { 
        width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.1); 
        color: #fff; font-size: 24px; font-weight: 700; padding: 10px 0; margin-bottom: 20px; outline: none; 
        line-height: 1.4; word-wrap: break-word;
    }
    .art-title-editor[placeholder]:empty:before { content: attr(placeholder); color: rgba(255,255,255,0.3); pointer-events: none; font-weight: 500;}
    
    /* ── IMAGE UPLOAD (Max 1) ── */
    .art-image-card { width: 100%; aspect-ratio: 4/5; border-radius: 30px; background: #1a1a1a; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); display: none; margin-bottom: 20px;}
    .art-image-card img { width: 100%; height: 100%; object-fit: cover; }
    .art-delete-img { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; backdrop-filter: blur(5px); transition: 0.2s; }
    
    .art-add-card { width: 100%; height: 120px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 2px dashed rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); cursor: pointer; transition: 0.2s; margin-bottom: 20px;}
    .art-add-card:active { background: rgba(255,255,255,0.1); }
    .art-add-card i { font-size: 32px; margin-bottom: 5px; }

    /* ── IMAGE POSITION TOGGLE ── */
    .art-position-toggle { display: flex; background: rgba(255,255,255,0.1); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
    .art-pos-btn { flex: 1; padding: 10px; border: none; background: transparent; color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
    .art-pos-btn.active { background: #fff; color: #000; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }

    /* ── RICH TEXT TOOLBAR ── */
    .art-toolbar { display: flex; flex-wrap: wrap; gap: 8px; background: #1c1c1c; padding: 10px; border-radius: 16px 16px 0 0; border: 1px solid rgba(255,255,255,0.05); border-bottom: none; }
    .art-tool-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); border: none; color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .art-tool-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.15); }
    
    .art-color-picker { width: 36px; height: 36px; border: none; padding: 0; border-radius: 8px; background: transparent; cursor: pointer; overflow: hidden; }
    .art-color-picker::-webkit-color-swatch-wrapper { padding: 0; }
    .art-color-picker::-webkit-color-swatch { border: none; border-radius: 8px; }

    .art-size-select { background: rgba(255,255,255,0.05); color: #fff; border: none; border-radius: 8px; padding: 0 10px; outline: none; font-size: 14px; font-family: inherit; }
    .art-size-select option { background: #1c1c1c; color: #fff; }

    /* ── CONTENT EDITOR ── */
    .art-editor { 
        width: 100%; min-height: 200px; background: #1c1c1c; border-radius: 0 0 16px 16px; 
        border: 1px solid rgba(255,255,255,0.05); padding: 16px; color: #fff; font-size: 15px; 
        outline: none; line-height: 1.6; word-wrap: break-word; margin-bottom: 20px;
    }
    .art-editor[placeholder]:empty:before { content: attr(placeholder); color: rgba(255,255,255,0.3); pointer-events: none; }
